]>
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] | |
214 | #define SWIGTYPE_p_wxPrintData swig_types[5] | |
215 | #define SWIGTYPE_p_wxFontData swig_types[6] | |
216 | #define SWIGTYPE_p_wxEvent swig_types[7] | |
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] | |
230 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[21] | |
231 | #define SWIGTYPE_p_wxColourData swig_types[22] | |
232 | #define SWIGTYPE_p_wxNotifyEvent swig_types[23] | |
233 | #define SWIGTYPE_p_wxPyWindow swig_types[24] | |
234 | #define SWIGTYPE_p_wxSplashScreen swig_types[25] | |
235 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[26] | |
236 | #define SWIGTYPE_p_wxProgressDialog swig_types[27] | |
237 | #define SWIGTYPE_p_wxMessageDialog swig_types[28] | |
238 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[29] | |
239 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30] | |
240 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31] | |
241 | #define SWIGTYPE_p_wxFileDialog swig_types[32] | |
242 | #define SWIGTYPE_p_wxPrinter swig_types[33] | |
243 | #define SWIGTYPE_p_wxArrayInt swig_types[34] | |
244 | #define SWIGTYPE_p_wxEvtHandler swig_types[35] | |
245 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36] | |
246 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[37] | |
247 | #define SWIGTYPE_p_wxPyVListBox swig_types[38] | |
248 | #define SWIGTYPE_p_wxRect swig_types[39] | |
994141e6 RD |
249 | #define SWIGTYPE_p_char swig_types[40] |
250 | #define SWIGTYPE_p_wxMiniFrame swig_types[41] | |
251 | #define SWIGTYPE_p_wxFrame swig_types[42] | |
252 | #define SWIGTYPE_p_wxPyPrintout swig_types[43] | |
253 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44] | |
254 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[45] | |
255 | #define SWIGTYPE_p_wxStatusBar swig_types[46] | |
256 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[47] | |
257 | #define SWIGTYPE_p_wxPoint swig_types[48] | |
258 | #define SWIGTYPE_p_wxObject swig_types[49] | |
db914595 RD |
259 | #define SWIGTYPE_p_wxOutputStream swig_types[50] |
260 | #define SWIGTYPE_p_unsigned_long swig_types[51] | |
261 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[52] | |
262 | #define SWIGTYPE_p_wxTipWindow swig_types[53] | |
263 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[54] | |
264 | #define SWIGTYPE_p_wxSplitterWindow swig_types[55] | |
265 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56] | |
266 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[57] | |
267 | #define SWIGTYPE_p_wxPopupWindow swig_types[58] | |
268 | #define SWIGTYPE_p_wxSashWindow swig_types[59] | |
269 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[60] | |
270 | #define SWIGTYPE_p_wxWindow swig_types[61] | |
271 | #define SWIGTYPE_p_wxScrolledWindow swig_types[62] | |
272 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63] | |
273 | #define SWIGTYPE_p_wxMenuBar swig_types[64] | |
274 | #define SWIGTYPE_p_wxPrintPreview swig_types[65] | |
275 | #define SWIGTYPE_p_wxSashEvent swig_types[66] | |
276 | #define SWIGTYPE_p_wxString swig_types[67] | |
277 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[68] | |
994141e6 RD |
278 | #define SWIGTYPE_p_wxFontDialog swig_types[69] |
279 | #define SWIGTYPE_p_wxDirDialog swig_types[70] | |
280 | #define SWIGTYPE_p_wxColourDialog swig_types[71] | |
281 | #define SWIGTYPE_p_wxDialog swig_types[72] | |
282 | #define SWIGTYPE_p_wxPanel swig_types[73] | |
db914595 RD |
283 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[74] |
284 | #define SWIGTYPE_p_wxPrintDialog swig_types[75] | |
285 | #define SWIGTYPE_p_wxBitmap swig_types[76] | |
286 | #define SWIGTYPE_p_wxCommandEvent swig_types[77] | |
287 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[78] | |
288 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79] | |
289 | #define SWIGTYPE_p_wxColour swig_types[80] | |
290 | #define SWIGTYPE_p_wxToolBar swig_types[81] | |
291 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[82] | |
292 | #define SWIGTYPE_p_wxPrintDialogData swig_types[83] | |
293 | static swig_type_info *swig_types[85]; | |
d14a1e28 RD |
294 | |
295 | /* -------- TYPES TABLE (END) -------- */ | |
296 | ||
297 | ||
298 | /*----------------------------------------------- | |
299 | @(target):= _windows.so | |
300 | ------------------------------------------------*/ | |
301 | #define SWIG_init init_windows | |
302 | ||
303 | #define SWIG_name "_windows" | |
304 | ||
15afbcd0 | 305 | /* Auxiliar swig macros */ |
994141e6 | 306 | |
994141e6 | 307 | #ifdef __cplusplus |
15afbcd0 | 308 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 309 | #define SWIGSTATIC(a) static a |
15afbcd0 RD |
310 | #define swig_new_array(type, size) (new type[(size)]) |
311 | #define swig_delete_array(cptr) delete[] cptr | |
312 | #define swig_const_cast(type,a) const_cast<type>(a) | |
313 | #define swig_static_cast(type,a) static_cast<type>(a) | |
314 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
994141e6 | 315 | |
994141e6 | 316 | #ifdef HAVE_NUMERIC_CAST |
15afbcd0 | 317 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
994141e6 | 318 | #else |
15afbcd0 | 319 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
994141e6 RD |
320 | #endif |
321 | ||
15afbcd0 RD |
322 | #else /* C case */ |
323 | ||
324 | #define SWIGSTATICINLINE(a) static a | |
325 | #define SWIGSTATIC(a) static a | |
326 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
327 | #define swig_delete_array(cptr) free((char*)cptr) | |
328 | #define swig_const_cast(type,a) (type)(a) | |
329 | #define swig_static_cast(type,a) (type)(a) | |
330 | #define swig_reinterpret_cast(type,a) (type)(a) | |
331 | #define swig_numeric_cast(type,a) (type)(a) | |
332 | ||
333 | #endif /* __cplusplus */ | |
994141e6 RD |
334 | |
335 | ||
15afbcd0 RD |
336 | #define SWIG_FromSignedChar PyInt_FromLong |
337 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
338 | #define SWIG_FromShort PyInt_FromLong | |
339 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
340 | #define SWIG_FromInt PyInt_FromLong | |
341 | #define SWIG_FromLong PyInt_FromLong | |
342 | #define SWIG_FromFloat PyFloat_FromDouble | |
343 | #define SWIG_FromDouble PyFloat_FromDouble | |
344 | #define SWIG_FromFloat PyFloat_FromDouble | |
345 | #define SWIG_FromDouble PyFloat_FromDouble | |
994141e6 RD |
346 | |
347 | ||
d14a1e28 RD |
348 | #include "wx/wxPython/wxPython.h" |
349 | #include "wx/wxPython/pyclasses.h" | |
350 | ||
d14a1e28 | 351 | |
b2dc1044 RD |
352 | static const wxString wxPyEmptyString(wxEmptyString); |
353 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
354 | |
355 | ||
356 | ||
15afbcd0 RD |
357 | #include <limits.h> |
358 | ||
359 | ||
360 | SWIGSTATICINLINE(long) | |
361 | SWIG_CheckLongInRange(long value, const char* type, | |
362 | long min_value, long max_value) | |
363 | { | |
364 | if (!PyErr_Occurred()) { | |
365 | if (value < min_value) { | |
366 | PyObject *err = | |
367 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
368 | value, type, min_value); | |
369 | ||
370 | PyErr_SetObject(PyExc_OverflowError, err); | |
371 | Py_DECREF(err); | |
372 | } else if (value > max_value) { | |
373 | PyObject *err = | |
374 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
375 | value, type, max_value); | |
376 | PyErr_SetObject(PyExc_OverflowError, err); | |
377 | Py_DECREF(err); | |
378 | } | |
379 | } | |
380 | return value; | |
994141e6 RD |
381 | } |
382 | ||
383 | ||
15afbcd0 RD |
384 | SWIGSTATICINLINE(long) |
385 | SWIG_AsLong(PyObject * obj) | |
994141e6 RD |
386 | { |
387 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
388 | } | |
389 | ||
390 | ||
15afbcd0 RD |
391 | #if INT_MAX != LONG_MAX |
392 | SWIGSTATICINLINE(int) | |
393 | SWIG_AsInt(PyObject *obj) | |
394 | { | |
395 | return swig_numeric_cast(int, | |
396 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
397 | "int", INT_MIN, INT_MAX)); | |
398 | } | |
399 | #else | |
400 | #define SWIG_AsInt SWIG_AsLong | |
401 | #endif | |
402 | ||
403 | ||
404 | SWIGSTATICINLINE(int) | |
405 | SWIG_CheckInt(PyObject* obj) | |
406 | { | |
407 | SWIG_AsInt(obj); | |
408 | if (PyErr_Occurred()) { | |
409 | PyErr_Clear(); | |
410 | return 0; | |
411 | } else { | |
412 | return 1; | |
413 | } | |
414 | } | |
415 | ||
416 | ||
417 | SWIGSTATICINLINE(int) | |
418 | SWIG_CheckLong(PyObject* obj) | |
419 | { | |
420 | SWIG_AsLong(obj); | |
421 | if (PyErr_Occurred()) { | |
422 | PyErr_Clear(); | |
423 | return 0; | |
424 | } else { | |
425 | return 1; | |
426 | } | |
427 | } | |
428 | ||
429 | ||
430 | SWIGSTATICINLINE(bool) | |
431 | SWIG_AsBool(PyObject *obj) | |
994141e6 RD |
432 | { |
433 | return PyObject_IsTrue(obj) ? true : false; | |
434 | } | |
435 | ||
436 | ||
15afbcd0 RD |
437 | SWIGSTATICINLINE(int) |
438 | SWIG_CheckBool(PyObject* obj) | |
439 | { | |
440 | SWIG_AsBool(obj); | |
441 | if (PyErr_Occurred()) { | |
442 | PyErr_Clear(); | |
443 | return 0; | |
444 | } else { | |
445 | return 1; | |
446 | } | |
447 | } | |
448 | ||
449 | ||
d14a1e28 RD |
450 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { |
451 | PyObject* o2; | |
452 | PyObject* o3; | |
453 | ||
454 | if (!target) { | |
455 | target = o; | |
456 | } else if (target == Py_None) { | |
457 | Py_DECREF(Py_None); | |
458 | target = o; | |
459 | } else { | |
460 | if (!PyTuple_Check(target)) { | |
461 | o2 = target; | |
462 | target = PyTuple_New(1); | |
463 | PyTuple_SetItem(target, 0, o2); | |
464 | } | |
465 | o3 = PyTuple_New(1); | |
466 | PyTuple_SetItem(o3, 0, o); | |
467 | ||
468 | o2 = target; | |
469 | target = PySequence_Concat(o2, o3); | |
470 | Py_DECREF(o2); | |
471 | Py_DECREF(o3); | |
472 | } | |
473 | return target; | |
474 | } | |
475 | ||
994141e6 | 476 | |
15afbcd0 RD |
477 | SWIGSTATICINLINE(double) |
478 | SWIG_AsDouble(PyObject *obj) | |
994141e6 | 479 | { |
15afbcd0 | 480 | double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) : |
994141e6 | 481 | #if HAVE_LONG_LONG |
15afbcd0 | 482 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj)); |
994141e6 | 483 | #else |
15afbcd0 | 484 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj)); |
994141e6 RD |
485 | #endif |
486 | if (PyErr_Occurred()) { | |
487 | PyErr_Clear(); | |
488 | PyErr_SetString(PyExc_TypeError, "a double is expected"); | |
489 | } | |
15afbcd0 RD |
490 | return val; |
491 | } | |
492 | ||
493 | ||
494 | SWIGSTATICINLINE(int) | |
495 | SWIG_CheckDouble(PyObject* obj) | |
496 | { | |
497 | SWIG_AsDouble(obj); | |
498 | if (PyErr_Occurred()) { | |
499 | PyErr_Clear(); | |
500 | return 0; | |
501 | } else { | |
502 | return 1; | |
503 | } | |
994141e6 RD |
504 | } |
505 | ||
b2dc1044 RD |
506 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
507 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
508 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
509 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
d14a1e28 RD |
510 | bool wxDialog_IsModalShowing(wxDialog *self){ |
511 | ||
512 | return self->m_modalShowing; | |
513 | ||
514 | ||
515 | ||
516 | } | |
517 | ||
518 | ||
7722248d RD |
519 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
520 | wxRect r; | |
521 | self->GetFieldRect(i, r); | |
522 | return r; | |
523 | } | |
33b885b9 RD |
524 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
525 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
526 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
527 | |
528 | #include <wx/popupwin.h> | |
529 | ||
530 | ||
531 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
532 | { | |
533 | public: | |
534 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
535 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
536 | : wxPopupTransientWindow(parent, style) {} | |
537 | ||
538 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
539 | DEC_PYCALLBACK__(OnDismiss); | |
540 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
541 | PYPRIVATE; | |
542 | }; | |
543 | ||
544 | ||
545 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
546 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
547 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
548 | ||
549 | ||
550 | #include <wx/tipwin.h> | |
551 | ||
fd3f2efe RD |
552 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
553 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
554 | } |
555 | ||
556 | #include <wx/tipwin.h> | |
557 | ||
558 | ||
559 | #include <wx/vscroll.h> | |
560 | ||
561 | ||
562 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
563 | { | |
564 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
565 | public: | |
566 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
567 | ||
568 | wxPyVScrolledWindow(wxWindow *parent, | |
569 | wxWindowID id = wxID_ANY, | |
570 | const wxPoint& pos = wxDefaultPosition, | |
571 | const wxSize& size = wxDefaultSize, | |
572 | long style = 0, | |
573 | const wxString& name = wxPyPanelNameStr) | |
574 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
575 | {} | |
576 | ||
577 | // Overridable virtuals | |
578 | ||
579 | // this function must be overridden in the derived class and it should | |
580 | // return the height of the given line in pixels | |
581 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
582 | ||
583 | ||
584 | // this function doesn't have to be overridden but it may be useful to do | |
585 | // it if calculating the lines heights is a relatively expensive operation | |
586 | // as it gives the user code a possibility to calculate several of them at | |
587 | // once | |
588 | // | |
589 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
590 | // shouldn't rely on the latter being called for all lines in the interval | |
591 | // specified here. It is also possible that OnGetLineHeight() will be | |
592 | // called for the lines outside of this interval, so this is really just a | |
593 | // hint, not a promise. | |
594 | // | |
595 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
596 | // usual | |
597 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
598 | ||
599 | ||
600 | // when the number of lines changes, we try to estimate the total height | |
601 | // of all lines which is a rather expensive operation in terms of lines | |
602 | // access, so if the user code may estimate the average height | |
603 | // better/faster than we do, it should override this function to implement | |
604 | // its own logic | |
605 | // | |
606 | // this function should return the best guess for the total height it may | |
607 | // make | |
608 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
609 | ||
610 | ||
611 | // Also expose some other interesting protected methods | |
612 | ||
613 | ||
614 | // find the index of the line we need to show at the top of the window such | |
615 | // that the last (fully or partially) visible line is the given one | |
e811c8ce | 616 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
617 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
618 | ||
619 | // get the total height of the lines between lineMin (inclusive) and | |
620 | // lineMax (exclusive) | |
621 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
622 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
623 | ||
624 | ||
625 | PYPRIVATE; | |
626 | }; | |
627 | ||
628 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
629 | ||
630 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
631 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
632 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
633 | ||
634 | ||
15afbcd0 RD |
635 | SWIGSTATICINLINE(unsigned long) |
636 | SWIG_AsUnsignedLong(PyObject * obj) | |
637 | { | |
638 | if (PyLong_Check(obj)) { | |
639 | return PyLong_AsUnsignedLong(obj); | |
640 | } else { | |
641 | long i = PyInt_AsLong(obj); | |
642 | if ( !PyErr_Occurred() && (i < 0)) { | |
643 | PyErr_SetString(PyExc_TypeError, "negative value for unsigned type"); | |
644 | } | |
645 | return i; | |
646 | } | |
647 | } | |
648 | ||
649 | ||
650 | SWIGSTATICINLINE(int) | |
651 | SWIG_CheckUnsignedLong(PyObject* obj) | |
652 | { | |
653 | SWIG_AsUnsignedLong(obj); | |
654 | if (PyErr_Occurred()) { | |
655 | PyErr_Clear(); | |
656 | return 0; | |
657 | } else { | |
658 | return 1; | |
659 | } | |
660 | } | |
661 | ||
662 | ||
663 | SWIGSTATICINLINE(PyObject* ) | |
664 | SWIG_FromUnsignedLong(unsigned long value) | |
994141e6 | 665 | { |
15afbcd0 RD |
666 | return (value > LONG_MAX) ? |
667 | PyLong_FromUnsignedLong(value) | |
668 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
994141e6 RD |
669 | } |
670 | ||
671 | ||
d14a1e28 | 672 | #include <wx/vlbox.h> |
d14a1e28 | 673 | |
b2dc1044 | 674 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
675 | |
676 | class wxPyVListBox : public wxVListBox | |
677 | { | |
678 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
679 | public: | |
680 | wxPyVListBox() : wxVListBox() {} | |
681 | ||
682 | wxPyVListBox(wxWindow *parent, | |
683 | wxWindowID id = wxID_ANY, | |
684 | const wxPoint& pos = wxDefaultPosition, | |
685 | const wxSize& size = wxDefaultSize, | |
686 | long style = 0, | |
687 | const wxString& name = wxPyVListBoxNameStr) | |
688 | : wxVListBox(parent, id, pos, size, style, name) | |
689 | {} | |
690 | ||
691 | // Overridable virtuals | |
692 | ||
693 | // the derived class must implement this function to actually draw the item | |
694 | // with the given index on the provided DC | |
695 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
696 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
697 | ||
698 | ||
699 | // the derived class must implement this method to return the height of the | |
700 | // specified item | |
701 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
702 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
703 | ||
704 | ||
705 | // this method may be used to draw separators between the lines; note that | |
706 | // the rectangle may be modified, typically to deflate it a bit before | |
707 | // passing to OnDrawItem() | |
708 | // | |
709 | // the base class version doesn't do anything | |
710 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
711 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
712 | ||
713 | ||
714 | // this method is used to draw the items background and, maybe, a border | |
715 | // around it | |
716 | // | |
717 | // the base class version implements a reasonable default behaviour which | |
718 | // consists in drawing the selected item with the standard background | |
719 | // colour and drawing a border around the item if it is either selected or | |
720 | // current | |
721 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
722 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
723 | ||
724 | ||
725 | PYPRIVATE; | |
726 | }; | |
727 | ||
728 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
729 | ||
730 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
731 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
732 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
733 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
734 | ||
735 | ||
736 | ||
737 | #include <wx/htmllbox.h> | |
738 | ||
739 | ||
740 | class wxPyHtmlListBox : public wxHtmlListBox | |
741 | { | |
742 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
743 | public: | |
744 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
745 | ||
746 | wxPyHtmlListBox(wxWindow *parent, | |
747 | wxWindowID id = wxID_ANY, | |
748 | const wxPoint& pos = wxDefaultPosition, | |
749 | const wxSize& size = wxDefaultSize, | |
750 | long style = 0, | |
751 | const wxString& name = wxPyVListBoxNameStr) | |
752 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
753 | {} | |
754 | ||
755 | // Overridable virtuals | |
756 | ||
757 | // this method must be implemented in the derived class and should return | |
758 | // the body (i.e. without <html>) of the HTML for the given item | |
759 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
760 | ||
761 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
762 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
763 | ||
764 | // TODO: | |
765 | // // this method allows to customize the selection appearance: it may be used | |
766 | // // to specify the colour of the text which normally has the given colour | |
767 | // // colFg when it is inside the selection | |
768 | // // | |
769 | // // by default, the original colour is not used at all and all text has the | |
770 | // // same (default for this system) colour inside selection | |
771 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
772 | ||
773 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
774 | // // background colour -- this is even more rarely used as you can change it | |
775 | // // globally using SetSelectionBackground() | |
776 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
777 | ||
778 | ||
779 | PYPRIVATE; | |
780 | }; | |
781 | ||
782 | ||
783 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
784 | ||
785 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
786 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
787 | ||
788 | ||
789 | ||
790 | ||
791 | ||
792 | #ifdef __WXMAC__ | |
793 | // implement dummy classes and such for wxMac | |
794 | ||
795 | class wxTaskBarIcon : public wxEvtHandler | |
796 | { | |
797 | public: | |
39f61e25 | 798 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
799 | }; |
800 | ||
801 | ||
802 | class wxTaskBarIconEvent : public wxEvent | |
803 | { | |
804 | public: | |
805 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 806 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
807 | virtual wxEvent* Clone() const { return NULL; } |
808 | }; | |
809 | ||
810 | enum { | |
811 | wxEVT_TASKBAR_MOVE = 0, | |
812 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
813 | wxEVT_TASKBAR_LEFT_UP = 0, | |
814 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
815 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
816 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
817 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
818 | }; | |
819 | #endif | |
820 | ||
b2dc1044 RD |
821 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
822 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
823 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
824 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
825 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
826 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
827 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
828 | wxArrayString arr; | |
829 | self->GetFilenames(arr); | |
830 | return wxArrayString2PyList_helper(arr); | |
831 | } | |
832 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
833 | wxArrayString arr; | |
834 | self->GetPaths(arr); | |
835 | return wxArrayString2PyList_helper(arr); | |
836 | } | |
837 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
838 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
839 | } | |
840 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
841 | return new wxSingleChoiceDialog(parent, message, caption, | |
842 | choices, choices_array, NULL, style, pos); | |
843 | } | |
844 | ||
845 | #include <wx/mdi.h> | |
846 | ||
847 | // C++ version of Python aware wxWindow | |
848 | class wxPyWindow : public wxWindow | |
849 | { | |
850 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
851 | public: | |
852 | wxPyWindow() : wxWindow() {} | |
853 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
854 | const wxPoint& pos = wxDefaultPosition, | |
855 | const wxSize& size = wxDefaultSize, | |
856 | long style = 0, | |
857 | const wxString& name = wxPyPanelNameStr) | |
858 | : wxWindow(parent, id, pos, size, style, name) {} | |
859 | ||
860 | ||
861 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
862 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
863 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
864 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
865 | ||
866 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
867 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
868 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
869 | ||
870 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
871 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
872 | ||
873 | DEC_PYCALLBACK__(InitDialog); | |
874 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
875 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
876 | DEC_PYCALLBACK_BOOL_(Validate); | |
877 | ||
878 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
879 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
880 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
881 | ||
882 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
883 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
884 | ||
4276dc52 RD |
885 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
886 | ||
d14a1e28 RD |
887 | PYPRIVATE; |
888 | }; | |
889 | ||
890 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
891 | ||
892 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
893 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
894 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
895 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
896 | ||
897 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
898 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
899 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
900 | ||
901 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
902 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
903 | ||
904 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
905 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
906 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
907 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
908 | ||
909 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
910 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
911 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
912 | ||
913 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
914 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
915 | ||
4276dc52 | 916 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours); |
d14a1e28 RD |
917 | |
918 | // C++ version of Python aware wxPanel | |
919 | class wxPyPanel : public wxPanel | |
920 | { | |
921 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
922 | public: | |
923 | wxPyPanel() : wxPanel() {} | |
924 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
925 | const wxPoint& pos = wxDefaultPosition, | |
926 | const wxSize& size = wxDefaultSize, | |
927 | long style = 0, | |
928 | const wxString& name = wxPyPanelNameStr) | |
929 | : wxPanel(parent, id, pos, size, style, name) {} | |
930 | ||
931 | ||
932 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
933 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
934 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
935 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
936 | ||
937 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
938 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
939 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
940 | ||
941 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
942 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
943 | ||
944 | DEC_PYCALLBACK__(InitDialog); | |
945 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
946 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
947 | DEC_PYCALLBACK_BOOL_(Validate); | |
948 | ||
949 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
950 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
951 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
952 | ||
953 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
954 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
955 | ||
4276dc52 RD |
956 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
957 | ||
d14a1e28 RD |
958 | PYPRIVATE; |
959 | }; | |
960 | ||
961 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
962 | ||
963 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
964 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
965 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
966 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
967 | ||
968 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
969 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
970 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
971 | ||
972 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
973 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
974 | ||
975 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
976 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
977 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
978 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
979 | ||
980 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
981 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
982 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
983 | ||
984 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
985 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
986 | ||
4276dc52 | 987 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
d14a1e28 RD |
988 | |
989 | ||
990 | #include "wx/wxPython/printfw.h" | |
991 | ||
d14a1e28 | 992 | |
33b885b9 RD |
993 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
994 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
995 | |
996 | ||
997 | ||
998 | // Since this one would be tough and ugly to do with the Macros... | |
999 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
e811c8ce | 1000 | bool hadErr = False; |
d14a1e28 RD |
1001 | bool found; |
1002 | ||
4f89f6a3 | 1003 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1004 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1005 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1006 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1007 | PyObject* val; | |
1008 | ||
1009 | val = PyTuple_GetItem(result, 0); | |
1010 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
e811c8ce | 1011 | else hadErr = True; |
d14a1e28 RD |
1012 | |
1013 | val = PyTuple_GetItem(result, 1); | |
1014 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
e811c8ce | 1015 | else hadErr = True; |
d14a1e28 RD |
1016 | |
1017 | val = PyTuple_GetItem(result, 2); | |
1018 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
e811c8ce | 1019 | else hadErr = True; |
d14a1e28 RD |
1020 | |
1021 | val = PyTuple_GetItem(result, 3); | |
1022 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
e811c8ce | 1023 | else hadErr = True; |
d14a1e28 RD |
1024 | } |
1025 | else | |
e811c8ce | 1026 | hadErr = True; |
d14a1e28 RD |
1027 | |
1028 | if (hadErr) { | |
1029 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1030 | PyErr_Print(); | |
1031 | } | |
1032 | Py_DECREF(result); | |
1033 | } | |
4f89f6a3 | 1034 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1035 | if (! found) |
1036 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1037 | } | |
1038 | ||
1039 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1040 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1041 | } | |
1042 | ||
1043 | ||
1044 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1045 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1046 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1047 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1048 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1049 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1050 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1051 | ||
1052 | ||
1053 | ||
1054 | ||
1055 | ||
1056 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1057 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1058 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1059 | ||
1060 | ||
1061 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1062 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
e811c8ce | 1063 | bool rval=False; \ |
d14a1e28 | 1064 | bool found; \ |
4f89f6a3 | 1065 | bool blocked = wxPyBeginBlockThreads(); \ |
d14a1e28 RD |
1066 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ |
1067 | PyObject* win = wxPyMake_wxObject(a); \ | |
1068 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1069 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1070 | Py_DECREF(win); \ | |
1071 | Py_DECREF(dc); \ | |
1072 | } \ | |
4f89f6a3 | 1073 | wxPyEndBlockThreads(blocked); \ |
d14a1e28 RD |
1074 | if (! found) \ |
1075 | rval = PCLASS::CBNAME(a, b); \ | |
1076 | return rval; \ | |
1077 | } \ | |
1078 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1079 | return PCLASS::CBNAME(a, b); \ | |
1080 | } | |
1081 | ||
1082 | ||
1083 | ||
1084 | ||
1085 | class wxPyPrintPreview : public wxPrintPreview | |
1086 | { | |
1087 | DECLARE_CLASS(wxPyPrintPreview) | |
1088 | public: | |
4276dc52 RD |
1089 | wxPyPrintPreview(wxPyPrintout* printout, |
1090 | wxPyPrintout* printoutForPrinting, | |
1091 | wxPrintDialogData* data=NULL) | |
1092 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1093 | {} | |
d14a1e28 RD |
1094 | wxPyPrintPreview(wxPyPrintout* printout, |
1095 | wxPyPrintout* printoutForPrinting, | |
1096 | wxPrintData* data=NULL) | |
1097 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1098 | {} | |
1099 | ||
1100 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1101 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1102 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1103 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1104 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1105 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1106 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1107 | ||
1108 | PYPRIVATE; | |
1109 | }; | |
1110 | ||
1111 | // Stupid renamed classes... Fix this in 2.5... | |
1112 | #if defined(__WXMSW__) | |
1113 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1114 | #elif defined(__WXMAC__) | |
1115 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1116 | #else | |
1117 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1118 | #endif | |
1119 | ||
1120 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1121 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1122 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1123 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1124 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1125 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1126 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1127 | ||
1128 | ||
1129 | class wxPyPreviewFrame : public wxPreviewFrame | |
1130 | { | |
1131 | DECLARE_CLASS(wxPyPreviewFrame); | |
1132 | public: | |
1133 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1134 | const wxString& title, | |
1135 | const wxPoint& pos = wxDefaultPosition, | |
1136 | const wxSize& size = wxDefaultSize, | |
1137 | long style = wxDEFAULT_FRAME_STYLE, | |
1138 | const wxString& name = wxPyFrameNameStr) | |
1139 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1140 | {} | |
1141 | ||
1142 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1143 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1144 | ||
1145 | DEC_PYCALLBACK_VOID_(Initialize); | |
1146 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1147 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1148 | ||
1149 | PYPRIVATE; | |
1150 | }; | |
1151 | ||
1152 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1153 | ||
1154 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1155 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1156 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1157 | ||
1158 | ||
1159 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1160 | { | |
1161 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1162 | public: | |
1163 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1164 | long buttons, | |
1165 | wxWindow *parent, | |
1166 | const wxPoint& pos = wxDefaultPosition, | |
1167 | const wxSize& size = wxDefaultSize, | |
1168 | long style = 0, | |
1169 | const wxString& name = wxPyPanelNameStr) | |
1170 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1171 | {} | |
1172 | ||
1173 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1174 | ||
1175 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1176 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1177 | ||
1178 | PYPRIVATE; | |
1179 | }; | |
1180 | ||
1181 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1182 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1183 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1184 | ||
1185 | #ifdef __cplusplus | |
1186 | extern "C" { | |
1187 | #endif | |
1188 | static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1189 | PyObject *resultobj; | |
1190 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1191 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1192 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1193 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1194 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1195 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1196 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1197 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1198 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1199 | wxPanel *result; | |
1200 | wxPoint temp3 ; | |
1201 | wxSize temp4 ; | |
e811c8ce | 1202 | bool temp6 = False ; |
d14a1e28 | 1203 | PyObject * obj0 = 0 ; |
994141e6 | 1204 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1205 | PyObject * obj2 = 0 ; |
1206 | PyObject * obj3 = 0 ; | |
994141e6 | 1207 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1208 | PyObject * obj5 = 0 ; |
1209 | char *kwnames[] = { | |
1210 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1211 | }; | |
1212 | ||
994141e6 | 1213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1216 | if (obj1) { |
15afbcd0 RD |
1217 | arg2 = (int const) SWIG_AsInt(obj1); |
1218 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1219 | } |
d14a1e28 RD |
1220 | if (obj2) { |
1221 | { | |
1222 | arg3 = &temp3; | |
1223 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1224 | } | |
1225 | } | |
1226 | if (obj3) { | |
1227 | { | |
1228 | arg4 = &temp4; | |
1229 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1230 | } | |
1231 | } | |
994141e6 | 1232 | if (obj4) { |
15afbcd0 RD |
1233 | arg5 = (long) SWIG_AsLong(obj4); |
1234 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1235 | } |
d14a1e28 RD |
1236 | if (obj5) { |
1237 | { | |
1238 | arg6 = wxString_in_helper(obj5); | |
1239 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1240 | temp6 = True; |
d14a1e28 RD |
1241 | } |
1242 | } | |
1243 | { | |
1244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1245 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1246 | ||
1247 | wxPyEndAllowThreads(__tstate); | |
1248 | if (PyErr_Occurred()) SWIG_fail; | |
1249 | } | |
15afbcd0 | 1250 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1251 | { |
1252 | if (temp6) | |
1253 | delete arg6; | |
1254 | } | |
1255 | return resultobj; | |
1256 | fail: | |
1257 | { | |
1258 | if (temp6) | |
1259 | delete arg6; | |
1260 | } | |
1261 | return NULL; | |
1262 | } | |
1263 | ||
1264 | ||
1265 | static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1266 | PyObject *resultobj; | |
1267 | wxPanel *result; | |
1268 | char *kwnames[] = { | |
1269 | NULL | |
1270 | }; | |
1271 | ||
1272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1273 | { | |
1274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1275 | result = (wxPanel *)new wxPanel(); | |
1276 | ||
1277 | wxPyEndAllowThreads(__tstate); | |
1278 | if (PyErr_Occurred()) SWIG_fail; | |
1279 | } | |
15afbcd0 | 1280 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1281 | return resultobj; |
1282 | fail: | |
1283 | return NULL; | |
1284 | } | |
1285 | ||
1286 | ||
1287 | static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1288 | PyObject *resultobj; | |
1289 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1290 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1291 | int arg3 ; |
d14a1e28 RD |
1292 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1293 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1294 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1295 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1296 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1297 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1298 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1299 | bool result; | |
1300 | wxPoint temp4 ; | |
1301 | wxSize temp5 ; | |
e811c8ce | 1302 | bool temp7 = False ; |
d14a1e28 RD |
1303 | PyObject * obj0 = 0 ; |
1304 | PyObject * obj1 = 0 ; | |
994141e6 | 1305 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1306 | PyObject * obj3 = 0 ; |
1307 | PyObject * obj4 = 0 ; | |
994141e6 | 1308 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1309 | PyObject * obj6 = 0 ; |
1310 | char *kwnames[] = { | |
1311 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1312 | }; | |
1313 | ||
994141e6 | 1314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1317 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1319 | arg3 = (int const) SWIG_AsInt(obj2); | |
1320 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1321 | if (obj3) { |
1322 | { | |
1323 | arg4 = &temp4; | |
1324 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1325 | } | |
1326 | } | |
1327 | if (obj4) { | |
1328 | { | |
1329 | arg5 = &temp5; | |
1330 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1331 | } | |
1332 | } | |
994141e6 | 1333 | if (obj5) { |
15afbcd0 RD |
1334 | arg6 = (long) SWIG_AsLong(obj5); |
1335 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1336 | } |
d14a1e28 RD |
1337 | if (obj6) { |
1338 | { | |
1339 | arg7 = wxString_in_helper(obj6); | |
1340 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1341 | temp7 = True; |
d14a1e28 RD |
1342 | } |
1343 | } | |
1344 | { | |
1345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1346 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1347 | ||
1348 | wxPyEndAllowThreads(__tstate); | |
1349 | if (PyErr_Occurred()) SWIG_fail; | |
1350 | } | |
4f89f6a3 RD |
1351 | { |
1352 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1353 | } | |
d14a1e28 RD |
1354 | { |
1355 | if (temp7) | |
1356 | delete arg7; | |
1357 | } | |
1358 | return resultobj; | |
1359 | fail: | |
1360 | { | |
1361 | if (temp7) | |
1362 | delete arg7; | |
1363 | } | |
1364 | return NULL; | |
1365 | } | |
1366 | ||
1367 | ||
1368 | static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1369 | PyObject *resultobj; | |
1370 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1371 | PyObject * obj0 = 0 ; | |
1372 | char *kwnames[] = { | |
1373 | (char *) "self", NULL | |
1374 | }; | |
1375 | ||
1376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1379 | { |
1380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1381 | (arg1)->InitDialog(); | |
1382 | ||
1383 | wxPyEndAllowThreads(__tstate); | |
1384 | if (PyErr_Occurred()) SWIG_fail; | |
1385 | } | |
1386 | Py_INCREF(Py_None); resultobj = Py_None; | |
1387 | return resultobj; | |
1388 | fail: | |
1389 | return NULL; | |
1390 | } | |
1391 | ||
1392 | ||
1393 | static PyObject * Panel_swigregister(PyObject *self, PyObject *args) { | |
1394 | PyObject *obj; | |
1395 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1396 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1397 | Py_INCREF(obj); | |
1398 | return Py_BuildValue((char *)""); | |
1399 | } | |
1400 | static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1401 | PyObject *resultobj; | |
1402 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1403 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1404 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1405 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1406 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1407 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1408 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1409 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1410 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1411 | wxScrolledWindow *result; | |
1412 | wxPoint temp3 ; | |
1413 | wxSize temp4 ; | |
e811c8ce | 1414 | bool temp6 = False ; |
d14a1e28 | 1415 | PyObject * obj0 = 0 ; |
994141e6 | 1416 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1417 | PyObject * obj2 = 0 ; |
1418 | PyObject * obj3 = 0 ; | |
994141e6 | 1419 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1420 | PyObject * obj5 = 0 ; |
1421 | char *kwnames[] = { | |
1422 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1423 | }; | |
1424 | ||
994141e6 | 1425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1428 | if (obj1) { |
15afbcd0 RD |
1429 | arg2 = (int const) SWIG_AsInt(obj1); |
1430 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1431 | } |
d14a1e28 RD |
1432 | if (obj2) { |
1433 | { | |
1434 | arg3 = &temp3; | |
1435 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1436 | } | |
1437 | } | |
1438 | if (obj3) { | |
1439 | { | |
1440 | arg4 = &temp4; | |
1441 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1442 | } | |
1443 | } | |
994141e6 | 1444 | if (obj4) { |
15afbcd0 RD |
1445 | arg5 = (long) SWIG_AsLong(obj4); |
1446 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1447 | } |
d14a1e28 RD |
1448 | if (obj5) { |
1449 | { | |
1450 | arg6 = wxString_in_helper(obj5); | |
1451 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 1452 | temp6 = True; |
d14a1e28 RD |
1453 | } |
1454 | } | |
1455 | { | |
1456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1457 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1458 | ||
1459 | wxPyEndAllowThreads(__tstate); | |
1460 | if (PyErr_Occurred()) SWIG_fail; | |
1461 | } | |
15afbcd0 | 1462 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1463 | { |
1464 | if (temp6) | |
1465 | delete arg6; | |
1466 | } | |
1467 | return resultobj; | |
1468 | fail: | |
1469 | { | |
1470 | if (temp6) | |
1471 | delete arg6; | |
1472 | } | |
1473 | return NULL; | |
1474 | } | |
1475 | ||
1476 | ||
1477 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1478 | PyObject *resultobj; | |
1479 | wxScrolledWindow *result; | |
1480 | char *kwnames[] = { | |
1481 | NULL | |
1482 | }; | |
1483 | ||
1484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1485 | { | |
1486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1487 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1488 | ||
1489 | wxPyEndAllowThreads(__tstate); | |
1490 | if (PyErr_Occurred()) SWIG_fail; | |
1491 | } | |
15afbcd0 | 1492 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1493 | return resultobj; |
1494 | fail: | |
1495 | return NULL; | |
1496 | } | |
1497 | ||
1498 | ||
1499 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1500 | PyObject *resultobj; | |
1501 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1502 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1503 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1504 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1505 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1506 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1507 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1508 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1509 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1510 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1511 | bool result; | |
1512 | wxPoint temp4 ; | |
1513 | wxSize temp5 ; | |
e811c8ce | 1514 | bool temp7 = False ; |
d14a1e28 RD |
1515 | PyObject * obj0 = 0 ; |
1516 | PyObject * obj1 = 0 ; | |
994141e6 | 1517 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1518 | PyObject * obj3 = 0 ; |
1519 | PyObject * obj4 = 0 ; | |
994141e6 | 1520 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1521 | PyObject * obj6 = 0 ; |
1522 | char *kwnames[] = { | |
1523 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1524 | }; | |
1525 | ||
994141e6 | 1526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1529 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1531 | if (obj2) { |
15afbcd0 RD |
1532 | arg3 = (int const) SWIG_AsInt(obj2); |
1533 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1534 | } |
d14a1e28 RD |
1535 | if (obj3) { |
1536 | { | |
1537 | arg4 = &temp4; | |
1538 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1539 | } | |
1540 | } | |
1541 | if (obj4) { | |
1542 | { | |
1543 | arg5 = &temp5; | |
1544 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1545 | } | |
1546 | } | |
994141e6 | 1547 | if (obj5) { |
15afbcd0 RD |
1548 | arg6 = (long) SWIG_AsLong(obj5); |
1549 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1550 | } |
d14a1e28 RD |
1551 | if (obj6) { |
1552 | { | |
1553 | arg7 = wxString_in_helper(obj6); | |
1554 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 1555 | temp7 = True; |
d14a1e28 RD |
1556 | } |
1557 | } | |
1558 | { | |
1559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1560 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1561 | ||
1562 | wxPyEndAllowThreads(__tstate); | |
1563 | if (PyErr_Occurred()) SWIG_fail; | |
1564 | } | |
4f89f6a3 RD |
1565 | { |
1566 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1567 | } | |
d14a1e28 RD |
1568 | { |
1569 | if (temp7) | |
1570 | delete arg7; | |
1571 | } | |
1572 | return resultobj; | |
1573 | fail: | |
1574 | { | |
1575 | if (temp7) | |
1576 | delete arg7; | |
1577 | } | |
1578 | return NULL; | |
1579 | } | |
1580 | ||
1581 | ||
1582 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1583 | PyObject *resultobj; | |
1584 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1585 | int arg2 ; | |
1586 | int arg3 ; | |
1587 | int arg4 ; | |
1588 | int arg5 ; | |
1589 | int arg6 = (int) 0 ; | |
1590 | int arg7 = (int) 0 ; | |
e811c8ce | 1591 | bool arg8 = (bool) False ; |
d14a1e28 | 1592 | PyObject * obj0 = 0 ; |
994141e6 RD |
1593 | PyObject * obj1 = 0 ; |
1594 | PyObject * obj2 = 0 ; | |
1595 | PyObject * obj3 = 0 ; | |
1596 | PyObject * obj4 = 0 ; | |
1597 | PyObject * obj5 = 0 ; | |
1598 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1599 | PyObject * obj7 = 0 ; |
1600 | char *kwnames[] = { | |
1601 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1602 | }; | |
1603 | ||
994141e6 | 1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1607 | arg2 = (int) SWIG_AsInt(obj1); | |
1608 | if (PyErr_Occurred()) SWIG_fail; | |
1609 | arg3 = (int) SWIG_AsInt(obj2); | |
1610 | if (PyErr_Occurred()) SWIG_fail; | |
1611 | arg4 = (int) SWIG_AsInt(obj3); | |
1612 | if (PyErr_Occurred()) SWIG_fail; | |
1613 | arg5 = (int) SWIG_AsInt(obj4); | |
1614 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1615 | if (obj5) { |
15afbcd0 RD |
1616 | arg6 = (int) SWIG_AsInt(obj5); |
1617 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
1618 | } |
1619 | if (obj6) { | |
15afbcd0 RD |
1620 | arg7 = (int) SWIG_AsInt(obj6); |
1621 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 1622 | } |
d14a1e28 | 1623 | if (obj7) { |
15afbcd0 RD |
1624 | arg8 = (bool) SWIG_AsBool(obj7); |
1625 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1626 | } |
1627 | { | |
1628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1629 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1630 | ||
1631 | wxPyEndAllowThreads(__tstate); | |
1632 | if (PyErr_Occurred()) SWIG_fail; | |
1633 | } | |
1634 | Py_INCREF(Py_None); resultobj = Py_None; | |
1635 | return resultobj; | |
1636 | fail: | |
1637 | return NULL; | |
1638 | } | |
1639 | ||
1640 | ||
1641 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1642 | PyObject *resultobj; | |
1643 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1644 | int arg2 ; | |
1645 | int arg3 ; | |
1646 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1647 | PyObject * obj1 = 0 ; |
1648 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1649 | char *kwnames[] = { |
1650 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1651 | }; | |
1652 | ||
994141e6 | 1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1654 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1656 | arg2 = (int) SWIG_AsInt(obj1); | |
1657 | if (PyErr_Occurred()) SWIG_fail; | |
1658 | arg3 = (int) SWIG_AsInt(obj2); | |
1659 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1660 | { |
1661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1662 | (arg1)->Scroll(arg2,arg3); | |
1663 | ||
1664 | wxPyEndAllowThreads(__tstate); | |
1665 | if (PyErr_Occurred()) SWIG_fail; | |
1666 | } | |
1667 | Py_INCREF(Py_None); resultobj = Py_None; | |
1668 | return resultobj; | |
1669 | fail: | |
1670 | return NULL; | |
1671 | } | |
1672 | ||
1673 | ||
1674 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1675 | PyObject *resultobj; | |
1676 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1677 | int arg2 ; | |
1678 | int result; | |
1679 | PyObject * obj0 = 0 ; | |
994141e6 | 1680 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1681 | char *kwnames[] = { |
1682 | (char *) "self",(char *) "orient", NULL | |
1683 | }; | |
1684 | ||
994141e6 | 1685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1688 | arg2 = (int) SWIG_AsInt(obj1); | |
1689 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1690 | { |
1691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1692 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1693 | ||
1694 | wxPyEndAllowThreads(__tstate); | |
1695 | if (PyErr_Occurred()) SWIG_fail; | |
1696 | } | |
15afbcd0 | 1697 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1698 | return resultobj; |
1699 | fail: | |
1700 | return NULL; | |
1701 | } | |
1702 | ||
1703 | ||
1704 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1705 | PyObject *resultobj; | |
1706 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1707 | int arg2 ; | |
1708 | int arg3 ; | |
1709 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1710 | PyObject * obj1 = 0 ; |
1711 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1712 | char *kwnames[] = { |
1713 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1714 | }; | |
1715 | ||
994141e6 | 1716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1719 | arg2 = (int) SWIG_AsInt(obj1); | |
1720 | if (PyErr_Occurred()) SWIG_fail; | |
1721 | arg3 = (int) SWIG_AsInt(obj2); | |
1722 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1723 | { |
1724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1725 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1726 | ||
1727 | wxPyEndAllowThreads(__tstate); | |
1728 | if (PyErr_Occurred()) SWIG_fail; | |
1729 | } | |
1730 | Py_INCREF(Py_None); resultobj = Py_None; | |
1731 | return resultobj; | |
1732 | fail: | |
1733 | return NULL; | |
1734 | } | |
1735 | ||
1736 | ||
1737 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1738 | PyObject *resultobj; | |
1739 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1740 | int arg2 ; | |
1741 | int arg3 ; | |
1742 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1743 | PyObject * obj1 = 0 ; |
1744 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1745 | char *kwnames[] = { |
1746 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1747 | }; | |
1748 | ||
994141e6 | 1749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1752 | arg2 = (int) SWIG_AsInt(obj1); | |
1753 | if (PyErr_Occurred()) SWIG_fail; | |
1754 | arg3 = (int) SWIG_AsInt(obj2); | |
1755 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1756 | { |
1757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1758 | (arg1)->SetScrollRate(arg2,arg3); | |
1759 | ||
1760 | wxPyEndAllowThreads(__tstate); | |
1761 | if (PyErr_Occurred()) SWIG_fail; | |
1762 | } | |
1763 | Py_INCREF(Py_None); resultobj = Py_None; | |
1764 | return resultobj; | |
1765 | fail: | |
1766 | return NULL; | |
1767 | } | |
1768 | ||
1769 | ||
1770 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1771 | PyObject *resultobj; | |
1772 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1773 | int *arg2 = (int *) 0 ; | |
1774 | int *arg3 = (int *) 0 ; | |
1775 | int temp2 ; | |
1776 | int temp3 ; | |
1777 | PyObject * obj0 = 0 ; | |
1778 | char *kwnames[] = { | |
1779 | (char *) "self", NULL | |
1780 | }; | |
1781 | ||
1782 | arg2 = &temp2; | |
1783 | arg3 = &temp3; | |
1784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1787 | { |
1788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1789 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1790 | ||
1791 | wxPyEndAllowThreads(__tstate); | |
1792 | if (PyErr_Occurred()) SWIG_fail; | |
1793 | } | |
1794 | Py_INCREF(Py_None); resultobj = Py_None; | |
1795 | { | |
1796 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1797 | resultobj = t_output_helper(resultobj,o); | |
1798 | } | |
1799 | { | |
1800 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1801 | resultobj = t_output_helper(resultobj,o); | |
1802 | } | |
1803 | return resultobj; | |
1804 | fail: | |
1805 | return NULL; | |
1806 | } | |
1807 | ||
1808 | ||
1809 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1810 | PyObject *resultobj; | |
1811 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1812 | bool arg2 ; | |
1813 | bool arg3 ; | |
1814 | PyObject * obj0 = 0 ; | |
1815 | PyObject * obj1 = 0 ; | |
1816 | PyObject * obj2 = 0 ; | |
1817 | char *kwnames[] = { | |
1818 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1819 | }; | |
1820 | ||
1821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
1822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1824 | arg2 = (bool) SWIG_AsBool(obj1); | |
1825 | if (PyErr_Occurred()) SWIG_fail; | |
1826 | arg3 = (bool) SWIG_AsBool(obj2); | |
1827 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1828 | { |
1829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1830 | (arg1)->EnableScrolling(arg2,arg3); | |
1831 | ||
1832 | wxPyEndAllowThreads(__tstate); | |
1833 | if (PyErr_Occurred()) SWIG_fail; | |
1834 | } | |
1835 | Py_INCREF(Py_None); resultobj = Py_None; | |
1836 | return resultobj; | |
1837 | fail: | |
1838 | return NULL; | |
1839 | } | |
1840 | ||
1841 | ||
1842 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1843 | PyObject *resultobj; | |
1844 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1845 | int *arg2 = (int *) 0 ; | |
1846 | int *arg3 = (int *) 0 ; | |
1847 | int temp2 ; | |
1848 | int temp3 ; | |
1849 | PyObject * obj0 = 0 ; | |
1850 | char *kwnames[] = { | |
1851 | (char *) "self", NULL | |
1852 | }; | |
1853 | ||
1854 | arg2 = &temp2; | |
1855 | arg3 = &temp3; | |
1856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1859 | { |
1860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1861 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1862 | ||
1863 | wxPyEndAllowThreads(__tstate); | |
1864 | if (PyErr_Occurred()) SWIG_fail; | |
1865 | } | |
1866 | Py_INCREF(Py_None); resultobj = Py_None; | |
1867 | { | |
1868 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1869 | resultobj = t_output_helper(resultobj,o); | |
1870 | } | |
1871 | { | |
1872 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1873 | resultobj = t_output_helper(resultobj,o); | |
1874 | } | |
1875 | return resultobj; | |
1876 | fail: | |
1877 | return NULL; | |
1878 | } | |
1879 | ||
1880 | ||
1881 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1882 | PyObject *resultobj; | |
1883 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1884 | double arg2 ; | |
1885 | double arg3 ; | |
1886 | PyObject * obj0 = 0 ; | |
994141e6 RD |
1887 | PyObject * obj1 = 0 ; |
1888 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1889 | char *kwnames[] = { |
1890 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1891 | }; | |
1892 | ||
994141e6 | 1893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
1894 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1896 | arg2 = (double) SWIG_AsDouble(obj1); | |
1897 | if (PyErr_Occurred()) SWIG_fail; | |
1898 | arg3 = (double) SWIG_AsDouble(obj2); | |
1899 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1900 | { |
1901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1902 | (arg1)->SetScale(arg2,arg3); | |
1903 | ||
1904 | wxPyEndAllowThreads(__tstate); | |
1905 | if (PyErr_Occurred()) SWIG_fail; | |
1906 | } | |
1907 | Py_INCREF(Py_None); resultobj = Py_None; | |
1908 | return resultobj; | |
1909 | fail: | |
1910 | return NULL; | |
1911 | } | |
1912 | ||
1913 | ||
1914 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1915 | PyObject *resultobj; | |
1916 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1917 | double result; | |
1918 | PyObject * obj0 = 0 ; | |
1919 | char *kwnames[] = { | |
1920 | (char *) "self", NULL | |
1921 | }; | |
1922 | ||
1923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1924 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1925 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1926 | { |
1927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1928 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1929 | ||
1930 | wxPyEndAllowThreads(__tstate); | |
1931 | if (PyErr_Occurred()) SWIG_fail; | |
1932 | } | |
15afbcd0 | 1933 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1934 | return resultobj; |
1935 | fail: | |
1936 | return NULL; | |
1937 | } | |
1938 | ||
1939 | ||
1940 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1941 | PyObject *resultobj; | |
1942 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1943 | double result; | |
1944 | PyObject * obj0 = 0 ; | |
1945 | char *kwnames[] = { | |
1946 | (char *) "self", NULL | |
1947 | }; | |
1948 | ||
1949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1952 | { |
1953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1954 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1955 | ||
1956 | wxPyEndAllowThreads(__tstate); | |
1957 | if (PyErr_Occurred()) SWIG_fail; | |
1958 | } | |
15afbcd0 | 1959 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1960 | return resultobj; |
1961 | fail: | |
1962 | return NULL; | |
1963 | } | |
1964 | ||
1965 | ||
1966 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
1967 | PyObject *resultobj; | |
1968 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
1969 | wxPoint *arg2 = 0 ; |
1970 | wxPoint result; | |
1971 | wxPoint temp2 ; | |
d14a1e28 | 1972 | PyObject * obj0 = 0 ; |
322913ce | 1973 | PyObject * obj1 = 0 ; |
d14a1e28 | 1974 | |
322913ce | 1975 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
1976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
1978 | { |
1979 | arg2 = &temp2; | |
1980 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1981 | } | |
d14a1e28 RD |
1982 | { |
1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 1984 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1985 | |
1986 | wxPyEndAllowThreads(__tstate); | |
1987 | if (PyErr_Occurred()) SWIG_fail; | |
1988 | } | |
d14a1e28 | 1989 | { |
322913ce RD |
1990 | wxPoint * resultptr; |
1991 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 1992 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
1993 | } |
1994 | return resultobj; | |
1995 | fail: | |
1996 | return NULL; | |
1997 | } | |
1998 | ||
1999 | ||
2000 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2001 | PyObject *resultobj; | |
2002 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2003 | int arg2 ; |
2004 | int arg3 ; | |
2005 | int *arg4 = (int *) 0 ; | |
2006 | int *arg5 = (int *) 0 ; | |
2007 | int temp4 ; | |
2008 | int temp5 ; | |
d14a1e28 | 2009 | PyObject * obj0 = 0 ; |
994141e6 RD |
2010 | PyObject * obj1 = 0 ; |
2011 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2012 | |
322913ce RD |
2013 | arg4 = &temp4; |
2014 | arg5 = &temp5; | |
994141e6 | 2015 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&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 = (int) SWIG_AsInt(obj1); | |
2019 | if (PyErr_Occurred()) SWIG_fail; | |
2020 | arg3 = (int) SWIG_AsInt(obj2); | |
2021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2022 | { |
2023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2024 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2025 | |
2026 | wxPyEndAllowThreads(__tstate); | |
2027 | if (PyErr_Occurred()) SWIG_fail; | |
2028 | } | |
322913ce | 2029 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2030 | { |
322913ce RD |
2031 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2032 | resultobj = t_output_helper(resultobj,o); | |
2033 | } | |
2034 | { | |
2035 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2036 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2037 | } |
2038 | return resultobj; | |
2039 | fail: | |
2040 | return NULL; | |
2041 | } | |
2042 | ||
2043 | ||
2044 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2045 | int argc; | |
2046 | PyObject *argv[4]; | |
2047 | int ii; | |
2048 | ||
2049 | argc = PyObject_Length(args); | |
2050 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2051 | argv[ii] = PyTuple_GetItem(args,ii); | |
2052 | } | |
2053 | if (argc == 2) { | |
2054 | int _v; | |
2055 | { | |
2056 | void *ptr; | |
15afbcd0 | 2057 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2058 | _v = 0; |
2059 | PyErr_Clear(); | |
2060 | } else { | |
2061 | _v = 1; | |
2062 | } | |
2063 | } | |
2064 | if (_v) { | |
2065 | { | |
2066 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2067 | } | |
2068 | if (_v) { | |
322913ce | 2069 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2070 | } |
2071 | } | |
2072 | } | |
2073 | if (argc == 3) { | |
2074 | int _v; | |
2075 | { | |
2076 | void *ptr; | |
15afbcd0 | 2077 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2078 | _v = 0; |
2079 | PyErr_Clear(); | |
2080 | } else { | |
2081 | _v = 1; | |
2082 | } | |
2083 | } | |
2084 | if (_v) { | |
15afbcd0 | 2085 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2086 | if (_v) { |
15afbcd0 | 2087 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2088 | if (_v) { |
322913ce | 2089 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2090 | } |
2091 | } | |
2092 | } | |
2093 | } | |
2094 | ||
2095 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2096 | return NULL; | |
2097 | } | |
2098 | ||
2099 | ||
2100 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) { | |
2101 | PyObject *resultobj; | |
2102 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2103 | wxPoint *arg2 = 0 ; |
2104 | wxPoint result; | |
2105 | wxPoint temp2 ; | |
d14a1e28 | 2106 | PyObject * obj0 = 0 ; |
322913ce | 2107 | PyObject * obj1 = 0 ; |
d14a1e28 | 2108 | |
322913ce | 2109 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2112 | { |
2113 | arg2 = &temp2; | |
2114 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2115 | } | |
d14a1e28 RD |
2116 | { |
2117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2118 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2119 | |
2120 | wxPyEndAllowThreads(__tstate); | |
2121 | if (PyErr_Occurred()) SWIG_fail; | |
2122 | } | |
d14a1e28 | 2123 | { |
322913ce RD |
2124 | wxPoint * resultptr; |
2125 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2126 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2127 | } |
2128 | return resultobj; | |
2129 | fail: | |
2130 | return NULL; | |
2131 | } | |
2132 | ||
2133 | ||
2134 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) { | |
2135 | PyObject *resultobj; | |
2136 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2137 | int arg2 ; |
2138 | int arg3 ; | |
2139 | int *arg4 = (int *) 0 ; | |
2140 | int *arg5 = (int *) 0 ; | |
2141 | int temp4 ; | |
2142 | int temp5 ; | |
d14a1e28 | 2143 | PyObject * obj0 = 0 ; |
994141e6 RD |
2144 | PyObject * obj1 = 0 ; |
2145 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2146 | |
322913ce RD |
2147 | arg4 = &temp4; |
2148 | arg5 = &temp5; | |
994141e6 | 2149 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2152 | arg2 = (int) SWIG_AsInt(obj1); | |
2153 | if (PyErr_Occurred()) SWIG_fail; | |
2154 | arg3 = (int) SWIG_AsInt(obj2); | |
2155 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2156 | { |
2157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2158 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2159 | |
2160 | wxPyEndAllowThreads(__tstate); | |
2161 | if (PyErr_Occurred()) SWIG_fail; | |
2162 | } | |
322913ce | 2163 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2164 | { |
322913ce RD |
2165 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2166 | resultobj = t_output_helper(resultobj,o); | |
2167 | } | |
2168 | { | |
2169 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2170 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2171 | } |
2172 | return resultobj; | |
2173 | fail: | |
2174 | return NULL; | |
2175 | } | |
2176 | ||
2177 | ||
2178 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2179 | int argc; | |
2180 | PyObject *argv[4]; | |
2181 | int ii; | |
2182 | ||
2183 | argc = PyObject_Length(args); | |
2184 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2185 | argv[ii] = PyTuple_GetItem(args,ii); | |
2186 | } | |
2187 | if (argc == 2) { | |
2188 | int _v; | |
2189 | { | |
2190 | void *ptr; | |
15afbcd0 | 2191 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2192 | _v = 0; |
2193 | PyErr_Clear(); | |
2194 | } else { | |
2195 | _v = 1; | |
2196 | } | |
2197 | } | |
2198 | if (_v) { | |
2199 | { | |
2200 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2201 | } | |
2202 | if (_v) { | |
322913ce | 2203 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2204 | } |
2205 | } | |
2206 | } | |
2207 | if (argc == 3) { | |
2208 | int _v; | |
2209 | { | |
2210 | void *ptr; | |
15afbcd0 | 2211 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2212 | _v = 0; |
2213 | PyErr_Clear(); | |
2214 | } else { | |
2215 | _v = 1; | |
2216 | } | |
2217 | } | |
2218 | if (_v) { | |
15afbcd0 | 2219 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2220 | if (_v) { |
15afbcd0 | 2221 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2222 | if (_v) { |
322913ce | 2223 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2224 | } |
2225 | } | |
2226 | } | |
2227 | } | |
2228 | ||
2229 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2230 | return NULL; | |
2231 | } | |
2232 | ||
2233 | ||
2234 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2235 | PyObject *resultobj; | |
2236 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2237 | PyObject * obj0 = 0 ; | |
2238 | char *kwnames[] = { | |
2239 | (char *) "self", NULL | |
2240 | }; | |
2241 | ||
2242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2245 | { |
2246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2247 | (arg1)->AdjustScrollbars(); | |
2248 | ||
2249 | wxPyEndAllowThreads(__tstate); | |
2250 | if (PyErr_Occurred()) SWIG_fail; | |
2251 | } | |
2252 | Py_INCREF(Py_None); resultobj = Py_None; | |
2253 | return resultobj; | |
2254 | fail: | |
2255 | return NULL; | |
2256 | } | |
2257 | ||
2258 | ||
2259 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2260 | PyObject *resultobj; | |
2261 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2262 | wxScrollWinEvent *arg2 = 0 ; | |
2263 | int result; | |
2264 | PyObject * obj0 = 0 ; | |
2265 | PyObject * obj1 = 0 ; | |
2266 | char *kwnames[] = { | |
2267 | (char *) "self",(char *) "event", NULL | |
2268 | }; | |
2269 | ||
2270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2273 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2274 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2275 | SWIG_fail; | |
d14a1e28 | 2276 | if (arg2 == NULL) { |
15afbcd0 RD |
2277 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2278 | SWIG_fail; | |
d14a1e28 RD |
2279 | } |
2280 | { | |
2281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2282 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2283 | ||
2284 | wxPyEndAllowThreads(__tstate); | |
2285 | if (PyErr_Occurred()) SWIG_fail; | |
2286 | } | |
15afbcd0 | 2287 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2288 | return resultobj; |
2289 | fail: | |
2290 | return NULL; | |
2291 | } | |
2292 | ||
2293 | ||
2294 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2295 | PyObject *resultobj; | |
2296 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2297 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2298 | PyObject * obj0 = 0 ; | |
2299 | PyObject * obj1 = 0 ; | |
2300 | char *kwnames[] = { | |
2301 | (char *) "self",(char *) "target", NULL | |
2302 | }; | |
2303 | ||
2304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2307 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2309 | { |
2310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2311 | (arg1)->SetTargetWindow(arg2); | |
2312 | ||
2313 | wxPyEndAllowThreads(__tstate); | |
2314 | if (PyErr_Occurred()) SWIG_fail; | |
2315 | } | |
2316 | Py_INCREF(Py_None); resultobj = Py_None; | |
2317 | return resultobj; | |
2318 | fail: | |
2319 | return NULL; | |
2320 | } | |
2321 | ||
2322 | ||
2323 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2324 | PyObject *resultobj; | |
2325 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2326 | wxWindow *result; | |
2327 | PyObject * obj0 = 0 ; | |
2328 | char *kwnames[] = { | |
2329 | (char *) "self", NULL | |
2330 | }; | |
2331 | ||
2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2335 | { |
2336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2337 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2338 | ||
2339 | wxPyEndAllowThreads(__tstate); | |
2340 | if (PyErr_Occurred()) SWIG_fail; | |
2341 | } | |
2342 | { | |
2343 | resultobj = wxPyMake_wxObject(result); | |
2344 | } | |
2345 | return resultobj; | |
2346 | fail: | |
2347 | return NULL; | |
2348 | } | |
2349 | ||
2350 | ||
2351 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2352 | PyObject *obj; | |
2353 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2354 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2355 | Py_INCREF(obj); | |
2356 | return Py_BuildValue((char *)""); | |
2357 | } | |
b2dc1044 RD |
2358 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
2359 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); | |
2360 | return 1; | |
2361 | } | |
2362 | ||
2363 | ||
2364 | static PyObject *_wrap_FrameNameStr_get() { | |
2365 | PyObject *pyobj; | |
2366 | ||
2367 | { | |
2368 | #if wxUSE_UNICODE | |
2369 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2370 | #else | |
2371 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2372 | #endif | |
2373 | } | |
2374 | return pyobj; | |
2375 | } | |
2376 | ||
2377 | ||
2378 | static int _wrap_DialogNameStr_set(PyObject *_val) { | |
2379 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); | |
2380 | return 1; | |
2381 | } | |
2382 | ||
2383 | ||
2384 | static PyObject *_wrap_DialogNameStr_get() { | |
2385 | PyObject *pyobj; | |
2386 | ||
2387 | { | |
2388 | #if wxUSE_UNICODE | |
2389 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2390 | #else | |
2391 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2392 | #endif | |
2393 | } | |
2394 | return pyobj; | |
2395 | } | |
2396 | ||
2397 | ||
2398 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { | |
2399 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); | |
2400 | return 1; | |
2401 | } | |
2402 | ||
2403 | ||
2404 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2405 | PyObject *pyobj; | |
2406 | ||
2407 | { | |
2408 | #if wxUSE_UNICODE | |
2409 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2410 | #else | |
2411 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2412 | #endif | |
2413 | } | |
2414 | return pyobj; | |
2415 | } | |
2416 | ||
2417 | ||
2418 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { | |
2419 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); | |
2420 | return 1; | |
2421 | } | |
2422 | ||
2423 | ||
2424 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2425 | PyObject *pyobj; | |
2426 | ||
2427 | { | |
2428 | #if wxUSE_UNICODE | |
2429 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2430 | #else | |
2431 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2432 | #endif | |
2433 | } | |
2434 | return pyobj; | |
2435 | } | |
2436 | ||
2437 | ||
d14a1e28 RD |
2438 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2439 | PyObject *resultobj; | |
2440 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2441 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2442 | PyObject * obj0 = 0 ; |
2443 | PyObject * obj1 = 0 ; | |
2444 | char *kwnames[] = { | |
2445 | (char *) "self",(char *) "maximize", NULL | |
2446 | }; | |
2447 | ||
2448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2449 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2450 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2451 | if (obj1) { |
15afbcd0 RD |
2452 | arg2 = (bool) SWIG_AsBool(obj1); |
2453 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2454 | } |
2455 | { | |
2456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2457 | (arg1)->Maximize(arg2); | |
2458 | ||
2459 | wxPyEndAllowThreads(__tstate); | |
2460 | if (PyErr_Occurred()) SWIG_fail; | |
2461 | } | |
2462 | Py_INCREF(Py_None); resultobj = Py_None; | |
2463 | return resultobj; | |
2464 | fail: | |
2465 | return NULL; | |
2466 | } | |
2467 | ||
2468 | ||
2469 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2470 | PyObject *resultobj; | |
2471 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2472 | PyObject * obj0 = 0 ; | |
2473 | char *kwnames[] = { | |
2474 | (char *) "self", NULL | |
2475 | }; | |
2476 | ||
2477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2478 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2480 | { |
2481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2482 | (arg1)->Restore(); | |
2483 | ||
2484 | wxPyEndAllowThreads(__tstate); | |
2485 | if (PyErr_Occurred()) SWIG_fail; | |
2486 | } | |
2487 | Py_INCREF(Py_None); resultobj = Py_None; | |
2488 | return resultobj; | |
2489 | fail: | |
2490 | return NULL; | |
2491 | } | |
2492 | ||
2493 | ||
2494 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2495 | PyObject *resultobj; | |
2496 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
e811c8ce | 2497 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2498 | PyObject * obj0 = 0 ; |
2499 | PyObject * obj1 = 0 ; | |
2500 | char *kwnames[] = { | |
2501 | (char *) "self",(char *) "iconize", NULL | |
2502 | }; | |
2503 | ||
2504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2507 | if (obj1) { |
15afbcd0 RD |
2508 | arg2 = (bool) SWIG_AsBool(obj1); |
2509 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2510 | } |
2511 | { | |
2512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2513 | (arg1)->Iconize(arg2); | |
2514 | ||
2515 | wxPyEndAllowThreads(__tstate); | |
2516 | if (PyErr_Occurred()) SWIG_fail; | |
2517 | } | |
2518 | Py_INCREF(Py_None); resultobj = Py_None; | |
2519 | return resultobj; | |
2520 | fail: | |
2521 | return NULL; | |
2522 | } | |
2523 | ||
2524 | ||
2525 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2526 | PyObject *resultobj; | |
2527 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2528 | bool result; | |
2529 | PyObject * obj0 = 0 ; | |
2530 | char *kwnames[] = { | |
2531 | (char *) "self", NULL | |
2532 | }; | |
2533 | ||
2534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2537 | { |
2538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2539 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2540 | ||
2541 | wxPyEndAllowThreads(__tstate); | |
2542 | if (PyErr_Occurred()) SWIG_fail; | |
2543 | } | |
4f89f6a3 RD |
2544 | { |
2545 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2546 | } | |
d14a1e28 RD |
2547 | return resultobj; |
2548 | fail: | |
2549 | return NULL; | |
2550 | } | |
2551 | ||
2552 | ||
2553 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2554 | PyObject *resultobj; | |
2555 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2556 | bool result; | |
2557 | PyObject * obj0 = 0 ; | |
2558 | char *kwnames[] = { | |
2559 | (char *) "self", NULL | |
2560 | }; | |
2561 | ||
2562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2565 | { |
2566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2567 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2568 | ||
2569 | wxPyEndAllowThreads(__tstate); | |
2570 | if (PyErr_Occurred()) SWIG_fail; | |
2571 | } | |
4f89f6a3 RD |
2572 | { |
2573 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2574 | } | |
d14a1e28 RD |
2575 | return resultobj; |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
2581 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2582 | PyObject *resultobj; | |
2583 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2584 | wxIcon result; | |
2585 | PyObject * obj0 = 0 ; | |
2586 | char *kwnames[] = { | |
2587 | (char *) "self", NULL | |
2588 | }; | |
2589 | ||
2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2593 | { |
2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2595 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2596 | ||
2597 | wxPyEndAllowThreads(__tstate); | |
2598 | if (PyErr_Occurred()) SWIG_fail; | |
2599 | } | |
2600 | { | |
2601 | wxIcon * resultptr; | |
2602 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 2603 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2604 | } |
2605 | return resultobj; | |
2606 | fail: | |
2607 | return NULL; | |
2608 | } | |
2609 | ||
2610 | ||
2611 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2612 | PyObject *resultobj; | |
2613 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2614 | wxIcon *arg2 = 0 ; | |
2615 | PyObject * obj0 = 0 ; | |
2616 | PyObject * obj1 = 0 ; | |
2617 | char *kwnames[] = { | |
2618 | (char *) "self",(char *) "icon", NULL | |
2619 | }; | |
2620 | ||
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2624 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2625 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2626 | SWIG_fail; | |
d14a1e28 | 2627 | if (arg2 == NULL) { |
15afbcd0 RD |
2628 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2629 | SWIG_fail; | |
d14a1e28 RD |
2630 | } |
2631 | { | |
2632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2633 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2634 | ||
2635 | wxPyEndAllowThreads(__tstate); | |
2636 | if (PyErr_Occurred()) SWIG_fail; | |
2637 | } | |
2638 | Py_INCREF(Py_None); resultobj = Py_None; | |
2639 | return resultobj; | |
2640 | fail: | |
2641 | return NULL; | |
2642 | } | |
2643 | ||
2644 | ||
2645 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2646 | PyObject *resultobj; | |
2647 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2648 | wxIconBundle *arg2 = 0 ; | |
2649 | PyObject * obj0 = 0 ; | |
2650 | PyObject * obj1 = 0 ; | |
2651 | char *kwnames[] = { | |
2652 | (char *) "self",(char *) "icons", NULL | |
2653 | }; | |
2654 | ||
2655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2658 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2659 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2660 | SWIG_fail; | |
d14a1e28 | 2661 | if (arg2 == NULL) { |
15afbcd0 RD |
2662 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2663 | SWIG_fail; | |
d14a1e28 RD |
2664 | } |
2665 | { | |
2666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2667 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2668 | ||
2669 | wxPyEndAllowThreads(__tstate); | |
2670 | if (PyErr_Occurred()) SWIG_fail; | |
2671 | } | |
2672 | Py_INCREF(Py_None); resultobj = Py_None; | |
2673 | return resultobj; | |
2674 | fail: | |
2675 | return NULL; | |
2676 | } | |
2677 | ||
2678 | ||
2679 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2680 | PyObject *resultobj; | |
2681 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2682 | bool arg2 ; | |
2683 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2684 | bool result; | |
2685 | PyObject * obj0 = 0 ; | |
2686 | PyObject * obj1 = 0 ; | |
994141e6 | 2687 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2688 | char *kwnames[] = { |
2689 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2690 | }; | |
2691 | ||
994141e6 | 2692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2693 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2695 | arg2 = (bool) SWIG_AsBool(obj1); | |
2696 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2697 | if (obj2) { |
15afbcd0 RD |
2698 | arg3 = (long) SWIG_AsLong(obj2); |
2699 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2700 | } |
d14a1e28 RD |
2701 | { |
2702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2703 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2704 | ||
2705 | wxPyEndAllowThreads(__tstate); | |
2706 | if (PyErr_Occurred()) SWIG_fail; | |
2707 | } | |
4f89f6a3 RD |
2708 | { |
2709 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2710 | } | |
d14a1e28 RD |
2711 | return resultobj; |
2712 | fail: | |
2713 | return NULL; | |
2714 | } | |
2715 | ||
2716 | ||
2717 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2718 | PyObject *resultobj; | |
2719 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2720 | bool result; | |
2721 | PyObject * obj0 = 0 ; | |
2722 | char *kwnames[] = { | |
2723 | (char *) "self", NULL | |
2724 | }; | |
2725 | ||
2726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2729 | { |
2730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2731 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2732 | ||
2733 | wxPyEndAllowThreads(__tstate); | |
2734 | if (PyErr_Occurred()) SWIG_fail; | |
2735 | } | |
4f89f6a3 RD |
2736 | { |
2737 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2738 | } | |
d14a1e28 RD |
2739 | return resultobj; |
2740 | fail: | |
2741 | return NULL; | |
2742 | } | |
2743 | ||
2744 | ||
2745 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2746 | PyObject *resultobj; | |
2747 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2748 | wxString *arg2 = 0 ; | |
e811c8ce | 2749 | bool temp2 = False ; |
d14a1e28 RD |
2750 | PyObject * obj0 = 0 ; |
2751 | PyObject * obj1 = 0 ; | |
2752 | char *kwnames[] = { | |
2753 | (char *) "self",(char *) "title", NULL | |
2754 | }; | |
2755 | ||
2756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2759 | { |
2760 | arg2 = wxString_in_helper(obj1); | |
2761 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2762 | temp2 = True; |
d14a1e28 RD |
2763 | } |
2764 | { | |
2765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2766 | (arg1)->SetTitle((wxString const &)*arg2); | |
2767 | ||
2768 | wxPyEndAllowThreads(__tstate); | |
2769 | if (PyErr_Occurred()) SWIG_fail; | |
2770 | } | |
2771 | Py_INCREF(Py_None); resultobj = Py_None; | |
2772 | { | |
2773 | if (temp2) | |
2774 | delete arg2; | |
2775 | } | |
2776 | return resultobj; | |
2777 | fail: | |
2778 | { | |
2779 | if (temp2) | |
2780 | delete arg2; | |
2781 | } | |
2782 | return NULL; | |
2783 | } | |
2784 | ||
2785 | ||
2786 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2787 | PyObject *resultobj; | |
2788 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2789 | wxString result; | |
2790 | PyObject * obj0 = 0 ; | |
2791 | char *kwnames[] = { | |
2792 | (char *) "self", NULL | |
2793 | }; | |
2794 | ||
2795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2798 | { |
2799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2800 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2801 | ||
2802 | wxPyEndAllowThreads(__tstate); | |
2803 | if (PyErr_Occurred()) SWIG_fail; | |
2804 | } | |
2805 | { | |
2806 | #if wxUSE_UNICODE | |
2807 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2808 | #else | |
2809 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2810 | #endif | |
2811 | } | |
2812 | return resultobj; | |
2813 | fail: | |
2814 | return NULL; | |
2815 | } | |
2816 | ||
2817 | ||
2818 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2819 | PyObject *resultobj; | |
2820 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2821 | wxRegion *arg2 = 0 ; | |
2822 | bool result; | |
2823 | PyObject * obj0 = 0 ; | |
2824 | PyObject * obj1 = 0 ; | |
2825 | char *kwnames[] = { | |
2826 | (char *) "self",(char *) "region", NULL | |
2827 | }; | |
2828 | ||
2829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2832 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
2833 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2834 | SWIG_fail; | |
d14a1e28 | 2835 | if (arg2 == NULL) { |
15afbcd0 RD |
2836 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2837 | SWIG_fail; | |
d14a1e28 RD |
2838 | } |
2839 | { | |
2840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2841 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2842 | ||
2843 | wxPyEndAllowThreads(__tstate); | |
2844 | if (PyErr_Occurred()) SWIG_fail; | |
2845 | } | |
4f89f6a3 RD |
2846 | { |
2847 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2848 | } | |
d14a1e28 RD |
2849 | return resultobj; |
2850 | fail: | |
2851 | return NULL; | |
2852 | } | |
2853 | ||
2854 | ||
2855 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2856 | PyObject *obj; | |
2857 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2858 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2859 | Py_INCREF(obj); | |
2860 | return Py_BuildValue((char *)""); | |
2861 | } | |
2862 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2863 | PyObject *resultobj; | |
2864 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2865 | int arg2 ; |
d14a1e28 RD |
2866 | wxString *arg3 = 0 ; |
2867 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2868 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2869 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2870 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2871 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2872 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2873 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2874 | wxFrame *result; | |
e811c8ce | 2875 | bool temp3 = False ; |
d14a1e28 RD |
2876 | wxPoint temp4 ; |
2877 | wxSize temp5 ; | |
e811c8ce | 2878 | bool temp7 = False ; |
d14a1e28 | 2879 | PyObject * obj0 = 0 ; |
994141e6 | 2880 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2881 | PyObject * obj2 = 0 ; |
2882 | PyObject * obj3 = 0 ; | |
2883 | PyObject * obj4 = 0 ; | |
994141e6 | 2884 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2885 | PyObject * obj6 = 0 ; |
2886 | char *kwnames[] = { | |
2887 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2888 | }; | |
2889 | ||
994141e6 | 2890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
2891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2893 | arg2 = (int const) SWIG_AsInt(obj1); | |
2894 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2895 | { |
2896 | arg3 = wxString_in_helper(obj2); | |
2897 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2898 | temp3 = True; |
d14a1e28 RD |
2899 | } |
2900 | if (obj3) { | |
2901 | { | |
2902 | arg4 = &temp4; | |
2903 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2904 | } | |
2905 | } | |
2906 | if (obj4) { | |
2907 | { | |
2908 | arg5 = &temp5; | |
2909 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2910 | } | |
2911 | } | |
994141e6 | 2912 | if (obj5) { |
15afbcd0 RD |
2913 | arg6 = (long) SWIG_AsLong(obj5); |
2914 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 2915 | } |
d14a1e28 RD |
2916 | if (obj6) { |
2917 | { | |
2918 | arg7 = wxString_in_helper(obj6); | |
2919 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 2920 | temp7 = True; |
d14a1e28 RD |
2921 | } |
2922 | } | |
2923 | { | |
2924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2925 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2926 | ||
2927 | wxPyEndAllowThreads(__tstate); | |
2928 | if (PyErr_Occurred()) SWIG_fail; | |
2929 | } | |
2930 | { | |
2931 | resultobj = wxPyMake_wxObject(result); | |
2932 | } | |
2933 | { | |
2934 | if (temp3) | |
2935 | delete arg3; | |
2936 | } | |
2937 | { | |
2938 | if (temp7) | |
2939 | delete arg7; | |
2940 | } | |
2941 | return resultobj; | |
2942 | fail: | |
2943 | { | |
2944 | if (temp3) | |
2945 | delete arg3; | |
2946 | } | |
2947 | { | |
2948 | if (temp7) | |
2949 | delete arg7; | |
2950 | } | |
2951 | return NULL; | |
2952 | } | |
2953 | ||
2954 | ||
2955 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2956 | PyObject *resultobj; | |
2957 | wxFrame *result; | |
2958 | char *kwnames[] = { | |
2959 | NULL | |
2960 | }; | |
2961 | ||
2962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
2963 | { | |
2964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2965 | result = (wxFrame *)new wxFrame(); | |
2966 | ||
2967 | wxPyEndAllowThreads(__tstate); | |
2968 | if (PyErr_Occurred()) SWIG_fail; | |
2969 | } | |
2970 | { | |
2971 | resultobj = wxPyMake_wxObject(result); | |
2972 | } | |
2973 | return resultobj; | |
2974 | fail: | |
2975 | return NULL; | |
2976 | } | |
2977 | ||
2978 | ||
2979 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2980 | PyObject *resultobj; | |
2981 | wxFrame *arg1 = (wxFrame *) 0 ; | |
2982 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 2983 | int arg3 ; |
d14a1e28 RD |
2984 | wxString *arg4 = 0 ; |
2985 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
2986 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
2987 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
2988 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
2989 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
2990 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
2991 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2992 | bool result; | |
e811c8ce | 2993 | bool temp4 = False ; |
d14a1e28 RD |
2994 | wxPoint temp5 ; |
2995 | wxSize temp6 ; | |
e811c8ce | 2996 | bool temp8 = False ; |
d14a1e28 RD |
2997 | PyObject * obj0 = 0 ; |
2998 | PyObject * obj1 = 0 ; | |
994141e6 | 2999 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3000 | PyObject * obj3 = 0 ; |
3001 | PyObject * obj4 = 0 ; | |
3002 | PyObject * obj5 = 0 ; | |
994141e6 | 3003 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3004 | PyObject * obj7 = 0 ; |
3005 | char *kwnames[] = { | |
3006 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3007 | }; | |
3008 | ||
994141e6 | 3009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3012 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3014 | arg3 = (int const) SWIG_AsInt(obj2); | |
3015 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3016 | { |
3017 | arg4 = wxString_in_helper(obj3); | |
3018 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3019 | temp4 = True; |
d14a1e28 RD |
3020 | } |
3021 | if (obj4) { | |
3022 | { | |
3023 | arg5 = &temp5; | |
3024 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3025 | } | |
3026 | } | |
3027 | if (obj5) { | |
3028 | { | |
3029 | arg6 = &temp6; | |
3030 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3031 | } | |
3032 | } | |
994141e6 | 3033 | if (obj6) { |
15afbcd0 RD |
3034 | arg7 = (long) SWIG_AsLong(obj6); |
3035 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3036 | } |
d14a1e28 RD |
3037 | if (obj7) { |
3038 | { | |
3039 | arg8 = wxString_in_helper(obj7); | |
3040 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3041 | temp8 = True; |
d14a1e28 RD |
3042 | } |
3043 | } | |
3044 | { | |
3045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3046 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3047 | ||
3048 | wxPyEndAllowThreads(__tstate); | |
3049 | if (PyErr_Occurred()) SWIG_fail; | |
3050 | } | |
4f89f6a3 RD |
3051 | { |
3052 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3053 | } | |
d14a1e28 RD |
3054 | { |
3055 | if (temp4) | |
3056 | delete arg4; | |
3057 | } | |
3058 | { | |
3059 | if (temp8) | |
3060 | delete arg8; | |
3061 | } | |
3062 | return resultobj; | |
3063 | fail: | |
3064 | { | |
3065 | if (temp4) | |
3066 | delete arg4; | |
3067 | } | |
3068 | { | |
3069 | if (temp8) | |
3070 | delete arg8; | |
3071 | } | |
3072 | return NULL; | |
3073 | } | |
3074 | ||
3075 | ||
3076 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3077 | PyObject *resultobj; | |
3078 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3079 | wxPoint result; | |
3080 | PyObject * obj0 = 0 ; | |
3081 | char *kwnames[] = { | |
3082 | (char *) "self", NULL | |
3083 | }; | |
3084 | ||
3085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3088 | { |
3089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3090 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3091 | ||
3092 | wxPyEndAllowThreads(__tstate); | |
3093 | if (PyErr_Occurred()) SWIG_fail; | |
3094 | } | |
3095 | { | |
3096 | wxPoint * resultptr; | |
3097 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3098 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3099 | } |
3100 | return resultobj; | |
3101 | fail: | |
3102 | return NULL; | |
3103 | } | |
3104 | ||
3105 | ||
3106 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3107 | PyObject *resultobj; | |
3108 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3109 | PyObject * obj0 = 0 ; | |
3110 | char *kwnames[] = { | |
3111 | (char *) "self", NULL | |
3112 | }; | |
3113 | ||
3114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3117 | { |
3118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3119 | (arg1)->SendSizeEvent(); | |
3120 | ||
3121 | wxPyEndAllowThreads(__tstate); | |
3122 | if (PyErr_Occurred()) SWIG_fail; | |
3123 | } | |
3124 | Py_INCREF(Py_None); resultobj = Py_None; | |
3125 | return resultobj; | |
3126 | fail: | |
3127 | return NULL; | |
3128 | } | |
3129 | ||
3130 | ||
3131 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3132 | PyObject *resultobj; | |
3133 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3134 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3135 | PyObject * obj0 = 0 ; | |
3136 | PyObject * obj1 = 0 ; | |
3137 | char *kwnames[] = { | |
3138 | (char *) "self",(char *) "menubar", NULL | |
3139 | }; | |
3140 | ||
3141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3144 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3146 | { |
3147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3148 | (arg1)->SetMenuBar(arg2); | |
3149 | ||
3150 | wxPyEndAllowThreads(__tstate); | |
3151 | if (PyErr_Occurred()) SWIG_fail; | |
3152 | } | |
3153 | Py_INCREF(Py_None); resultobj = Py_None; | |
3154 | return resultobj; | |
3155 | fail: | |
3156 | return NULL; | |
3157 | } | |
3158 | ||
3159 | ||
3160 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3161 | PyObject *resultobj; | |
3162 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3163 | wxMenuBar *result; | |
3164 | PyObject * obj0 = 0 ; | |
3165 | char *kwnames[] = { | |
3166 | (char *) "self", NULL | |
3167 | }; | |
3168 | ||
3169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3172 | { |
3173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3174 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3175 | ||
3176 | wxPyEndAllowThreads(__tstate); | |
3177 | if (PyErr_Occurred()) SWIG_fail; | |
3178 | } | |
3179 | { | |
3180 | resultobj = wxPyMake_wxObject(result); | |
3181 | } | |
3182 | return resultobj; | |
3183 | fail: | |
3184 | return NULL; | |
3185 | } | |
3186 | ||
3187 | ||
3188 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3189 | PyObject *resultobj; | |
3190 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3191 | int arg2 ; | |
3192 | bool result; | |
3193 | PyObject * obj0 = 0 ; | |
994141e6 | 3194 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3195 | char *kwnames[] = { |
3196 | (char *) "self",(char *) "winid", NULL | |
3197 | }; | |
3198 | ||
994141e6 | 3199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3202 | arg2 = (int) SWIG_AsInt(obj1); | |
3203 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3204 | { |
3205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3206 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3207 | ||
3208 | wxPyEndAllowThreads(__tstate); | |
3209 | if (PyErr_Occurred()) SWIG_fail; | |
3210 | } | |
4f89f6a3 RD |
3211 | { |
3212 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3213 | } | |
d14a1e28 RD |
3214 | return resultobj; |
3215 | fail: | |
3216 | return NULL; | |
3217 | } | |
3218 | ||
3219 | ||
3220 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3221 | PyObject *resultobj; | |
3222 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3223 | int arg2 = (int) 1 ; | |
4276dc52 | 3224 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3225 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3226 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3227 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3228 | wxStatusBar *result; | |
e811c8ce | 3229 | bool temp5 = False ; |
d14a1e28 | 3230 | PyObject * obj0 = 0 ; |
994141e6 RD |
3231 | PyObject * obj1 = 0 ; |
3232 | PyObject * obj2 = 0 ; | |
3233 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3234 | PyObject * obj4 = 0 ; |
3235 | char *kwnames[] = { | |
3236 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3237 | }; | |
3238 | ||
994141e6 | 3239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3242 | if (obj1) { |
15afbcd0 RD |
3243 | arg2 = (int) SWIG_AsInt(obj1); |
3244 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3245 | } |
3246 | if (obj2) { | |
15afbcd0 RD |
3247 | arg3 = (long) SWIG_AsLong(obj2); |
3248 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3249 | } |
3250 | if (obj3) { | |
15afbcd0 RD |
3251 | arg4 = (int) SWIG_AsInt(obj3); |
3252 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3253 | } |
d14a1e28 RD |
3254 | if (obj4) { |
3255 | { | |
3256 | arg5 = wxString_in_helper(obj4); | |
3257 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 3258 | temp5 = True; |
d14a1e28 RD |
3259 | } |
3260 | } | |
3261 | { | |
3262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3263 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3264 | ||
3265 | wxPyEndAllowThreads(__tstate); | |
3266 | if (PyErr_Occurred()) SWIG_fail; | |
3267 | } | |
3268 | { | |
3269 | resultobj = wxPyMake_wxObject(result); | |
3270 | } | |
3271 | { | |
3272 | if (temp5) | |
3273 | delete arg5; | |
3274 | } | |
3275 | return resultobj; | |
3276 | fail: | |
3277 | { | |
3278 | if (temp5) | |
3279 | delete arg5; | |
3280 | } | |
3281 | return NULL; | |
3282 | } | |
3283 | ||
3284 | ||
3285 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3286 | PyObject *resultobj; | |
3287 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3288 | wxStatusBar *result; | |
3289 | PyObject * obj0 = 0 ; | |
3290 | char *kwnames[] = { | |
3291 | (char *) "self", NULL | |
3292 | }; | |
3293 | ||
3294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3297 | { |
3298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3299 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3300 | ||
3301 | wxPyEndAllowThreads(__tstate); | |
3302 | if (PyErr_Occurred()) SWIG_fail; | |
3303 | } | |
3304 | { | |
3305 | resultobj = wxPyMake_wxObject(result); | |
3306 | } | |
3307 | return resultobj; | |
3308 | fail: | |
3309 | return NULL; | |
3310 | } | |
3311 | ||
3312 | ||
3313 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3314 | PyObject *resultobj; | |
3315 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3316 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3317 | PyObject * obj0 = 0 ; | |
3318 | PyObject * obj1 = 0 ; | |
3319 | char *kwnames[] = { | |
3320 | (char *) "self",(char *) "statBar", NULL | |
3321 | }; | |
3322 | ||
3323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3326 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3328 | { |
3329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3330 | (arg1)->SetStatusBar(arg2); | |
3331 | ||
3332 | wxPyEndAllowThreads(__tstate); | |
3333 | if (PyErr_Occurred()) SWIG_fail; | |
3334 | } | |
3335 | Py_INCREF(Py_None); resultobj = Py_None; | |
3336 | return resultobj; | |
3337 | fail: | |
3338 | return NULL; | |
3339 | } | |
3340 | ||
3341 | ||
3342 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3343 | PyObject *resultobj; | |
3344 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3345 | wxString *arg2 = 0 ; | |
3346 | int arg3 = (int) 0 ; | |
e811c8ce | 3347 | bool temp2 = False ; |
d14a1e28 RD |
3348 | PyObject * obj0 = 0 ; |
3349 | PyObject * obj1 = 0 ; | |
994141e6 | 3350 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3351 | char *kwnames[] = { |
3352 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3353 | }; | |
3354 | ||
994141e6 | 3355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3358 | { |
3359 | arg2 = wxString_in_helper(obj1); | |
3360 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3361 | temp2 = True; |
d14a1e28 | 3362 | } |
994141e6 | 3363 | if (obj2) { |
15afbcd0 RD |
3364 | arg3 = (int) SWIG_AsInt(obj2); |
3365 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3366 | } |
d14a1e28 RD |
3367 | { |
3368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3369 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3370 | ||
3371 | wxPyEndAllowThreads(__tstate); | |
3372 | if (PyErr_Occurred()) SWIG_fail; | |
3373 | } | |
3374 | Py_INCREF(Py_None); resultobj = Py_None; | |
3375 | { | |
3376 | if (temp2) | |
3377 | delete arg2; | |
3378 | } | |
3379 | return resultobj; | |
3380 | fail: | |
3381 | { | |
3382 | if (temp2) | |
3383 | delete arg2; | |
3384 | } | |
3385 | return NULL; | |
3386 | } | |
3387 | ||
3388 | ||
3389 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3390 | PyObject *resultobj; | |
3391 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3392 | int arg2 ; | |
3393 | int *arg3 = (int *) 0 ; | |
3394 | PyObject * obj0 = 0 ; | |
3395 | PyObject * obj1 = 0 ; | |
3396 | char *kwnames[] = { | |
3397 | (char *) "self",(char *) "widths", NULL | |
3398 | }; | |
3399 | ||
3400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3403 | { |
3404 | arg2 = PyList_Size(obj1); | |
3405 | arg3 = int_LIST_helper(obj1); | |
3406 | if (arg3 == NULL) SWIG_fail; | |
3407 | } | |
3408 | { | |
3409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3410 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3411 | ||
3412 | wxPyEndAllowThreads(__tstate); | |
3413 | if (PyErr_Occurred()) SWIG_fail; | |
3414 | } | |
3415 | Py_INCREF(Py_None); resultobj = Py_None; | |
3416 | { | |
3417 | if (arg3) delete [] arg3; | |
3418 | } | |
3419 | return resultobj; | |
3420 | fail: | |
3421 | { | |
3422 | if (arg3) delete [] arg3; | |
3423 | } | |
3424 | return NULL; | |
3425 | } | |
3426 | ||
3427 | ||
3428 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3429 | PyObject *resultobj; | |
3430 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3431 | wxString *arg2 = 0 ; | |
3432 | int arg3 = (int) 0 ; | |
e811c8ce | 3433 | bool temp2 = False ; |
d14a1e28 RD |
3434 | PyObject * obj0 = 0 ; |
3435 | PyObject * obj1 = 0 ; | |
994141e6 | 3436 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3437 | char *kwnames[] = { |
3438 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3439 | }; | |
3440 | ||
994141e6 | 3441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3444 | { |
3445 | arg2 = wxString_in_helper(obj1); | |
3446 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3447 | temp2 = True; |
d14a1e28 | 3448 | } |
994141e6 | 3449 | if (obj2) { |
15afbcd0 RD |
3450 | arg3 = (int) SWIG_AsInt(obj2); |
3451 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3452 | } |
d14a1e28 RD |
3453 | { |
3454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3455 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3456 | ||
3457 | wxPyEndAllowThreads(__tstate); | |
3458 | if (PyErr_Occurred()) SWIG_fail; | |
3459 | } | |
3460 | Py_INCREF(Py_None); resultobj = Py_None; | |
3461 | { | |
3462 | if (temp2) | |
3463 | delete arg2; | |
3464 | } | |
3465 | return resultobj; | |
3466 | fail: | |
3467 | { | |
3468 | if (temp2) | |
3469 | delete arg2; | |
3470 | } | |
3471 | return NULL; | |
3472 | } | |
3473 | ||
3474 | ||
3475 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3476 | PyObject *resultobj; | |
3477 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3478 | int arg2 = (int) 0 ; | |
3479 | PyObject * obj0 = 0 ; | |
994141e6 | 3480 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3481 | char *kwnames[] = { |
3482 | (char *) "self",(char *) "number", NULL | |
3483 | }; | |
3484 | ||
994141e6 | 3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3488 | if (obj1) { |
15afbcd0 RD |
3489 | arg2 = (int) SWIG_AsInt(obj1); |
3490 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3491 | } |
d14a1e28 RD |
3492 | { |
3493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3494 | (arg1)->PopStatusText(arg2); | |
3495 | ||
3496 | wxPyEndAllowThreads(__tstate); | |
3497 | if (PyErr_Occurred()) SWIG_fail; | |
3498 | } | |
3499 | Py_INCREF(Py_None); resultobj = Py_None; | |
3500 | return resultobj; | |
3501 | fail: | |
3502 | return NULL; | |
3503 | } | |
3504 | ||
3505 | ||
3506 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3507 | PyObject *resultobj; | |
3508 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3509 | int arg2 ; | |
3510 | PyObject * obj0 = 0 ; | |
994141e6 | 3511 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3512 | char *kwnames[] = { |
3513 | (char *) "self",(char *) "n", NULL | |
3514 | }; | |
3515 | ||
994141e6 | 3516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3519 | arg2 = (int) SWIG_AsInt(obj1); | |
3520 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3521 | { |
3522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3523 | (arg1)->SetStatusBarPane(arg2); | |
3524 | ||
3525 | wxPyEndAllowThreads(__tstate); | |
3526 | if (PyErr_Occurred()) SWIG_fail; | |
3527 | } | |
3528 | Py_INCREF(Py_None); resultobj = Py_None; | |
3529 | return resultobj; | |
3530 | fail: | |
3531 | return NULL; | |
3532 | } | |
3533 | ||
3534 | ||
3535 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3536 | PyObject *resultobj; | |
3537 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3538 | int result; | |
3539 | PyObject * obj0 = 0 ; | |
3540 | char *kwnames[] = { | |
3541 | (char *) "self", NULL | |
3542 | }; | |
3543 | ||
3544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3547 | { |
3548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3549 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3550 | ||
3551 | wxPyEndAllowThreads(__tstate); | |
3552 | if (PyErr_Occurred()) SWIG_fail; | |
3553 | } | |
15afbcd0 | 3554 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3555 | return resultobj; |
3556 | fail: | |
3557 | return NULL; | |
3558 | } | |
3559 | ||
3560 | ||
3561 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3562 | PyObject *resultobj; | |
3563 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3564 | long arg2 = (long) -1 ; | |
e811c8ce | 3565 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3566 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3567 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3568 | wxToolBar *result; | |
e811c8ce | 3569 | bool temp4 = False ; |
d14a1e28 | 3570 | PyObject * obj0 = 0 ; |
994141e6 RD |
3571 | PyObject * obj1 = 0 ; |
3572 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3573 | PyObject * obj3 = 0 ; |
3574 | char *kwnames[] = { | |
3575 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3576 | }; | |
3577 | ||
994141e6 | 3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
3579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3581 | if (obj1) { |
15afbcd0 RD |
3582 | arg2 = (long) SWIG_AsLong(obj1); |
3583 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
3584 | } |
3585 | if (obj2) { | |
15afbcd0 RD |
3586 | arg3 = (int) SWIG_AsInt(obj2); |
3587 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3588 | } |
d14a1e28 RD |
3589 | if (obj3) { |
3590 | { | |
3591 | arg4 = wxString_in_helper(obj3); | |
3592 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3593 | temp4 = True; |
d14a1e28 RD |
3594 | } |
3595 | } | |
3596 | { | |
3597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3598 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3599 | ||
3600 | wxPyEndAllowThreads(__tstate); | |
3601 | if (PyErr_Occurred()) SWIG_fail; | |
3602 | } | |
3603 | { | |
3604 | resultobj = wxPyMake_wxObject(result); | |
3605 | } | |
3606 | { | |
3607 | if (temp4) | |
3608 | delete arg4; | |
3609 | } | |
3610 | return resultobj; | |
3611 | fail: | |
3612 | { | |
3613 | if (temp4) | |
3614 | delete arg4; | |
3615 | } | |
3616 | return NULL; | |
3617 | } | |
3618 | ||
3619 | ||
3620 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3621 | PyObject *resultobj; | |
3622 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3623 | wxToolBar *result; | |
3624 | PyObject * obj0 = 0 ; | |
3625 | char *kwnames[] = { | |
3626 | (char *) "self", NULL | |
3627 | }; | |
3628 | ||
3629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3632 | { |
3633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3634 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3635 | ||
3636 | wxPyEndAllowThreads(__tstate); | |
3637 | if (PyErr_Occurred()) SWIG_fail; | |
3638 | } | |
3639 | { | |
3640 | resultobj = wxPyMake_wxObject(result); | |
3641 | } | |
3642 | return resultobj; | |
3643 | fail: | |
3644 | return NULL; | |
3645 | } | |
3646 | ||
3647 | ||
3648 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3649 | PyObject *resultobj; | |
3650 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3651 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3652 | PyObject * obj0 = 0 ; | |
3653 | PyObject * obj1 = 0 ; | |
3654 | char *kwnames[] = { | |
3655 | (char *) "self",(char *) "toolbar", NULL | |
3656 | }; | |
3657 | ||
3658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3661 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3663 | { |
3664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3665 | (arg1)->SetToolBar(arg2); | |
3666 | ||
3667 | wxPyEndAllowThreads(__tstate); | |
3668 | if (PyErr_Occurred()) SWIG_fail; | |
3669 | } | |
3670 | Py_INCREF(Py_None); resultobj = Py_None; | |
3671 | return resultobj; | |
3672 | fail: | |
3673 | return NULL; | |
3674 | } | |
3675 | ||
3676 | ||
3677 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3678 | PyObject *resultobj; | |
3679 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3680 | wxString *arg2 = 0 ; | |
3681 | bool arg3 ; | |
e811c8ce | 3682 | bool temp2 = False ; |
d14a1e28 RD |
3683 | PyObject * obj0 = 0 ; |
3684 | PyObject * obj1 = 0 ; | |
3685 | PyObject * obj2 = 0 ; | |
3686 | char *kwnames[] = { | |
3687 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3688 | }; | |
3689 | ||
3690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
3691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3693 | { |
3694 | arg2 = wxString_in_helper(obj1); | |
3695 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3696 | temp2 = True; |
d14a1e28 | 3697 | } |
15afbcd0 RD |
3698 | arg3 = (bool) SWIG_AsBool(obj2); |
3699 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3700 | { |
3701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3702 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3703 | ||
3704 | wxPyEndAllowThreads(__tstate); | |
3705 | if (PyErr_Occurred()) SWIG_fail; | |
3706 | } | |
3707 | Py_INCREF(Py_None); resultobj = Py_None; | |
3708 | { | |
3709 | if (temp2) | |
3710 | delete arg2; | |
3711 | } | |
3712 | return resultobj; | |
3713 | fail: | |
3714 | { | |
3715 | if (temp2) | |
3716 | delete arg2; | |
3717 | } | |
3718 | return NULL; | |
3719 | } | |
3720 | ||
3721 | ||
3722 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3723 | PyObject *resultobj; | |
3724 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3725 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3726 | PyObject * obj0 = 0 ; | |
3727 | PyObject * obj1 = 0 ; | |
3728 | char *kwnames[] = { | |
3729 | (char *) "self",(char *) "menu", NULL | |
3730 | }; | |
3731 | ||
3732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3735 | if (obj1) { |
15afbcd0 RD |
3736 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3737 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3738 | } |
3739 | { | |
3740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3741 | (arg1)->DoMenuUpdates(arg2); | |
3742 | ||
3743 | wxPyEndAllowThreads(__tstate); | |
3744 | if (PyErr_Occurred()) SWIG_fail; | |
3745 | } | |
3746 | Py_INCREF(Py_None); resultobj = Py_None; | |
3747 | return resultobj; | |
3748 | fail: | |
3749 | return NULL; | |
3750 | } | |
3751 | ||
3752 | ||
3753 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3754 | PyObject *obj; | |
3755 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3756 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3757 | Py_INCREF(obj); | |
3758 | return Py_BuildValue((char *)""); | |
3759 | } | |
3760 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3761 | PyObject *resultobj; | |
3762 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 3763 | int arg2 ; |
d14a1e28 RD |
3764 | wxString *arg3 = 0 ; |
3765 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3766 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3767 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3768 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3769 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3770 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3771 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3772 | wxDialog *result; | |
e811c8ce | 3773 | bool temp3 = False ; |
d14a1e28 RD |
3774 | wxPoint temp4 ; |
3775 | wxSize temp5 ; | |
e811c8ce | 3776 | bool temp7 = False ; |
d14a1e28 | 3777 | PyObject * obj0 = 0 ; |
994141e6 | 3778 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3779 | PyObject * obj2 = 0 ; |
3780 | PyObject * obj3 = 0 ; | |
3781 | PyObject * obj4 = 0 ; | |
994141e6 | 3782 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3783 | PyObject * obj6 = 0 ; |
3784 | char *kwnames[] = { | |
3785 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3786 | }; | |
3787 | ||
994141e6 | 3788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3791 | arg2 = (int const) SWIG_AsInt(obj1); | |
3792 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3793 | { |
3794 | arg3 = wxString_in_helper(obj2); | |
3795 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3796 | temp3 = True; |
d14a1e28 RD |
3797 | } |
3798 | if (obj3) { | |
3799 | { | |
3800 | arg4 = &temp4; | |
3801 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3802 | } | |
3803 | } | |
3804 | if (obj4) { | |
3805 | { | |
3806 | arg5 = &temp5; | |
3807 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3808 | } | |
3809 | } | |
994141e6 | 3810 | if (obj5) { |
15afbcd0 RD |
3811 | arg6 = (long) SWIG_AsLong(obj5); |
3812 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3813 | } |
d14a1e28 RD |
3814 | if (obj6) { |
3815 | { | |
3816 | arg7 = wxString_in_helper(obj6); | |
3817 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 3818 | temp7 = True; |
d14a1e28 RD |
3819 | } |
3820 | } | |
3821 | { | |
3822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3823 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3824 | ||
3825 | wxPyEndAllowThreads(__tstate); | |
3826 | if (PyErr_Occurred()) SWIG_fail; | |
3827 | } | |
15afbcd0 | 3828 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3829 | { |
3830 | if (temp3) | |
3831 | delete arg3; | |
3832 | } | |
3833 | { | |
3834 | if (temp7) | |
3835 | delete arg7; | |
3836 | } | |
3837 | return resultobj; | |
3838 | fail: | |
3839 | { | |
3840 | if (temp3) | |
3841 | delete arg3; | |
3842 | } | |
3843 | { | |
3844 | if (temp7) | |
3845 | delete arg7; | |
3846 | } | |
3847 | return NULL; | |
3848 | } | |
3849 | ||
3850 | ||
3851 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3852 | PyObject *resultobj; | |
3853 | wxDialog *result; | |
3854 | char *kwnames[] = { | |
3855 | NULL | |
3856 | }; | |
3857 | ||
3858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3859 | { | |
3860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3861 | result = (wxDialog *)new wxDialog(); | |
3862 | ||
3863 | wxPyEndAllowThreads(__tstate); | |
3864 | if (PyErr_Occurred()) SWIG_fail; | |
3865 | } | |
15afbcd0 | 3866 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3867 | return resultobj; |
3868 | fail: | |
3869 | return NULL; | |
3870 | } | |
3871 | ||
3872 | ||
3873 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3874 | PyObject *resultobj; | |
3875 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3876 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 3877 | int arg3 ; |
d14a1e28 RD |
3878 | wxString *arg4 = 0 ; |
3879 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3880 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3881 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3882 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3883 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3884 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3885 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3886 | bool result; | |
e811c8ce | 3887 | bool temp4 = False ; |
d14a1e28 RD |
3888 | wxPoint temp5 ; |
3889 | wxSize temp6 ; | |
e811c8ce | 3890 | bool temp8 = False ; |
d14a1e28 RD |
3891 | PyObject * obj0 = 0 ; |
3892 | PyObject * obj1 = 0 ; | |
994141e6 | 3893 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3894 | PyObject * obj3 = 0 ; |
3895 | PyObject * obj4 = 0 ; | |
3896 | PyObject * obj5 = 0 ; | |
994141e6 | 3897 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3898 | PyObject * obj7 = 0 ; |
3899 | char *kwnames[] = { | |
3900 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3901 | }; | |
3902 | ||
994141e6 | 3903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3906 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3908 | arg3 = (int const) SWIG_AsInt(obj2); | |
3909 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3910 | { |
3911 | arg4 = wxString_in_helper(obj3); | |
3912 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 3913 | temp4 = True; |
d14a1e28 RD |
3914 | } |
3915 | if (obj4) { | |
3916 | { | |
3917 | arg5 = &temp5; | |
3918 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3919 | } | |
3920 | } | |
3921 | if (obj5) { | |
3922 | { | |
3923 | arg6 = &temp6; | |
3924 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3925 | } | |
3926 | } | |
994141e6 | 3927 | if (obj6) { |
15afbcd0 RD |
3928 | arg7 = (long) SWIG_AsLong(obj6); |
3929 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 3930 | } |
d14a1e28 RD |
3931 | if (obj7) { |
3932 | { | |
3933 | arg8 = wxString_in_helper(obj7); | |
3934 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 3935 | temp8 = True; |
d14a1e28 RD |
3936 | } |
3937 | } | |
3938 | { | |
3939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3940 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3941 | ||
3942 | wxPyEndAllowThreads(__tstate); | |
3943 | if (PyErr_Occurred()) SWIG_fail; | |
3944 | } | |
4f89f6a3 RD |
3945 | { |
3946 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3947 | } | |
d14a1e28 RD |
3948 | { |
3949 | if (temp4) | |
3950 | delete arg4; | |
3951 | } | |
3952 | { | |
3953 | if (temp8) | |
3954 | delete arg8; | |
3955 | } | |
3956 | return resultobj; | |
3957 | fail: | |
3958 | { | |
3959 | if (temp4) | |
3960 | delete arg4; | |
3961 | } | |
3962 | { | |
3963 | if (temp8) | |
3964 | delete arg8; | |
3965 | } | |
3966 | return NULL; | |
3967 | } | |
3968 | ||
3969 | ||
3970 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3971 | PyObject *resultobj; | |
3972 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3973 | int arg2 ; | |
3974 | PyObject * obj0 = 0 ; | |
994141e6 | 3975 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3976 | char *kwnames[] = { |
3977 | (char *) "self",(char *) "returnCode", NULL | |
3978 | }; | |
3979 | ||
994141e6 | 3980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3983 | arg2 = (int) SWIG_AsInt(obj1); | |
3984 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3985 | { |
3986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3987 | (arg1)->SetReturnCode(arg2); | |
3988 | ||
3989 | wxPyEndAllowThreads(__tstate); | |
3990 | if (PyErr_Occurred()) SWIG_fail; | |
3991 | } | |
3992 | Py_INCREF(Py_None); resultobj = Py_None; | |
3993 | return resultobj; | |
3994 | fail: | |
3995 | return NULL; | |
3996 | } | |
3997 | ||
3998 | ||
3999 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4000 | PyObject *resultobj; | |
4001 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4002 | int result; | |
4003 | PyObject * obj0 = 0 ; | |
4004 | char *kwnames[] = { | |
4005 | (char *) "self", NULL | |
4006 | }; | |
4007 | ||
4008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4011 | { |
4012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4013 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4014 | ||
4015 | wxPyEndAllowThreads(__tstate); | |
4016 | if (PyErr_Occurred()) SWIG_fail; | |
4017 | } | |
15afbcd0 | 4018 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4019 | return resultobj; |
4020 | fail: | |
4021 | return NULL; | |
4022 | } | |
4023 | ||
4024 | ||
4025 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4026 | PyObject *resultobj; | |
4027 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4028 | wxString *arg2 = 0 ; | |
4029 | wxSizer *result; | |
e811c8ce | 4030 | bool temp2 = False ; |
d14a1e28 RD |
4031 | PyObject * obj0 = 0 ; |
4032 | PyObject * obj1 = 0 ; | |
4033 | char *kwnames[] = { | |
4034 | (char *) "self",(char *) "message", NULL | |
4035 | }; | |
4036 | ||
4037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4040 | { |
4041 | arg2 = wxString_in_helper(obj1); | |
4042 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4043 | temp2 = True; |
d14a1e28 RD |
4044 | } |
4045 | { | |
4046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4047 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4048 | ||
4049 | wxPyEndAllowThreads(__tstate); | |
4050 | if (PyErr_Occurred()) SWIG_fail; | |
4051 | } | |
4052 | { | |
4053 | resultobj = wxPyMake_wxSizer(result); | |
4054 | } | |
4055 | { | |
4056 | if (temp2) | |
4057 | delete arg2; | |
4058 | } | |
4059 | return resultobj; | |
4060 | fail: | |
4061 | { | |
4062 | if (temp2) | |
4063 | delete arg2; | |
4064 | } | |
4065 | return NULL; | |
4066 | } | |
4067 | ||
4068 | ||
4069 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4070 | PyObject *resultobj; | |
4071 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4072 | long arg2 ; | |
4073 | wxSizer *result; | |
4074 | PyObject * obj0 = 0 ; | |
994141e6 | 4075 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4076 | char *kwnames[] = { |
4077 | (char *) "self",(char *) "flags", NULL | |
4078 | }; | |
4079 | ||
994141e6 | 4080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4083 | arg2 = (long) SWIG_AsLong(obj1); | |
4084 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4085 | { |
4086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4087 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4088 | ||
4089 | wxPyEndAllowThreads(__tstate); | |
4090 | if (PyErr_Occurred()) SWIG_fail; | |
4091 | } | |
4092 | { | |
4093 | resultobj = wxPyMake_wxSizer(result); | |
4094 | } | |
4095 | return resultobj; | |
4096 | fail: | |
4097 | return NULL; | |
4098 | } | |
4099 | ||
4100 | ||
d14a1e28 RD |
4101 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4102 | PyObject *resultobj; | |
4103 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4104 | bool result; | |
4105 | PyObject * obj0 = 0 ; | |
4106 | char *kwnames[] = { | |
4107 | (char *) "self", NULL | |
4108 | }; | |
4109 | ||
4110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4113 | { |
4114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4115 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4116 | ||
4117 | wxPyEndAllowThreads(__tstate); | |
4118 | if (PyErr_Occurred()) SWIG_fail; | |
4119 | } | |
4f89f6a3 RD |
4120 | { |
4121 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4122 | } | |
d14a1e28 RD |
4123 | return resultobj; |
4124 | fail: | |
4125 | return NULL; | |
4126 | } | |
4127 | ||
4128 | ||
4129 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4130 | PyObject *resultobj; | |
4131 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4132 | int result; | |
4133 | PyObject * obj0 = 0 ; | |
4134 | char *kwnames[] = { | |
4135 | (char *) "self", NULL | |
4136 | }; | |
4137 | ||
4138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4141 | { |
4142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4143 | result = (int)(arg1)->ShowModal(); | |
4144 | ||
4145 | wxPyEndAllowThreads(__tstate); | |
4146 | if (PyErr_Occurred()) SWIG_fail; | |
4147 | } | |
15afbcd0 | 4148 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4149 | return resultobj; |
4150 | fail: | |
4151 | return NULL; | |
4152 | } | |
4153 | ||
4154 | ||
4155 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4156 | PyObject *resultobj; | |
4157 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4158 | int arg2 ; | |
4159 | PyObject * obj0 = 0 ; | |
994141e6 | 4160 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4161 | char *kwnames[] = { |
4162 | (char *) "self",(char *) "retCode", NULL | |
4163 | }; | |
4164 | ||
994141e6 | 4165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4168 | arg2 = (int) SWIG_AsInt(obj1); | |
4169 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4170 | { |
4171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4172 | (arg1)->EndModal(arg2); | |
4173 | ||
4174 | wxPyEndAllowThreads(__tstate); | |
4175 | if (PyErr_Occurred()) SWIG_fail; | |
4176 | } | |
4177 | Py_INCREF(Py_None); resultobj = Py_None; | |
4178 | return resultobj; | |
4179 | fail: | |
4180 | return NULL; | |
4181 | } | |
4182 | ||
4183 | ||
4184 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4185 | PyObject *resultobj; | |
4186 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4187 | bool result; | |
4188 | PyObject * obj0 = 0 ; | |
4189 | char *kwnames[] = { | |
4190 | (char *) "self", NULL | |
4191 | }; | |
4192 | ||
4193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4196 | { |
4197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4198 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4199 | ||
4200 | wxPyEndAllowThreads(__tstate); | |
4201 | if (PyErr_Occurred()) SWIG_fail; | |
4202 | } | |
4f89f6a3 RD |
4203 | { |
4204 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4205 | } | |
d14a1e28 RD |
4206 | return resultobj; |
4207 | fail: | |
4208 | return NULL; | |
4209 | } | |
4210 | ||
4211 | ||
4212 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4213 | PyObject *obj; | |
4214 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4215 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4216 | Py_INCREF(obj); | |
4217 | return Py_BuildValue((char *)""); | |
4218 | } | |
4219 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4220 | PyObject *resultobj; | |
4221 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4222 | int arg2 ; |
d14a1e28 RD |
4223 | wxString *arg3 = 0 ; |
4224 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4225 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4226 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4227 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4228 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4229 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4230 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4231 | wxMiniFrame *result; | |
e811c8ce | 4232 | bool temp3 = False ; |
d14a1e28 RD |
4233 | wxPoint temp4 ; |
4234 | wxSize temp5 ; | |
e811c8ce | 4235 | bool temp7 = False ; |
d14a1e28 | 4236 | PyObject * obj0 = 0 ; |
994141e6 | 4237 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4238 | PyObject * obj2 = 0 ; |
4239 | PyObject * obj3 = 0 ; | |
4240 | PyObject * obj4 = 0 ; | |
994141e6 | 4241 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4242 | PyObject * obj6 = 0 ; |
4243 | char *kwnames[] = { | |
4244 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4245 | }; | |
4246 | ||
994141e6 | 4247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4250 | arg2 = (int const) SWIG_AsInt(obj1); | |
4251 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4252 | { |
4253 | arg3 = wxString_in_helper(obj2); | |
4254 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4255 | temp3 = True; |
d14a1e28 RD |
4256 | } |
4257 | if (obj3) { | |
4258 | { | |
4259 | arg4 = &temp4; | |
4260 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4261 | } | |
4262 | } | |
4263 | if (obj4) { | |
4264 | { | |
4265 | arg5 = &temp5; | |
4266 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4267 | } | |
4268 | } | |
994141e6 | 4269 | if (obj5) { |
15afbcd0 RD |
4270 | arg6 = (long) SWIG_AsLong(obj5); |
4271 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4272 | } |
d14a1e28 RD |
4273 | if (obj6) { |
4274 | { | |
4275 | arg7 = wxString_in_helper(obj6); | |
4276 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 4277 | temp7 = True; |
d14a1e28 RD |
4278 | } |
4279 | } | |
4280 | { | |
4281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4282 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4283 | ||
4284 | wxPyEndAllowThreads(__tstate); | |
4285 | if (PyErr_Occurred()) SWIG_fail; | |
4286 | } | |
15afbcd0 | 4287 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4288 | { |
4289 | if (temp3) | |
4290 | delete arg3; | |
4291 | } | |
4292 | { | |
4293 | if (temp7) | |
4294 | delete arg7; | |
4295 | } | |
4296 | return resultobj; | |
4297 | fail: | |
4298 | { | |
4299 | if (temp3) | |
4300 | delete arg3; | |
4301 | } | |
4302 | { | |
4303 | if (temp7) | |
4304 | delete arg7; | |
4305 | } | |
4306 | return NULL; | |
4307 | } | |
4308 | ||
4309 | ||
4310 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4311 | PyObject *resultobj; | |
4312 | wxMiniFrame *result; | |
4313 | char *kwnames[] = { | |
4314 | NULL | |
4315 | }; | |
4316 | ||
4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4318 | { | |
4319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4320 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4321 | ||
4322 | wxPyEndAllowThreads(__tstate); | |
4323 | if (PyErr_Occurred()) SWIG_fail; | |
4324 | } | |
15afbcd0 | 4325 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4326 | return resultobj; |
4327 | fail: | |
4328 | return NULL; | |
4329 | } | |
4330 | ||
4331 | ||
4332 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4333 | PyObject *resultobj; | |
4334 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4335 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4336 | int arg3 ; |
d14a1e28 RD |
4337 | wxString *arg4 = 0 ; |
4338 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4339 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4340 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4341 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4342 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4343 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4344 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4345 | bool result; | |
e811c8ce | 4346 | bool temp4 = False ; |
d14a1e28 RD |
4347 | wxPoint temp5 ; |
4348 | wxSize temp6 ; | |
e811c8ce | 4349 | bool temp8 = False ; |
d14a1e28 RD |
4350 | PyObject * obj0 = 0 ; |
4351 | PyObject * obj1 = 0 ; | |
994141e6 | 4352 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4353 | PyObject * obj3 = 0 ; |
4354 | PyObject * obj4 = 0 ; | |
4355 | PyObject * obj5 = 0 ; | |
994141e6 | 4356 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4357 | PyObject * obj7 = 0 ; |
4358 | char *kwnames[] = { | |
4359 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4360 | }; | |
4361 | ||
994141e6 | 4362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4365 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4367 | arg3 = (int const) SWIG_AsInt(obj2); | |
4368 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4369 | { |
4370 | arg4 = wxString_in_helper(obj3); | |
4371 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4372 | temp4 = True; |
d14a1e28 RD |
4373 | } |
4374 | if (obj4) { | |
4375 | { | |
4376 | arg5 = &temp5; | |
4377 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4378 | } | |
4379 | } | |
4380 | if (obj5) { | |
4381 | { | |
4382 | arg6 = &temp6; | |
4383 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4384 | } | |
4385 | } | |
994141e6 | 4386 | if (obj6) { |
15afbcd0 RD |
4387 | arg7 = (long) SWIG_AsLong(obj6); |
4388 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4389 | } |
d14a1e28 RD |
4390 | if (obj7) { |
4391 | { | |
4392 | arg8 = wxString_in_helper(obj7); | |
4393 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 4394 | temp8 = True; |
d14a1e28 RD |
4395 | } |
4396 | } | |
4397 | { | |
4398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4399 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4400 | ||
4401 | wxPyEndAllowThreads(__tstate); | |
4402 | if (PyErr_Occurred()) SWIG_fail; | |
4403 | } | |
4f89f6a3 RD |
4404 | { |
4405 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4406 | } | |
d14a1e28 RD |
4407 | { |
4408 | if (temp4) | |
4409 | delete arg4; | |
4410 | } | |
4411 | { | |
4412 | if (temp8) | |
4413 | delete arg8; | |
4414 | } | |
4415 | return resultobj; | |
4416 | fail: | |
4417 | { | |
4418 | if (temp4) | |
4419 | delete arg4; | |
4420 | } | |
4421 | { | |
4422 | if (temp8) | |
4423 | delete arg8; | |
4424 | } | |
4425 | return NULL; | |
4426 | } | |
4427 | ||
4428 | ||
4429 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4430 | PyObject *obj; | |
4431 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4432 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4433 | Py_INCREF(obj); | |
4434 | return Py_BuildValue((char *)""); | |
4435 | } | |
4436 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4437 | PyObject *resultobj; | |
4438 | wxBitmap *arg1 = 0 ; | |
4439 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4440 | int arg3 ; |
d14a1e28 RD |
4441 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4442 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4443 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4444 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4445 | long arg6 = (long) wxNO_BORDER ; | |
4446 | wxSplashScreenWindow *result; | |
4447 | wxPoint temp4 ; | |
4448 | wxSize temp5 ; | |
4449 | PyObject * obj0 = 0 ; | |
4450 | PyObject * obj1 = 0 ; | |
994141e6 | 4451 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4452 | PyObject * obj3 = 0 ; |
4453 | PyObject * obj4 = 0 ; | |
994141e6 | 4454 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4455 | char *kwnames[] = { |
4456 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4457 | }; | |
4458 | ||
994141e6 | 4459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
4460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4461 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4462 | SWIG_fail; | |
d14a1e28 | 4463 | if (arg1 == NULL) { |
15afbcd0 RD |
4464 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4465 | SWIG_fail; | |
994141e6 | 4466 | } |
15afbcd0 RD |
4467 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4469 | arg3 = (int) SWIG_AsInt(obj2); | |
4470 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4471 | if (obj3) { |
4472 | { | |
4473 | arg4 = &temp4; | |
4474 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4475 | } | |
4476 | } | |
4477 | if (obj4) { | |
4478 | { | |
4479 | arg5 = &temp5; | |
4480 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4481 | } | |
4482 | } | |
994141e6 | 4483 | if (obj5) { |
15afbcd0 RD |
4484 | arg6 = (long) SWIG_AsLong(obj5); |
4485 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4486 | } |
d14a1e28 RD |
4487 | { |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4489 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
15afbcd0 | 4494 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4495 | return resultobj; |
4496 | fail: | |
4497 | return NULL; | |
4498 | } | |
4499 | ||
4500 | ||
4501 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4502 | PyObject *resultobj; | |
4503 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4504 | wxBitmap *arg2 = 0 ; | |
4505 | PyObject * obj0 = 0 ; | |
4506 | PyObject * obj1 = 0 ; | |
4507 | char *kwnames[] = { | |
4508 | (char *) "self",(char *) "bitmap", NULL | |
4509 | }; | |
4510 | ||
4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4514 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4515 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4516 | SWIG_fail; | |
d14a1e28 | 4517 | if (arg2 == NULL) { |
15afbcd0 RD |
4518 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4519 | SWIG_fail; | |
d14a1e28 RD |
4520 | } |
4521 | { | |
4522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4523 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4524 | ||
4525 | wxPyEndAllowThreads(__tstate); | |
4526 | if (PyErr_Occurred()) SWIG_fail; | |
4527 | } | |
4528 | Py_INCREF(Py_None); resultobj = Py_None; | |
4529 | return resultobj; | |
4530 | fail: | |
4531 | return NULL; | |
4532 | } | |
4533 | ||
4534 | ||
4535 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4536 | PyObject *resultobj; | |
4537 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4538 | wxBitmap *result; | |
4539 | PyObject * obj0 = 0 ; | |
4540 | char *kwnames[] = { | |
4541 | (char *) "self", NULL | |
4542 | }; | |
4543 | ||
4544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4547 | { |
4548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4549 | { | |
4550 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4551 | result = (wxBitmap *) &_result_ref; | |
4552 | } | |
4553 | ||
4554 | wxPyEndAllowThreads(__tstate); | |
4555 | if (PyErr_Occurred()) SWIG_fail; | |
4556 | } | |
4276dc52 RD |
4557 | { |
4558 | wxBitmap* resultptr = new wxBitmap(*result); | |
4559 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4560 | } | |
d14a1e28 RD |
4561 | return resultobj; |
4562 | fail: | |
4563 | return NULL; | |
4564 | } | |
4565 | ||
4566 | ||
4567 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4568 | PyObject *obj; | |
4569 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4570 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4571 | Py_INCREF(obj); | |
4572 | return Py_BuildValue((char *)""); | |
4573 | } | |
4574 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4575 | PyObject *resultobj; | |
4576 | wxBitmap *arg1 = 0 ; | |
4577 | long arg2 ; | |
4578 | int arg3 ; | |
4579 | wxWindow *arg4 = (wxWindow *) 0 ; | |
e811c8ce | 4580 | int arg5 ; |
d14a1e28 RD |
4581 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4582 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4583 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4584 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4585 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4586 | wxSplashScreen *result; | |
4587 | wxPoint temp6 ; | |
4588 | wxSize temp7 ; | |
4589 | PyObject * obj0 = 0 ; | |
994141e6 RD |
4590 | PyObject * obj1 = 0 ; |
4591 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4592 | PyObject * obj3 = 0 ; |
994141e6 | 4593 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4594 | PyObject * obj5 = 0 ; |
4595 | PyObject * obj6 = 0 ; | |
994141e6 | 4596 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4597 | char *kwnames[] = { |
4598 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4599 | }; | |
4600 | ||
994141e6 | 4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4603 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4604 | SWIG_fail; | |
d14a1e28 | 4605 | if (arg1 == NULL) { |
15afbcd0 RD |
4606 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4607 | SWIG_fail; | |
4608 | } | |
4609 | arg2 = (long) SWIG_AsLong(obj1); | |
4610 | if (PyErr_Occurred()) SWIG_fail; | |
4611 | arg3 = (int) SWIG_AsInt(obj2); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4615 | arg5 = (int) SWIG_AsInt(obj4); | |
4616 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4617 | if (obj5) { |
4618 | { | |
4619 | arg6 = &temp6; | |
4620 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4621 | } | |
4622 | } | |
4623 | if (obj6) { | |
4624 | { | |
4625 | arg7 = &temp7; | |
4626 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4627 | } | |
4628 | } | |
994141e6 | 4629 | if (obj7) { |
15afbcd0 RD |
4630 | arg8 = (long) SWIG_AsLong(obj7); |
4631 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4632 | } |
d14a1e28 RD |
4633 | { |
4634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4635 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4636 | ||
4637 | wxPyEndAllowThreads(__tstate); | |
4638 | if (PyErr_Occurred()) SWIG_fail; | |
4639 | } | |
15afbcd0 | 4640 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4641 | return resultobj; |
4642 | fail: | |
4643 | return NULL; | |
4644 | } | |
4645 | ||
4646 | ||
4647 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4648 | PyObject *resultobj; | |
4649 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4650 | long result; | |
4651 | PyObject * obj0 = 0 ; | |
4652 | char *kwnames[] = { | |
4653 | (char *) "self", NULL | |
4654 | }; | |
4655 | ||
4656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4659 | { |
4660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4661 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4662 | ||
4663 | wxPyEndAllowThreads(__tstate); | |
4664 | if (PyErr_Occurred()) SWIG_fail; | |
4665 | } | |
15afbcd0 | 4666 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4667 | return resultobj; |
4668 | fail: | |
4669 | return NULL; | |
4670 | } | |
4671 | ||
4672 | ||
4673 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4674 | PyObject *resultobj; | |
4675 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4676 | wxSplashScreenWindow *result; | |
4677 | PyObject * obj0 = 0 ; | |
4678 | char *kwnames[] = { | |
4679 | (char *) "self", NULL | |
4680 | }; | |
4681 | ||
4682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4685 | { |
4686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4687 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4688 | ||
4689 | wxPyEndAllowThreads(__tstate); | |
4690 | if (PyErr_Occurred()) SWIG_fail; | |
4691 | } | |
15afbcd0 | 4692 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4693 | return resultobj; |
4694 | fail: | |
4695 | return NULL; | |
4696 | } | |
4697 | ||
4698 | ||
4699 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4700 | PyObject *resultobj; | |
4701 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4702 | int result; | |
4703 | PyObject * obj0 = 0 ; | |
4704 | char *kwnames[] = { | |
4705 | (char *) "self", NULL | |
4706 | }; | |
4707 | ||
4708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4711 | { |
4712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4713 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4714 | ||
4715 | wxPyEndAllowThreads(__tstate); | |
4716 | if (PyErr_Occurred()) SWIG_fail; | |
4717 | } | |
15afbcd0 | 4718 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4719 | return resultobj; |
4720 | fail: | |
4721 | return NULL; | |
4722 | } | |
4723 | ||
4724 | ||
4725 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4726 | PyObject *obj; | |
4727 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4728 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4729 | Py_INCREF(obj); | |
4730 | return Py_BuildValue((char *)""); | |
4731 | } | |
4732 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4733 | PyObject *resultobj; | |
4734 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 4735 | int arg2 = (int) -1 ; |
4276dc52 | 4736 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
4737 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
4738 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4739 | wxStatusBar *result; | |
e811c8ce | 4740 | bool temp4 = False ; |
d14a1e28 | 4741 | PyObject * obj0 = 0 ; |
994141e6 RD |
4742 | PyObject * obj1 = 0 ; |
4743 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4744 | PyObject * obj3 = 0 ; |
4745 | char *kwnames[] = { | |
4746 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4747 | }; | |
4748 | ||
994141e6 | 4749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4750 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4752 | if (obj1) { |
15afbcd0 RD |
4753 | arg2 = (int) SWIG_AsInt(obj1); |
4754 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
4755 | } |
4756 | if (obj2) { | |
15afbcd0 RD |
4757 | arg3 = (long) SWIG_AsLong(obj2); |
4758 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4759 | } |
d14a1e28 RD |
4760 | if (obj3) { |
4761 | { | |
4762 | arg4 = wxString_in_helper(obj3); | |
4763 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4764 | temp4 = True; |
d14a1e28 RD |
4765 | } |
4766 | } | |
4767 | { | |
4768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4769 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4770 | ||
4771 | wxPyEndAllowThreads(__tstate); | |
4772 | if (PyErr_Occurred()) SWIG_fail; | |
4773 | } | |
4774 | { | |
4775 | resultobj = wxPyMake_wxObject(result); | |
4776 | } | |
4777 | { | |
4778 | if (temp4) | |
4779 | delete arg4; | |
4780 | } | |
4781 | return resultobj; | |
4782 | fail: | |
4783 | { | |
4784 | if (temp4) | |
4785 | delete arg4; | |
4786 | } | |
4787 | return NULL; | |
4788 | } | |
4789 | ||
4790 | ||
4791 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4792 | PyObject *resultobj; | |
4793 | wxStatusBar *result; | |
4794 | char *kwnames[] = { | |
4795 | NULL | |
4796 | }; | |
4797 | ||
4798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4799 | { | |
4800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4801 | result = (wxStatusBar *)new wxStatusBar(); | |
4802 | ||
4803 | wxPyEndAllowThreads(__tstate); | |
4804 | if (PyErr_Occurred()) SWIG_fail; | |
4805 | } | |
4806 | { | |
4807 | resultobj = wxPyMake_wxObject(result); | |
4808 | } | |
4809 | return resultobj; | |
4810 | fail: | |
4811 | return NULL; | |
4812 | } | |
4813 | ||
4814 | ||
4815 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4816 | PyObject *resultobj; | |
4817 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4818 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 4819 | int arg3 ; |
d14a1e28 RD |
4820 | long arg4 = (long) wxST_SIZEGRIP ; |
4821 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4822 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4823 | bool result; | |
e811c8ce | 4824 | bool temp5 = False ; |
d14a1e28 RD |
4825 | PyObject * obj0 = 0 ; |
4826 | PyObject * obj1 = 0 ; | |
994141e6 RD |
4827 | PyObject * obj2 = 0 ; |
4828 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4829 | PyObject * obj4 = 0 ; |
4830 | char *kwnames[] = { | |
4831 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4832 | }; | |
4833 | ||
994141e6 | 4834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
4835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4837 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4839 | arg3 = (int) SWIG_AsInt(obj2); | |
4840 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4841 | if (obj3) { |
15afbcd0 RD |
4842 | arg4 = (long) SWIG_AsLong(obj3); |
4843 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4844 | } |
d14a1e28 RD |
4845 | if (obj4) { |
4846 | { | |
4847 | arg5 = wxString_in_helper(obj4); | |
4848 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 4849 | temp5 = True; |
d14a1e28 RD |
4850 | } |
4851 | } | |
4852 | { | |
4853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4854 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4855 | ||
4856 | wxPyEndAllowThreads(__tstate); | |
4857 | if (PyErr_Occurred()) SWIG_fail; | |
4858 | } | |
4f89f6a3 RD |
4859 | { |
4860 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4861 | } | |
d14a1e28 RD |
4862 | { |
4863 | if (temp5) | |
4864 | delete arg5; | |
4865 | } | |
4866 | return resultobj; | |
4867 | fail: | |
4868 | { | |
4869 | if (temp5) | |
4870 | delete arg5; | |
4871 | } | |
4872 | return NULL; | |
4873 | } | |
4874 | ||
4875 | ||
4876 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4877 | PyObject *resultobj; | |
4878 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4879 | int arg2 = (int) 1 ; | |
4880 | PyObject * obj0 = 0 ; | |
994141e6 | 4881 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4882 | char *kwnames[] = { |
4883 | (char *) "self",(char *) "number", NULL | |
4884 | }; | |
4885 | ||
994141e6 | 4886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4889 | if (obj1) { |
15afbcd0 RD |
4890 | arg2 = (int) SWIG_AsInt(obj1); |
4891 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4892 | } |
d14a1e28 RD |
4893 | { |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | (arg1)->SetFieldsCount(arg2); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4900 | Py_INCREF(Py_None); resultobj = Py_None; | |
4901 | return resultobj; | |
4902 | fail: | |
4903 | return NULL; | |
4904 | } | |
4905 | ||
4906 | ||
4907 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4908 | PyObject *resultobj; | |
4909 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4910 | int result; | |
4911 | PyObject * obj0 = 0 ; | |
4912 | char *kwnames[] = { | |
4913 | (char *) "self", NULL | |
4914 | }; | |
4915 | ||
4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4919 | { |
4920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4921 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4922 | ||
4923 | wxPyEndAllowThreads(__tstate); | |
4924 | if (PyErr_Occurred()) SWIG_fail; | |
4925 | } | |
15afbcd0 | 4926 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4927 | return resultobj; |
4928 | fail: | |
4929 | return NULL; | |
4930 | } | |
4931 | ||
4932 | ||
4933 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4934 | PyObject *resultobj; | |
4935 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4936 | wxString *arg2 = 0 ; | |
4937 | int arg3 = (int) 0 ; | |
e811c8ce | 4938 | bool temp2 = False ; |
d14a1e28 RD |
4939 | PyObject * obj0 = 0 ; |
4940 | PyObject * obj1 = 0 ; | |
994141e6 | 4941 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4942 | char *kwnames[] = { |
4943 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4944 | }; | |
4945 | ||
994141e6 | 4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
4947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4949 | { |
4950 | arg2 = wxString_in_helper(obj1); | |
4951 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4952 | temp2 = True; |
d14a1e28 | 4953 | } |
994141e6 | 4954 | if (obj2) { |
15afbcd0 RD |
4955 | arg3 = (int) SWIG_AsInt(obj2); |
4956 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4957 | } |
d14a1e28 RD |
4958 | { |
4959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4960 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4961 | ||
4962 | wxPyEndAllowThreads(__tstate); | |
4963 | if (PyErr_Occurred()) SWIG_fail; | |
4964 | } | |
4965 | Py_INCREF(Py_None); resultobj = Py_None; | |
4966 | { | |
4967 | if (temp2) | |
4968 | delete arg2; | |
4969 | } | |
4970 | return resultobj; | |
4971 | fail: | |
4972 | { | |
4973 | if (temp2) | |
4974 | delete arg2; | |
4975 | } | |
4976 | return NULL; | |
4977 | } | |
4978 | ||
4979 | ||
4980 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4981 | PyObject *resultobj; | |
4982 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4983 | int arg2 = (int) 0 ; | |
4984 | wxString result; | |
4985 | PyObject * obj0 = 0 ; | |
994141e6 | 4986 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4987 | char *kwnames[] = { |
4988 | (char *) "self",(char *) "number", NULL | |
4989 | }; | |
4990 | ||
994141e6 | 4991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4992 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4993 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4994 | if (obj1) { |
15afbcd0 RD |
4995 | arg2 = (int) SWIG_AsInt(obj1); |
4996 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 4997 | } |
d14a1e28 RD |
4998 | { |
4999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5000 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5001 | ||
5002 | wxPyEndAllowThreads(__tstate); | |
5003 | if (PyErr_Occurred()) SWIG_fail; | |
5004 | } | |
5005 | { | |
5006 | #if wxUSE_UNICODE | |
5007 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5008 | #else | |
5009 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5010 | #endif | |
5011 | } | |
5012 | return resultobj; | |
5013 | fail: | |
5014 | return NULL; | |
5015 | } | |
5016 | ||
5017 | ||
5018 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5019 | PyObject *resultobj; | |
5020 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5021 | wxString *arg2 = 0 ; | |
5022 | int arg3 = (int) 0 ; | |
e811c8ce | 5023 | bool temp2 = False ; |
d14a1e28 RD |
5024 | PyObject * obj0 = 0 ; |
5025 | PyObject * obj1 = 0 ; | |
994141e6 | 5026 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5027 | char *kwnames[] = { |
5028 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5029 | }; | |
5030 | ||
994141e6 | 5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5034 | { |
5035 | arg2 = wxString_in_helper(obj1); | |
5036 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5037 | temp2 = True; |
d14a1e28 | 5038 | } |
994141e6 | 5039 | if (obj2) { |
15afbcd0 RD |
5040 | arg3 = (int) SWIG_AsInt(obj2); |
5041 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5042 | } |
d14a1e28 RD |
5043 | { |
5044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5045 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5046 | ||
5047 | wxPyEndAllowThreads(__tstate); | |
5048 | if (PyErr_Occurred()) SWIG_fail; | |
5049 | } | |
5050 | Py_INCREF(Py_None); resultobj = Py_None; | |
5051 | { | |
5052 | if (temp2) | |
5053 | delete arg2; | |
5054 | } | |
5055 | return resultobj; | |
5056 | fail: | |
5057 | { | |
5058 | if (temp2) | |
5059 | delete arg2; | |
5060 | } | |
5061 | return NULL; | |
5062 | } | |
5063 | ||
5064 | ||
5065 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5066 | PyObject *resultobj; | |
5067 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5068 | int arg2 = (int) 0 ; | |
5069 | PyObject * obj0 = 0 ; | |
994141e6 | 5070 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5071 | char *kwnames[] = { |
5072 | (char *) "self",(char *) "number", NULL | |
5073 | }; | |
5074 | ||
994141e6 | 5075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5078 | if (obj1) { |
15afbcd0 RD |
5079 | arg2 = (int) SWIG_AsInt(obj1); |
5080 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5081 | } |
d14a1e28 RD |
5082 | { |
5083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5084 | (arg1)->PopStatusText(arg2); | |
5085 | ||
5086 | wxPyEndAllowThreads(__tstate); | |
5087 | if (PyErr_Occurred()) SWIG_fail; | |
5088 | } | |
5089 | Py_INCREF(Py_None); resultobj = Py_None; | |
5090 | return resultobj; | |
5091 | fail: | |
5092 | return NULL; | |
5093 | } | |
5094 | ||
5095 | ||
5096 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5097 | PyObject *resultobj; | |
5098 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5099 | int arg2 ; | |
5100 | int *arg3 = (int *) 0 ; | |
5101 | PyObject * obj0 = 0 ; | |
5102 | PyObject * obj1 = 0 ; | |
5103 | char *kwnames[] = { | |
5104 | (char *) "self",(char *) "widths", NULL | |
5105 | }; | |
5106 | ||
5107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5110 | { |
5111 | arg2 = PyList_Size(obj1); | |
5112 | arg3 = int_LIST_helper(obj1); | |
5113 | if (arg3 == NULL) SWIG_fail; | |
5114 | } | |
5115 | { | |
5116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5117 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5118 | ||
5119 | wxPyEndAllowThreads(__tstate); | |
5120 | if (PyErr_Occurred()) SWIG_fail; | |
5121 | } | |
5122 | Py_INCREF(Py_None); resultobj = Py_None; | |
5123 | { | |
5124 | if (arg3) delete [] arg3; | |
5125 | } | |
5126 | return resultobj; | |
5127 | fail: | |
5128 | { | |
5129 | if (arg3) delete [] arg3; | |
5130 | } | |
5131 | return NULL; | |
5132 | } | |
5133 | ||
5134 | ||
5135 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5136 | PyObject *resultobj; | |
5137 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5138 | int arg2 ; | |
7722248d | 5139 | wxRect result; |
d14a1e28 | 5140 | PyObject * obj0 = 0 ; |
994141e6 | 5141 | PyObject * obj1 = 0 ; |
d14a1e28 | 5142 | char *kwnames[] = { |
7722248d | 5143 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5144 | }; |
5145 | ||
994141e6 | 5146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5149 | arg2 = (int) SWIG_AsInt(obj1); | |
5150 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5151 | { |
5152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5153 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5154 | |
5155 | wxPyEndAllowThreads(__tstate); | |
5156 | if (PyErr_Occurred()) SWIG_fail; | |
5157 | } | |
7722248d RD |
5158 | { |
5159 | wxRect * resultptr; | |
5160 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5161 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5162 | } |
d14a1e28 RD |
5163 | return resultobj; |
5164 | fail: | |
5165 | return NULL; | |
5166 | } | |
5167 | ||
5168 | ||
5169 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5170 | PyObject *resultobj; | |
5171 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5172 | int arg2 ; | |
5173 | PyObject * obj0 = 0 ; | |
994141e6 | 5174 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5175 | char *kwnames[] = { |
5176 | (char *) "self",(char *) "height", NULL | |
5177 | }; | |
5178 | ||
994141e6 | 5179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5182 | arg2 = (int) SWIG_AsInt(obj1); | |
5183 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5184 | { |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | (arg1)->SetMinHeight(arg2); | |
5187 | ||
5188 | wxPyEndAllowThreads(__tstate); | |
5189 | if (PyErr_Occurred()) SWIG_fail; | |
5190 | } | |
5191 | Py_INCREF(Py_None); resultobj = Py_None; | |
5192 | return resultobj; | |
5193 | fail: | |
5194 | return NULL; | |
5195 | } | |
5196 | ||
5197 | ||
5198 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5199 | PyObject *resultobj; | |
5200 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5201 | int result; | |
5202 | PyObject * obj0 = 0 ; | |
5203 | char *kwnames[] = { | |
5204 | (char *) "self", NULL | |
5205 | }; | |
5206 | ||
5207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5208 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5210 | { |
5211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5212 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5213 | ||
5214 | wxPyEndAllowThreads(__tstate); | |
5215 | if (PyErr_Occurred()) SWIG_fail; | |
5216 | } | |
15afbcd0 | 5217 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5218 | return resultobj; |
5219 | fail: | |
5220 | return NULL; | |
5221 | } | |
5222 | ||
5223 | ||
5224 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5225 | PyObject *resultobj; | |
5226 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5227 | int result; | |
5228 | PyObject * obj0 = 0 ; | |
5229 | char *kwnames[] = { | |
5230 | (char *) "self", NULL | |
5231 | }; | |
5232 | ||
5233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5236 | { |
5237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5238 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5239 | ||
5240 | wxPyEndAllowThreads(__tstate); | |
5241 | if (PyErr_Occurred()) SWIG_fail; | |
5242 | } | |
15afbcd0 | 5243 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5244 | return resultobj; |
5245 | fail: | |
5246 | return NULL; | |
5247 | } | |
5248 | ||
5249 | ||
5250 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5251 | PyObject *obj; | |
5252 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5253 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5254 | Py_INCREF(obj); | |
5255 | return Py_BuildValue((char *)""); | |
5256 | } | |
b2dc1044 RD |
5257 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
5258 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); | |
5259 | return 1; | |
5260 | } | |
5261 | ||
5262 | ||
5263 | static PyObject *_wrap_SplitterNameStr_get() { | |
5264 | PyObject *pyobj; | |
5265 | ||
5266 | { | |
5267 | #if wxUSE_UNICODE | |
5268 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5269 | #else | |
5270 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5271 | #endif | |
5272 | } | |
5273 | return pyobj; | |
5274 | } | |
5275 | ||
5276 | ||
d14a1e28 RD |
5277 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5278 | PyObject *resultobj; | |
5279 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5280 | int arg2 ; |
d14a1e28 RD |
5281 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5282 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5283 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5284 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5285 | long arg5 = (long) wxSP_3D ; | |
5286 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5287 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5288 | wxSplitterWindow *result; | |
5289 | wxPoint temp3 ; | |
5290 | wxSize temp4 ; | |
e811c8ce | 5291 | bool temp6 = False ; |
d14a1e28 | 5292 | PyObject * obj0 = 0 ; |
994141e6 | 5293 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5294 | PyObject * obj2 = 0 ; |
5295 | PyObject * obj3 = 0 ; | |
994141e6 | 5296 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5297 | PyObject * obj5 = 0 ; |
5298 | char *kwnames[] = { | |
994141e6 | 5299 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5300 | }; |
5301 | ||
994141e6 | 5302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5305 | arg2 = (int) SWIG_AsInt(obj1); | |
5306 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5307 | if (obj2) { |
5308 | { | |
5309 | arg3 = &temp3; | |
5310 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5311 | } | |
5312 | } | |
5313 | if (obj3) { | |
5314 | { | |
5315 | arg4 = &temp4; | |
5316 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5317 | } | |
5318 | } | |
15afbcd0 RD |
5319 | if (obj4) { |
5320 | arg5 = (long) SWIG_AsLong(obj4); | |
5321 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5322 | } |
d14a1e28 RD |
5323 | if (obj5) { |
5324 | { | |
5325 | arg6 = wxString_in_helper(obj5); | |
5326 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 5327 | temp6 = True; |
d14a1e28 RD |
5328 | } |
5329 | } | |
5330 | { | |
5331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5332 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5333 | ||
5334 | wxPyEndAllowThreads(__tstate); | |
5335 | if (PyErr_Occurred()) SWIG_fail; | |
5336 | } | |
15afbcd0 | 5337 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5338 | { |
5339 | if (temp6) | |
5340 | delete arg6; | |
5341 | } | |
5342 | return resultobj; | |
5343 | fail: | |
5344 | { | |
5345 | if (temp6) | |
5346 | delete arg6; | |
5347 | } | |
5348 | return NULL; | |
5349 | } | |
5350 | ||
5351 | ||
5352 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5353 | PyObject *resultobj; | |
5354 | wxSplitterWindow *result; | |
5355 | char *kwnames[] = { | |
5356 | NULL | |
5357 | }; | |
5358 | ||
5359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5360 | { | |
5361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5362 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5363 | ||
5364 | wxPyEndAllowThreads(__tstate); | |
5365 | if (PyErr_Occurred()) SWIG_fail; | |
5366 | } | |
15afbcd0 | 5367 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5368 | return resultobj; |
5369 | fail: | |
5370 | return NULL; | |
5371 | } | |
5372 | ||
5373 | ||
5374 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5375 | PyObject *resultobj; | |
5376 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5377 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 5378 | int arg3 ; |
d14a1e28 RD |
5379 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5380 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5381 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5382 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5383 | long arg6 = (long) wxSP_3D ; | |
5384 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5385 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5386 | bool result; | |
5387 | wxPoint temp4 ; | |
5388 | wxSize temp5 ; | |
e811c8ce | 5389 | bool temp7 = False ; |
d14a1e28 RD |
5390 | PyObject * obj0 = 0 ; |
5391 | PyObject * obj1 = 0 ; | |
994141e6 | 5392 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5393 | PyObject * obj3 = 0 ; |
5394 | PyObject * obj4 = 0 ; | |
994141e6 | 5395 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5396 | PyObject * obj6 = 0 ; |
5397 | char *kwnames[] = { | |
994141e6 | 5398 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5399 | }; |
5400 | ||
994141e6 | 5401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
5402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5404 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5406 | arg3 = (int) SWIG_AsInt(obj2); | |
5407 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5408 | if (obj3) { |
5409 | { | |
5410 | arg4 = &temp4; | |
5411 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5412 | } | |
5413 | } | |
5414 | if (obj4) { | |
5415 | { | |
5416 | arg5 = &temp5; | |
5417 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5418 | } | |
5419 | } | |
994141e6 | 5420 | if (obj5) { |
15afbcd0 RD |
5421 | arg6 = (long) SWIG_AsLong(obj5); |
5422 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5423 | } |
d14a1e28 RD |
5424 | if (obj6) { |
5425 | { | |
5426 | arg7 = wxString_in_helper(obj6); | |
5427 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 5428 | temp7 = True; |
d14a1e28 RD |
5429 | } |
5430 | } | |
5431 | { | |
5432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5433 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5434 | ||
5435 | wxPyEndAllowThreads(__tstate); | |
5436 | if (PyErr_Occurred()) SWIG_fail; | |
5437 | } | |
4f89f6a3 RD |
5438 | { |
5439 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5440 | } | |
d14a1e28 RD |
5441 | { |
5442 | if (temp7) | |
5443 | delete arg7; | |
5444 | } | |
5445 | return resultobj; | |
5446 | fail: | |
5447 | { | |
5448 | if (temp7) | |
5449 | delete arg7; | |
5450 | } | |
5451 | return NULL; | |
5452 | } | |
5453 | ||
5454 | ||
5455 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5456 | PyObject *resultobj; | |
5457 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5458 | wxWindow *result; | |
5459 | PyObject * obj0 = 0 ; | |
5460 | char *kwnames[] = { | |
5461 | (char *) "self", NULL | |
5462 | }; | |
5463 | ||
5464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5467 | { |
5468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5469 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5470 | ||
5471 | wxPyEndAllowThreads(__tstate); | |
5472 | if (PyErr_Occurred()) SWIG_fail; | |
5473 | } | |
5474 | { | |
5475 | resultobj = wxPyMake_wxObject(result); | |
5476 | } | |
5477 | return resultobj; | |
5478 | fail: | |
5479 | return NULL; | |
5480 | } | |
5481 | ||
5482 | ||
5483 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5484 | PyObject *resultobj; | |
5485 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5486 | wxWindow *result; | |
5487 | PyObject * obj0 = 0 ; | |
5488 | char *kwnames[] = { | |
5489 | (char *) "self", NULL | |
5490 | }; | |
5491 | ||
5492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5495 | { |
5496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5497 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5498 | ||
5499 | wxPyEndAllowThreads(__tstate); | |
5500 | if (PyErr_Occurred()) SWIG_fail; | |
5501 | } | |
5502 | { | |
5503 | resultobj = wxPyMake_wxObject(result); | |
5504 | } | |
5505 | return resultobj; | |
5506 | fail: | |
5507 | return NULL; | |
5508 | } | |
5509 | ||
5510 | ||
5511 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5512 | PyObject *resultobj; | |
5513 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5514 | int arg2 ; | |
5515 | PyObject * obj0 = 0 ; | |
994141e6 | 5516 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5517 | char *kwnames[] = { |
5518 | (char *) "self",(char *) "mode", NULL | |
5519 | }; | |
5520 | ||
994141e6 | 5521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5524 | arg2 = (int) SWIG_AsInt(obj1); | |
5525 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5526 | { |
5527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5528 | (arg1)->SetSplitMode(arg2); | |
5529 | ||
5530 | wxPyEndAllowThreads(__tstate); | |
5531 | if (PyErr_Occurred()) SWIG_fail; | |
5532 | } | |
5533 | Py_INCREF(Py_None); resultobj = Py_None; | |
5534 | return resultobj; | |
5535 | fail: | |
5536 | return NULL; | |
5537 | } | |
5538 | ||
5539 | ||
5540 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5541 | PyObject *resultobj; | |
5542 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5543 | int result; | |
5544 | PyObject * obj0 = 0 ; | |
5545 | char *kwnames[] = { | |
5546 | (char *) "self", NULL | |
5547 | }; | |
5548 | ||
5549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5550 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5551 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5552 | { |
5553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5554 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5555 | ||
5556 | wxPyEndAllowThreads(__tstate); | |
5557 | if (PyErr_Occurred()) SWIG_fail; | |
5558 | } | |
15afbcd0 | 5559 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5560 | return resultobj; |
5561 | fail: | |
5562 | return NULL; | |
5563 | } | |
5564 | ||
5565 | ||
5566 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5567 | PyObject *resultobj; | |
5568 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5569 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5570 | PyObject * obj0 = 0 ; | |
5571 | PyObject * obj1 = 0 ; | |
5572 | char *kwnames[] = { | |
5573 | (char *) "self",(char *) "window", NULL | |
5574 | }; | |
5575 | ||
5576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5579 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5581 | { |
5582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5583 | (arg1)->Initialize(arg2); | |
5584 | ||
5585 | wxPyEndAllowThreads(__tstate); | |
5586 | if (PyErr_Occurred()) SWIG_fail; | |
5587 | } | |
5588 | Py_INCREF(Py_None); resultobj = Py_None; | |
5589 | return resultobj; | |
5590 | fail: | |
5591 | return NULL; | |
5592 | } | |
5593 | ||
5594 | ||
5595 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5596 | PyObject *resultobj; | |
5597 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5598 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5599 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5600 | int arg4 = (int) 0 ; | |
5601 | bool result; | |
5602 | PyObject * obj0 = 0 ; | |
5603 | PyObject * obj1 = 0 ; | |
5604 | PyObject * obj2 = 0 ; | |
994141e6 | 5605 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5606 | char *kwnames[] = { |
5607 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5608 | }; | |
5609 | ||
994141e6 | 5610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5613 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5615 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5617 | if (obj3) { |
15afbcd0 RD |
5618 | arg4 = (int) SWIG_AsInt(obj3); |
5619 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5620 | } |
d14a1e28 RD |
5621 | { |
5622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5623 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5624 | ||
5625 | wxPyEndAllowThreads(__tstate); | |
5626 | if (PyErr_Occurred()) SWIG_fail; | |
5627 | } | |
4f89f6a3 RD |
5628 | { |
5629 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5630 | } | |
d14a1e28 RD |
5631 | return resultobj; |
5632 | fail: | |
5633 | return NULL; | |
5634 | } | |
5635 | ||
5636 | ||
5637 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5638 | PyObject *resultobj; | |
5639 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5640 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5641 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5642 | int arg4 = (int) 0 ; | |
5643 | bool result; | |
5644 | PyObject * obj0 = 0 ; | |
5645 | PyObject * obj1 = 0 ; | |
5646 | PyObject * obj2 = 0 ; | |
994141e6 | 5647 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5648 | char *kwnames[] = { |
5649 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5650 | }; | |
5651 | ||
994141e6 | 5652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5655 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5657 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5659 | if (obj3) { |
15afbcd0 RD |
5660 | arg4 = (int) SWIG_AsInt(obj3); |
5661 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 5662 | } |
d14a1e28 RD |
5663 | { |
5664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5665 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5666 | ||
5667 | wxPyEndAllowThreads(__tstate); | |
5668 | if (PyErr_Occurred()) SWIG_fail; | |
5669 | } | |
4f89f6a3 RD |
5670 | { |
5671 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5672 | } | |
d14a1e28 RD |
5673 | return resultobj; |
5674 | fail: | |
5675 | return NULL; | |
5676 | } | |
5677 | ||
5678 | ||
5679 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5680 | PyObject *resultobj; | |
5681 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5682 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5683 | bool result; | |
5684 | PyObject * obj0 = 0 ; | |
5685 | PyObject * obj1 = 0 ; | |
5686 | char *kwnames[] = { | |
5687 | (char *) "self",(char *) "toRemove", NULL | |
5688 | }; | |
5689 | ||
5690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5693 | if (obj1) { |
15afbcd0 RD |
5694 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5696 | } |
5697 | { | |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5699 | result = (bool)(arg1)->Unsplit(arg2); | |
5700 | ||
5701 | wxPyEndAllowThreads(__tstate); | |
5702 | if (PyErr_Occurred()) SWIG_fail; | |
5703 | } | |
4f89f6a3 RD |
5704 | { |
5705 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5706 | } | |
d14a1e28 RD |
5707 | return resultobj; |
5708 | fail: | |
5709 | return NULL; | |
5710 | } | |
5711 | ||
5712 | ||
5713 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5714 | PyObject *resultobj; | |
5715 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5716 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5717 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5718 | bool result; | |
5719 | PyObject * obj0 = 0 ; | |
5720 | PyObject * obj1 = 0 ; | |
5721 | PyObject * obj2 = 0 ; | |
5722 | char *kwnames[] = { | |
5723 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5724 | }; | |
5725 | ||
5726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
5727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5729 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5731 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5733 | { |
5734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5735 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5736 | ||
5737 | wxPyEndAllowThreads(__tstate); | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | } | |
4f89f6a3 RD |
5740 | { |
5741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5742 | } | |
d14a1e28 RD |
5743 | return resultobj; |
5744 | fail: | |
5745 | return NULL; | |
5746 | } | |
5747 | ||
5748 | ||
5749 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5750 | PyObject *resultobj; | |
5751 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5752 | bool result; | |
5753 | PyObject * obj0 = 0 ; | |
5754 | char *kwnames[] = { | |
5755 | (char *) "self", NULL | |
5756 | }; | |
5757 | ||
5758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5761 | { |
5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5763 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5764 | ||
5765 | wxPyEndAllowThreads(__tstate); | |
5766 | if (PyErr_Occurred()) SWIG_fail; | |
5767 | } | |
4f89f6a3 RD |
5768 | { |
5769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5770 | } | |
d14a1e28 RD |
5771 | return resultobj; |
5772 | fail: | |
5773 | return NULL; | |
5774 | } | |
5775 | ||
5776 | ||
5777 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5778 | PyObject *resultobj; | |
5779 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5780 | int arg2 ; | |
5781 | PyObject * obj0 = 0 ; | |
994141e6 | 5782 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5783 | char *kwnames[] = { |
5784 | (char *) "self",(char *) "width", NULL | |
5785 | }; | |
5786 | ||
994141e6 | 5787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5790 | arg2 = (int) SWIG_AsInt(obj1); | |
5791 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5792 | { |
5793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5794 | (arg1)->SetSashSize(arg2); | |
5795 | ||
5796 | wxPyEndAllowThreads(__tstate); | |
5797 | if (PyErr_Occurred()) SWIG_fail; | |
5798 | } | |
5799 | Py_INCREF(Py_None); resultobj = Py_None; | |
5800 | return resultobj; | |
5801 | fail: | |
5802 | return NULL; | |
5803 | } | |
5804 | ||
5805 | ||
5806 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5807 | PyObject *resultobj; | |
5808 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5809 | int arg2 ; | |
5810 | PyObject * obj0 = 0 ; | |
994141e6 | 5811 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5812 | char *kwnames[] = { |
5813 | (char *) "self",(char *) "width", NULL | |
5814 | }; | |
5815 | ||
994141e6 | 5816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5819 | arg2 = (int) SWIG_AsInt(obj1); | |
5820 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5821 | { |
5822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5823 | (arg1)->SetBorderSize(arg2); | |
5824 | ||
5825 | wxPyEndAllowThreads(__tstate); | |
5826 | if (PyErr_Occurred()) SWIG_fail; | |
5827 | } | |
5828 | Py_INCREF(Py_None); resultobj = Py_None; | |
5829 | return resultobj; | |
5830 | fail: | |
5831 | return NULL; | |
5832 | } | |
5833 | ||
5834 | ||
5835 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5836 | PyObject *resultobj; | |
5837 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5838 | int result; | |
5839 | PyObject * obj0 = 0 ; | |
5840 | char *kwnames[] = { | |
5841 | (char *) "self", NULL | |
5842 | }; | |
5843 | ||
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",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 = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5850 | ||
5851 | wxPyEndAllowThreads(__tstate); | |
5852 | if (PyErr_Occurred()) SWIG_fail; | |
5853 | } | |
15afbcd0 | 5854 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5855 | return resultobj; |
5856 | fail: | |
5857 | return NULL; | |
5858 | } | |
5859 | ||
5860 | ||
5861 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5862 | PyObject *resultobj; | |
5863 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5864 | int result; | |
5865 | PyObject * obj0 = 0 ; | |
5866 | char *kwnames[] = { | |
5867 | (char *) "self", NULL | |
5868 | }; | |
5869 | ||
5870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5873 | { |
5874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5875 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5876 | ||
5877 | wxPyEndAllowThreads(__tstate); | |
5878 | if (PyErr_Occurred()) SWIG_fail; | |
5879 | } | |
15afbcd0 | 5880 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5881 | return resultobj; |
5882 | fail: | |
5883 | return NULL; | |
5884 | } | |
5885 | ||
5886 | ||
5887 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5888 | PyObject *resultobj; | |
5889 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5890 | int arg2 ; | |
e811c8ce | 5891 | bool arg3 = (bool) True ; |
d14a1e28 | 5892 | PyObject * obj0 = 0 ; |
994141e6 | 5893 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5894 | PyObject * obj2 = 0 ; |
5895 | char *kwnames[] = { | |
5896 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5897 | }; | |
5898 | ||
994141e6 | 5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5902 | arg2 = (int) SWIG_AsInt(obj1); | |
5903 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 5904 | if (obj2) { |
15afbcd0 RD |
5905 | arg3 = (bool) SWIG_AsBool(obj2); |
5906 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5907 | } |
5908 | { | |
5909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5910 | (arg1)->SetSashPosition(arg2,arg3); | |
5911 | ||
5912 | wxPyEndAllowThreads(__tstate); | |
5913 | if (PyErr_Occurred()) SWIG_fail; | |
5914 | } | |
5915 | Py_INCREF(Py_None); resultobj = Py_None; | |
5916 | return resultobj; | |
5917 | fail: | |
5918 | return NULL; | |
5919 | } | |
5920 | ||
5921 | ||
5922 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5923 | PyObject *resultobj; | |
5924 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5925 | int result; | |
5926 | PyObject * obj0 = 0 ; | |
5927 | char *kwnames[] = { | |
5928 | (char *) "self", NULL | |
5929 | }; | |
5930 | ||
5931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5934 | { |
5935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5936 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5937 | ||
5938 | wxPyEndAllowThreads(__tstate); | |
5939 | if (PyErr_Occurred()) SWIG_fail; | |
5940 | } | |
15afbcd0 | 5941 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5942 | return resultobj; |
5943 | fail: | |
5944 | return NULL; | |
5945 | } | |
5946 | ||
5947 | ||
5948 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5949 | PyObject *resultobj; | |
5950 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5951 | int arg2 ; | |
5952 | PyObject * obj0 = 0 ; | |
994141e6 | 5953 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5954 | char *kwnames[] = { |
5955 | (char *) "self",(char *) "min", NULL | |
5956 | }; | |
5957 | ||
994141e6 | 5958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5961 | arg2 = (int) SWIG_AsInt(obj1); | |
5962 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5963 | { |
5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5965 | (arg1)->SetMinimumPaneSize(arg2); | |
5966 | ||
5967 | wxPyEndAllowThreads(__tstate); | |
5968 | if (PyErr_Occurred()) SWIG_fail; | |
5969 | } | |
5970 | Py_INCREF(Py_None); resultobj = Py_None; | |
5971 | return resultobj; | |
5972 | fail: | |
5973 | return NULL; | |
5974 | } | |
5975 | ||
5976 | ||
5977 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5978 | PyObject *resultobj; | |
5979 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5980 | int result; | |
5981 | PyObject * obj0 = 0 ; | |
5982 | char *kwnames[] = { | |
5983 | (char *) "self", NULL | |
5984 | }; | |
5985 | ||
5986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5989 | { |
5990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5991 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
5992 | ||
5993 | wxPyEndAllowThreads(__tstate); | |
5994 | if (PyErr_Occurred()) SWIG_fail; | |
5995 | } | |
15afbcd0 | 5996 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5997 | return resultobj; |
5998 | fail: | |
5999 | return NULL; | |
6000 | } | |
6001 | ||
6002 | ||
6003 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6004 | PyObject *resultobj; | |
6005 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6006 | int arg2 ; | |
6007 | int arg3 ; | |
6008 | int arg4 = (int) 5 ; | |
6009 | bool result; | |
6010 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6011 | PyObject * obj1 = 0 ; |
6012 | PyObject * obj2 = 0 ; | |
6013 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6014 | char *kwnames[] = { |
6015 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6016 | }; | |
6017 | ||
994141e6 | 6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6021 | arg2 = (int) SWIG_AsInt(obj1); | |
6022 | if (PyErr_Occurred()) SWIG_fail; | |
6023 | arg3 = (int) SWIG_AsInt(obj2); | |
6024 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6025 | if (obj3) { |
15afbcd0 RD |
6026 | arg4 = (int) SWIG_AsInt(obj3); |
6027 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6028 | } |
d14a1e28 RD |
6029 | { |
6030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6031 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6032 | ||
6033 | wxPyEndAllowThreads(__tstate); | |
6034 | if (PyErr_Occurred()) SWIG_fail; | |
6035 | } | |
4f89f6a3 RD |
6036 | { |
6037 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6038 | } | |
d14a1e28 RD |
6039 | return resultobj; |
6040 | fail: | |
6041 | return NULL; | |
6042 | } | |
6043 | ||
6044 | ||
6045 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6046 | PyObject *resultobj; | |
6047 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6048 | PyObject * obj0 = 0 ; | |
6049 | char *kwnames[] = { | |
6050 | (char *) "self", NULL | |
6051 | }; | |
6052 | ||
6053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6056 | { |
6057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6058 | (arg1)->SizeWindows(); | |
6059 | ||
6060 | wxPyEndAllowThreads(__tstate); | |
6061 | if (PyErr_Occurred()) SWIG_fail; | |
6062 | } | |
6063 | Py_INCREF(Py_None); resultobj = Py_None; | |
6064 | return resultobj; | |
6065 | fail: | |
6066 | return NULL; | |
6067 | } | |
6068 | ||
6069 | ||
6070 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6071 | PyObject *resultobj; | |
6072 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6073 | bool arg2 ; | |
6074 | PyObject * obj0 = 0 ; | |
6075 | PyObject * obj1 = 0 ; | |
6076 | char *kwnames[] = { | |
6077 | (char *) "self",(char *) "needUpdating", NULL | |
6078 | }; | |
6079 | ||
6080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6083 | arg2 = (bool) SWIG_AsBool(obj1); | |
6084 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6085 | { |
6086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6087 | (arg1)->SetNeedUpdating(arg2); | |
6088 | ||
6089 | wxPyEndAllowThreads(__tstate); | |
6090 | if (PyErr_Occurred()) SWIG_fail; | |
6091 | } | |
6092 | Py_INCREF(Py_None); resultobj = Py_None; | |
6093 | return resultobj; | |
6094 | fail: | |
6095 | return NULL; | |
6096 | } | |
6097 | ||
6098 | ||
6099 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6100 | PyObject *resultobj; | |
6101 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6102 | bool result; | |
6103 | PyObject * obj0 = 0 ; | |
6104 | char *kwnames[] = { | |
6105 | (char *) "self", NULL | |
6106 | }; | |
6107 | ||
6108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6111 | { |
6112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6113 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6114 | ||
6115 | wxPyEndAllowThreads(__tstate); | |
6116 | if (PyErr_Occurred()) SWIG_fail; | |
6117 | } | |
4f89f6a3 RD |
6118 | { |
6119 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6120 | } | |
d14a1e28 RD |
6121 | return resultobj; |
6122 | fail: | |
6123 | return NULL; | |
6124 | } | |
6125 | ||
6126 | ||
6127 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6128 | PyObject *obj; | |
6129 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6130 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6131 | Py_INCREF(obj); | |
6132 | return Py_BuildValue((char *)""); | |
6133 | } | |
6134 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6135 | PyObject *resultobj; | |
6136 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6137 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6138 | wxSplitterEvent *result; | |
994141e6 | 6139 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6140 | PyObject * obj1 = 0 ; |
6141 | char *kwnames[] = { | |
6142 | (char *) "type",(char *) "splitter", NULL | |
6143 | }; | |
6144 | ||
994141e6 RD |
6145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6146 | if (obj0) { | |
15afbcd0 RD |
6147 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6148 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6149 | } |
d14a1e28 | 6150 | if (obj1) { |
15afbcd0 RD |
6151 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6153 | } |
6154 | { | |
6155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6156 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6157 | ||
6158 | wxPyEndAllowThreads(__tstate); | |
6159 | if (PyErr_Occurred()) SWIG_fail; | |
6160 | } | |
15afbcd0 | 6161 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6162 | return resultobj; |
6163 | fail: | |
6164 | return NULL; | |
6165 | } | |
6166 | ||
6167 | ||
6168 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6169 | PyObject *resultobj; | |
6170 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6171 | int arg2 ; | |
6172 | PyObject * obj0 = 0 ; | |
994141e6 | 6173 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6174 | char *kwnames[] = { |
6175 | (char *) "self",(char *) "pos", NULL | |
6176 | }; | |
6177 | ||
994141e6 | 6178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6179 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6180 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6181 | arg2 = (int) SWIG_AsInt(obj1); | |
6182 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6183 | { |
6184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6185 | (arg1)->SetSashPosition(arg2); | |
6186 | ||
6187 | wxPyEndAllowThreads(__tstate); | |
6188 | if (PyErr_Occurred()) SWIG_fail; | |
6189 | } | |
6190 | Py_INCREF(Py_None); resultobj = Py_None; | |
6191 | return resultobj; | |
6192 | fail: | |
6193 | return NULL; | |
6194 | } | |
6195 | ||
6196 | ||
6197 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6198 | PyObject *resultobj; | |
6199 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6200 | int result; | |
6201 | PyObject * obj0 = 0 ; | |
6202 | char *kwnames[] = { | |
6203 | (char *) "self", NULL | |
6204 | }; | |
6205 | ||
6206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6209 | { |
6210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6211 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6212 | ||
6213 | wxPyEndAllowThreads(__tstate); | |
6214 | if (PyErr_Occurred()) SWIG_fail; | |
6215 | } | |
15afbcd0 | 6216 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6217 | return resultobj; |
6218 | fail: | |
6219 | return NULL; | |
6220 | } | |
6221 | ||
6222 | ||
6223 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6224 | PyObject *resultobj; | |
6225 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6226 | wxWindow *result; | |
6227 | PyObject * obj0 = 0 ; | |
6228 | char *kwnames[] = { | |
6229 | (char *) "self", NULL | |
6230 | }; | |
6231 | ||
6232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6235 | { |
6236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6237 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6238 | ||
6239 | wxPyEndAllowThreads(__tstate); | |
6240 | if (PyErr_Occurred()) SWIG_fail; | |
6241 | } | |
6242 | { | |
6243 | resultobj = wxPyMake_wxObject(result); | |
6244 | } | |
6245 | return resultobj; | |
6246 | fail: | |
6247 | return NULL; | |
6248 | } | |
6249 | ||
6250 | ||
6251 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6252 | PyObject *resultobj; | |
6253 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6254 | int result; | |
6255 | PyObject * obj0 = 0 ; | |
6256 | char *kwnames[] = { | |
6257 | (char *) "self", NULL | |
6258 | }; | |
6259 | ||
6260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6263 | { |
6264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6265 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6266 | ||
6267 | wxPyEndAllowThreads(__tstate); | |
6268 | if (PyErr_Occurred()) SWIG_fail; | |
6269 | } | |
15afbcd0 | 6270 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6271 | return resultobj; |
6272 | fail: | |
6273 | return NULL; | |
6274 | } | |
6275 | ||
6276 | ||
6277 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6278 | PyObject *resultobj; | |
6279 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6280 | int result; | |
6281 | PyObject * obj0 = 0 ; | |
6282 | char *kwnames[] = { | |
6283 | (char *) "self", NULL | |
6284 | }; | |
6285 | ||
6286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6289 | { |
6290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6291 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6292 | ||
6293 | wxPyEndAllowThreads(__tstate); | |
6294 | if (PyErr_Occurred()) SWIG_fail; | |
6295 | } | |
15afbcd0 | 6296 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6297 | return resultobj; |
6298 | fail: | |
6299 | return NULL; | |
6300 | } | |
6301 | ||
6302 | ||
6303 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6304 | PyObject *obj; | |
6305 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6306 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6307 | Py_INCREF(obj); | |
6308 | return Py_BuildValue((char *)""); | |
6309 | } | |
b2dc1044 RD |
6310 | static int _wrap_SashNameStr_set(PyObject *_val) { |
6311 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); | |
6312 | return 1; | |
6313 | } | |
6314 | ||
6315 | ||
6316 | static PyObject *_wrap_SashNameStr_get() { | |
6317 | PyObject *pyobj; | |
6318 | ||
6319 | { | |
6320 | #if wxUSE_UNICODE | |
6321 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6322 | #else | |
6323 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6324 | #endif | |
6325 | } | |
6326 | return pyobj; | |
6327 | } | |
6328 | ||
6329 | ||
6330 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { | |
6331 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); | |
6332 | return 1; | |
6333 | } | |
6334 | ||
6335 | ||
6336 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6337 | PyObject *pyobj; | |
6338 | ||
6339 | { | |
6340 | #if wxUSE_UNICODE | |
6341 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6342 | #else | |
6343 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6344 | #endif | |
6345 | } | |
6346 | return pyobj; | |
6347 | } | |
6348 | ||
6349 | ||
d14a1e28 RD |
6350 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6351 | PyObject *resultobj; | |
6352 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 6353 | int arg2 ; |
d14a1e28 RD |
6354 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6355 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6356 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6357 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6358 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6359 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6360 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6361 | wxSashWindow *result; | |
6362 | wxPoint temp3 ; | |
6363 | wxSize temp4 ; | |
e811c8ce | 6364 | bool temp6 = False ; |
d14a1e28 | 6365 | PyObject * obj0 = 0 ; |
994141e6 | 6366 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6367 | PyObject * obj2 = 0 ; |
6368 | PyObject * obj3 = 0 ; | |
994141e6 | 6369 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6370 | PyObject * obj5 = 0 ; |
6371 | char *kwnames[] = { | |
6372 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6373 | }; | |
6374 | ||
994141e6 | 6375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
6376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6378 | arg2 = (int) SWIG_AsInt(obj1); | |
6379 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6380 | if (obj2) { |
6381 | { | |
6382 | arg3 = &temp3; | |
6383 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6384 | } | |
6385 | } | |
6386 | if (obj3) { | |
6387 | { | |
6388 | arg4 = &temp4; | |
6389 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6390 | } | |
6391 | } | |
994141e6 | 6392 | if (obj4) { |
15afbcd0 RD |
6393 | arg5 = (long) SWIG_AsLong(obj4); |
6394 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6395 | } |
d14a1e28 RD |
6396 | if (obj5) { |
6397 | { | |
6398 | arg6 = wxString_in_helper(obj5); | |
6399 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 6400 | temp6 = True; |
d14a1e28 RD |
6401 | } |
6402 | } | |
6403 | { | |
6404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6405 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6406 | ||
6407 | wxPyEndAllowThreads(__tstate); | |
6408 | if (PyErr_Occurred()) SWIG_fail; | |
6409 | } | |
15afbcd0 | 6410 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6411 | { |
6412 | if (temp6) | |
6413 | delete arg6; | |
6414 | } | |
6415 | return resultobj; | |
6416 | fail: | |
6417 | { | |
6418 | if (temp6) | |
6419 | delete arg6; | |
6420 | } | |
6421 | return NULL; | |
6422 | } | |
6423 | ||
6424 | ||
6425 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6426 | PyObject *resultobj; | |
6427 | wxSashWindow *result; | |
6428 | char *kwnames[] = { | |
6429 | NULL | |
6430 | }; | |
6431 | ||
6432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6433 | { | |
6434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6435 | result = (wxSashWindow *)new wxSashWindow(); | |
6436 | ||
6437 | wxPyEndAllowThreads(__tstate); | |
6438 | if (PyErr_Occurred()) SWIG_fail; | |
6439 | } | |
15afbcd0 | 6440 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6441 | return resultobj; |
6442 | fail: | |
6443 | return NULL; | |
6444 | } | |
6445 | ||
6446 | ||
6447 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6448 | PyObject *resultobj; | |
6449 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6450 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 6451 | int arg3 ; |
d14a1e28 RD |
6452 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6453 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6454 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6455 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6456 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6457 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6458 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6459 | bool result; | |
6460 | wxPoint temp4 ; | |
6461 | wxSize temp5 ; | |
e811c8ce | 6462 | bool temp7 = False ; |
d14a1e28 RD |
6463 | PyObject * obj0 = 0 ; |
6464 | PyObject * obj1 = 0 ; | |
994141e6 | 6465 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6466 | PyObject * obj3 = 0 ; |
6467 | PyObject * obj4 = 0 ; | |
994141e6 | 6468 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6469 | PyObject * obj6 = 0 ; |
6470 | char *kwnames[] = { | |
6471 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6472 | }; | |
6473 | ||
994141e6 | 6474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6477 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6479 | arg3 = (int) SWIG_AsInt(obj2); | |
6480 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6481 | if (obj3) { |
6482 | { | |
6483 | arg4 = &temp4; | |
6484 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6485 | } | |
6486 | } | |
6487 | if (obj4) { | |
6488 | { | |
6489 | arg5 = &temp5; | |
6490 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6491 | } | |
6492 | } | |
994141e6 | 6493 | if (obj5) { |
15afbcd0 RD |
6494 | arg6 = (long) SWIG_AsLong(obj5); |
6495 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 6496 | } |
d14a1e28 RD |
6497 | if (obj6) { |
6498 | { | |
6499 | arg7 = wxString_in_helper(obj6); | |
6500 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 6501 | temp7 = True; |
d14a1e28 RD |
6502 | } |
6503 | } | |
6504 | { | |
6505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6506 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6507 | ||
6508 | wxPyEndAllowThreads(__tstate); | |
6509 | if (PyErr_Occurred()) SWIG_fail; | |
6510 | } | |
4f89f6a3 RD |
6511 | { |
6512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6513 | } | |
d14a1e28 RD |
6514 | { |
6515 | if (temp7) | |
6516 | delete arg7; | |
6517 | } | |
6518 | return resultobj; | |
6519 | fail: | |
6520 | { | |
6521 | if (temp7) | |
6522 | delete arg7; | |
6523 | } | |
6524 | return NULL; | |
6525 | } | |
6526 | ||
6527 | ||
6528 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6529 | PyObject *resultobj; | |
6530 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6531 | int arg2 ; | |
6532 | bool arg3 ; | |
6533 | PyObject * obj0 = 0 ; | |
994141e6 | 6534 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6535 | PyObject * obj2 = 0 ; |
6536 | char *kwnames[] = { | |
6537 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6538 | }; | |
6539 | ||
994141e6 | 6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6541 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6543 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6544 | if (PyErr_Occurred()) SWIG_fail; | |
6545 | arg3 = (bool) SWIG_AsBool(obj2); | |
6546 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6547 | { |
6548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6549 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6550 | ||
6551 | wxPyEndAllowThreads(__tstate); | |
6552 | if (PyErr_Occurred()) SWIG_fail; | |
6553 | } | |
6554 | Py_INCREF(Py_None); resultobj = Py_None; | |
6555 | return resultobj; | |
6556 | fail: | |
6557 | return NULL; | |
6558 | } | |
6559 | ||
6560 | ||
6561 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6562 | PyObject *resultobj; | |
6563 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6564 | int arg2 ; | |
6565 | bool result; | |
6566 | PyObject * obj0 = 0 ; | |
994141e6 | 6567 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6568 | char *kwnames[] = { |
6569 | (char *) "self",(char *) "edge", NULL | |
6570 | }; | |
6571 | ||
994141e6 | 6572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6575 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6576 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6577 | { |
6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6579 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6580 | ||
6581 | wxPyEndAllowThreads(__tstate); | |
6582 | if (PyErr_Occurred()) SWIG_fail; | |
6583 | } | |
4f89f6a3 RD |
6584 | { |
6585 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6586 | } | |
d14a1e28 RD |
6587 | return resultobj; |
6588 | fail: | |
6589 | return NULL; | |
6590 | } | |
6591 | ||
6592 | ||
6593 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6594 | PyObject *resultobj; | |
6595 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6596 | int arg2 ; | |
6597 | bool arg3 ; | |
6598 | PyObject * obj0 = 0 ; | |
994141e6 | 6599 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6600 | PyObject * obj2 = 0 ; |
6601 | char *kwnames[] = { | |
6602 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6603 | }; | |
6604 | ||
994141e6 | 6605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6608 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6609 | if (PyErr_Occurred()) SWIG_fail; | |
6610 | arg3 = (bool) SWIG_AsBool(obj2); | |
6611 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6612 | { |
6613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6614 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6615 | ||
6616 | wxPyEndAllowThreads(__tstate); | |
6617 | if (PyErr_Occurred()) SWIG_fail; | |
6618 | } | |
6619 | Py_INCREF(Py_None); resultobj = Py_None; | |
6620 | return resultobj; | |
6621 | fail: | |
6622 | return NULL; | |
6623 | } | |
6624 | ||
6625 | ||
6626 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6627 | PyObject *resultobj; | |
6628 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6629 | int arg2 ; | |
6630 | bool result; | |
6631 | PyObject * obj0 = 0 ; | |
994141e6 | 6632 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6633 | char *kwnames[] = { |
6634 | (char *) "self",(char *) "edge", NULL | |
6635 | }; | |
6636 | ||
994141e6 | 6637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6640 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6641 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6642 | { |
6643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6644 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6645 | ||
6646 | wxPyEndAllowThreads(__tstate); | |
6647 | if (PyErr_Occurred()) SWIG_fail; | |
6648 | } | |
4f89f6a3 RD |
6649 | { |
6650 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6651 | } | |
d14a1e28 RD |
6652 | return resultobj; |
6653 | fail: | |
6654 | return NULL; | |
6655 | } | |
6656 | ||
6657 | ||
6658 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6659 | PyObject *resultobj; | |
6660 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6661 | int arg2 ; | |
6662 | int result; | |
6663 | PyObject * obj0 = 0 ; | |
994141e6 | 6664 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6665 | char *kwnames[] = { |
6666 | (char *) "self",(char *) "edge", NULL | |
6667 | }; | |
6668 | ||
994141e6 | 6669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6672 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6673 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6674 | { |
6675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6676 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6677 | ||
6678 | wxPyEndAllowThreads(__tstate); | |
6679 | if (PyErr_Occurred()) SWIG_fail; | |
6680 | } | |
15afbcd0 | 6681 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6682 | return resultobj; |
6683 | fail: | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
6688 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6689 | PyObject *resultobj; | |
6690 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6691 | int arg2 ; | |
6692 | PyObject * obj0 = 0 ; | |
994141e6 | 6693 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6694 | char *kwnames[] = { |
6695 | (char *) "self",(char *) "width", NULL | |
6696 | }; | |
6697 | ||
994141e6 | 6698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6699 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6700 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6701 | arg2 = (int) SWIG_AsInt(obj1); | |
6702 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6703 | { |
6704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6705 | (arg1)->SetDefaultBorderSize(arg2); | |
6706 | ||
6707 | wxPyEndAllowThreads(__tstate); | |
6708 | if (PyErr_Occurred()) SWIG_fail; | |
6709 | } | |
6710 | Py_INCREF(Py_None); resultobj = Py_None; | |
6711 | return resultobj; | |
6712 | fail: | |
6713 | return NULL; | |
6714 | } | |
6715 | ||
6716 | ||
6717 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6718 | PyObject *resultobj; | |
6719 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6720 | int result; | |
6721 | PyObject * obj0 = 0 ; | |
6722 | char *kwnames[] = { | |
6723 | (char *) "self", NULL | |
6724 | }; | |
6725 | ||
6726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6729 | { |
6730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6731 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6732 | ||
6733 | wxPyEndAllowThreads(__tstate); | |
6734 | if (PyErr_Occurred()) SWIG_fail; | |
6735 | } | |
15afbcd0 | 6736 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6737 | return resultobj; |
6738 | fail: | |
6739 | return NULL; | |
6740 | } | |
6741 | ||
6742 | ||
6743 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6744 | PyObject *resultobj; | |
6745 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6746 | int arg2 ; | |
6747 | PyObject * obj0 = 0 ; | |
994141e6 | 6748 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6749 | char *kwnames[] = { |
6750 | (char *) "self",(char *) "width", NULL | |
6751 | }; | |
6752 | ||
994141e6 | 6753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6756 | arg2 = (int) SWIG_AsInt(obj1); | |
6757 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6758 | { |
6759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6760 | (arg1)->SetExtraBorderSize(arg2); | |
6761 | ||
6762 | wxPyEndAllowThreads(__tstate); | |
6763 | if (PyErr_Occurred()) SWIG_fail; | |
6764 | } | |
6765 | Py_INCREF(Py_None); resultobj = Py_None; | |
6766 | return resultobj; | |
6767 | fail: | |
6768 | return NULL; | |
6769 | } | |
6770 | ||
6771 | ||
6772 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6773 | PyObject *resultobj; | |
6774 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6775 | int result; | |
6776 | PyObject * obj0 = 0 ; | |
6777 | char *kwnames[] = { | |
6778 | (char *) "self", NULL | |
6779 | }; | |
6780 | ||
6781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6782 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6784 | { |
6785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6786 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6787 | ||
6788 | wxPyEndAllowThreads(__tstate); | |
6789 | if (PyErr_Occurred()) SWIG_fail; | |
6790 | } | |
15afbcd0 | 6791 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6792 | return resultobj; |
6793 | fail: | |
6794 | return NULL; | |
6795 | } | |
6796 | ||
6797 | ||
6798 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6799 | PyObject *resultobj; | |
6800 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6801 | int arg2 ; | |
6802 | PyObject * obj0 = 0 ; | |
994141e6 | 6803 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6804 | char *kwnames[] = { |
6805 | (char *) "self",(char *) "min", NULL | |
6806 | }; | |
6807 | ||
994141e6 | 6808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6809 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6811 | arg2 = (int) SWIG_AsInt(obj1); | |
6812 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6813 | { |
6814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6815 | (arg1)->SetMinimumSizeX(arg2); | |
6816 | ||
6817 | wxPyEndAllowThreads(__tstate); | |
6818 | if (PyErr_Occurred()) SWIG_fail; | |
6819 | } | |
6820 | Py_INCREF(Py_None); resultobj = Py_None; | |
6821 | return resultobj; | |
6822 | fail: | |
6823 | return NULL; | |
6824 | } | |
6825 | ||
6826 | ||
6827 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6828 | PyObject *resultobj; | |
6829 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6830 | int arg2 ; | |
6831 | PyObject * obj0 = 0 ; | |
994141e6 | 6832 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6833 | char *kwnames[] = { |
6834 | (char *) "self",(char *) "min", NULL | |
6835 | }; | |
6836 | ||
994141e6 | 6837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6840 | arg2 = (int) SWIG_AsInt(obj1); | |
6841 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6842 | { |
6843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6844 | (arg1)->SetMinimumSizeY(arg2); | |
6845 | ||
6846 | wxPyEndAllowThreads(__tstate); | |
6847 | if (PyErr_Occurred()) SWIG_fail; | |
6848 | } | |
6849 | Py_INCREF(Py_None); resultobj = Py_None; | |
6850 | return resultobj; | |
6851 | fail: | |
6852 | return NULL; | |
6853 | } | |
6854 | ||
6855 | ||
6856 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6857 | PyObject *resultobj; | |
6858 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6859 | int result; | |
6860 | PyObject * obj0 = 0 ; | |
6861 | char *kwnames[] = { | |
6862 | (char *) "self", NULL | |
6863 | }; | |
6864 | ||
6865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6868 | { |
6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6870 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6871 | ||
6872 | wxPyEndAllowThreads(__tstate); | |
6873 | if (PyErr_Occurred()) SWIG_fail; | |
6874 | } | |
15afbcd0 | 6875 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6876 | return resultobj; |
6877 | fail: | |
6878 | return NULL; | |
6879 | } | |
6880 | ||
6881 | ||
6882 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6883 | PyObject *resultobj; | |
6884 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6885 | int result; | |
6886 | PyObject * obj0 = 0 ; | |
6887 | char *kwnames[] = { | |
6888 | (char *) "self", NULL | |
6889 | }; | |
6890 | ||
6891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6894 | { |
6895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6896 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6897 | ||
6898 | wxPyEndAllowThreads(__tstate); | |
6899 | if (PyErr_Occurred()) SWIG_fail; | |
6900 | } | |
15afbcd0 | 6901 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6902 | return resultobj; |
6903 | fail: | |
6904 | return NULL; | |
6905 | } | |
6906 | ||
6907 | ||
6908 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6909 | PyObject *resultobj; | |
6910 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6911 | int arg2 ; | |
6912 | PyObject * obj0 = 0 ; | |
994141e6 | 6913 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6914 | char *kwnames[] = { |
6915 | (char *) "self",(char *) "max", NULL | |
6916 | }; | |
6917 | ||
994141e6 | 6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6921 | arg2 = (int) SWIG_AsInt(obj1); | |
6922 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6923 | { |
6924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6925 | (arg1)->SetMaximumSizeX(arg2); | |
6926 | ||
6927 | wxPyEndAllowThreads(__tstate); | |
6928 | if (PyErr_Occurred()) SWIG_fail; | |
6929 | } | |
6930 | Py_INCREF(Py_None); resultobj = Py_None; | |
6931 | return resultobj; | |
6932 | fail: | |
6933 | return NULL; | |
6934 | } | |
6935 | ||
6936 | ||
6937 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6938 | PyObject *resultobj; | |
6939 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6940 | int arg2 ; | |
6941 | PyObject * obj0 = 0 ; | |
994141e6 | 6942 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6943 | char *kwnames[] = { |
6944 | (char *) "self",(char *) "max", NULL | |
6945 | }; | |
6946 | ||
994141e6 | 6947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6950 | arg2 = (int) SWIG_AsInt(obj1); | |
6951 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6952 | { |
6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6954 | (arg1)->SetMaximumSizeY(arg2); | |
6955 | ||
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
6959 | Py_INCREF(Py_None); resultobj = Py_None; | |
6960 | return resultobj; | |
6961 | fail: | |
6962 | return NULL; | |
6963 | } | |
6964 | ||
6965 | ||
6966 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6967 | PyObject *resultobj; | |
6968 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6969 | int result; | |
6970 | PyObject * obj0 = 0 ; | |
6971 | char *kwnames[] = { | |
6972 | (char *) "self", NULL | |
6973 | }; | |
6974 | ||
6975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6978 | { |
6979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6980 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6981 | ||
6982 | wxPyEndAllowThreads(__tstate); | |
6983 | if (PyErr_Occurred()) SWIG_fail; | |
6984 | } | |
15afbcd0 | 6985 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6986 | return resultobj; |
6987 | fail: | |
6988 | return NULL; | |
6989 | } | |
6990 | ||
6991 | ||
6992 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6993 | PyObject *resultobj; | |
6994 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6995 | int result; | |
6996 | PyObject * obj0 = 0 ; | |
6997 | char *kwnames[] = { | |
6998 | (char *) "self", NULL | |
6999 | }; | |
7000 | ||
7001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7004 | { |
7005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7006 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7007 | ||
7008 | wxPyEndAllowThreads(__tstate); | |
7009 | if (PyErr_Occurred()) SWIG_fail; | |
7010 | } | |
15afbcd0 | 7011 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7012 | return resultobj; |
7013 | fail: | |
7014 | return NULL; | |
7015 | } | |
7016 | ||
7017 | ||
7018 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7019 | PyObject *resultobj; | |
7020 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7021 | int arg2 ; | |
7022 | int arg3 ; | |
7023 | int arg4 = (int) 2 ; | |
7024 | int result; | |
7025 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7026 | PyObject * obj1 = 0 ; |
7027 | PyObject * obj2 = 0 ; | |
7028 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7029 | char *kwnames[] = { |
7030 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7031 | }; | |
7032 | ||
994141e6 | 7033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7036 | arg2 = (int) SWIG_AsInt(obj1); | |
7037 | if (PyErr_Occurred()) SWIG_fail; | |
7038 | arg3 = (int) SWIG_AsInt(obj2); | |
7039 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7040 | if (obj3) { |
15afbcd0 RD |
7041 | arg4 = (int) SWIG_AsInt(obj3); |
7042 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7043 | } |
d14a1e28 RD |
7044 | { |
7045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7046 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7047 | ||
7048 | wxPyEndAllowThreads(__tstate); | |
7049 | if (PyErr_Occurred()) SWIG_fail; | |
7050 | } | |
15afbcd0 | 7051 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7052 | return resultobj; |
7053 | fail: | |
7054 | return NULL; | |
7055 | } | |
7056 | ||
7057 | ||
7058 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7059 | PyObject *resultobj; | |
7060 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7061 | PyObject * obj0 = 0 ; | |
7062 | char *kwnames[] = { | |
7063 | (char *) "self", NULL | |
7064 | }; | |
7065 | ||
7066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7069 | { |
7070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7071 | (arg1)->SizeWindows(); | |
7072 | ||
7073 | wxPyEndAllowThreads(__tstate); | |
7074 | if (PyErr_Occurred()) SWIG_fail; | |
7075 | } | |
7076 | Py_INCREF(Py_None); resultobj = Py_None; | |
7077 | return resultobj; | |
7078 | fail: | |
7079 | return NULL; | |
7080 | } | |
7081 | ||
7082 | ||
7083 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7084 | PyObject *obj; | |
7085 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7086 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7087 | Py_INCREF(obj); | |
7088 | return Py_BuildValue((char *)""); | |
7089 | } | |
7090 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7091 | PyObject *resultobj; | |
7092 | int arg1 = (int) 0 ; | |
7093 | int arg2 = (int) wxSASH_NONE ; | |
7094 | wxSashEvent *result; | |
994141e6 RD |
7095 | PyObject * obj0 = 0 ; |
7096 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7097 | char *kwnames[] = { |
7098 | (char *) "id",(char *) "edge", NULL | |
7099 | }; | |
7100 | ||
994141e6 RD |
7101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7102 | if (obj0) { | |
15afbcd0 RD |
7103 | arg1 = (int) SWIG_AsInt(obj0); |
7104 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
7105 | } |
7106 | if (obj1) { | |
15afbcd0 RD |
7107 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7108 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7109 | } |
d14a1e28 RD |
7110 | { |
7111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7112 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7113 | ||
7114 | wxPyEndAllowThreads(__tstate); | |
7115 | if (PyErr_Occurred()) SWIG_fail; | |
7116 | } | |
15afbcd0 | 7117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7118 | return resultobj; |
7119 | fail: | |
7120 | return NULL; | |
7121 | } | |
7122 | ||
7123 | ||
7124 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7125 | PyObject *resultobj; | |
7126 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7127 | int arg2 ; | |
7128 | PyObject * obj0 = 0 ; | |
994141e6 | 7129 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7130 | char *kwnames[] = { |
7131 | (char *) "self",(char *) "edge", NULL | |
7132 | }; | |
7133 | ||
994141e6 | 7134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7137 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7138 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7139 | { |
7140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7141 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7142 | ||
7143 | wxPyEndAllowThreads(__tstate); | |
7144 | if (PyErr_Occurred()) SWIG_fail; | |
7145 | } | |
7146 | Py_INCREF(Py_None); resultobj = Py_None; | |
7147 | return resultobj; | |
7148 | fail: | |
7149 | return NULL; | |
7150 | } | |
7151 | ||
7152 | ||
7153 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7154 | PyObject *resultobj; | |
7155 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7156 | int result; | |
7157 | PyObject * obj0 = 0 ; | |
7158 | char *kwnames[] = { | |
7159 | (char *) "self", NULL | |
7160 | }; | |
7161 | ||
7162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7165 | { |
7166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7167 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7168 | ||
7169 | wxPyEndAllowThreads(__tstate); | |
7170 | if (PyErr_Occurred()) SWIG_fail; | |
7171 | } | |
15afbcd0 | 7172 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7173 | return resultobj; |
7174 | fail: | |
7175 | return NULL; | |
7176 | } | |
7177 | ||
7178 | ||
7179 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7180 | PyObject *resultobj; | |
7181 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7182 | wxRect *arg2 = 0 ; | |
7183 | wxRect temp2 ; | |
7184 | PyObject * obj0 = 0 ; | |
7185 | PyObject * obj1 = 0 ; | |
7186 | char *kwnames[] = { | |
7187 | (char *) "self",(char *) "rect", NULL | |
7188 | }; | |
7189 | ||
7190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7193 | { |
7194 | arg2 = &temp2; | |
7195 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7196 | } | |
7197 | { | |
7198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7199 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7200 | ||
7201 | wxPyEndAllowThreads(__tstate); | |
7202 | if (PyErr_Occurred()) SWIG_fail; | |
7203 | } | |
7204 | Py_INCREF(Py_None); resultobj = Py_None; | |
7205 | return resultobj; | |
7206 | fail: | |
7207 | return NULL; | |
7208 | } | |
7209 | ||
7210 | ||
7211 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7212 | PyObject *resultobj; | |
7213 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7214 | wxRect result; | |
7215 | PyObject * obj0 = 0 ; | |
7216 | char *kwnames[] = { | |
7217 | (char *) "self", NULL | |
7218 | }; | |
7219 | ||
7220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7221 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7222 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7223 | { |
7224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7225 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7226 | ||
7227 | wxPyEndAllowThreads(__tstate); | |
7228 | if (PyErr_Occurred()) SWIG_fail; | |
7229 | } | |
7230 | { | |
7231 | wxRect * resultptr; | |
7232 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7233 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7234 | } |
7235 | return resultobj; | |
7236 | fail: | |
7237 | return NULL; | |
7238 | } | |
7239 | ||
7240 | ||
7241 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7242 | PyObject *resultobj; | |
7243 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7244 | int arg2 ; | |
7245 | PyObject * obj0 = 0 ; | |
994141e6 | 7246 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7247 | char *kwnames[] = { |
7248 | (char *) "self",(char *) "status", NULL | |
7249 | }; | |
7250 | ||
994141e6 | 7251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7254 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7255 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7256 | { |
7257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7258 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7259 | ||
7260 | wxPyEndAllowThreads(__tstate); | |
7261 | if (PyErr_Occurred()) SWIG_fail; | |
7262 | } | |
7263 | Py_INCREF(Py_None); resultobj = Py_None; | |
7264 | return resultobj; | |
7265 | fail: | |
7266 | return NULL; | |
7267 | } | |
7268 | ||
7269 | ||
7270 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7271 | PyObject *resultobj; | |
7272 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7273 | int result; | |
7274 | PyObject * obj0 = 0 ; | |
7275 | char *kwnames[] = { | |
7276 | (char *) "self", NULL | |
7277 | }; | |
7278 | ||
7279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7282 | { |
7283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7284 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7285 | ||
7286 | wxPyEndAllowThreads(__tstate); | |
7287 | if (PyErr_Occurred()) SWIG_fail; | |
7288 | } | |
15afbcd0 | 7289 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7290 | return resultobj; |
7291 | fail: | |
7292 | return NULL; | |
7293 | } | |
7294 | ||
7295 | ||
7296 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7297 | PyObject *obj; | |
7298 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7299 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7300 | Py_INCREF(obj); | |
7301 | return Py_BuildValue((char *)""); | |
7302 | } | |
7303 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7304 | PyObject *resultobj; | |
e811c8ce | 7305 | int arg1 = (int) 0 ; |
d14a1e28 | 7306 | wxQueryLayoutInfoEvent *result; |
994141e6 | 7307 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7308 | char *kwnames[] = { |
7309 | (char *) "id", NULL | |
7310 | }; | |
7311 | ||
994141e6 RD |
7312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7313 | if (obj0) { | |
15afbcd0 RD |
7314 | arg1 = (int) SWIG_AsInt(obj0); |
7315 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7316 | } |
d14a1e28 RD |
7317 | { |
7318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7319 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7320 | ||
7321 | wxPyEndAllowThreads(__tstate); | |
7322 | if (PyErr_Occurred()) SWIG_fail; | |
7323 | } | |
15afbcd0 | 7324 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7325 | return resultobj; |
7326 | fail: | |
7327 | return NULL; | |
7328 | } | |
7329 | ||
7330 | ||
7331 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7332 | PyObject *resultobj; | |
7333 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7334 | int arg2 ; | |
7335 | PyObject * obj0 = 0 ; | |
994141e6 | 7336 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7337 | char *kwnames[] = { |
7338 | (char *) "self",(char *) "length", NULL | |
7339 | }; | |
7340 | ||
994141e6 | 7341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7344 | arg2 = (int) SWIG_AsInt(obj1); | |
7345 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7346 | { |
7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7348 | (arg1)->SetRequestedLength(arg2); | |
7349 | ||
7350 | wxPyEndAllowThreads(__tstate); | |
7351 | if (PyErr_Occurred()) SWIG_fail; | |
7352 | } | |
7353 | Py_INCREF(Py_None); resultobj = Py_None; | |
7354 | return resultobj; | |
7355 | fail: | |
7356 | return NULL; | |
7357 | } | |
7358 | ||
7359 | ||
7360 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7361 | PyObject *resultobj; | |
7362 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7363 | int result; | |
7364 | PyObject * obj0 = 0 ; | |
7365 | char *kwnames[] = { | |
7366 | (char *) "self", NULL | |
7367 | }; | |
7368 | ||
7369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7372 | { |
7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7374 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7375 | ||
7376 | wxPyEndAllowThreads(__tstate); | |
7377 | if (PyErr_Occurred()) SWIG_fail; | |
7378 | } | |
15afbcd0 | 7379 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7380 | return resultobj; |
7381 | fail: | |
7382 | return NULL; | |
7383 | } | |
7384 | ||
7385 | ||
7386 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7387 | PyObject *resultobj; | |
7388 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7389 | int arg2 ; | |
7390 | PyObject * obj0 = 0 ; | |
994141e6 | 7391 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7392 | char *kwnames[] = { |
7393 | (char *) "self",(char *) "flags", NULL | |
7394 | }; | |
7395 | ||
994141e6 | 7396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7399 | arg2 = (int) SWIG_AsInt(obj1); | |
7400 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7401 | { |
7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7403 | (arg1)->SetFlags(arg2); | |
7404 | ||
7405 | wxPyEndAllowThreads(__tstate); | |
7406 | if (PyErr_Occurred()) SWIG_fail; | |
7407 | } | |
7408 | Py_INCREF(Py_None); resultobj = Py_None; | |
7409 | return resultobj; | |
7410 | fail: | |
7411 | return NULL; | |
7412 | } | |
7413 | ||
7414 | ||
7415 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7416 | PyObject *resultobj; | |
7417 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7418 | int result; | |
7419 | PyObject * obj0 = 0 ; | |
7420 | char *kwnames[] = { | |
7421 | (char *) "self", NULL | |
7422 | }; | |
7423 | ||
7424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7427 | { |
7428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7429 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7430 | ||
7431 | wxPyEndAllowThreads(__tstate); | |
7432 | if (PyErr_Occurred()) SWIG_fail; | |
7433 | } | |
15afbcd0 | 7434 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7435 | return resultobj; |
7436 | fail: | |
7437 | return NULL; | |
7438 | } | |
7439 | ||
7440 | ||
7441 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7442 | PyObject *resultobj; | |
7443 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7444 | wxSize *arg2 = 0 ; | |
7445 | wxSize temp2 ; | |
7446 | PyObject * obj0 = 0 ; | |
7447 | PyObject * obj1 = 0 ; | |
7448 | char *kwnames[] = { | |
7449 | (char *) "self",(char *) "size", NULL | |
7450 | }; | |
7451 | ||
7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7455 | { |
7456 | arg2 = &temp2; | |
7457 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7458 | } | |
7459 | { | |
7460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7461 | (arg1)->SetSize((wxSize const &)*arg2); | |
7462 | ||
7463 | wxPyEndAllowThreads(__tstate); | |
7464 | if (PyErr_Occurred()) SWIG_fail; | |
7465 | } | |
7466 | Py_INCREF(Py_None); resultobj = Py_None; | |
7467 | return resultobj; | |
7468 | fail: | |
7469 | return NULL; | |
7470 | } | |
7471 | ||
7472 | ||
7473 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7474 | PyObject *resultobj; | |
7475 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7476 | wxSize result; | |
7477 | PyObject * obj0 = 0 ; | |
7478 | char *kwnames[] = { | |
7479 | (char *) "self", NULL | |
7480 | }; | |
7481 | ||
7482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7485 | { |
7486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7487 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7488 | ||
7489 | wxPyEndAllowThreads(__tstate); | |
7490 | if (PyErr_Occurred()) SWIG_fail; | |
7491 | } | |
7492 | { | |
7493 | wxSize * resultptr; | |
7494 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 7495 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7496 | } |
7497 | return resultobj; | |
7498 | fail: | |
7499 | return NULL; | |
7500 | } | |
7501 | ||
7502 | ||
7503 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7504 | PyObject *resultobj; | |
7505 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7506 | int arg2 ; | |
7507 | PyObject * obj0 = 0 ; | |
994141e6 | 7508 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7509 | char *kwnames[] = { |
7510 | (char *) "self",(char *) "orient", NULL | |
7511 | }; | |
7512 | ||
994141e6 | 7513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7516 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7517 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7518 | { |
7519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7520 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7521 | ||
7522 | wxPyEndAllowThreads(__tstate); | |
7523 | if (PyErr_Occurred()) SWIG_fail; | |
7524 | } | |
7525 | Py_INCREF(Py_None); resultobj = Py_None; | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | return NULL; | |
7529 | } | |
7530 | ||
7531 | ||
7532 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7533 | PyObject *resultobj; | |
7534 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7535 | int result; | |
7536 | PyObject * obj0 = 0 ; | |
7537 | char *kwnames[] = { | |
7538 | (char *) "self", NULL | |
7539 | }; | |
7540 | ||
7541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7544 | { |
7545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7546 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7547 | ||
7548 | wxPyEndAllowThreads(__tstate); | |
7549 | if (PyErr_Occurred()) SWIG_fail; | |
7550 | } | |
15afbcd0 | 7551 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7552 | return resultobj; |
7553 | fail: | |
7554 | return NULL; | |
7555 | } | |
7556 | ||
7557 | ||
7558 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7559 | PyObject *resultobj; | |
7560 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7561 | int arg2 ; | |
7562 | PyObject * obj0 = 0 ; | |
994141e6 | 7563 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7564 | char *kwnames[] = { |
7565 | (char *) "self",(char *) "align", NULL | |
7566 | }; | |
7567 | ||
994141e6 | 7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7569 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7570 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7571 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7572 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7573 | { |
7574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7575 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7576 | ||
7577 | wxPyEndAllowThreads(__tstate); | |
7578 | if (PyErr_Occurred()) SWIG_fail; | |
7579 | } | |
7580 | Py_INCREF(Py_None); resultobj = Py_None; | |
7581 | return resultobj; | |
7582 | fail: | |
7583 | return NULL; | |
7584 | } | |
7585 | ||
7586 | ||
7587 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7588 | PyObject *resultobj; | |
7589 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7590 | int result; | |
7591 | PyObject * obj0 = 0 ; | |
7592 | char *kwnames[] = { | |
7593 | (char *) "self", NULL | |
7594 | }; | |
7595 | ||
7596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7599 | { |
7600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7601 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7602 | ||
7603 | wxPyEndAllowThreads(__tstate); | |
7604 | if (PyErr_Occurred()) SWIG_fail; | |
7605 | } | |
15afbcd0 | 7606 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7607 | return resultobj; |
7608 | fail: | |
7609 | return NULL; | |
7610 | } | |
7611 | ||
7612 | ||
7613 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7614 | PyObject *obj; | |
7615 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7616 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7617 | Py_INCREF(obj); | |
7618 | return Py_BuildValue((char *)""); | |
7619 | } | |
7620 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7621 | PyObject *resultobj; | |
e811c8ce | 7622 | int arg1 = (int) 0 ; |
d14a1e28 | 7623 | wxCalculateLayoutEvent *result; |
994141e6 | 7624 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7625 | char *kwnames[] = { |
7626 | (char *) "id", NULL | |
7627 | }; | |
7628 | ||
994141e6 RD |
7629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7630 | if (obj0) { | |
15afbcd0 RD |
7631 | arg1 = (int) SWIG_AsInt(obj0); |
7632 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7633 | } |
d14a1e28 RD |
7634 | { |
7635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7636 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7637 | ||
7638 | wxPyEndAllowThreads(__tstate); | |
7639 | if (PyErr_Occurred()) SWIG_fail; | |
7640 | } | |
15afbcd0 | 7641 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7642 | return resultobj; |
7643 | fail: | |
7644 | return NULL; | |
7645 | } | |
7646 | ||
7647 | ||
7648 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7649 | PyObject *resultobj; | |
7650 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7651 | int arg2 ; | |
7652 | PyObject * obj0 = 0 ; | |
994141e6 | 7653 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7654 | char *kwnames[] = { |
7655 | (char *) "self",(char *) "flags", NULL | |
7656 | }; | |
7657 | ||
994141e6 | 7658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7661 | arg2 = (int) SWIG_AsInt(obj1); | |
7662 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7663 | { |
7664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7665 | (arg1)->SetFlags(arg2); | |
7666 | ||
7667 | wxPyEndAllowThreads(__tstate); | |
7668 | if (PyErr_Occurred()) SWIG_fail; | |
7669 | } | |
7670 | Py_INCREF(Py_None); resultobj = Py_None; | |
7671 | return resultobj; | |
7672 | fail: | |
7673 | return NULL; | |
7674 | } | |
7675 | ||
7676 | ||
7677 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7678 | PyObject *resultobj; | |
7679 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7680 | int result; | |
7681 | PyObject * obj0 = 0 ; | |
7682 | char *kwnames[] = { | |
7683 | (char *) "self", NULL | |
7684 | }; | |
7685 | ||
7686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7689 | { |
7690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7691 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7692 | ||
7693 | wxPyEndAllowThreads(__tstate); | |
7694 | if (PyErr_Occurred()) SWIG_fail; | |
7695 | } | |
15afbcd0 | 7696 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7697 | return resultobj; |
7698 | fail: | |
7699 | return NULL; | |
7700 | } | |
7701 | ||
7702 | ||
7703 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7704 | PyObject *resultobj; | |
7705 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7706 | wxRect *arg2 = 0 ; | |
7707 | wxRect temp2 ; | |
7708 | PyObject * obj0 = 0 ; | |
7709 | PyObject * obj1 = 0 ; | |
7710 | char *kwnames[] = { | |
7711 | (char *) "self",(char *) "rect", NULL | |
7712 | }; | |
7713 | ||
7714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7717 | { |
7718 | arg2 = &temp2; | |
7719 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7720 | } | |
7721 | { | |
7722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7723 | (arg1)->SetRect((wxRect const &)*arg2); | |
7724 | ||
7725 | wxPyEndAllowThreads(__tstate); | |
7726 | if (PyErr_Occurred()) SWIG_fail; | |
7727 | } | |
7728 | Py_INCREF(Py_None); resultobj = Py_None; | |
7729 | return resultobj; | |
7730 | fail: | |
7731 | return NULL; | |
7732 | } | |
7733 | ||
7734 | ||
7735 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7736 | PyObject *resultobj; | |
7737 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7738 | wxRect result; | |
7739 | PyObject * obj0 = 0 ; | |
7740 | char *kwnames[] = { | |
7741 | (char *) "self", NULL | |
7742 | }; | |
7743 | ||
7744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7747 | { |
7748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7749 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7750 | ||
7751 | wxPyEndAllowThreads(__tstate); | |
7752 | if (PyErr_Occurred()) SWIG_fail; | |
7753 | } | |
7754 | { | |
7755 | wxRect * resultptr; | |
7756 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 7757 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7758 | } |
7759 | return resultobj; | |
7760 | fail: | |
7761 | return NULL; | |
7762 | } | |
7763 | ||
7764 | ||
7765 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7766 | PyObject *obj; | |
7767 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7768 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7769 | Py_INCREF(obj); | |
7770 | return Py_BuildValue((char *)""); | |
7771 | } | |
7772 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7773 | PyObject *resultobj; | |
7774 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 7775 | int arg2 ; |
d14a1e28 RD |
7776 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7777 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7778 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7779 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7780 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7781 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7782 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7783 | wxSashLayoutWindow *result; | |
7784 | wxPoint temp3 ; | |
7785 | wxSize temp4 ; | |
e811c8ce | 7786 | bool temp6 = False ; |
d14a1e28 | 7787 | PyObject * obj0 = 0 ; |
994141e6 | 7788 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7789 | PyObject * obj2 = 0 ; |
7790 | PyObject * obj3 = 0 ; | |
994141e6 | 7791 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7792 | PyObject * obj5 = 0 ; |
7793 | char *kwnames[] = { | |
7794 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7795 | }; | |
7796 | ||
994141e6 | 7797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7798 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7800 | arg2 = (int) SWIG_AsInt(obj1); | |
7801 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7802 | if (obj2) { |
7803 | { | |
7804 | arg3 = &temp3; | |
7805 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7806 | } | |
7807 | } | |
7808 | if (obj3) { | |
7809 | { | |
7810 | arg4 = &temp4; | |
7811 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7812 | } | |
7813 | } | |
994141e6 | 7814 | if (obj4) { |
15afbcd0 RD |
7815 | arg5 = (long) SWIG_AsLong(obj4); |
7816 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7817 | } |
d14a1e28 RD |
7818 | if (obj5) { |
7819 | { | |
7820 | arg6 = wxString_in_helper(obj5); | |
7821 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 7822 | temp6 = True; |
d14a1e28 RD |
7823 | } |
7824 | } | |
7825 | { | |
7826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7827 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7828 | ||
7829 | wxPyEndAllowThreads(__tstate); | |
7830 | if (PyErr_Occurred()) SWIG_fail; | |
7831 | } | |
15afbcd0 | 7832 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7833 | { |
7834 | if (temp6) | |
7835 | delete arg6; | |
7836 | } | |
7837 | return resultobj; | |
7838 | fail: | |
7839 | { | |
7840 | if (temp6) | |
7841 | delete arg6; | |
7842 | } | |
7843 | return NULL; | |
7844 | } | |
7845 | ||
7846 | ||
7847 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7848 | PyObject *resultobj; | |
7849 | wxSashLayoutWindow *result; | |
7850 | char *kwnames[] = { | |
7851 | NULL | |
7852 | }; | |
7853 | ||
7854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7855 | { | |
7856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7857 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7858 | ||
7859 | wxPyEndAllowThreads(__tstate); | |
7860 | if (PyErr_Occurred()) SWIG_fail; | |
7861 | } | |
15afbcd0 | 7862 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7863 | return resultobj; |
7864 | fail: | |
7865 | return NULL; | |
7866 | } | |
7867 | ||
7868 | ||
7869 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7870 | PyObject *resultobj; | |
7871 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7872 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 7873 | int arg3 ; |
d14a1e28 RD |
7874 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7875 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7876 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7877 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7878 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7879 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7880 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7881 | bool result; | |
7882 | wxPoint temp4 ; | |
7883 | wxSize temp5 ; | |
e811c8ce | 7884 | bool temp7 = False ; |
d14a1e28 RD |
7885 | PyObject * obj0 = 0 ; |
7886 | PyObject * obj1 = 0 ; | |
994141e6 | 7887 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7888 | PyObject * obj3 = 0 ; |
7889 | PyObject * obj4 = 0 ; | |
994141e6 | 7890 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7891 | PyObject * obj6 = 0 ; |
7892 | char *kwnames[] = { | |
7893 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7894 | }; | |
7895 | ||
994141e6 | 7896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
7897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7899 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7901 | arg3 = (int) SWIG_AsInt(obj2); | |
7902 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7903 | if (obj3) { |
7904 | { | |
7905 | arg4 = &temp4; | |
7906 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7907 | } | |
7908 | } | |
7909 | if (obj4) { | |
7910 | { | |
7911 | arg5 = &temp5; | |
7912 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7913 | } | |
7914 | } | |
994141e6 | 7915 | if (obj5) { |
15afbcd0 RD |
7916 | arg6 = (long) SWIG_AsLong(obj5); |
7917 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 7918 | } |
d14a1e28 RD |
7919 | if (obj6) { |
7920 | { | |
7921 | arg7 = wxString_in_helper(obj6); | |
7922 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 7923 | temp7 = True; |
d14a1e28 RD |
7924 | } |
7925 | } | |
7926 | { | |
7927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7928 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7929 | ||
7930 | wxPyEndAllowThreads(__tstate); | |
7931 | if (PyErr_Occurred()) SWIG_fail; | |
7932 | } | |
4f89f6a3 RD |
7933 | { |
7934 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7935 | } | |
d14a1e28 RD |
7936 | { |
7937 | if (temp7) | |
7938 | delete arg7; | |
7939 | } | |
7940 | return resultobj; | |
7941 | fail: | |
7942 | { | |
7943 | if (temp7) | |
7944 | delete arg7; | |
7945 | } | |
7946 | return NULL; | |
7947 | } | |
7948 | ||
7949 | ||
7950 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7951 | PyObject *resultobj; | |
7952 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7953 | int result; | |
7954 | PyObject * obj0 = 0 ; | |
7955 | char *kwnames[] = { | |
7956 | (char *) "self", NULL | |
7957 | }; | |
7958 | ||
7959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7962 | { |
7963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7964 | result = (int)(arg1)->GetAlignment(); | |
7965 | ||
7966 | wxPyEndAllowThreads(__tstate); | |
7967 | if (PyErr_Occurred()) SWIG_fail; | |
7968 | } | |
15afbcd0 | 7969 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7970 | return resultobj; |
7971 | fail: | |
7972 | return NULL; | |
7973 | } | |
7974 | ||
7975 | ||
7976 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7977 | PyObject *resultobj; | |
7978 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7979 | int result; | |
7980 | PyObject * obj0 = 0 ; | |
7981 | char *kwnames[] = { | |
7982 | (char *) "self", NULL | |
7983 | }; | |
7984 | ||
7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7986 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7988 | { |
7989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7990 | result = (int)(arg1)->GetOrientation(); | |
7991 | ||
7992 | wxPyEndAllowThreads(__tstate); | |
7993 | if (PyErr_Occurred()) SWIG_fail; | |
7994 | } | |
15afbcd0 | 7995 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7996 | return resultobj; |
7997 | fail: | |
7998 | return NULL; | |
7999 | } | |
8000 | ||
8001 | ||
8002 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8003 | PyObject *resultobj; | |
8004 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8005 | int arg2 ; | |
8006 | PyObject * obj0 = 0 ; | |
994141e6 | 8007 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8008 | char *kwnames[] = { |
8009 | (char *) "self",(char *) "alignment", NULL | |
8010 | }; | |
8011 | ||
994141e6 | 8012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8015 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8016 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8017 | { |
8018 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8019 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8020 | ||
8021 | wxPyEndAllowThreads(__tstate); | |
8022 | if (PyErr_Occurred()) SWIG_fail; | |
8023 | } | |
8024 | Py_INCREF(Py_None); resultobj = Py_None; | |
8025 | return resultobj; | |
8026 | fail: | |
8027 | return NULL; | |
8028 | } | |
8029 | ||
8030 | ||
8031 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8032 | PyObject *resultobj; | |
8033 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8034 | wxSize *arg2 = 0 ; | |
8035 | wxSize temp2 ; | |
8036 | PyObject * obj0 = 0 ; | |
8037 | PyObject * obj1 = 0 ; | |
8038 | char *kwnames[] = { | |
8039 | (char *) "self",(char *) "size", NULL | |
8040 | }; | |
8041 | ||
8042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8045 | { |
8046 | arg2 = &temp2; | |
8047 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8048 | } | |
8049 | { | |
8050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8051 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8052 | ||
8053 | wxPyEndAllowThreads(__tstate); | |
8054 | if (PyErr_Occurred()) SWIG_fail; | |
8055 | } | |
8056 | Py_INCREF(Py_None); resultobj = Py_None; | |
8057 | return resultobj; | |
8058 | fail: | |
8059 | return NULL; | |
8060 | } | |
8061 | ||
8062 | ||
8063 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8064 | PyObject *resultobj; | |
8065 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8066 | int arg2 ; | |
8067 | PyObject * obj0 = 0 ; | |
994141e6 | 8068 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8069 | char *kwnames[] = { |
8070 | (char *) "self",(char *) "orientation", NULL | |
8071 | }; | |
8072 | ||
994141e6 | 8073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8076 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8077 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8078 | { |
8079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8080 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8081 | ||
8082 | wxPyEndAllowThreads(__tstate); | |
8083 | if (PyErr_Occurred()) SWIG_fail; | |
8084 | } | |
8085 | Py_INCREF(Py_None); resultobj = Py_None; | |
8086 | return resultobj; | |
8087 | fail: | |
8088 | return NULL; | |
8089 | } | |
8090 | ||
8091 | ||
8092 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8093 | PyObject *obj; | |
8094 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8095 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8096 | Py_INCREF(obj); | |
8097 | return Py_BuildValue((char *)""); | |
8098 | } | |
8099 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8100 | PyObject *resultobj; | |
8101 | wxLayoutAlgorithm *result; | |
8102 | char *kwnames[] = { | |
8103 | NULL | |
8104 | }; | |
8105 | ||
8106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8107 | { | |
8108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8109 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8110 | ||
8111 | wxPyEndAllowThreads(__tstate); | |
8112 | if (PyErr_Occurred()) SWIG_fail; | |
8113 | } | |
15afbcd0 | 8114 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8115 | return resultobj; |
8116 | fail: | |
8117 | return NULL; | |
8118 | } | |
8119 | ||
8120 | ||
8121 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8122 | PyObject *resultobj; | |
8123 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8124 | PyObject * obj0 = 0 ; | |
8125 | char *kwnames[] = { | |
8126 | (char *) "self", NULL | |
8127 | }; | |
8128 | ||
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8132 | { |
8133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8134 | delete arg1; | |
8135 | ||
8136 | wxPyEndAllowThreads(__tstate); | |
8137 | if (PyErr_Occurred()) SWIG_fail; | |
8138 | } | |
8139 | Py_INCREF(Py_None); resultobj = Py_None; | |
8140 | return resultobj; | |
8141 | fail: | |
8142 | return NULL; | |
8143 | } | |
8144 | ||
8145 | ||
8146 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8147 | PyObject *resultobj; | |
8148 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8149 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8150 | wxRect *arg3 = (wxRect *) NULL ; | |
8151 | bool result; | |
8152 | PyObject * obj0 = 0 ; | |
8153 | PyObject * obj1 = 0 ; | |
8154 | PyObject * obj2 = 0 ; | |
8155 | char *kwnames[] = { | |
8156 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8157 | }; | |
8158 | ||
8159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8162 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8164 | if (obj2) { |
15afbcd0 RD |
8165 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8167 | } |
8168 | { | |
8169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8170 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8171 | ||
8172 | wxPyEndAllowThreads(__tstate); | |
8173 | if (PyErr_Occurred()) SWIG_fail; | |
8174 | } | |
4f89f6a3 RD |
8175 | { |
8176 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8177 | } | |
d14a1e28 RD |
8178 | return resultobj; |
8179 | fail: | |
8180 | return NULL; | |
8181 | } | |
8182 | ||
8183 | ||
8184 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8185 | PyObject *resultobj; | |
8186 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8187 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8188 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8189 | bool result; | |
8190 | PyObject * obj0 = 0 ; | |
8191 | PyObject * obj1 = 0 ; | |
8192 | PyObject * obj2 = 0 ; | |
8193 | char *kwnames[] = { | |
8194 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8195 | }; | |
8196 | ||
8197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8200 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8202 | if (obj2) { |
15afbcd0 RD |
8203 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8205 | } |
8206 | { | |
8207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8208 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8209 | ||
8210 | wxPyEndAllowThreads(__tstate); | |
8211 | if (PyErr_Occurred()) SWIG_fail; | |
8212 | } | |
4f89f6a3 RD |
8213 | { |
8214 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8215 | } | |
d14a1e28 RD |
8216 | return resultobj; |
8217 | fail: | |
8218 | return NULL; | |
8219 | } | |
8220 | ||
8221 | ||
8222 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8223 | PyObject *resultobj; | |
8224 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8225 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8226 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8227 | bool result; | |
8228 | PyObject * obj0 = 0 ; | |
8229 | PyObject * obj1 = 0 ; | |
8230 | PyObject * obj2 = 0 ; | |
8231 | char *kwnames[] = { | |
8232 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8233 | }; | |
8234 | ||
8235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8238 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8240 | if (obj2) { |
15afbcd0 RD |
8241 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8243 | } |
8244 | { | |
8245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8246 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8247 | ||
8248 | wxPyEndAllowThreads(__tstate); | |
8249 | if (PyErr_Occurred()) SWIG_fail; | |
8250 | } | |
4f89f6a3 RD |
8251 | { |
8252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8253 | } | |
d14a1e28 RD |
8254 | return resultobj; |
8255 | fail: | |
8256 | return NULL; | |
8257 | } | |
8258 | ||
8259 | ||
8260 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8261 | PyObject *obj; | |
8262 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8263 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8264 | Py_INCREF(obj); | |
8265 | return Py_BuildValue((char *)""); | |
8266 | } | |
8267 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8268 | PyObject *resultobj; | |
8269 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8270 | int arg2 = (int) wxBORDER_NONE ; | |
8271 | wxPopupWindow *result; | |
8272 | PyObject * obj0 = 0 ; | |
994141e6 | 8273 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8274 | char *kwnames[] = { |
8275 | (char *) "parent",(char *) "flags", NULL | |
8276 | }; | |
8277 | ||
994141e6 | 8278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8281 | if (obj1) { |
15afbcd0 RD |
8282 | arg2 = (int) SWIG_AsInt(obj1); |
8283 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8284 | } |
d14a1e28 RD |
8285 | { |
8286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8287 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8288 | ||
8289 | wxPyEndAllowThreads(__tstate); | |
8290 | if (PyErr_Occurred()) SWIG_fail; | |
8291 | } | |
15afbcd0 | 8292 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8293 | return resultobj; |
8294 | fail: | |
8295 | return NULL; | |
8296 | } | |
8297 | ||
8298 | ||
8299 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8300 | PyObject *resultobj; | |
8301 | wxPopupWindow *result; | |
8302 | char *kwnames[] = { | |
8303 | NULL | |
8304 | }; | |
8305 | ||
8306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8307 | { | |
8308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8309 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8310 | ||
8311 | wxPyEndAllowThreads(__tstate); | |
8312 | if (PyErr_Occurred()) SWIG_fail; | |
8313 | } | |
15afbcd0 | 8314 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8315 | return resultobj; |
8316 | fail: | |
8317 | return NULL; | |
8318 | } | |
8319 | ||
8320 | ||
8321 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8322 | PyObject *resultobj; | |
8323 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8324 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8325 | int arg3 = (int) wxBORDER_NONE ; | |
8326 | bool result; | |
8327 | PyObject * obj0 = 0 ; | |
8328 | PyObject * obj1 = 0 ; | |
994141e6 | 8329 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8330 | char *kwnames[] = { |
8331 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8332 | }; | |
8333 | ||
994141e6 | 8334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
8335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8337 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8339 | if (obj2) { |
15afbcd0 RD |
8340 | arg3 = (int) SWIG_AsInt(obj2); |
8341 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8342 | } |
d14a1e28 RD |
8343 | { |
8344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8345 | result = (bool)(arg1)->Create(arg2,arg3); | |
8346 | ||
8347 | wxPyEndAllowThreads(__tstate); | |
8348 | if (PyErr_Occurred()) SWIG_fail; | |
8349 | } | |
4f89f6a3 RD |
8350 | { |
8351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8352 | } | |
d14a1e28 RD |
8353 | return resultobj; |
8354 | fail: | |
8355 | return NULL; | |
8356 | } | |
8357 | ||
8358 | ||
8359 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8360 | PyObject *resultobj; | |
8361 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8362 | wxPoint *arg2 = 0 ; | |
8363 | wxSize *arg3 = 0 ; | |
8364 | wxPoint temp2 ; | |
8365 | wxSize temp3 ; | |
8366 | PyObject * obj0 = 0 ; | |
8367 | PyObject * obj1 = 0 ; | |
8368 | PyObject * obj2 = 0 ; | |
8369 | char *kwnames[] = { | |
8370 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8371 | }; | |
8372 | ||
8373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8374 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8375 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8376 | { |
8377 | arg2 = &temp2; | |
8378 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8379 | } | |
8380 | { | |
8381 | arg3 = &temp3; | |
8382 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8383 | } | |
8384 | { | |
8385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8386 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8387 | ||
8388 | wxPyEndAllowThreads(__tstate); | |
8389 | if (PyErr_Occurred()) SWIG_fail; | |
8390 | } | |
8391 | Py_INCREF(Py_None); resultobj = Py_None; | |
8392 | return resultobj; | |
8393 | fail: | |
8394 | return NULL; | |
8395 | } | |
8396 | ||
8397 | ||
8398 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8399 | PyObject *obj; | |
8400 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8401 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8402 | Py_INCREF(obj); | |
8403 | return Py_BuildValue((char *)""); | |
8404 | } | |
8405 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8406 | PyObject *resultobj; | |
8407 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8408 | int arg2 = (int) wxBORDER_NONE ; | |
8409 | wxPyPopupTransientWindow *result; | |
8410 | PyObject * obj0 = 0 ; | |
994141e6 | 8411 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8412 | char *kwnames[] = { |
8413 | (char *) "parent",(char *) "style", NULL | |
8414 | }; | |
8415 | ||
994141e6 | 8416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8417 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8419 | if (obj1) { |
15afbcd0 RD |
8420 | arg2 = (int) SWIG_AsInt(obj1); |
8421 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8422 | } |
d14a1e28 RD |
8423 | { |
8424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8425 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8426 | ||
8427 | wxPyEndAllowThreads(__tstate); | |
8428 | if (PyErr_Occurred()) SWIG_fail; | |
8429 | } | |
15afbcd0 | 8430 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8431 | return resultobj; |
8432 | fail: | |
8433 | return NULL; | |
8434 | } | |
8435 | ||
8436 | ||
8437 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8438 | PyObject *resultobj; | |
8439 | wxPyPopupTransientWindow *result; | |
8440 | char *kwnames[] = { | |
8441 | NULL | |
8442 | }; | |
8443 | ||
8444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8445 | { | |
8446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8447 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8448 | ||
8449 | wxPyEndAllowThreads(__tstate); | |
8450 | if (PyErr_Occurred()) SWIG_fail; | |
8451 | } | |
15afbcd0 | 8452 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8453 | return resultobj; |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
8459 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8460 | PyObject *resultobj; | |
8461 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8462 | PyObject *arg2 = (PyObject *) 0 ; | |
8463 | PyObject *arg3 = (PyObject *) 0 ; | |
8464 | PyObject * obj0 = 0 ; | |
8465 | PyObject * obj1 = 0 ; | |
8466 | PyObject * obj2 = 0 ; | |
8467 | char *kwnames[] = { | |
8468 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8469 | }; | |
8470 | ||
8471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8474 | arg2 = obj1; |
8475 | arg3 = obj2; | |
8476 | { | |
8477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8478 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8479 | ||
8480 | wxPyEndAllowThreads(__tstate); | |
8481 | if (PyErr_Occurred()) SWIG_fail; | |
8482 | } | |
8483 | Py_INCREF(Py_None); resultobj = Py_None; | |
8484 | return resultobj; | |
8485 | fail: | |
8486 | return NULL; | |
8487 | } | |
8488 | ||
8489 | ||
8490 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8491 | PyObject *resultobj; | |
8492 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8493 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8494 | PyObject * obj0 = 0 ; | |
8495 | PyObject * obj1 = 0 ; | |
8496 | char *kwnames[] = { | |
8497 | (char *) "self",(char *) "focus", NULL | |
8498 | }; | |
8499 | ||
8500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8503 | if (obj1) { |
15afbcd0 RD |
8504 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8506 | } |
8507 | { | |
8508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8509 | (arg1)->Popup(arg2); | |
8510 | ||
8511 | wxPyEndAllowThreads(__tstate); | |
8512 | if (PyErr_Occurred()) SWIG_fail; | |
8513 | } | |
8514 | Py_INCREF(Py_None); resultobj = Py_None; | |
8515 | return resultobj; | |
8516 | fail: | |
8517 | return NULL; | |
8518 | } | |
8519 | ||
8520 | ||
8521 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8522 | PyObject *resultobj; | |
8523 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8524 | PyObject * obj0 = 0 ; | |
8525 | char *kwnames[] = { | |
8526 | (char *) "self", NULL | |
8527 | }; | |
8528 | ||
8529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8532 | { |
8533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8534 | (arg1)->Dismiss(); | |
8535 | ||
8536 | wxPyEndAllowThreads(__tstate); | |
8537 | if (PyErr_Occurred()) SWIG_fail; | |
8538 | } | |
8539 | Py_INCREF(Py_None); resultobj = Py_None; | |
8540 | return resultobj; | |
8541 | fail: | |
8542 | return NULL; | |
8543 | } | |
8544 | ||
8545 | ||
8546 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8547 | PyObject *obj; | |
8548 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8549 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8550 | Py_INCREF(obj); | |
8551 | return Py_BuildValue((char *)""); | |
8552 | } | |
8553 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8554 | PyObject *resultobj; | |
8555 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 8556 | wxString *arg2 = 0 ; |
e811c8ce | 8557 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8558 | wxRect *arg4 = (wxRect *) NULL ; |
8559 | wxTipWindow *result; | |
fd3f2efe | 8560 | bool temp2 = False ; |
d14a1e28 RD |
8561 | PyObject * obj0 = 0 ; |
8562 | PyObject * obj1 = 0 ; | |
994141e6 | 8563 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8564 | PyObject * obj3 = 0 ; |
8565 | char *kwnames[] = { | |
8566 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8567 | }; | |
8568 | ||
994141e6 | 8569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
8570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
8572 | { |
8573 | arg2 = wxString_in_helper(obj1); | |
8574 | if (arg2 == NULL) SWIG_fail; | |
8575 | temp2 = True; | |
8576 | } | |
994141e6 | 8577 | if (obj2) { |
15afbcd0 RD |
8578 | arg3 = (int) SWIG_AsInt(obj2); |
8579 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8580 | } |
d14a1e28 | 8581 | if (obj3) { |
15afbcd0 RD |
8582 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8584 | } |
8585 | { | |
8586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
fd3f2efe | 8587 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8588 | |
8589 | wxPyEndAllowThreads(__tstate); | |
8590 | if (PyErr_Occurred()) SWIG_fail; | |
8591 | } | |
15afbcd0 | 8592 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
8593 | { |
8594 | if (temp2) | |
8595 | delete arg2; | |
8596 | } | |
d14a1e28 RD |
8597 | return resultobj; |
8598 | fail: | |
fd3f2efe RD |
8599 | { |
8600 | if (temp2) | |
8601 | delete arg2; | |
8602 | } | |
d14a1e28 RD |
8603 | return NULL; |
8604 | } | |
8605 | ||
8606 | ||
8607 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8608 | PyObject *resultobj; | |
8609 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8610 | wxRect *arg2 = 0 ; | |
8611 | wxRect temp2 ; | |
8612 | PyObject * obj0 = 0 ; | |
8613 | PyObject * obj1 = 0 ; | |
8614 | char *kwnames[] = { | |
8615 | (char *) "self",(char *) "rectBound", NULL | |
8616 | }; | |
8617 | ||
8618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8621 | { |
8622 | arg2 = &temp2; | |
8623 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8624 | } | |
8625 | { | |
8626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8627 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8628 | ||
8629 | wxPyEndAllowThreads(__tstate); | |
8630 | if (PyErr_Occurred()) SWIG_fail; | |
8631 | } | |
8632 | Py_INCREF(Py_None); resultobj = Py_None; | |
8633 | return resultobj; | |
8634 | fail: | |
8635 | return NULL; | |
8636 | } | |
8637 | ||
8638 | ||
8639 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8640 | PyObject *resultobj; | |
8641 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8642 | PyObject * obj0 = 0 ; | |
8643 | char *kwnames[] = { | |
8644 | (char *) "self", NULL | |
8645 | }; | |
8646 | ||
8647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8650 | { |
8651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8652 | (arg1)->Close(); | |
8653 | ||
8654 | wxPyEndAllowThreads(__tstate); | |
8655 | if (PyErr_Occurred()) SWIG_fail; | |
8656 | } | |
8657 | Py_INCREF(Py_None); resultobj = Py_None; | |
8658 | return resultobj; | |
8659 | fail: | |
8660 | return NULL; | |
8661 | } | |
8662 | ||
8663 | ||
8664 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8665 | PyObject *obj; | |
8666 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8667 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8668 | Py_INCREF(obj); | |
8669 | return Py_BuildValue((char *)""); | |
8670 | } | |
8671 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8672 | PyObject *resultobj; | |
8673 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 8674 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8675 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8676 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8677 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8678 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8679 | long arg5 = (long) 0 ; | |
8680 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8681 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8682 | wxPyVScrolledWindow *result; | |
8683 | wxPoint temp3 ; | |
8684 | wxSize temp4 ; | |
e811c8ce | 8685 | bool temp6 = False ; |
d14a1e28 | 8686 | PyObject * obj0 = 0 ; |
994141e6 | 8687 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8688 | PyObject * obj2 = 0 ; |
8689 | PyObject * obj3 = 0 ; | |
994141e6 | 8690 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8691 | PyObject * obj5 = 0 ; |
8692 | char *kwnames[] = { | |
8693 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8694 | }; | |
8695 | ||
994141e6 | 8696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8699 | if (obj1) { |
15afbcd0 RD |
8700 | arg2 = (int) SWIG_AsInt(obj1); |
8701 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8702 | } |
d14a1e28 RD |
8703 | if (obj2) { |
8704 | { | |
8705 | arg3 = &temp3; | |
8706 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8707 | } | |
8708 | } | |
8709 | if (obj3) { | |
8710 | { | |
8711 | arg4 = &temp4; | |
8712 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8713 | } | |
8714 | } | |
994141e6 | 8715 | if (obj4) { |
15afbcd0 RD |
8716 | arg5 = (long) SWIG_AsLong(obj4); |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8718 | } |
d14a1e28 RD |
8719 | if (obj5) { |
8720 | { | |
8721 | arg6 = wxString_in_helper(obj5); | |
8722 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 8723 | temp6 = True; |
d14a1e28 RD |
8724 | } |
8725 | } | |
8726 | { | |
8727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8728 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8729 | ||
8730 | wxPyEndAllowThreads(__tstate); | |
8731 | if (PyErr_Occurred()) SWIG_fail; | |
8732 | } | |
15afbcd0 | 8733 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8734 | { |
8735 | if (temp6) | |
8736 | delete arg6; | |
8737 | } | |
8738 | return resultobj; | |
8739 | fail: | |
8740 | { | |
8741 | if (temp6) | |
8742 | delete arg6; | |
8743 | } | |
8744 | return NULL; | |
8745 | } | |
8746 | ||
8747 | ||
8748 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8749 | PyObject *resultobj; | |
8750 | wxPyVScrolledWindow *result; | |
8751 | char *kwnames[] = { | |
8752 | NULL | |
8753 | }; | |
8754 | ||
8755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8756 | { | |
8757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8758 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8759 | ||
8760 | wxPyEndAllowThreads(__tstate); | |
8761 | if (PyErr_Occurred()) SWIG_fail; | |
8762 | } | |
15afbcd0 | 8763 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8764 | return resultobj; |
8765 | fail: | |
8766 | return NULL; | |
8767 | } | |
8768 | ||
8769 | ||
8770 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8771 | PyObject *resultobj; | |
8772 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8773 | PyObject *arg2 = (PyObject *) 0 ; | |
8774 | PyObject *arg3 = (PyObject *) 0 ; | |
8775 | PyObject * obj0 = 0 ; | |
8776 | PyObject * obj1 = 0 ; | |
8777 | PyObject * obj2 = 0 ; | |
8778 | char *kwnames[] = { | |
8779 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8780 | }; | |
8781 | ||
8782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8785 | arg2 = obj1; |
8786 | arg3 = obj2; | |
8787 | { | |
8788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8789 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8790 | ||
8791 | wxPyEndAllowThreads(__tstate); | |
8792 | if (PyErr_Occurred()) SWIG_fail; | |
8793 | } | |
8794 | Py_INCREF(Py_None); resultobj = Py_None; | |
8795 | return resultobj; | |
8796 | fail: | |
8797 | return NULL; | |
8798 | } | |
8799 | ||
8800 | ||
8801 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8802 | PyObject *resultobj; | |
8803 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8804 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 8805 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8806 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8807 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8808 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8809 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8810 | long arg6 = (long) 0 ; | |
8811 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8812 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8813 | bool result; | |
8814 | wxPoint temp4 ; | |
8815 | wxSize temp5 ; | |
e811c8ce | 8816 | bool temp7 = False ; |
d14a1e28 RD |
8817 | PyObject * obj0 = 0 ; |
8818 | PyObject * obj1 = 0 ; | |
994141e6 | 8819 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8820 | PyObject * obj3 = 0 ; |
8821 | PyObject * obj4 = 0 ; | |
994141e6 | 8822 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8823 | PyObject * obj6 = 0 ; |
8824 | char *kwnames[] = { | |
8825 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8826 | }; | |
8827 | ||
994141e6 | 8828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8831 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8832 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 8833 | if (obj2) { |
15afbcd0 RD |
8834 | arg3 = (int) SWIG_AsInt(obj2); |
8835 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8836 | } |
d14a1e28 RD |
8837 | if (obj3) { |
8838 | { | |
8839 | arg4 = &temp4; | |
8840 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8841 | } | |
8842 | } | |
8843 | if (obj4) { | |
8844 | { | |
8845 | arg5 = &temp5; | |
8846 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8847 | } | |
8848 | } | |
994141e6 | 8849 | if (obj5) { |
15afbcd0 RD |
8850 | arg6 = (long) SWIG_AsLong(obj5); |
8851 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 8852 | } |
d14a1e28 RD |
8853 | if (obj6) { |
8854 | { | |
8855 | arg7 = wxString_in_helper(obj6); | |
8856 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 8857 | temp7 = True; |
d14a1e28 RD |
8858 | } |
8859 | } | |
8860 | { | |
8861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8862 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8863 | ||
8864 | wxPyEndAllowThreads(__tstate); | |
8865 | if (PyErr_Occurred()) SWIG_fail; | |
8866 | } | |
4f89f6a3 RD |
8867 | { |
8868 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8869 | } | |
d14a1e28 RD |
8870 | { |
8871 | if (temp7) | |
8872 | delete arg7; | |
8873 | } | |
8874 | return resultobj; | |
8875 | fail: | |
8876 | { | |
8877 | if (temp7) | |
8878 | delete arg7; | |
8879 | } | |
8880 | return NULL; | |
8881 | } | |
8882 | ||
8883 | ||
8884 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8885 | PyObject *resultobj; | |
8886 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8887 | size_t arg2 ; | |
8888 | PyObject * obj0 = 0 ; | |
8889 | PyObject * obj1 = 0 ; | |
8890 | char *kwnames[] = { | |
8891 | (char *) "self",(char *) "count", NULL | |
8892 | }; | |
8893 | ||
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8897 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8898 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8899 | { |
8900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8901 | (arg1)->SetLineCount(arg2); | |
8902 | ||
8903 | wxPyEndAllowThreads(__tstate); | |
8904 | if (PyErr_Occurred()) SWIG_fail; | |
8905 | } | |
8906 | Py_INCREF(Py_None); resultobj = Py_None; | |
8907 | return resultobj; | |
8908 | fail: | |
8909 | return NULL; | |
8910 | } | |
8911 | ||
8912 | ||
8913 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8914 | PyObject *resultobj; | |
8915 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8916 | size_t arg2 ; | |
8917 | bool result; | |
8918 | PyObject * obj0 = 0 ; | |
8919 | PyObject * obj1 = 0 ; | |
8920 | char *kwnames[] = { | |
8921 | (char *) "self",(char *) "line", NULL | |
8922 | }; | |
8923 | ||
8924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8927 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8928 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8929 | { |
8930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8931 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8932 | ||
8933 | wxPyEndAllowThreads(__tstate); | |
8934 | if (PyErr_Occurred()) SWIG_fail; | |
8935 | } | |
4f89f6a3 RD |
8936 | { |
8937 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8938 | } | |
d14a1e28 RD |
8939 | return resultobj; |
8940 | fail: | |
8941 | return NULL; | |
8942 | } | |
8943 | ||
8944 | ||
8945 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8946 | PyObject *resultobj; | |
8947 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8948 | int arg2 ; | |
8949 | bool result; | |
8950 | PyObject * obj0 = 0 ; | |
994141e6 | 8951 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8952 | char *kwnames[] = { |
8953 | (char *) "self",(char *) "lines", NULL | |
8954 | }; | |
8955 | ||
994141e6 | 8956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8959 | arg2 = (int) SWIG_AsInt(obj1); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8961 | { |
8962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8963 | result = (bool)(arg1)->ScrollLines(arg2); | |
8964 | ||
8965 | wxPyEndAllowThreads(__tstate); | |
8966 | if (PyErr_Occurred()) SWIG_fail; | |
8967 | } | |
4f89f6a3 RD |
8968 | { |
8969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8970 | } | |
d14a1e28 RD |
8971 | return resultobj; |
8972 | fail: | |
8973 | return NULL; | |
8974 | } | |
8975 | ||
8976 | ||
8977 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8978 | PyObject *resultobj; | |
8979 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8980 | int arg2 ; | |
8981 | bool result; | |
8982 | PyObject * obj0 = 0 ; | |
994141e6 | 8983 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8984 | char *kwnames[] = { |
8985 | (char *) "self",(char *) "pages", NULL | |
8986 | }; | |
8987 | ||
994141e6 | 8988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8991 | arg2 = (int) SWIG_AsInt(obj1); | |
8992 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8993 | { |
8994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8995 | result = (bool)(arg1)->ScrollPages(arg2); | |
8996 | ||
8997 | wxPyEndAllowThreads(__tstate); | |
8998 | if (PyErr_Occurred()) SWIG_fail; | |
8999 | } | |
4f89f6a3 RD |
9000 | { |
9001 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9002 | } | |
d14a1e28 RD |
9003 | return resultobj; |
9004 | fail: | |
9005 | return NULL; | |
9006 | } | |
9007 | ||
9008 | ||
9009 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9010 | PyObject *resultobj; | |
9011 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9012 | size_t arg2 ; | |
9013 | PyObject * obj0 = 0 ; | |
9014 | PyObject * obj1 = 0 ; | |
9015 | char *kwnames[] = { | |
9016 | (char *) "self",(char *) "line", NULL | |
9017 | }; | |
9018 | ||
9019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9022 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9023 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9024 | { |
9025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9026 | (arg1)->RefreshLine(arg2); | |
9027 | ||
9028 | wxPyEndAllowThreads(__tstate); | |
9029 | if (PyErr_Occurred()) SWIG_fail; | |
9030 | } | |
9031 | Py_INCREF(Py_None); resultobj = Py_None; | |
9032 | return resultobj; | |
9033 | fail: | |
9034 | return NULL; | |
9035 | } | |
9036 | ||
9037 | ||
9038 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9039 | PyObject *resultobj; | |
9040 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9041 | size_t arg2 ; | |
9042 | size_t arg3 ; | |
9043 | PyObject * obj0 = 0 ; | |
9044 | PyObject * obj1 = 0 ; | |
9045 | PyObject * obj2 = 0 ; | |
9046 | char *kwnames[] = { | |
9047 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9048 | }; | |
9049 | ||
9050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9053 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9054 | if (PyErr_Occurred()) SWIG_fail; | |
9055 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9056 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9057 | { |
9058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9059 | (arg1)->RefreshLines(arg2,arg3); | |
9060 | ||
9061 | wxPyEndAllowThreads(__tstate); | |
9062 | if (PyErr_Occurred()) SWIG_fail; | |
9063 | } | |
9064 | Py_INCREF(Py_None); resultobj = Py_None; | |
9065 | return resultobj; | |
9066 | fail: | |
9067 | return NULL; | |
9068 | } | |
9069 | ||
9070 | ||
9071 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9072 | PyObject *resultobj; | |
9073 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9074 | int arg2 ; |
9075 | int arg3 ; | |
d14a1e28 RD |
9076 | int result; |
9077 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9078 | PyObject * obj1 = 0 ; |
9079 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9080 | char *kwnames[] = { |
9081 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9082 | }; | |
9083 | ||
994141e6 | 9084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9087 | arg2 = (int) SWIG_AsInt(obj1); | |
9088 | if (PyErr_Occurred()) SWIG_fail; | |
9089 | arg3 = (int) SWIG_AsInt(obj2); | |
9090 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9091 | { |
9092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9093 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9094 | ||
9095 | wxPyEndAllowThreads(__tstate); | |
9096 | if (PyErr_Occurred()) SWIG_fail; | |
9097 | } | |
15afbcd0 | 9098 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9099 | return resultobj; |
9100 | fail: | |
9101 | return NULL; | |
9102 | } | |
9103 | ||
9104 | ||
9105 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9106 | PyObject *resultobj; | |
9107 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9108 | wxPoint *arg2 = 0 ; | |
9109 | int result; | |
9110 | wxPoint temp2 ; | |
9111 | PyObject * obj0 = 0 ; | |
9112 | PyObject * obj1 = 0 ; | |
9113 | char *kwnames[] = { | |
9114 | (char *) "self",(char *) "pt", NULL | |
9115 | }; | |
9116 | ||
9117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9120 | { |
9121 | arg2 = &temp2; | |
9122 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9123 | } | |
9124 | { | |
9125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9126 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9127 | ||
9128 | wxPyEndAllowThreads(__tstate); | |
9129 | if (PyErr_Occurred()) SWIG_fail; | |
9130 | } | |
15afbcd0 | 9131 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9132 | return resultobj; |
9133 | fail: | |
9134 | return NULL; | |
9135 | } | |
9136 | ||
9137 | ||
9138 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9139 | PyObject *resultobj; | |
9140 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9141 | PyObject * obj0 = 0 ; | |
9142 | char *kwnames[] = { | |
9143 | (char *) "self", NULL | |
9144 | }; | |
9145 | ||
9146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9149 | { |
9150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9151 | (arg1)->RefreshAll(); | |
9152 | ||
9153 | wxPyEndAllowThreads(__tstate); | |
9154 | if (PyErr_Occurred()) SWIG_fail; | |
9155 | } | |
9156 | Py_INCREF(Py_None); resultobj = Py_None; | |
9157 | return resultobj; | |
9158 | fail: | |
9159 | return NULL; | |
9160 | } | |
9161 | ||
9162 | ||
9163 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9164 | PyObject *resultobj; | |
9165 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9166 | size_t result; | |
9167 | PyObject * obj0 = 0 ; | |
9168 | char *kwnames[] = { | |
9169 | (char *) "self", NULL | |
9170 | }; | |
9171 | ||
9172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9175 | { |
9176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9177 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9178 | ||
9179 | wxPyEndAllowThreads(__tstate); | |
9180 | if (PyErr_Occurred()) SWIG_fail; | |
9181 | } | |
15afbcd0 | 9182 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9183 | return resultobj; |
9184 | fail: | |
9185 | return NULL; | |
9186 | } | |
9187 | ||
9188 | ||
9189 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9190 | PyObject *resultobj; | |
9191 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9192 | size_t result; | |
9193 | PyObject * obj0 = 0 ; | |
9194 | char *kwnames[] = { | |
9195 | (char *) "self", NULL | |
9196 | }; | |
9197 | ||
9198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9201 | { |
9202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9203 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9204 | ||
9205 | wxPyEndAllowThreads(__tstate); | |
9206 | if (PyErr_Occurred()) SWIG_fail; | |
9207 | } | |
15afbcd0 | 9208 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9209 | return resultobj; |
9210 | fail: | |
9211 | return NULL; | |
9212 | } | |
9213 | ||
9214 | ||
9215 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9216 | PyObject *resultobj; | |
9217 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9218 | size_t result; | |
9219 | PyObject * obj0 = 0 ; | |
9220 | char *kwnames[] = { | |
9221 | (char *) "self", NULL | |
9222 | }; | |
9223 | ||
9224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9227 | { |
9228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9229 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9230 | ||
9231 | wxPyEndAllowThreads(__tstate); | |
9232 | if (PyErr_Occurred()) SWIG_fail; | |
9233 | } | |
15afbcd0 | 9234 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9235 | return resultobj; |
9236 | fail: | |
9237 | return NULL; | |
9238 | } | |
9239 | ||
9240 | ||
9241 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9242 | PyObject *resultobj; | |
9243 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9244 | size_t arg2 ; | |
9245 | bool result; | |
9246 | PyObject * obj0 = 0 ; | |
9247 | PyObject * obj1 = 0 ; | |
9248 | char *kwnames[] = { | |
9249 | (char *) "self",(char *) "line", NULL | |
9250 | }; | |
9251 | ||
9252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9255 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9256 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9257 | { |
9258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9259 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9260 | ||
9261 | wxPyEndAllowThreads(__tstate); | |
9262 | if (PyErr_Occurred()) SWIG_fail; | |
9263 | } | |
4f89f6a3 RD |
9264 | { |
9265 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9266 | } | |
d14a1e28 RD |
9267 | return resultobj; |
9268 | fail: | |
9269 | return NULL; | |
9270 | } | |
9271 | ||
9272 | ||
9273 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9274 | PyObject *obj; | |
9275 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9276 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9277 | Py_INCREF(obj); | |
9278 | return Py_BuildValue((char *)""); | |
9279 | } | |
b2dc1044 RD |
9280 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
9281 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); | |
9282 | return 1; | |
9283 | } | |
9284 | ||
9285 | ||
9286 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9287 | PyObject *pyobj; | |
9288 | ||
9289 | { | |
9290 | #if wxUSE_UNICODE | |
9291 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9292 | #else | |
9293 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9294 | #endif | |
9295 | } | |
9296 | return pyobj; | |
9297 | } | |
9298 | ||
9299 | ||
d14a1e28 RD |
9300 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9301 | PyObject *resultobj; | |
9302 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9303 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9304 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9305 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9306 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9307 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9308 | long arg5 = (long) 0 ; | |
9309 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9310 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9311 | wxPyVListBox *result; | |
9312 | wxPoint temp3 ; | |
9313 | wxSize temp4 ; | |
e811c8ce | 9314 | bool temp6 = False ; |
d14a1e28 | 9315 | PyObject * obj0 = 0 ; |
994141e6 | 9316 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9317 | PyObject * obj2 = 0 ; |
9318 | PyObject * obj3 = 0 ; | |
994141e6 | 9319 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9320 | PyObject * obj5 = 0 ; |
9321 | char *kwnames[] = { | |
9322 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9323 | }; | |
9324 | ||
994141e6 | 9325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9328 | if (obj1) { |
15afbcd0 RD |
9329 | arg2 = (int) SWIG_AsInt(obj1); |
9330 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9331 | } |
d14a1e28 RD |
9332 | if (obj2) { |
9333 | { | |
9334 | arg3 = &temp3; | |
9335 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9336 | } | |
9337 | } | |
9338 | if (obj3) { | |
9339 | { | |
9340 | arg4 = &temp4; | |
9341 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9342 | } | |
9343 | } | |
994141e6 | 9344 | if (obj4) { |
15afbcd0 RD |
9345 | arg5 = (long) SWIG_AsLong(obj4); |
9346 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9347 | } |
d14a1e28 RD |
9348 | if (obj5) { |
9349 | { | |
9350 | arg6 = wxString_in_helper(obj5); | |
9351 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 9352 | temp6 = True; |
d14a1e28 RD |
9353 | } |
9354 | } | |
9355 | { | |
9356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9357 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9358 | ||
9359 | wxPyEndAllowThreads(__tstate); | |
9360 | if (PyErr_Occurred()) SWIG_fail; | |
9361 | } | |
15afbcd0 | 9362 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9363 | { |
9364 | if (temp6) | |
9365 | delete arg6; | |
9366 | } | |
9367 | return resultobj; | |
9368 | fail: | |
9369 | { | |
9370 | if (temp6) | |
9371 | delete arg6; | |
9372 | } | |
9373 | return NULL; | |
9374 | } | |
9375 | ||
9376 | ||
9377 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9378 | PyObject *resultobj; | |
9379 | wxPyVListBox *result; | |
9380 | char *kwnames[] = { | |
9381 | NULL | |
9382 | }; | |
9383 | ||
9384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9385 | { | |
9386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9387 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9388 | ||
9389 | wxPyEndAllowThreads(__tstate); | |
9390 | if (PyErr_Occurred()) SWIG_fail; | |
9391 | } | |
15afbcd0 | 9392 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9393 | return resultobj; |
9394 | fail: | |
9395 | return NULL; | |
9396 | } | |
9397 | ||
9398 | ||
9399 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9400 | PyObject *resultobj; | |
9401 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9402 | PyObject *arg2 = (PyObject *) 0 ; | |
9403 | PyObject *arg3 = (PyObject *) 0 ; | |
9404 | PyObject * obj0 = 0 ; | |
9405 | PyObject * obj1 = 0 ; | |
9406 | PyObject * obj2 = 0 ; | |
9407 | char *kwnames[] = { | |
9408 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9409 | }; | |
9410 | ||
9411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9414 | arg2 = obj1; |
9415 | arg3 = obj2; | |
9416 | { | |
9417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9418 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9419 | ||
9420 | wxPyEndAllowThreads(__tstate); | |
9421 | if (PyErr_Occurred()) SWIG_fail; | |
9422 | } | |
9423 | Py_INCREF(Py_None); resultobj = Py_None; | |
9424 | return resultobj; | |
9425 | fail: | |
9426 | return NULL; | |
9427 | } | |
9428 | ||
9429 | ||
9430 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9431 | PyObject *resultobj; | |
9432 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9433 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9434 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9435 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9436 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9437 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9438 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9439 | long arg6 = (long) 0 ; | |
9440 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9441 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9442 | bool result; | |
9443 | wxPoint temp4 ; | |
9444 | wxSize temp5 ; | |
e811c8ce | 9445 | bool temp7 = False ; |
d14a1e28 RD |
9446 | PyObject * obj0 = 0 ; |
9447 | PyObject * obj1 = 0 ; | |
994141e6 | 9448 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9449 | PyObject * obj3 = 0 ; |
9450 | PyObject * obj4 = 0 ; | |
994141e6 | 9451 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9452 | PyObject * obj6 = 0 ; |
9453 | char *kwnames[] = { | |
9454 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9455 | }; | |
9456 | ||
994141e6 | 9457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9460 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9462 | if (obj2) { |
15afbcd0 RD |
9463 | arg3 = (int) SWIG_AsInt(obj2); |
9464 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9465 | } |
d14a1e28 RD |
9466 | if (obj3) { |
9467 | { | |
9468 | arg4 = &temp4; | |
9469 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9470 | } | |
9471 | } | |
9472 | if (obj4) { | |
9473 | { | |
9474 | arg5 = &temp5; | |
9475 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9476 | } | |
9477 | } | |
994141e6 | 9478 | if (obj5) { |
15afbcd0 RD |
9479 | arg6 = (long) SWIG_AsLong(obj5); |
9480 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 9481 | } |
d14a1e28 RD |
9482 | if (obj6) { |
9483 | { | |
9484 | arg7 = wxString_in_helper(obj6); | |
9485 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 9486 | temp7 = True; |
d14a1e28 RD |
9487 | } |
9488 | } | |
9489 | { | |
9490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9491 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9492 | ||
9493 | wxPyEndAllowThreads(__tstate); | |
9494 | if (PyErr_Occurred()) SWIG_fail; | |
9495 | } | |
4f89f6a3 RD |
9496 | { |
9497 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9498 | } | |
d14a1e28 RD |
9499 | { |
9500 | if (temp7) | |
9501 | delete arg7; | |
9502 | } | |
9503 | return resultobj; | |
9504 | fail: | |
9505 | { | |
9506 | if (temp7) | |
9507 | delete arg7; | |
9508 | } | |
9509 | return NULL; | |
9510 | } | |
9511 | ||
9512 | ||
9513 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9514 | PyObject *resultobj; | |
9515 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9516 | size_t result; | |
9517 | PyObject * obj0 = 0 ; | |
9518 | char *kwnames[] = { | |
9519 | (char *) "self", NULL | |
9520 | }; | |
9521 | ||
9522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9523 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9524 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9525 | { |
9526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9527 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9528 | ||
9529 | wxPyEndAllowThreads(__tstate); | |
9530 | if (PyErr_Occurred()) SWIG_fail; | |
9531 | } | |
15afbcd0 | 9532 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9533 | return resultobj; |
9534 | fail: | |
9535 | return NULL; | |
9536 | } | |
9537 | ||
9538 | ||
9539 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9540 | PyObject *resultobj; | |
9541 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9542 | bool result; | |
9543 | PyObject * obj0 = 0 ; | |
9544 | char *kwnames[] = { | |
9545 | (char *) "self", NULL | |
9546 | }; | |
9547 | ||
9548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9551 | { |
9552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9553 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9554 | ||
9555 | wxPyEndAllowThreads(__tstate); | |
9556 | if (PyErr_Occurred()) SWIG_fail; | |
9557 | } | |
4f89f6a3 RD |
9558 | { |
9559 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9560 | } | |
d14a1e28 RD |
9561 | return resultobj; |
9562 | fail: | |
9563 | return NULL; | |
9564 | } | |
9565 | ||
9566 | ||
9567 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9568 | PyObject *resultobj; | |
9569 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9570 | int result; | |
9571 | PyObject * obj0 = 0 ; | |
9572 | char *kwnames[] = { | |
9573 | (char *) "self", NULL | |
9574 | }; | |
9575 | ||
9576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9579 | { |
9580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9581 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9582 | ||
9583 | wxPyEndAllowThreads(__tstate); | |
9584 | if (PyErr_Occurred()) SWIG_fail; | |
9585 | } | |
15afbcd0 | 9586 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9587 | return resultobj; |
9588 | fail: | |
9589 | return NULL; | |
9590 | } | |
9591 | ||
9592 | ||
9593 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9594 | PyObject *resultobj; | |
9595 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9596 | size_t arg2 ; | |
9597 | bool result; | |
9598 | PyObject * obj0 = 0 ; | |
9599 | PyObject * obj1 = 0 ; | |
9600 | char *kwnames[] = { | |
9601 | (char *) "self",(char *) "item", NULL | |
9602 | }; | |
9603 | ||
9604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9607 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9608 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9609 | { |
9610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9611 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9612 | ||
9613 | wxPyEndAllowThreads(__tstate); | |
9614 | if (PyErr_Occurred()) SWIG_fail; | |
9615 | } | |
4f89f6a3 RD |
9616 | { |
9617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9618 | } | |
d14a1e28 RD |
9619 | return resultobj; |
9620 | fail: | |
9621 | return NULL; | |
9622 | } | |
9623 | ||
9624 | ||
9625 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9626 | PyObject *resultobj; | |
9627 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9628 | size_t arg2 ; | |
9629 | bool result; | |
9630 | PyObject * obj0 = 0 ; | |
9631 | PyObject * obj1 = 0 ; | |
9632 | char *kwnames[] = { | |
9633 | (char *) "self",(char *) "item", NULL | |
9634 | }; | |
9635 | ||
9636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9637 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9638 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9639 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9640 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9641 | { |
9642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9643 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9644 | ||
9645 | wxPyEndAllowThreads(__tstate); | |
9646 | if (PyErr_Occurred()) SWIG_fail; | |
9647 | } | |
4f89f6a3 RD |
9648 | { |
9649 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9650 | } | |
d14a1e28 RD |
9651 | return resultobj; |
9652 | fail: | |
9653 | return NULL; | |
9654 | } | |
9655 | ||
9656 | ||
9657 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9658 | PyObject *resultobj; | |
9659 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9660 | size_t result; | |
9661 | PyObject * obj0 = 0 ; | |
9662 | char *kwnames[] = { | |
9663 | (char *) "self", NULL | |
9664 | }; | |
9665 | ||
9666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9669 | { |
9670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9671 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9672 | ||
9673 | wxPyEndAllowThreads(__tstate); | |
9674 | if (PyErr_Occurred()) SWIG_fail; | |
9675 | } | |
15afbcd0 | 9676 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9677 | return resultobj; |
9678 | fail: | |
9679 | return NULL; | |
9680 | } | |
9681 | ||
9682 | ||
9683 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9684 | PyObject *resultobj; | |
9685 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9686 | unsigned long *arg2 = 0 ; | |
9687 | int result; | |
9688 | PyObject * obj0 = 0 ; | |
9689 | PyObject * obj1 = 0 ; | |
9690 | char *kwnames[] = { | |
9691 | (char *) "self",(char *) "cookie", NULL | |
9692 | }; | |
9693 | ||
9694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9697 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9698 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9699 | SWIG_fail; | |
d14a1e28 | 9700 | if (arg2 == NULL) { |
15afbcd0 RD |
9701 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9702 | SWIG_fail; | |
d14a1e28 RD |
9703 | } |
9704 | { | |
9705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9706 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9707 | ||
9708 | wxPyEndAllowThreads(__tstate); | |
9709 | if (PyErr_Occurred()) SWIG_fail; | |
9710 | } | |
15afbcd0 | 9711 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9712 | return resultobj; |
9713 | fail: | |
9714 | return NULL; | |
9715 | } | |
9716 | ||
9717 | ||
9718 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9719 | PyObject *resultobj; | |
9720 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9721 | unsigned long *arg2 = 0 ; | |
9722 | int result; | |
9723 | PyObject * obj0 = 0 ; | |
9724 | PyObject * obj1 = 0 ; | |
9725 | char *kwnames[] = { | |
9726 | (char *) "self",(char *) "cookie", NULL | |
9727 | }; | |
9728 | ||
9729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9732 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9733 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9734 | SWIG_fail; | |
d14a1e28 | 9735 | if (arg2 == NULL) { |
15afbcd0 RD |
9736 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9737 | SWIG_fail; | |
d14a1e28 RD |
9738 | } |
9739 | { | |
9740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9741 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9742 | ||
9743 | wxPyEndAllowThreads(__tstate); | |
9744 | if (PyErr_Occurred()) SWIG_fail; | |
9745 | } | |
15afbcd0 | 9746 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9747 | return resultobj; |
9748 | fail: | |
9749 | return NULL; | |
9750 | } | |
9751 | ||
9752 | ||
9753 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9754 | PyObject *resultobj; | |
9755 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9756 | wxPoint result; | |
9757 | PyObject * obj0 = 0 ; | |
9758 | char *kwnames[] = { | |
9759 | (char *) "self", NULL | |
9760 | }; | |
9761 | ||
9762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9765 | { |
9766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9767 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9768 | ||
9769 | wxPyEndAllowThreads(__tstate); | |
9770 | if (PyErr_Occurred()) SWIG_fail; | |
9771 | } | |
9772 | { | |
9773 | wxPoint * resultptr; | |
9774 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 9775 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9776 | } |
9777 | return resultobj; | |
9778 | fail: | |
9779 | return NULL; | |
9780 | } | |
9781 | ||
9782 | ||
9783 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9784 | PyObject *resultobj; | |
9785 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9786 | wxColour *result; | |
9787 | PyObject * obj0 = 0 ; | |
9788 | char *kwnames[] = { | |
9789 | (char *) "self", NULL | |
9790 | }; | |
9791 | ||
9792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9795 | { |
9796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9797 | { | |
9798 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9799 | result = (wxColour *) &_result_ref; | |
9800 | } | |
9801 | ||
9802 | wxPyEndAllowThreads(__tstate); | |
9803 | if (PyErr_Occurred()) SWIG_fail; | |
9804 | } | |
15afbcd0 | 9805 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9806 | return resultobj; |
9807 | fail: | |
9808 | return NULL; | |
9809 | } | |
9810 | ||
9811 | ||
9812 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9813 | PyObject *resultobj; | |
9814 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9815 | size_t arg2 ; | |
9816 | PyObject * obj0 = 0 ; | |
9817 | PyObject * obj1 = 0 ; | |
9818 | char *kwnames[] = { | |
9819 | (char *) "self",(char *) "count", NULL | |
9820 | }; | |
9821 | ||
9822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9825 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9826 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9827 | { |
9828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9829 | (arg1)->SetItemCount(arg2); | |
9830 | ||
9831 | wxPyEndAllowThreads(__tstate); | |
9832 | if (PyErr_Occurred()) SWIG_fail; | |
9833 | } | |
9834 | Py_INCREF(Py_None); resultobj = Py_None; | |
9835 | return resultobj; | |
9836 | fail: | |
9837 | return NULL; | |
9838 | } | |
9839 | ||
9840 | ||
9841 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9842 | PyObject *resultobj; | |
9843 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9844 | PyObject * obj0 = 0 ; | |
9845 | char *kwnames[] = { | |
9846 | (char *) "self", NULL | |
9847 | }; | |
9848 | ||
9849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9852 | { |
9853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9854 | (arg1)->Clear(); | |
9855 | ||
9856 | wxPyEndAllowThreads(__tstate); | |
9857 | if (PyErr_Occurred()) SWIG_fail; | |
9858 | } | |
9859 | Py_INCREF(Py_None); resultobj = Py_None; | |
9860 | return resultobj; | |
9861 | fail: | |
9862 | return NULL; | |
9863 | } | |
9864 | ||
9865 | ||
9866 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9867 | PyObject *resultobj; | |
9868 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9869 | int arg2 ; | |
9870 | PyObject * obj0 = 0 ; | |
994141e6 | 9871 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9872 | char *kwnames[] = { |
9873 | (char *) "self",(char *) "selection", NULL | |
9874 | }; | |
9875 | ||
994141e6 | 9876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9879 | arg2 = (int) SWIG_AsInt(obj1); | |
9880 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9881 | { |
9882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9883 | (arg1)->SetSelection(arg2); | |
9884 | ||
9885 | wxPyEndAllowThreads(__tstate); | |
9886 | if (PyErr_Occurred()) SWIG_fail; | |
9887 | } | |
9888 | Py_INCREF(Py_None); resultobj = Py_None; | |
9889 | return resultobj; | |
9890 | fail: | |
9891 | return NULL; | |
9892 | } | |
9893 | ||
9894 | ||
9895 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9896 | PyObject *resultobj; | |
9897 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9898 | size_t arg2 ; | |
e811c8ce | 9899 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9900 | bool result; |
9901 | PyObject * obj0 = 0 ; | |
9902 | PyObject * obj1 = 0 ; | |
9903 | PyObject * obj2 = 0 ; | |
9904 | char *kwnames[] = { | |
9905 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9906 | }; | |
9907 | ||
9908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9911 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9912 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 9913 | if (obj2) { |
15afbcd0 RD |
9914 | arg3 = (bool) SWIG_AsBool(obj2); |
9915 | if (PyErr_Occurred()) SWIG_fail; | |
a41e16b6 | 9916 | } |
d14a1e28 RD |
9917 | { |
9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9919 | result = (bool)(arg1)->Select(arg2,arg3); | |
9920 | ||
9921 | wxPyEndAllowThreads(__tstate); | |
9922 | if (PyErr_Occurred()) SWIG_fail; | |
9923 | } | |
4f89f6a3 RD |
9924 | { |
9925 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9926 | } | |
d14a1e28 RD |
9927 | return resultobj; |
9928 | fail: | |
9929 | return NULL; | |
9930 | } | |
9931 | ||
9932 | ||
9933 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9934 | PyObject *resultobj; | |
9935 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9936 | size_t arg2 ; | |
9937 | size_t arg3 ; | |
9938 | bool result; | |
9939 | PyObject * obj0 = 0 ; | |
9940 | PyObject * obj1 = 0 ; | |
9941 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
9942 | char *kwnames[] = { |
9943 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9944 | }; | |
9945 | ||
9946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
9948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9949 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9950 | if (PyErr_Occurred()) SWIG_fail; | |
9951 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9952 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9953 | { |
9954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9955 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9956 | ||
9957 | wxPyEndAllowThreads(__tstate); | |
9958 | if (PyErr_Occurred()) SWIG_fail; | |
9959 | } | |
4f89f6a3 RD |
9960 | { |
9961 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9962 | } | |
d14a1e28 RD |
9963 | return resultobj; |
9964 | fail: | |
9965 | return NULL; | |
9966 | } | |
9967 | ||
9968 | ||
9969 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9970 | PyObject *resultobj; | |
9971 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9972 | size_t arg2 ; | |
9973 | PyObject * obj0 = 0 ; | |
9974 | PyObject * obj1 = 0 ; | |
9975 | char *kwnames[] = { | |
9976 | (char *) "self",(char *) "item", NULL | |
9977 | }; | |
9978 | ||
9979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9982 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9983 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9984 | { |
9985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9986 | (arg1)->Toggle(arg2); | |
9987 | ||
9988 | wxPyEndAllowThreads(__tstate); | |
9989 | if (PyErr_Occurred()) SWIG_fail; | |
9990 | } | |
9991 | Py_INCREF(Py_None); resultobj = Py_None; | |
9992 | return resultobj; | |
9993 | fail: | |
9994 | return NULL; | |
9995 | } | |
9996 | ||
9997 | ||
9998 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9999 | PyObject *resultobj; | |
10000 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10001 | bool result; | |
10002 | PyObject * obj0 = 0 ; | |
10003 | char *kwnames[] = { | |
10004 | (char *) "self", NULL | |
10005 | }; | |
10006 | ||
10007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",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 = (bool)(arg1)->SelectAll(); | |
10013 | ||
10014 | wxPyEndAllowThreads(__tstate); | |
10015 | if (PyErr_Occurred()) SWIG_fail; | |
10016 | } | |
4f89f6a3 RD |
10017 | { |
10018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10019 | } | |
d14a1e28 RD |
10020 | return resultobj; |
10021 | fail: | |
10022 | return NULL; | |
10023 | } | |
10024 | ||
10025 | ||
10026 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10027 | PyObject *resultobj; | |
10028 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10029 | bool result; | |
10030 | PyObject * obj0 = 0 ; | |
10031 | char *kwnames[] = { | |
10032 | (char *) "self", NULL | |
10033 | }; | |
10034 | ||
10035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10038 | { |
10039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10040 | result = (bool)(arg1)->DeselectAll(); | |
10041 | ||
10042 | wxPyEndAllowThreads(__tstate); | |
10043 | if (PyErr_Occurred()) SWIG_fail; | |
10044 | } | |
4f89f6a3 RD |
10045 | { |
10046 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10047 | } | |
d14a1e28 RD |
10048 | return resultobj; |
10049 | fail: | |
10050 | return NULL; | |
10051 | } | |
10052 | ||
10053 | ||
10054 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10055 | PyObject *resultobj; | |
10056 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10057 | wxPoint *arg2 = 0 ; | |
10058 | wxPoint temp2 ; | |
10059 | PyObject * obj0 = 0 ; | |
10060 | PyObject * obj1 = 0 ; | |
10061 | char *kwnames[] = { | |
10062 | (char *) "self",(char *) "pt", NULL | |
10063 | }; | |
10064 | ||
10065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10068 | { |
10069 | arg2 = &temp2; | |
10070 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10071 | } | |
10072 | { | |
10073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10074 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10075 | ||
10076 | wxPyEndAllowThreads(__tstate); | |
10077 | if (PyErr_Occurred()) SWIG_fail; | |
10078 | } | |
10079 | Py_INCREF(Py_None); resultobj = Py_None; | |
10080 | return resultobj; | |
10081 | fail: | |
10082 | return NULL; | |
10083 | } | |
10084 | ||
10085 | ||
10086 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10087 | PyObject *resultobj; | |
10088 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10089 | int arg2 ; |
10090 | int arg3 ; | |
d14a1e28 | 10091 | PyObject * obj0 = 0 ; |
994141e6 RD |
10092 | PyObject * obj1 = 0 ; |
10093 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10094 | char *kwnames[] = { |
10095 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10096 | }; | |
10097 | ||
994141e6 | 10098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10101 | arg2 = (int) SWIG_AsInt(obj1); | |
10102 | if (PyErr_Occurred()) SWIG_fail; | |
10103 | arg3 = (int) SWIG_AsInt(obj2); | |
10104 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10105 | { |
10106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10107 | (arg1)->SetMargins(arg2,arg3); | |
10108 | ||
10109 | wxPyEndAllowThreads(__tstate); | |
10110 | if (PyErr_Occurred()) SWIG_fail; | |
10111 | } | |
10112 | Py_INCREF(Py_None); resultobj = Py_None; | |
10113 | return resultobj; | |
10114 | fail: | |
10115 | return NULL; | |
10116 | } | |
10117 | ||
10118 | ||
10119 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10120 | PyObject *resultobj; | |
10121 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10122 | wxColour *arg2 = 0 ; | |
10123 | wxColour temp2 ; | |
10124 | PyObject * obj0 = 0 ; | |
10125 | PyObject * obj1 = 0 ; | |
10126 | char *kwnames[] = { | |
10127 | (char *) "self",(char *) "col", NULL | |
10128 | }; | |
10129 | ||
10130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10131 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10132 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10133 | { |
10134 | arg2 = &temp2; | |
10135 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10136 | } | |
10137 | { | |
10138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10139 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10140 | ||
10141 | wxPyEndAllowThreads(__tstate); | |
10142 | if (PyErr_Occurred()) SWIG_fail; | |
10143 | } | |
10144 | Py_INCREF(Py_None); resultobj = Py_None; | |
10145 | return resultobj; | |
10146 | fail: | |
10147 | return NULL; | |
10148 | } | |
10149 | ||
10150 | ||
10151 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10152 | PyObject *obj; | |
10153 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10154 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10155 | Py_INCREF(obj); | |
10156 | return Py_BuildValue((char *)""); | |
10157 | } | |
10158 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10159 | PyObject *resultobj; | |
10160 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10161 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10162 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10163 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10164 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10165 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10166 | long arg5 = (long) 0 ; | |
10167 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10168 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10169 | wxPyHtmlListBox *result; | |
10170 | wxPoint temp3 ; | |
10171 | wxSize temp4 ; | |
e811c8ce | 10172 | bool temp6 = False ; |
d14a1e28 | 10173 | PyObject * obj0 = 0 ; |
994141e6 | 10174 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10175 | PyObject * obj2 = 0 ; |
10176 | PyObject * obj3 = 0 ; | |
994141e6 | 10177 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10178 | PyObject * obj5 = 0 ; |
10179 | char *kwnames[] = { | |
10180 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10181 | }; | |
10182 | ||
994141e6 | 10183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10186 | if (obj1) { |
15afbcd0 RD |
10187 | arg2 = (int) SWIG_AsInt(obj1); |
10188 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10189 | } |
d14a1e28 RD |
10190 | if (obj2) { |
10191 | { | |
10192 | arg3 = &temp3; | |
10193 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10194 | } | |
10195 | } | |
10196 | if (obj3) { | |
10197 | { | |
10198 | arg4 = &temp4; | |
10199 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10200 | } | |
10201 | } | |
994141e6 | 10202 | if (obj4) { |
15afbcd0 RD |
10203 | arg5 = (long) SWIG_AsLong(obj4); |
10204 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10205 | } |
d14a1e28 RD |
10206 | if (obj5) { |
10207 | { | |
10208 | arg6 = wxString_in_helper(obj5); | |
10209 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 10210 | temp6 = True; |
d14a1e28 RD |
10211 | } |
10212 | } | |
10213 | { | |
10214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10215 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10216 | ||
10217 | wxPyEndAllowThreads(__tstate); | |
10218 | if (PyErr_Occurred()) SWIG_fail; | |
10219 | } | |
15afbcd0 | 10220 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10221 | { |
10222 | if (temp6) | |
10223 | delete arg6; | |
10224 | } | |
10225 | return resultobj; | |
10226 | fail: | |
10227 | { | |
10228 | if (temp6) | |
10229 | delete arg6; | |
10230 | } | |
10231 | return NULL; | |
10232 | } | |
10233 | ||
10234 | ||
10235 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10236 | PyObject *resultobj; | |
10237 | wxPyHtmlListBox *result; | |
10238 | char *kwnames[] = { | |
10239 | NULL | |
10240 | }; | |
10241 | ||
10242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10243 | { | |
10244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10245 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10246 | ||
10247 | wxPyEndAllowThreads(__tstate); | |
10248 | if (PyErr_Occurred()) SWIG_fail; | |
10249 | } | |
15afbcd0 | 10250 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10251 | return resultobj; |
10252 | fail: | |
10253 | return NULL; | |
10254 | } | |
10255 | ||
10256 | ||
10257 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10258 | PyObject *resultobj; | |
10259 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10260 | PyObject *arg2 = (PyObject *) 0 ; | |
10261 | PyObject *arg3 = (PyObject *) 0 ; | |
10262 | PyObject * obj0 = 0 ; | |
10263 | PyObject * obj1 = 0 ; | |
10264 | PyObject * obj2 = 0 ; | |
10265 | char *kwnames[] = { | |
10266 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10267 | }; | |
10268 | ||
10269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10272 | arg2 = obj1; |
10273 | arg3 = obj2; | |
10274 | { | |
10275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10276 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10277 | ||
10278 | wxPyEndAllowThreads(__tstate); | |
10279 | if (PyErr_Occurred()) SWIG_fail; | |
10280 | } | |
10281 | Py_INCREF(Py_None); resultobj = Py_None; | |
10282 | return resultobj; | |
10283 | fail: | |
10284 | return NULL; | |
10285 | } | |
10286 | ||
10287 | ||
10288 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10289 | PyObject *resultobj; | |
10290 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10291 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10292 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10293 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10294 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10295 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10296 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10297 | long arg6 = (long) 0 ; | |
10298 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10299 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10300 | bool result; | |
10301 | wxPoint temp4 ; | |
10302 | wxSize temp5 ; | |
e811c8ce | 10303 | bool temp7 = False ; |
d14a1e28 RD |
10304 | PyObject * obj0 = 0 ; |
10305 | PyObject * obj1 = 0 ; | |
994141e6 | 10306 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10307 | PyObject * obj3 = 0 ; |
10308 | PyObject * obj4 = 0 ; | |
994141e6 | 10309 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10310 | PyObject * obj6 = 0 ; |
10311 | char *kwnames[] = { | |
10312 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10313 | }; | |
10314 | ||
994141e6 | 10315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10318 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10320 | if (obj2) { |
15afbcd0 RD |
10321 | arg3 = (int) SWIG_AsInt(obj2); |
10322 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10323 | } |
d14a1e28 RD |
10324 | if (obj3) { |
10325 | { | |
10326 | arg4 = &temp4; | |
10327 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10328 | } | |
10329 | } | |
10330 | if (obj4) { | |
10331 | { | |
10332 | arg5 = &temp5; | |
10333 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10334 | } | |
10335 | } | |
994141e6 | 10336 | if (obj5) { |
15afbcd0 RD |
10337 | arg6 = (long) SWIG_AsLong(obj5); |
10338 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 10339 | } |
d14a1e28 RD |
10340 | if (obj6) { |
10341 | { | |
10342 | arg7 = wxString_in_helper(obj6); | |
10343 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 10344 | temp7 = True; |
d14a1e28 RD |
10345 | } |
10346 | } | |
10347 | { | |
10348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10349 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10350 | ||
10351 | wxPyEndAllowThreads(__tstate); | |
10352 | if (PyErr_Occurred()) SWIG_fail; | |
10353 | } | |
4f89f6a3 RD |
10354 | { |
10355 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10356 | } | |
d14a1e28 RD |
10357 | { |
10358 | if (temp7) | |
10359 | delete arg7; | |
10360 | } | |
10361 | return resultobj; | |
10362 | fail: | |
10363 | { | |
10364 | if (temp7) | |
10365 | delete arg7; | |
10366 | } | |
10367 | return NULL; | |
10368 | } | |
10369 | ||
10370 | ||
10371 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10372 | PyObject *resultobj; | |
10373 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10374 | PyObject * obj0 = 0 ; | |
10375 | char *kwnames[] = { | |
10376 | (char *) "self", NULL | |
10377 | }; | |
10378 | ||
10379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10382 | { |
10383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10384 | (arg1)->RefreshAll(); | |
10385 | ||
10386 | wxPyEndAllowThreads(__tstate); | |
10387 | if (PyErr_Occurred()) SWIG_fail; | |
10388 | } | |
10389 | Py_INCREF(Py_None); resultobj = Py_None; | |
10390 | return resultobj; | |
10391 | fail: | |
10392 | return NULL; | |
10393 | } | |
10394 | ||
10395 | ||
10396 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10397 | PyObject *resultobj; | |
10398 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10399 | size_t arg2 ; | |
10400 | PyObject * obj0 = 0 ; | |
10401 | PyObject * obj1 = 0 ; | |
10402 | char *kwnames[] = { | |
10403 | (char *) "self",(char *) "count", NULL | |
10404 | }; | |
10405 | ||
10406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10407 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10409 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10410 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10411 | { |
10412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10413 | (arg1)->SetItemCount(arg2); | |
10414 | ||
10415 | wxPyEndAllowThreads(__tstate); | |
10416 | if (PyErr_Occurred()) SWIG_fail; | |
10417 | } | |
10418 | Py_INCREF(Py_None); resultobj = Py_None; | |
10419 | return resultobj; | |
10420 | fail: | |
10421 | return NULL; | |
10422 | } | |
10423 | ||
10424 | ||
10425 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10426 | PyObject *obj; | |
10427 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10428 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10429 | Py_INCREF(obj); | |
10430 | return Py_BuildValue((char *)""); | |
10431 | } | |
10432 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10433 | PyObject *resultobj; | |
10434 | wxTaskBarIcon *result; | |
10435 | char *kwnames[] = { | |
10436 | NULL | |
10437 | }; | |
10438 | ||
10439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10440 | { | |
10441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10442 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10443 | ||
10444 | wxPyEndAllowThreads(__tstate); | |
10445 | if (PyErr_Occurred()) SWIG_fail; | |
10446 | } | |
15afbcd0 | 10447 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10448 | return resultobj; |
10449 | fail: | |
10450 | return NULL; | |
10451 | } | |
10452 | ||
10453 | ||
10454 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10455 | PyObject *resultobj; | |
10456 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10457 | PyObject * obj0 = 0 ; | |
10458 | char *kwnames[] = { | |
10459 | (char *) "self", NULL | |
10460 | }; | |
10461 | ||
10462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10465 | { |
10466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10467 | delete arg1; | |
10468 | ||
10469 | wxPyEndAllowThreads(__tstate); | |
10470 | if (PyErr_Occurred()) SWIG_fail; | |
10471 | } | |
10472 | Py_INCREF(Py_None); resultobj = Py_None; | |
10473 | return resultobj; | |
10474 | fail: | |
10475 | return NULL; | |
10476 | } | |
10477 | ||
10478 | ||
10479 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10480 | PyObject *resultobj; | |
10481 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10482 | bool result; | |
10483 | PyObject * obj0 = 0 ; | |
10484 | char *kwnames[] = { | |
10485 | (char *) "self", NULL | |
10486 | }; | |
10487 | ||
10488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10491 | { |
10492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10493 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10494 | ||
10495 | wxPyEndAllowThreads(__tstate); | |
10496 | if (PyErr_Occurred()) SWIG_fail; | |
10497 | } | |
4f89f6a3 RD |
10498 | { |
10499 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10500 | } | |
d14a1e28 RD |
10501 | return resultobj; |
10502 | fail: | |
10503 | return NULL; | |
10504 | } | |
10505 | ||
10506 | ||
10507 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10508 | PyObject *resultobj; | |
10509 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10510 | bool result; | |
10511 | PyObject * obj0 = 0 ; | |
10512 | char *kwnames[] = { | |
10513 | (char *) "self", NULL | |
10514 | }; | |
10515 | ||
10516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10519 | { |
10520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10521 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10522 | ||
10523 | wxPyEndAllowThreads(__tstate); | |
10524 | if (PyErr_Occurred()) SWIG_fail; | |
10525 | } | |
4f89f6a3 RD |
10526 | { |
10527 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10528 | } | |
d14a1e28 RD |
10529 | return resultobj; |
10530 | fail: | |
10531 | return NULL; | |
10532 | } | |
10533 | ||
10534 | ||
10535 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10536 | PyObject *resultobj; | |
10537 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10538 | wxIcon *arg2 = 0 ; | |
10539 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10540 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10541 | bool result; | |
e811c8ce | 10542 | bool temp3 = False ; |
d14a1e28 RD |
10543 | PyObject * obj0 = 0 ; |
10544 | PyObject * obj1 = 0 ; | |
10545 | PyObject * obj2 = 0 ; | |
10546 | char *kwnames[] = { | |
10547 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10548 | }; | |
10549 | ||
10550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10553 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
10554 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
10555 | SWIG_fail; | |
d14a1e28 | 10556 | if (arg2 == NULL) { |
15afbcd0 RD |
10557 | PyErr_SetString(PyExc_TypeError,"null reference"); |
10558 | SWIG_fail; | |
d14a1e28 RD |
10559 | } |
10560 | if (obj2) { | |
10561 | { | |
10562 | arg3 = wxString_in_helper(obj2); | |
10563 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 10564 | temp3 = True; |
d14a1e28 RD |
10565 | } |
10566 | } | |
10567 | { | |
10568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10569 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10570 | ||
10571 | wxPyEndAllowThreads(__tstate); | |
10572 | if (PyErr_Occurred()) SWIG_fail; | |
10573 | } | |
4f89f6a3 RD |
10574 | { |
10575 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10576 | } | |
d14a1e28 RD |
10577 | { |
10578 | if (temp3) | |
10579 | delete arg3; | |
10580 | } | |
10581 | return resultobj; | |
10582 | fail: | |
10583 | { | |
10584 | if (temp3) | |
10585 | delete arg3; | |
10586 | } | |
10587 | return NULL; | |
10588 | } | |
10589 | ||
10590 | ||
10591 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10592 | PyObject *resultobj; | |
10593 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10594 | bool result; | |
10595 | PyObject * obj0 = 0 ; | |
10596 | char *kwnames[] = { | |
10597 | (char *) "self", NULL | |
10598 | }; | |
10599 | ||
10600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10603 | { |
10604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10605 | result = (bool)(arg1)->RemoveIcon(); | |
10606 | ||
10607 | wxPyEndAllowThreads(__tstate); | |
10608 | if (PyErr_Occurred()) SWIG_fail; | |
10609 | } | |
4f89f6a3 RD |
10610 | { |
10611 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10612 | } | |
d14a1e28 RD |
10613 | return resultobj; |
10614 | fail: | |
10615 | return NULL; | |
10616 | } | |
10617 | ||
10618 | ||
10619 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10620 | PyObject *resultobj; | |
10621 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10622 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10623 | bool result; | |
10624 | PyObject * obj0 = 0 ; | |
10625 | PyObject * obj1 = 0 ; | |
10626 | char *kwnames[] = { | |
10627 | (char *) "self",(char *) "menu", NULL | |
10628 | }; | |
10629 | ||
10630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10633 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
10634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10635 | { |
10636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10637 | result = (bool)(arg1)->PopupMenu(arg2); | |
10638 | ||
10639 | wxPyEndAllowThreads(__tstate); | |
10640 | if (PyErr_Occurred()) SWIG_fail; | |
10641 | } | |
4f89f6a3 RD |
10642 | { |
10643 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10644 | } | |
d14a1e28 RD |
10645 | return resultobj; |
10646 | fail: | |
10647 | return NULL; | |
10648 | } | |
10649 | ||
10650 | ||
10651 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10652 | PyObject *obj; | |
10653 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10654 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10655 | Py_INCREF(obj); | |
10656 | return Py_BuildValue((char *)""); | |
10657 | } | |
10658 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10659 | PyObject *resultobj; | |
10660 | wxEventType arg1 ; | |
10661 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10662 | wxTaskBarIconEvent *result; | |
994141e6 | 10663 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10664 | PyObject * obj1 = 0 ; |
10665 | char *kwnames[] = { | |
10666 | (char *) "evtType",(char *) "tbIcon", NULL | |
10667 | }; | |
10668 | ||
994141e6 | 10669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10670 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10671 | if (PyErr_Occurred()) SWIG_fail; | |
10672 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10674 | { |
10675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10676 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10677 | ||
10678 | wxPyEndAllowThreads(__tstate); | |
10679 | if (PyErr_Occurred()) SWIG_fail; | |
10680 | } | |
15afbcd0 | 10681 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10682 | return resultobj; |
10683 | fail: | |
10684 | return NULL; | |
10685 | } | |
10686 | ||
10687 | ||
10688 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10689 | PyObject *obj; | |
10690 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10691 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10692 | Py_INCREF(obj); | |
10693 | return Py_BuildValue((char *)""); | |
10694 | } | |
b2dc1044 RD |
10695 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
10696 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); | |
10697 | return 1; | |
10698 | } | |
10699 | ||
10700 | ||
10701 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10702 | PyObject *pyobj; | |
10703 | ||
10704 | { | |
10705 | #if wxUSE_UNICODE | |
10706 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10707 | #else | |
10708 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10709 | #endif | |
10710 | } | |
10711 | return pyobj; | |
10712 | } | |
10713 | ||
10714 | ||
10715 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { | |
10716 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); | |
10717 | return 1; | |
10718 | } | |
10719 | ||
10720 | ||
10721 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10722 | PyObject *pyobj; | |
10723 | ||
10724 | { | |
10725 | #if wxUSE_UNICODE | |
10726 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10727 | #else | |
10728 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10729 | #endif | |
10730 | } | |
10731 | return pyobj; | |
10732 | } | |
10733 | ||
10734 | ||
10735 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { | |
10736 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); | |
10737 | return 1; | |
10738 | } | |
10739 | ||
10740 | ||
10741 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10742 | PyObject *pyobj; | |
10743 | ||
10744 | { | |
10745 | #if wxUSE_UNICODE | |
10746 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10747 | #else | |
10748 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10749 | #endif | |
10750 | } | |
10751 | return pyobj; | |
10752 | } | |
10753 | ||
10754 | ||
10755 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { | |
10756 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); | |
10757 | return 1; | |
10758 | } | |
10759 | ||
10760 | ||
10761 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10762 | PyObject *pyobj; | |
10763 | ||
10764 | { | |
10765 | #if wxUSE_UNICODE | |
10766 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10767 | #else | |
10768 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10769 | #endif | |
10770 | } | |
10771 | return pyobj; | |
10772 | } | |
10773 | ||
10774 | ||
10775 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { | |
10776 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); | |
10777 | return 1; | |
10778 | } | |
10779 | ||
10780 | ||
10781 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10782 | PyObject *pyobj; | |
10783 | ||
10784 | { | |
10785 | #if wxUSE_UNICODE | |
10786 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10787 | #else | |
10788 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10789 | #endif | |
10790 | } | |
10791 | return pyobj; | |
10792 | } | |
10793 | ||
10794 | ||
10795 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { | |
10796 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); | |
10797 | return 1; | |
10798 | } | |
10799 | ||
10800 | ||
10801 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10802 | PyObject *pyobj; | |
10803 | ||
10804 | { | |
10805 | #if wxUSE_UNICODE | |
10806 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10807 | #else | |
10808 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10809 | #endif | |
10810 | } | |
10811 | return pyobj; | |
10812 | } | |
10813 | ||
10814 | ||
d14a1e28 RD |
10815 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10816 | PyObject *resultobj; | |
10817 | wxColourData *result; | |
10818 | char *kwnames[] = { | |
10819 | NULL | |
10820 | }; | |
10821 | ||
10822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10823 | { | |
10824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10825 | result = (wxColourData *)new wxColourData(); | |
10826 | ||
10827 | wxPyEndAllowThreads(__tstate); | |
10828 | if (PyErr_Occurred()) SWIG_fail; | |
10829 | } | |
15afbcd0 | 10830 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10831 | return resultobj; |
10832 | fail: | |
10833 | return NULL; | |
10834 | } | |
10835 | ||
10836 | ||
10837 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10838 | PyObject *resultobj; | |
10839 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10840 | PyObject * obj0 = 0 ; | |
10841 | char *kwnames[] = { | |
10842 | (char *) "self", NULL | |
10843 | }; | |
10844 | ||
10845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10848 | { |
10849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10850 | delete arg1; | |
10851 | ||
10852 | wxPyEndAllowThreads(__tstate); | |
10853 | if (PyErr_Occurred()) SWIG_fail; | |
10854 | } | |
10855 | Py_INCREF(Py_None); resultobj = Py_None; | |
10856 | return resultobj; | |
10857 | fail: | |
10858 | return NULL; | |
10859 | } | |
10860 | ||
10861 | ||
10862 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10863 | PyObject *resultobj; | |
10864 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10865 | bool result; | |
10866 | PyObject * obj0 = 0 ; | |
10867 | char *kwnames[] = { | |
10868 | (char *) "self", NULL | |
10869 | }; | |
10870 | ||
10871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10874 | { |
10875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10876 | result = (bool)(arg1)->GetChooseFull(); | |
10877 | ||
10878 | wxPyEndAllowThreads(__tstate); | |
10879 | if (PyErr_Occurred()) SWIG_fail; | |
10880 | } | |
4f89f6a3 RD |
10881 | { |
10882 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10883 | } | |
d14a1e28 RD |
10884 | return resultobj; |
10885 | fail: | |
10886 | return NULL; | |
10887 | } | |
10888 | ||
10889 | ||
10890 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10891 | PyObject *resultobj; | |
10892 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10893 | wxColour result; | |
10894 | PyObject * obj0 = 0 ; | |
10895 | char *kwnames[] = { | |
10896 | (char *) "self", NULL | |
10897 | }; | |
10898 | ||
10899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10902 | { |
10903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10904 | result = (arg1)->GetColour(); | |
10905 | ||
10906 | wxPyEndAllowThreads(__tstate); | |
10907 | if (PyErr_Occurred()) SWIG_fail; | |
10908 | } | |
10909 | { | |
10910 | wxColour * resultptr; | |
10911 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 10912 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10913 | } |
10914 | return resultobj; | |
10915 | fail: | |
10916 | return NULL; | |
10917 | } | |
10918 | ||
10919 | ||
10920 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10921 | PyObject *resultobj; | |
10922 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10923 | int arg2 ; | |
10924 | wxColour result; | |
10925 | PyObject * obj0 = 0 ; | |
994141e6 | 10926 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10927 | char *kwnames[] = { |
10928 | (char *) "self",(char *) "i", NULL | |
10929 | }; | |
10930 | ||
994141e6 | 10931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10932 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10933 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10934 | arg2 = (int) SWIG_AsInt(obj1); | |
10935 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10936 | { |
10937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10938 | result = (arg1)->GetCustomColour(arg2); | |
10939 | ||
10940 | wxPyEndAllowThreads(__tstate); | |
10941 | if (PyErr_Occurred()) SWIG_fail; | |
10942 | } | |
10943 | { | |
10944 | wxColour * resultptr; | |
10945 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 10946 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10947 | } |
10948 | return resultobj; | |
10949 | fail: | |
10950 | return NULL; | |
10951 | } | |
10952 | ||
10953 | ||
10954 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10955 | PyObject *resultobj; | |
10956 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10957 | int arg2 ; | |
10958 | PyObject * obj0 = 0 ; | |
994141e6 | 10959 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10960 | char *kwnames[] = { |
10961 | (char *) "self",(char *) "flag", NULL | |
10962 | }; | |
10963 | ||
994141e6 | 10964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10967 | arg2 = (int) SWIG_AsInt(obj1); | |
10968 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10969 | { |
10970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10971 | (arg1)->SetChooseFull(arg2); | |
10972 | ||
10973 | wxPyEndAllowThreads(__tstate); | |
10974 | if (PyErr_Occurred()) SWIG_fail; | |
10975 | } | |
10976 | Py_INCREF(Py_None); resultobj = Py_None; | |
10977 | return resultobj; | |
10978 | fail: | |
10979 | return NULL; | |
10980 | } | |
10981 | ||
10982 | ||
10983 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10984 | PyObject *resultobj; | |
10985 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10986 | wxColour *arg2 = 0 ; | |
10987 | wxColour temp2 ; | |
10988 | PyObject * obj0 = 0 ; | |
10989 | PyObject * obj1 = 0 ; | |
10990 | char *kwnames[] = { | |
10991 | (char *) "self",(char *) "colour", NULL | |
10992 | }; | |
10993 | ||
10994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10997 | { |
10998 | arg2 = &temp2; | |
10999 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11000 | } | |
11001 | { | |
11002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11003 | (arg1)->SetColour((wxColour const &)*arg2); | |
11004 | ||
11005 | wxPyEndAllowThreads(__tstate); | |
11006 | if (PyErr_Occurred()) SWIG_fail; | |
11007 | } | |
11008 | Py_INCREF(Py_None); resultobj = Py_None; | |
11009 | return resultobj; | |
11010 | fail: | |
11011 | return NULL; | |
11012 | } | |
11013 | ||
11014 | ||
11015 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11016 | PyObject *resultobj; | |
11017 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11018 | int arg2 ; | |
11019 | wxColour *arg3 = 0 ; | |
11020 | wxColour temp3 ; | |
11021 | PyObject * obj0 = 0 ; | |
994141e6 | 11022 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11023 | PyObject * obj2 = 0 ; |
11024 | char *kwnames[] = { | |
11025 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11026 | }; | |
11027 | ||
994141e6 | 11028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11031 | arg2 = (int) SWIG_AsInt(obj1); | |
11032 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11033 | { |
11034 | arg3 = &temp3; | |
11035 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11036 | } | |
11037 | { | |
11038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11039 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11040 | ||
11041 | wxPyEndAllowThreads(__tstate); | |
11042 | if (PyErr_Occurred()) SWIG_fail; | |
11043 | } | |
11044 | Py_INCREF(Py_None); resultobj = Py_None; | |
11045 | return resultobj; | |
11046 | fail: | |
11047 | return NULL; | |
11048 | } | |
11049 | ||
11050 | ||
11051 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11052 | PyObject *obj; | |
11053 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11054 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11055 | Py_INCREF(obj); | |
11056 | return Py_BuildValue((char *)""); | |
11057 | } | |
11058 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11059 | PyObject *resultobj; | |
11060 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11061 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11062 | wxColourDialog *result; | |
11063 | PyObject * obj0 = 0 ; | |
11064 | PyObject * obj1 = 0 ; | |
11065 | char *kwnames[] = { | |
11066 | (char *) "parent",(char *) "data", NULL | |
11067 | }; | |
11068 | ||
11069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11072 | if (obj1) { |
15afbcd0 RD |
11073 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11075 | } |
11076 | { | |
11077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11078 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11079 | ||
11080 | wxPyEndAllowThreads(__tstate); | |
11081 | if (PyErr_Occurred()) SWIG_fail; | |
11082 | } | |
15afbcd0 | 11083 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11084 | return resultobj; |
11085 | fail: | |
11086 | return NULL; | |
11087 | } | |
11088 | ||
11089 | ||
11090 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11091 | PyObject *resultobj; | |
11092 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11093 | wxColourData *result; | |
11094 | PyObject * obj0 = 0 ; | |
11095 | char *kwnames[] = { | |
11096 | (char *) "self", NULL | |
11097 | }; | |
11098 | ||
11099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11102 | { |
11103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11104 | { | |
11105 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11106 | result = (wxColourData *) &_result_ref; | |
11107 | } | |
11108 | ||
11109 | wxPyEndAllowThreads(__tstate); | |
11110 | if (PyErr_Occurred()) SWIG_fail; | |
11111 | } | |
15afbcd0 | 11112 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11113 | return resultobj; |
11114 | fail: | |
11115 | return NULL; | |
11116 | } | |
11117 | ||
11118 | ||
d14a1e28 RD |
11119 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11120 | PyObject *obj; | |
11121 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11122 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11123 | Py_INCREF(obj); | |
11124 | return Py_BuildValue((char *)""); | |
11125 | } | |
11126 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11127 | PyObject *resultobj; | |
11128 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11129 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11130 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11131 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11132 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11133 | long arg4 = (long) 0 ; | |
11134 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11135 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11136 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11137 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11138 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11139 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11140 | wxDirDialog *result; | |
e811c8ce RD |
11141 | bool temp2 = False ; |
11142 | bool temp3 = False ; | |
d14a1e28 RD |
11143 | wxPoint temp5 ; |
11144 | wxSize temp6 ; | |
e811c8ce | 11145 | bool temp7 = False ; |
d14a1e28 RD |
11146 | PyObject * obj0 = 0 ; |
11147 | PyObject * obj1 = 0 ; | |
11148 | PyObject * obj2 = 0 ; | |
994141e6 | 11149 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11150 | PyObject * obj4 = 0 ; |
11151 | PyObject * obj5 = 0 ; | |
11152 | PyObject * obj6 = 0 ; | |
11153 | char *kwnames[] = { | |
11154 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11155 | }; | |
11156 | ||
994141e6 | 11157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11158 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11159 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11160 | if (obj1) { |
11161 | { | |
11162 | arg2 = wxString_in_helper(obj1); | |
11163 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11164 | temp2 = True; |
d14a1e28 RD |
11165 | } |
11166 | } | |
11167 | if (obj2) { | |
11168 | { | |
11169 | arg3 = wxString_in_helper(obj2); | |
11170 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11171 | temp3 = True; |
d14a1e28 RD |
11172 | } |
11173 | } | |
994141e6 | 11174 | if (obj3) { |
15afbcd0 RD |
11175 | arg4 = (long) SWIG_AsLong(obj3); |
11176 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11177 | } |
d14a1e28 RD |
11178 | if (obj4) { |
11179 | { | |
11180 | arg5 = &temp5; | |
11181 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11182 | } | |
11183 | } | |
11184 | if (obj5) { | |
11185 | { | |
11186 | arg6 = &temp6; | |
11187 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11188 | } | |
11189 | } | |
11190 | if (obj6) { | |
11191 | { | |
11192 | arg7 = wxString_in_helper(obj6); | |
11193 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 11194 | temp7 = True; |
d14a1e28 RD |
11195 | } |
11196 | } | |
11197 | { | |
11198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11199 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11200 | ||
11201 | wxPyEndAllowThreads(__tstate); | |
11202 | if (PyErr_Occurred()) SWIG_fail; | |
11203 | } | |
15afbcd0 | 11204 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11205 | { |
11206 | if (temp2) | |
11207 | delete arg2; | |
11208 | } | |
11209 | { | |
11210 | if (temp3) | |
11211 | delete arg3; | |
11212 | } | |
11213 | { | |
11214 | if (temp7) | |
11215 | delete arg7; | |
11216 | } | |
11217 | return resultobj; | |
11218 | fail: | |
11219 | { | |
11220 | if (temp2) | |
11221 | delete arg2; | |
11222 | } | |
11223 | { | |
11224 | if (temp3) | |
11225 | delete arg3; | |
11226 | } | |
11227 | { | |
11228 | if (temp7) | |
11229 | delete arg7; | |
11230 | } | |
11231 | return NULL; | |
11232 | } | |
11233 | ||
11234 | ||
11235 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11236 | PyObject *resultobj; | |
11237 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11238 | wxString result; | |
11239 | PyObject * obj0 = 0 ; | |
11240 | char *kwnames[] = { | |
11241 | (char *) "self", NULL | |
11242 | }; | |
11243 | ||
11244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11247 | { |
11248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11249 | result = (arg1)->GetPath(); | |
11250 | ||
11251 | wxPyEndAllowThreads(__tstate); | |
11252 | if (PyErr_Occurred()) SWIG_fail; | |
11253 | } | |
11254 | { | |
11255 | #if wxUSE_UNICODE | |
11256 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11257 | #else | |
11258 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11259 | #endif | |
11260 | } | |
11261 | return resultobj; | |
11262 | fail: | |
11263 | return NULL; | |
11264 | } | |
11265 | ||
11266 | ||
11267 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11268 | PyObject *resultobj; | |
11269 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11270 | wxString result; | |
11271 | PyObject * obj0 = 0 ; | |
11272 | char *kwnames[] = { | |
11273 | (char *) "self", NULL | |
11274 | }; | |
11275 | ||
11276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11279 | { |
11280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11281 | result = (arg1)->GetMessage(); | |
11282 | ||
11283 | wxPyEndAllowThreads(__tstate); | |
11284 | if (PyErr_Occurred()) SWIG_fail; | |
11285 | } | |
11286 | { | |
11287 | #if wxUSE_UNICODE | |
11288 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11289 | #else | |
11290 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11291 | #endif | |
11292 | } | |
11293 | return resultobj; | |
11294 | fail: | |
11295 | return NULL; | |
11296 | } | |
11297 | ||
11298 | ||
11299 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11300 | PyObject *resultobj; | |
11301 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11302 | long result; | |
11303 | PyObject * obj0 = 0 ; | |
11304 | char *kwnames[] = { | |
11305 | (char *) "self", NULL | |
11306 | }; | |
11307 | ||
11308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11311 | { |
11312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11313 | result = (long)(arg1)->GetStyle(); | |
11314 | ||
11315 | wxPyEndAllowThreads(__tstate); | |
11316 | if (PyErr_Occurred()) SWIG_fail; | |
11317 | } | |
15afbcd0 | 11318 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11319 | return resultobj; |
11320 | fail: | |
11321 | return NULL; | |
11322 | } | |
11323 | ||
11324 | ||
11325 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11326 | PyObject *resultobj; | |
11327 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11328 | wxString *arg2 = 0 ; | |
e811c8ce | 11329 | bool temp2 = False ; |
d14a1e28 RD |
11330 | PyObject * obj0 = 0 ; |
11331 | PyObject * obj1 = 0 ; | |
11332 | char *kwnames[] = { | |
11333 | (char *) "self",(char *) "message", NULL | |
11334 | }; | |
11335 | ||
11336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11339 | { |
11340 | arg2 = wxString_in_helper(obj1); | |
11341 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11342 | temp2 = True; |
d14a1e28 RD |
11343 | } |
11344 | { | |
11345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11346 | (arg1)->SetMessage((wxString const &)*arg2); | |
11347 | ||
11348 | wxPyEndAllowThreads(__tstate); | |
11349 | if (PyErr_Occurred()) SWIG_fail; | |
11350 | } | |
11351 | Py_INCREF(Py_None); resultobj = Py_None; | |
11352 | { | |
11353 | if (temp2) | |
11354 | delete arg2; | |
11355 | } | |
11356 | return resultobj; | |
11357 | fail: | |
11358 | { | |
11359 | if (temp2) | |
11360 | delete arg2; | |
11361 | } | |
11362 | return NULL; | |
11363 | } | |
11364 | ||
11365 | ||
11366 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11367 | PyObject *resultobj; | |
11368 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11369 | wxString *arg2 = 0 ; | |
e811c8ce | 11370 | bool temp2 = False ; |
d14a1e28 RD |
11371 | PyObject * obj0 = 0 ; |
11372 | PyObject * obj1 = 0 ; | |
11373 | char *kwnames[] = { | |
11374 | (char *) "self",(char *) "path", NULL | |
11375 | }; | |
11376 | ||
11377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11380 | { |
11381 | arg2 = wxString_in_helper(obj1); | |
11382 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11383 | temp2 = True; |
d14a1e28 RD |
11384 | } |
11385 | { | |
11386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11387 | (arg1)->SetPath((wxString const &)*arg2); | |
11388 | ||
11389 | wxPyEndAllowThreads(__tstate); | |
11390 | if (PyErr_Occurred()) SWIG_fail; | |
11391 | } | |
11392 | Py_INCREF(Py_None); resultobj = Py_None; | |
11393 | { | |
11394 | if (temp2) | |
11395 | delete arg2; | |
11396 | } | |
11397 | return resultobj; | |
11398 | fail: | |
11399 | { | |
11400 | if (temp2) | |
11401 | delete arg2; | |
11402 | } | |
11403 | return NULL; | |
11404 | } | |
11405 | ||
11406 | ||
d14a1e28 RD |
11407 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11408 | PyObject *obj; | |
11409 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11410 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11411 | Py_INCREF(obj); | |
11412 | return Py_BuildValue((char *)""); | |
11413 | } | |
11414 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11415 | PyObject *resultobj; | |
11416 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11417 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11418 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11419 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11420 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11421 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11422 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11423 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11424 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11425 | long arg6 = (long) 0 ; | |
11426 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11427 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11428 | wxFileDialog *result; | |
e811c8ce RD |
11429 | bool temp2 = False ; |
11430 | bool temp3 = False ; | |
11431 | bool temp4 = False ; | |
11432 | bool temp5 = False ; | |
d14a1e28 RD |
11433 | wxPoint temp7 ; |
11434 | PyObject * obj0 = 0 ; | |
11435 | PyObject * obj1 = 0 ; | |
11436 | PyObject * obj2 = 0 ; | |
11437 | PyObject * obj3 = 0 ; | |
11438 | PyObject * obj4 = 0 ; | |
994141e6 | 11439 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11440 | PyObject * obj6 = 0 ; |
11441 | char *kwnames[] = { | |
11442 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11443 | }; | |
11444 | ||
994141e6 | 11445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11448 | if (obj1) { |
11449 | { | |
11450 | arg2 = wxString_in_helper(obj1); | |
11451 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11452 | temp2 = True; |
d14a1e28 RD |
11453 | } |
11454 | } | |
11455 | if (obj2) { | |
11456 | { | |
11457 | arg3 = wxString_in_helper(obj2); | |
11458 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 11459 | temp3 = True; |
d14a1e28 RD |
11460 | } |
11461 | } | |
11462 | if (obj3) { | |
11463 | { | |
11464 | arg4 = wxString_in_helper(obj3); | |
11465 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 11466 | temp4 = True; |
d14a1e28 RD |
11467 | } |
11468 | } | |
11469 | if (obj4) { | |
11470 | { | |
11471 | arg5 = wxString_in_helper(obj4); | |
11472 | if (arg5 == NULL) SWIG_fail; | |
e811c8ce | 11473 | temp5 = True; |
d14a1e28 RD |
11474 | } |
11475 | } | |
994141e6 | 11476 | if (obj5) { |
15afbcd0 RD |
11477 | arg6 = (long) SWIG_AsLong(obj5); |
11478 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 11479 | } |
d14a1e28 RD |
11480 | if (obj6) { |
11481 | { | |
11482 | arg7 = &temp7; | |
11483 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11484 | } | |
11485 | } | |
11486 | { | |
11487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11488 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11489 | ||
11490 | wxPyEndAllowThreads(__tstate); | |
11491 | if (PyErr_Occurred()) SWIG_fail; | |
11492 | } | |
15afbcd0 | 11493 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11494 | { |
11495 | if (temp2) | |
11496 | delete arg2; | |
11497 | } | |
11498 | { | |
11499 | if (temp3) | |
11500 | delete arg3; | |
11501 | } | |
11502 | { | |
11503 | if (temp4) | |
11504 | delete arg4; | |
11505 | } | |
11506 | { | |
11507 | if (temp5) | |
11508 | delete arg5; | |
11509 | } | |
11510 | return resultobj; | |
11511 | fail: | |
11512 | { | |
11513 | if (temp2) | |
11514 | delete arg2; | |
11515 | } | |
11516 | { | |
11517 | if (temp3) | |
11518 | delete arg3; | |
11519 | } | |
11520 | { | |
11521 | if (temp4) | |
11522 | delete arg4; | |
11523 | } | |
11524 | { | |
11525 | if (temp5) | |
11526 | delete arg5; | |
11527 | } | |
11528 | return NULL; | |
11529 | } | |
11530 | ||
11531 | ||
11532 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11533 | PyObject *resultobj; | |
11534 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11535 | wxString *arg2 = 0 ; | |
e811c8ce | 11536 | bool temp2 = False ; |
d14a1e28 RD |
11537 | PyObject * obj0 = 0 ; |
11538 | PyObject * obj1 = 0 ; | |
11539 | char *kwnames[] = { | |
11540 | (char *) "self",(char *) "message", NULL | |
11541 | }; | |
11542 | ||
11543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11544 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11546 | { |
11547 | arg2 = wxString_in_helper(obj1); | |
11548 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11549 | temp2 = True; |
d14a1e28 RD |
11550 | } |
11551 | { | |
11552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11553 | (arg1)->SetMessage((wxString const &)*arg2); | |
11554 | ||
11555 | wxPyEndAllowThreads(__tstate); | |
11556 | if (PyErr_Occurred()) SWIG_fail; | |
11557 | } | |
11558 | Py_INCREF(Py_None); resultobj = Py_None; | |
11559 | { | |
11560 | if (temp2) | |
11561 | delete arg2; | |
11562 | } | |
11563 | return resultobj; | |
11564 | fail: | |
11565 | { | |
11566 | if (temp2) | |
11567 | delete arg2; | |
11568 | } | |
11569 | return NULL; | |
11570 | } | |
11571 | ||
11572 | ||
11573 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11574 | PyObject *resultobj; | |
11575 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11576 | wxString *arg2 = 0 ; | |
e811c8ce | 11577 | bool temp2 = False ; |
d14a1e28 RD |
11578 | PyObject * obj0 = 0 ; |
11579 | PyObject * obj1 = 0 ; | |
11580 | char *kwnames[] = { | |
11581 | (char *) "self",(char *) "path", NULL | |
11582 | }; | |
11583 | ||
11584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11587 | { |
11588 | arg2 = wxString_in_helper(obj1); | |
11589 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11590 | temp2 = True; |
d14a1e28 RD |
11591 | } |
11592 | { | |
11593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11594 | (arg1)->SetPath((wxString const &)*arg2); | |
11595 | ||
11596 | wxPyEndAllowThreads(__tstate); | |
11597 | if (PyErr_Occurred()) SWIG_fail; | |
11598 | } | |
11599 | Py_INCREF(Py_None); resultobj = Py_None; | |
11600 | { | |
11601 | if (temp2) | |
11602 | delete arg2; | |
11603 | } | |
11604 | return resultobj; | |
11605 | fail: | |
11606 | { | |
11607 | if (temp2) | |
11608 | delete arg2; | |
11609 | } | |
11610 | return NULL; | |
11611 | } | |
11612 | ||
11613 | ||
11614 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11615 | PyObject *resultobj; | |
11616 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11617 | wxString *arg2 = 0 ; | |
e811c8ce | 11618 | bool temp2 = False ; |
d14a1e28 RD |
11619 | PyObject * obj0 = 0 ; |
11620 | PyObject * obj1 = 0 ; | |
11621 | char *kwnames[] = { | |
11622 | (char *) "self",(char *) "dir", NULL | |
11623 | }; | |
11624 | ||
11625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11628 | { |
11629 | arg2 = wxString_in_helper(obj1); | |
11630 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11631 | temp2 = True; |
d14a1e28 RD |
11632 | } |
11633 | { | |
11634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11635 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11636 | ||
11637 | wxPyEndAllowThreads(__tstate); | |
11638 | if (PyErr_Occurred()) SWIG_fail; | |
11639 | } | |
11640 | Py_INCREF(Py_None); resultobj = Py_None; | |
11641 | { | |
11642 | if (temp2) | |
11643 | delete arg2; | |
11644 | } | |
11645 | return resultobj; | |
11646 | fail: | |
11647 | { | |
11648 | if (temp2) | |
11649 | delete arg2; | |
11650 | } | |
11651 | return NULL; | |
11652 | } | |
11653 | ||
11654 | ||
11655 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11656 | PyObject *resultobj; | |
11657 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11658 | wxString *arg2 = 0 ; | |
e811c8ce | 11659 | bool temp2 = False ; |
d14a1e28 RD |
11660 | PyObject * obj0 = 0 ; |
11661 | PyObject * obj1 = 0 ; | |
11662 | char *kwnames[] = { | |
11663 | (char *) "self",(char *) "name", NULL | |
11664 | }; | |
11665 | ||
11666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11669 | { |
11670 | arg2 = wxString_in_helper(obj1); | |
11671 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11672 | temp2 = True; |
d14a1e28 RD |
11673 | } |
11674 | { | |
11675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11676 | (arg1)->SetFilename((wxString const &)*arg2); | |
11677 | ||
11678 | wxPyEndAllowThreads(__tstate); | |
11679 | if (PyErr_Occurred()) SWIG_fail; | |
11680 | } | |
11681 | Py_INCREF(Py_None); resultobj = Py_None; | |
11682 | { | |
11683 | if (temp2) | |
11684 | delete arg2; | |
11685 | } | |
11686 | return resultobj; | |
11687 | fail: | |
11688 | { | |
11689 | if (temp2) | |
11690 | delete arg2; | |
11691 | } | |
11692 | return NULL; | |
11693 | } | |
11694 | ||
11695 | ||
11696 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11697 | PyObject *resultobj; | |
11698 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11699 | wxString *arg2 = 0 ; | |
e811c8ce | 11700 | bool temp2 = False ; |
d14a1e28 RD |
11701 | PyObject * obj0 = 0 ; |
11702 | PyObject * obj1 = 0 ; | |
11703 | char *kwnames[] = { | |
11704 | (char *) "self",(char *) "wildCard", NULL | |
11705 | }; | |
11706 | ||
11707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11710 | { |
11711 | arg2 = wxString_in_helper(obj1); | |
11712 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 11713 | temp2 = True; |
d14a1e28 RD |
11714 | } |
11715 | { | |
11716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11717 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11718 | ||
11719 | wxPyEndAllowThreads(__tstate); | |
11720 | if (PyErr_Occurred()) SWIG_fail; | |
11721 | } | |
11722 | Py_INCREF(Py_None); resultobj = Py_None; | |
11723 | { | |
11724 | if (temp2) | |
11725 | delete arg2; | |
11726 | } | |
11727 | return resultobj; | |
11728 | fail: | |
11729 | { | |
11730 | if (temp2) | |
11731 | delete arg2; | |
11732 | } | |
11733 | return NULL; | |
11734 | } | |
11735 | ||
11736 | ||
11737 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11738 | PyObject *resultobj; | |
11739 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11740 | long arg2 ; | |
11741 | PyObject * obj0 = 0 ; | |
994141e6 | 11742 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11743 | char *kwnames[] = { |
11744 | (char *) "self",(char *) "style", NULL | |
11745 | }; | |
11746 | ||
994141e6 | 11747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11750 | arg2 = (long) SWIG_AsLong(obj1); | |
11751 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11752 | { |
11753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11754 | (arg1)->SetStyle(arg2); | |
11755 | ||
11756 | wxPyEndAllowThreads(__tstate); | |
11757 | if (PyErr_Occurred()) SWIG_fail; | |
11758 | } | |
11759 | Py_INCREF(Py_None); resultobj = Py_None; | |
11760 | return resultobj; | |
11761 | fail: | |
11762 | return NULL; | |
11763 | } | |
11764 | ||
11765 | ||
11766 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11767 | PyObject *resultobj; | |
11768 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11769 | int arg2 ; | |
11770 | PyObject * obj0 = 0 ; | |
994141e6 | 11771 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11772 | char *kwnames[] = { |
11773 | (char *) "self",(char *) "filterIndex", NULL | |
11774 | }; | |
11775 | ||
994141e6 | 11776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11779 | arg2 = (int) SWIG_AsInt(obj1); | |
11780 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11781 | { |
11782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11783 | (arg1)->SetFilterIndex(arg2); | |
11784 | ||
11785 | wxPyEndAllowThreads(__tstate); | |
11786 | if (PyErr_Occurred()) SWIG_fail; | |
11787 | } | |
11788 | Py_INCREF(Py_None); resultobj = Py_None; | |
11789 | return resultobj; | |
11790 | fail: | |
11791 | return NULL; | |
11792 | } | |
11793 | ||
11794 | ||
11795 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11796 | PyObject *resultobj; | |
11797 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11798 | wxString result; | |
11799 | PyObject * obj0 = 0 ; | |
11800 | char *kwnames[] = { | |
11801 | (char *) "self", NULL | |
11802 | }; | |
11803 | ||
11804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11807 | { |
11808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11809 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11810 | ||
11811 | wxPyEndAllowThreads(__tstate); | |
11812 | if (PyErr_Occurred()) SWIG_fail; | |
11813 | } | |
11814 | { | |
11815 | #if wxUSE_UNICODE | |
11816 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11817 | #else | |
11818 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11819 | #endif | |
11820 | } | |
11821 | return resultobj; | |
11822 | fail: | |
11823 | return NULL; | |
11824 | } | |
11825 | ||
11826 | ||
11827 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11828 | PyObject *resultobj; | |
11829 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11830 | wxString result; | |
11831 | PyObject * obj0 = 0 ; | |
11832 | char *kwnames[] = { | |
11833 | (char *) "self", NULL | |
11834 | }; | |
11835 | ||
11836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11839 | { |
11840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11841 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11842 | ||
11843 | wxPyEndAllowThreads(__tstate); | |
11844 | if (PyErr_Occurred()) SWIG_fail; | |
11845 | } | |
11846 | { | |
11847 | #if wxUSE_UNICODE | |
11848 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11849 | #else | |
11850 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11851 | #endif | |
11852 | } | |
11853 | return resultobj; | |
11854 | fail: | |
11855 | return NULL; | |
11856 | } | |
11857 | ||
11858 | ||
11859 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11860 | PyObject *resultobj; | |
11861 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11862 | wxString result; | |
11863 | PyObject * obj0 = 0 ; | |
11864 | char *kwnames[] = { | |
11865 | (char *) "self", NULL | |
11866 | }; | |
11867 | ||
11868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11871 | { |
11872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11873 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11874 | ||
11875 | wxPyEndAllowThreads(__tstate); | |
11876 | if (PyErr_Occurred()) SWIG_fail; | |
11877 | } | |
11878 | { | |
11879 | #if wxUSE_UNICODE | |
11880 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11881 | #else | |
11882 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11883 | #endif | |
11884 | } | |
11885 | return resultobj; | |
11886 | fail: | |
11887 | return NULL; | |
11888 | } | |
11889 | ||
11890 | ||
11891 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11892 | PyObject *resultobj; | |
11893 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11894 | wxString result; | |
11895 | PyObject * obj0 = 0 ; | |
11896 | char *kwnames[] = { | |
11897 | (char *) "self", NULL | |
11898 | }; | |
11899 | ||
11900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11903 | { |
11904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11905 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11906 | ||
11907 | wxPyEndAllowThreads(__tstate); | |
11908 | if (PyErr_Occurred()) SWIG_fail; | |
11909 | } | |
11910 | { | |
11911 | #if wxUSE_UNICODE | |
11912 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11913 | #else | |
11914 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11915 | #endif | |
11916 | } | |
11917 | return resultobj; | |
11918 | fail: | |
11919 | return NULL; | |
11920 | } | |
11921 | ||
11922 | ||
11923 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11924 | PyObject *resultobj; | |
11925 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11926 | wxString result; | |
11927 | PyObject * obj0 = 0 ; | |
11928 | char *kwnames[] = { | |
11929 | (char *) "self", NULL | |
11930 | }; | |
11931 | ||
11932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11935 | { |
11936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11937 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
11938 | ||
11939 | wxPyEndAllowThreads(__tstate); | |
11940 | if (PyErr_Occurred()) SWIG_fail; | |
11941 | } | |
11942 | { | |
11943 | #if wxUSE_UNICODE | |
11944 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11945 | #else | |
11946 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11947 | #endif | |
11948 | } | |
11949 | return resultobj; | |
11950 | fail: | |
11951 | return NULL; | |
11952 | } | |
11953 | ||
11954 | ||
11955 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11956 | PyObject *resultobj; | |
11957 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11958 | long result; | |
11959 | PyObject * obj0 = 0 ; | |
11960 | char *kwnames[] = { | |
11961 | (char *) "self", NULL | |
11962 | }; | |
11963 | ||
11964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11967 | { |
11968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11969 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
11970 | ||
11971 | wxPyEndAllowThreads(__tstate); | |
11972 | if (PyErr_Occurred()) SWIG_fail; | |
11973 | } | |
15afbcd0 | 11974 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11975 | return resultobj; |
11976 | fail: | |
11977 | return NULL; | |
11978 | } | |
11979 | ||
11980 | ||
11981 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11982 | PyObject *resultobj; | |
11983 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11984 | int result; | |
11985 | PyObject * obj0 = 0 ; | |
11986 | char *kwnames[] = { | |
11987 | (char *) "self", NULL | |
11988 | }; | |
11989 | ||
11990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11993 | { |
11994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11995 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11996 | ||
11997 | wxPyEndAllowThreads(__tstate); | |
11998 | if (PyErr_Occurred()) SWIG_fail; | |
11999 | } | |
15afbcd0 | 12000 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12001 | return resultobj; |
12002 | fail: | |
12003 | return NULL; | |
12004 | } | |
12005 | ||
12006 | ||
12007 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12008 | PyObject *resultobj; | |
12009 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12010 | PyObject *result; | |
12011 | PyObject * obj0 = 0 ; | |
12012 | char *kwnames[] = { | |
12013 | (char *) "self", NULL | |
12014 | }; | |
12015 | ||
12016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12017 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12018 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12019 | { |
12020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12021 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12022 | ||
12023 | wxPyEndAllowThreads(__tstate); | |
12024 | if (PyErr_Occurred()) SWIG_fail; | |
12025 | } | |
12026 | resultobj = result; | |
12027 | return resultobj; | |
12028 | fail: | |
12029 | return NULL; | |
12030 | } | |
12031 | ||
12032 | ||
12033 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12034 | PyObject *resultobj; | |
12035 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12036 | PyObject *result; | |
12037 | PyObject * obj0 = 0 ; | |
12038 | char *kwnames[] = { | |
12039 | (char *) "self", NULL | |
12040 | }; | |
12041 | ||
12042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12045 | { |
12046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12047 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12048 | ||
12049 | wxPyEndAllowThreads(__tstate); | |
12050 | if (PyErr_Occurred()) SWIG_fail; | |
12051 | } | |
12052 | resultobj = result; | |
12053 | return resultobj; | |
12054 | fail: | |
12055 | return NULL; | |
12056 | } | |
12057 | ||
12058 | ||
12059 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12060 | PyObject *obj; | |
12061 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12062 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12063 | Py_INCREF(obj); | |
12064 | return Py_BuildValue((char *)""); | |
12065 | } | |
12066 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12067 | PyObject *resultobj; | |
12068 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12069 | wxString *arg2 = 0 ; | |
12070 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12071 | int arg4 = (int) 0 ; |
d14a1e28 RD |
12072 | wxString *arg5 = (wxString *) 0 ; |
12073 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12074 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12075 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12076 | wxMultiChoiceDialog *result; | |
e811c8ce RD |
12077 | bool temp2 = False ; |
12078 | bool temp3 = False ; | |
4d5c3d91 | 12079 | wxPoint temp6 ; |
d14a1e28 RD |
12080 | PyObject * obj0 = 0 ; |
12081 | PyObject * obj1 = 0 ; | |
12082 | PyObject * obj2 = 0 ; | |
994141e6 | 12083 | PyObject * obj3 = 0 ; |
d14a1e28 | 12084 | PyObject * obj4 = 0 ; |
994141e6 | 12085 | PyObject * obj5 = 0 ; |
d14a1e28 | 12086 | char *kwnames[] = { |
4d5c3d91 | 12087 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12088 | }; |
12089 | ||
4d5c3d91 | 12090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12093 | { |
12094 | arg2 = wxString_in_helper(obj1); | |
12095 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12096 | temp2 = True; |
d14a1e28 RD |
12097 | } |
12098 | { | |
12099 | arg3 = wxString_in_helper(obj2); | |
12100 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12101 | temp3 = True; |
d14a1e28 | 12102 | } |
4d5c3d91 RD |
12103 | if (obj3) { |
12104 | { | |
12105 | arg4 = PyList_Size(obj3); | |
12106 | arg5 = wxString_LIST_helper(obj3); | |
12107 | if (arg5 == NULL) SWIG_fail; | |
12108 | } | |
7eae615b | 12109 | } |
4d5c3d91 | 12110 | if (obj4) { |
15afbcd0 RD |
12111 | arg6 = (long) SWIG_AsLong(obj4); |
12112 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12113 | } |
4d5c3d91 | 12114 | if (obj5) { |
d14a1e28 | 12115 | { |
4d5c3d91 RD |
12116 | arg7 = &temp6; |
12117 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12118 | } |
12119 | } | |
12120 | { | |
12121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12122 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12123 | ||
12124 | wxPyEndAllowThreads(__tstate); | |
12125 | if (PyErr_Occurred()) SWIG_fail; | |
12126 | } | |
15afbcd0 | 12127 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12128 | { |
12129 | if (temp2) | |
12130 | delete arg2; | |
12131 | } | |
12132 | { | |
12133 | if (temp3) | |
12134 | delete arg3; | |
12135 | } | |
7eae615b | 12136 | { |
4d5c3d91 | 12137 | if (arg5) delete [] arg5; |
7eae615b | 12138 | } |
d14a1e28 RD |
12139 | return resultobj; |
12140 | fail: | |
12141 | { | |
12142 | if (temp2) | |
12143 | delete arg2; | |
12144 | } | |
12145 | { | |
12146 | if (temp3) | |
12147 | delete arg3; | |
12148 | } | |
7eae615b | 12149 | { |
4d5c3d91 | 12150 | if (arg5) delete [] arg5; |
7eae615b | 12151 | } |
d14a1e28 RD |
12152 | return NULL; |
12153 | } | |
12154 | ||
12155 | ||
12156 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12157 | PyObject *resultobj; | |
12158 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12159 | wxArrayInt *arg2 = 0 ; | |
3adfb63b | 12160 | bool temp2 = False ; |
d14a1e28 RD |
12161 | PyObject * obj0 = 0 ; |
12162 | PyObject * obj1 = 0 ; | |
12163 | char *kwnames[] = { | |
12164 | (char *) "self",(char *) "selections", NULL | |
12165 | }; | |
12166 | ||
12167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12168 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12169 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12170 | { |
12171 | if (! PySequence_Check(obj1)) { | |
12172 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12173 | SWIG_fail; | |
12174 | } | |
12175 | arg2 = new wxArrayInt; | |
3adfb63b | 12176 | temp2 = True; |
d14a1e28 RD |
12177 | int i, len=PySequence_Length(obj1); |
12178 | for (i=0; i<len; i++) { | |
12179 | PyObject* item = PySequence_GetItem(obj1, i); | |
12180 | PyObject* number = PyNumber_Int(item); | |
12181 | arg2->Add(PyInt_AS_LONG(number)); | |
12182 | Py_DECREF(item); | |
12183 | Py_DECREF(number); | |
12184 | } | |
12185 | } | |
12186 | { | |
12187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12188 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12189 | ||
12190 | wxPyEndAllowThreads(__tstate); | |
12191 | if (PyErr_Occurred()) SWIG_fail; | |
12192 | } | |
12193 | Py_INCREF(Py_None); resultobj = Py_None; | |
12194 | { | |
3adfb63b | 12195 | if (temp2) delete arg2; |
d14a1e28 RD |
12196 | } |
12197 | return resultobj; | |
12198 | fail: | |
12199 | { | |
3adfb63b | 12200 | if (temp2) delete arg2; |
d14a1e28 RD |
12201 | } |
12202 | return NULL; | |
12203 | } | |
12204 | ||
12205 | ||
12206 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12207 | PyObject *resultobj; | |
12208 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12209 | PyObject *result; | |
12210 | PyObject * obj0 = 0 ; | |
12211 | char *kwnames[] = { | |
12212 | (char *) "self", NULL | |
12213 | }; | |
12214 | ||
12215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12216 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12217 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12218 | { |
12219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12220 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12221 | ||
12222 | wxPyEndAllowThreads(__tstate); | |
12223 | if (PyErr_Occurred()) SWIG_fail; | |
12224 | } | |
12225 | resultobj = result; | |
12226 | return resultobj; | |
12227 | fail: | |
12228 | return NULL; | |
12229 | } | |
12230 | ||
12231 | ||
12232 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12233 | PyObject *obj; | |
12234 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12235 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12236 | Py_INCREF(obj); | |
12237 | return Py_BuildValue((char *)""); | |
12238 | } | |
12239 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12240 | PyObject *resultobj; | |
12241 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12242 | wxString *arg2 = 0 ; | |
12243 | wxString *arg3 = 0 ; | |
12244 | int arg4 ; | |
12245 | wxString *arg5 = (wxString *) 0 ; | |
12246 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12247 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12248 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12249 | wxSingleChoiceDialog *result; | |
e811c8ce RD |
12250 | bool temp2 = False ; |
12251 | bool temp3 = False ; | |
d14a1e28 RD |
12252 | wxPoint temp6 ; |
12253 | PyObject * obj0 = 0 ; | |
12254 | PyObject * obj1 = 0 ; | |
12255 | PyObject * obj2 = 0 ; | |
12256 | PyObject * obj3 = 0 ; | |
994141e6 | 12257 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12258 | PyObject * obj5 = 0 ; |
12259 | char *kwnames[] = { | |
12260 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12261 | }; | |
12262 | ||
994141e6 | 12263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12266 | { |
12267 | arg2 = wxString_in_helper(obj1); | |
12268 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12269 | temp2 = True; |
d14a1e28 RD |
12270 | } |
12271 | { | |
12272 | arg3 = wxString_in_helper(obj2); | |
12273 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12274 | temp3 = True; |
d14a1e28 RD |
12275 | } |
12276 | { | |
12277 | arg4 = PyList_Size(obj3); | |
12278 | arg5 = wxString_LIST_helper(obj3); | |
12279 | if (arg5 == NULL) SWIG_fail; | |
12280 | } | |
994141e6 | 12281 | if (obj4) { |
15afbcd0 RD |
12282 | arg6 = (long) SWIG_AsLong(obj4); |
12283 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12284 | } |
d14a1e28 RD |
12285 | if (obj5) { |
12286 | { | |
12287 | arg7 = &temp6; | |
12288 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12289 | } | |
12290 | } | |
12291 | { | |
12292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12293 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12294 | ||
12295 | wxPyEndAllowThreads(__tstate); | |
12296 | if (PyErr_Occurred()) SWIG_fail; | |
12297 | } | |
15afbcd0 | 12298 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12299 | { |
12300 | if (temp2) | |
12301 | delete arg2; | |
12302 | } | |
12303 | { | |
12304 | if (temp3) | |
12305 | delete arg3; | |
12306 | } | |
12307 | { | |
12308 | if (arg5) delete [] arg5; | |
12309 | } | |
12310 | return resultobj; | |
12311 | fail: | |
12312 | { | |
12313 | if (temp2) | |
12314 | delete arg2; | |
12315 | } | |
12316 | { | |
12317 | if (temp3) | |
12318 | delete arg3; | |
12319 | } | |
12320 | { | |
12321 | if (arg5) delete [] arg5; | |
12322 | } | |
12323 | return NULL; | |
12324 | } | |
12325 | ||
12326 | ||
12327 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12328 | PyObject *resultobj; | |
12329 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12330 | int result; | |
12331 | PyObject * obj0 = 0 ; | |
12332 | char *kwnames[] = { | |
12333 | (char *) "self", NULL | |
12334 | }; | |
12335 | ||
12336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12339 | { |
12340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12341 | result = (int)(arg1)->GetSelection(); | |
12342 | ||
12343 | wxPyEndAllowThreads(__tstate); | |
12344 | if (PyErr_Occurred()) SWIG_fail; | |
12345 | } | |
15afbcd0 | 12346 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12347 | return resultobj; |
12348 | fail: | |
12349 | return NULL; | |
12350 | } | |
12351 | ||
12352 | ||
12353 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12354 | PyObject *resultobj; | |
12355 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12356 | wxString result; | |
12357 | PyObject * obj0 = 0 ; | |
12358 | char *kwnames[] = { | |
12359 | (char *) "self", NULL | |
12360 | }; | |
12361 | ||
12362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12365 | { |
12366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12367 | result = (arg1)->GetStringSelection(); | |
12368 | ||
12369 | wxPyEndAllowThreads(__tstate); | |
12370 | if (PyErr_Occurred()) SWIG_fail; | |
12371 | } | |
12372 | { | |
12373 | #if wxUSE_UNICODE | |
12374 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12375 | #else | |
12376 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12377 | #endif | |
12378 | } | |
12379 | return resultobj; | |
12380 | fail: | |
12381 | return NULL; | |
12382 | } | |
12383 | ||
12384 | ||
12385 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12386 | PyObject *resultobj; | |
12387 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12388 | int arg2 ; | |
12389 | PyObject * obj0 = 0 ; | |
994141e6 | 12390 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12391 | char *kwnames[] = { |
12392 | (char *) "self",(char *) "sel", NULL | |
12393 | }; | |
12394 | ||
994141e6 | 12395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12398 | arg2 = (int) SWIG_AsInt(obj1); | |
12399 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12400 | { |
12401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12402 | (arg1)->SetSelection(arg2); | |
12403 | ||
12404 | wxPyEndAllowThreads(__tstate); | |
12405 | if (PyErr_Occurred()) SWIG_fail; | |
12406 | } | |
12407 | Py_INCREF(Py_None); resultobj = Py_None; | |
12408 | return resultobj; | |
12409 | fail: | |
12410 | return NULL; | |
12411 | } | |
12412 | ||
12413 | ||
d14a1e28 RD |
12414 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12415 | PyObject *obj; | |
12416 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12417 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12418 | Py_INCREF(obj); | |
12419 | return Py_BuildValue((char *)""); | |
12420 | } | |
12421 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12422 | PyObject *resultobj; | |
12423 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12424 | wxString *arg2 = 0 ; | |
12425 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12426 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12427 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12428 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12429 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12430 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12431 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12432 | wxTextEntryDialog *result; | |
e811c8ce RD |
12433 | bool temp2 = False ; |
12434 | bool temp3 = False ; | |
12435 | bool temp4 = False ; | |
d14a1e28 RD |
12436 | wxPoint temp6 ; |
12437 | PyObject * obj0 = 0 ; | |
12438 | PyObject * obj1 = 0 ; | |
12439 | PyObject * obj2 = 0 ; | |
12440 | PyObject * obj3 = 0 ; | |
994141e6 | 12441 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12442 | PyObject * obj5 = 0 ; |
12443 | char *kwnames[] = { | |
12444 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12445 | }; | |
12446 | ||
994141e6 | 12447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12450 | { |
12451 | arg2 = wxString_in_helper(obj1); | |
12452 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12453 | temp2 = True; |
d14a1e28 RD |
12454 | } |
12455 | if (obj2) { | |
12456 | { | |
12457 | arg3 = wxString_in_helper(obj2); | |
12458 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 12459 | temp3 = True; |
d14a1e28 RD |
12460 | } |
12461 | } | |
12462 | if (obj3) { | |
12463 | { | |
12464 | arg4 = wxString_in_helper(obj3); | |
12465 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 12466 | temp4 = True; |
d14a1e28 RD |
12467 | } |
12468 | } | |
994141e6 | 12469 | if (obj4) { |
15afbcd0 RD |
12470 | arg5 = (long) SWIG_AsLong(obj4); |
12471 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 12472 | } |
d14a1e28 RD |
12473 | if (obj5) { |
12474 | { | |
12475 | arg6 = &temp6; | |
12476 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12477 | } | |
12478 | } | |
12479 | { | |
12480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12481 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12482 | ||
12483 | wxPyEndAllowThreads(__tstate); | |
12484 | if (PyErr_Occurred()) SWIG_fail; | |
12485 | } | |
15afbcd0 | 12486 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12487 | { |
12488 | if (temp2) | |
12489 | delete arg2; | |
12490 | } | |
12491 | { | |
12492 | if (temp3) | |
12493 | delete arg3; | |
12494 | } | |
12495 | { | |
12496 | if (temp4) | |
12497 | delete arg4; | |
12498 | } | |
12499 | return resultobj; | |
12500 | fail: | |
12501 | { | |
12502 | if (temp2) | |
12503 | delete arg2; | |
12504 | } | |
12505 | { | |
12506 | if (temp3) | |
12507 | delete arg3; | |
12508 | } | |
12509 | { | |
12510 | if (temp4) | |
12511 | delete arg4; | |
12512 | } | |
12513 | return NULL; | |
12514 | } | |
12515 | ||
12516 | ||
12517 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12518 | PyObject *resultobj; | |
12519 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12520 | wxString result; | |
12521 | PyObject * obj0 = 0 ; | |
12522 | char *kwnames[] = { | |
12523 | (char *) "self", NULL | |
12524 | }; | |
12525 | ||
12526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12529 | { |
12530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12531 | result = (arg1)->GetValue(); | |
12532 | ||
12533 | wxPyEndAllowThreads(__tstate); | |
12534 | if (PyErr_Occurred()) SWIG_fail; | |
12535 | } | |
12536 | { | |
12537 | #if wxUSE_UNICODE | |
12538 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12539 | #else | |
12540 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12541 | #endif | |
12542 | } | |
12543 | return resultobj; | |
12544 | fail: | |
12545 | return NULL; | |
12546 | } | |
12547 | ||
12548 | ||
12549 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12550 | PyObject *resultobj; | |
12551 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12552 | wxString *arg2 = 0 ; | |
e811c8ce | 12553 | bool temp2 = False ; |
d14a1e28 RD |
12554 | PyObject * obj0 = 0 ; |
12555 | PyObject * obj1 = 0 ; | |
12556 | char *kwnames[] = { | |
12557 | (char *) "self",(char *) "value", NULL | |
12558 | }; | |
12559 | ||
12560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12561 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12562 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12563 | { |
12564 | arg2 = wxString_in_helper(obj1); | |
12565 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 12566 | temp2 = True; |
d14a1e28 RD |
12567 | } |
12568 | { | |
12569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12570 | (arg1)->SetValue((wxString const &)*arg2); | |
12571 | ||
12572 | wxPyEndAllowThreads(__tstate); | |
12573 | if (PyErr_Occurred()) SWIG_fail; | |
12574 | } | |
12575 | Py_INCREF(Py_None); resultobj = Py_None; | |
12576 | { | |
12577 | if (temp2) | |
12578 | delete arg2; | |
12579 | } | |
12580 | return resultobj; | |
12581 | fail: | |
12582 | { | |
12583 | if (temp2) | |
12584 | delete arg2; | |
12585 | } | |
12586 | return NULL; | |
12587 | } | |
12588 | ||
12589 | ||
d14a1e28 RD |
12590 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12591 | PyObject *obj; | |
12592 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12593 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12594 | Py_INCREF(obj); | |
12595 | return Py_BuildValue((char *)""); | |
12596 | } | |
12597 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12598 | PyObject *resultobj; | |
12599 | wxFontData *result; | |
12600 | char *kwnames[] = { | |
12601 | NULL | |
12602 | }; | |
12603 | ||
12604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12605 | { | |
12606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12607 | result = (wxFontData *)new wxFontData(); | |
12608 | ||
12609 | wxPyEndAllowThreads(__tstate); | |
12610 | if (PyErr_Occurred()) SWIG_fail; | |
12611 | } | |
15afbcd0 | 12612 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12613 | return resultobj; |
12614 | fail: | |
12615 | return NULL; | |
12616 | } | |
12617 | ||
12618 | ||
12619 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12620 | PyObject *resultobj; | |
12621 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12622 | PyObject * obj0 = 0 ; | |
12623 | char *kwnames[] = { | |
12624 | (char *) "self", NULL | |
12625 | }; | |
12626 | ||
12627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12630 | { |
12631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12632 | delete arg1; | |
12633 | ||
12634 | wxPyEndAllowThreads(__tstate); | |
12635 | if (PyErr_Occurred()) SWIG_fail; | |
12636 | } | |
12637 | Py_INCREF(Py_None); resultobj = Py_None; | |
12638 | return resultobj; | |
12639 | fail: | |
12640 | return NULL; | |
12641 | } | |
12642 | ||
12643 | ||
12644 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12645 | PyObject *resultobj; | |
12646 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12647 | bool arg2 ; | |
12648 | PyObject * obj0 = 0 ; | |
12649 | PyObject * obj1 = 0 ; | |
12650 | char *kwnames[] = { | |
12651 | (char *) "self",(char *) "enable", NULL | |
12652 | }; | |
12653 | ||
12654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12657 | arg2 = (bool) SWIG_AsBool(obj1); | |
12658 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12659 | { |
12660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12661 | (arg1)->EnableEffects(arg2); | |
12662 | ||
12663 | wxPyEndAllowThreads(__tstate); | |
12664 | if (PyErr_Occurred()) SWIG_fail; | |
12665 | } | |
12666 | Py_INCREF(Py_None); resultobj = Py_None; | |
12667 | return resultobj; | |
12668 | fail: | |
12669 | return NULL; | |
12670 | } | |
12671 | ||
12672 | ||
12673 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12674 | PyObject *resultobj; | |
12675 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12676 | bool result; | |
12677 | PyObject * obj0 = 0 ; | |
12678 | char *kwnames[] = { | |
12679 | (char *) "self", NULL | |
12680 | }; | |
12681 | ||
12682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12685 | { |
12686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12687 | result = (bool)(arg1)->GetAllowSymbols(); | |
12688 | ||
12689 | wxPyEndAllowThreads(__tstate); | |
12690 | if (PyErr_Occurred()) SWIG_fail; | |
12691 | } | |
4f89f6a3 RD |
12692 | { |
12693 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12694 | } | |
d14a1e28 RD |
12695 | return resultobj; |
12696 | fail: | |
12697 | return NULL; | |
12698 | } | |
12699 | ||
12700 | ||
12701 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12702 | PyObject *resultobj; | |
12703 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12704 | wxColour result; | |
12705 | PyObject * obj0 = 0 ; | |
12706 | char *kwnames[] = { | |
12707 | (char *) "self", NULL | |
12708 | }; | |
12709 | ||
12710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12713 | { |
12714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12715 | result = (arg1)->GetColour(); | |
12716 | ||
12717 | wxPyEndAllowThreads(__tstate); | |
12718 | if (PyErr_Occurred()) SWIG_fail; | |
12719 | } | |
12720 | { | |
12721 | wxColour * resultptr; | |
12722 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 12723 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12724 | } |
12725 | return resultobj; | |
12726 | fail: | |
12727 | return NULL; | |
12728 | } | |
12729 | ||
12730 | ||
12731 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12732 | PyObject *resultobj; | |
12733 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12734 | wxFont result; | |
12735 | PyObject * obj0 = 0 ; | |
12736 | char *kwnames[] = { | |
12737 | (char *) "self", NULL | |
12738 | }; | |
12739 | ||
12740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12743 | { |
12744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12745 | result = (arg1)->GetChosenFont(); | |
12746 | ||
12747 | wxPyEndAllowThreads(__tstate); | |
12748 | if (PyErr_Occurred()) SWIG_fail; | |
12749 | } | |
12750 | { | |
12751 | wxFont * resultptr; | |
12752 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12753 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12754 | } |
12755 | return resultobj; | |
12756 | fail: | |
12757 | return NULL; | |
12758 | } | |
12759 | ||
12760 | ||
12761 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12762 | PyObject *resultobj; | |
12763 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12764 | bool result; | |
12765 | PyObject * obj0 = 0 ; | |
12766 | char *kwnames[] = { | |
12767 | (char *) "self", NULL | |
12768 | }; | |
12769 | ||
12770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12773 | { |
12774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12775 | result = (bool)(arg1)->GetEnableEffects(); | |
12776 | ||
12777 | wxPyEndAllowThreads(__tstate); | |
12778 | if (PyErr_Occurred()) SWIG_fail; | |
12779 | } | |
4f89f6a3 RD |
12780 | { |
12781 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12782 | } | |
d14a1e28 RD |
12783 | return resultobj; |
12784 | fail: | |
12785 | return NULL; | |
12786 | } | |
12787 | ||
12788 | ||
12789 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12790 | PyObject *resultobj; | |
12791 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12792 | wxFont result; | |
12793 | PyObject * obj0 = 0 ; | |
12794 | char *kwnames[] = { | |
12795 | (char *) "self", NULL | |
12796 | }; | |
12797 | ||
12798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12801 | { |
12802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12803 | result = (arg1)->GetInitialFont(); | |
12804 | ||
12805 | wxPyEndAllowThreads(__tstate); | |
12806 | if (PyErr_Occurred()) SWIG_fail; | |
12807 | } | |
12808 | { | |
12809 | wxFont * resultptr; | |
12810 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 12811 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12812 | } |
12813 | return resultobj; | |
12814 | fail: | |
12815 | return NULL; | |
12816 | } | |
12817 | ||
12818 | ||
12819 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12820 | PyObject *resultobj; | |
12821 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12822 | bool result; | |
12823 | PyObject * obj0 = 0 ; | |
12824 | char *kwnames[] = { | |
12825 | (char *) "self", NULL | |
12826 | }; | |
12827 | ||
12828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12831 | { |
12832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12833 | result = (bool)(arg1)->GetShowHelp(); | |
12834 | ||
12835 | wxPyEndAllowThreads(__tstate); | |
12836 | if (PyErr_Occurred()) SWIG_fail; | |
12837 | } | |
4f89f6a3 RD |
12838 | { |
12839 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12840 | } | |
d14a1e28 RD |
12841 | return resultobj; |
12842 | fail: | |
12843 | return NULL; | |
12844 | } | |
12845 | ||
12846 | ||
12847 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12848 | PyObject *resultobj; | |
12849 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12850 | bool arg2 ; | |
12851 | PyObject * obj0 = 0 ; | |
12852 | PyObject * obj1 = 0 ; | |
12853 | char *kwnames[] = { | |
12854 | (char *) "self",(char *) "allowSymbols", NULL | |
12855 | }; | |
12856 | ||
12857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12860 | arg2 = (bool) SWIG_AsBool(obj1); | |
12861 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12862 | { |
12863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12864 | (arg1)->SetAllowSymbols(arg2); | |
12865 | ||
12866 | wxPyEndAllowThreads(__tstate); | |
12867 | if (PyErr_Occurred()) SWIG_fail; | |
12868 | } | |
12869 | Py_INCREF(Py_None); resultobj = Py_None; | |
12870 | return resultobj; | |
12871 | fail: | |
12872 | return NULL; | |
12873 | } | |
12874 | ||
12875 | ||
12876 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12877 | PyObject *resultobj; | |
12878 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12879 | wxFont *arg2 = 0 ; | |
12880 | PyObject * obj0 = 0 ; | |
12881 | PyObject * obj1 = 0 ; | |
12882 | char *kwnames[] = { | |
12883 | (char *) "self",(char *) "font", NULL | |
12884 | }; | |
12885 | ||
12886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12889 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12890 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12891 | SWIG_fail; | |
d14a1e28 | 12892 | if (arg2 == NULL) { |
15afbcd0 RD |
12893 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12894 | SWIG_fail; | |
d14a1e28 RD |
12895 | } |
12896 | { | |
12897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12898 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12899 | ||
12900 | wxPyEndAllowThreads(__tstate); | |
12901 | if (PyErr_Occurred()) SWIG_fail; | |
12902 | } | |
12903 | Py_INCREF(Py_None); resultobj = Py_None; | |
12904 | return resultobj; | |
12905 | fail: | |
12906 | return NULL; | |
12907 | } | |
12908 | ||
12909 | ||
12910 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12911 | PyObject *resultobj; | |
12912 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12913 | wxColour *arg2 = 0 ; | |
12914 | wxColour temp2 ; | |
12915 | PyObject * obj0 = 0 ; | |
12916 | PyObject * obj1 = 0 ; | |
12917 | char *kwnames[] = { | |
12918 | (char *) "self",(char *) "colour", NULL | |
12919 | }; | |
12920 | ||
12921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12924 | { |
12925 | arg2 = &temp2; | |
12926 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12927 | } | |
12928 | { | |
12929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12930 | (arg1)->SetColour((wxColour const &)*arg2); | |
12931 | ||
12932 | wxPyEndAllowThreads(__tstate); | |
12933 | if (PyErr_Occurred()) SWIG_fail; | |
12934 | } | |
12935 | Py_INCREF(Py_None); resultobj = Py_None; | |
12936 | return resultobj; | |
12937 | fail: | |
12938 | return NULL; | |
12939 | } | |
12940 | ||
12941 | ||
12942 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12943 | PyObject *resultobj; | |
12944 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12945 | wxFont *arg2 = 0 ; | |
12946 | PyObject * obj0 = 0 ; | |
12947 | PyObject * obj1 = 0 ; | |
12948 | char *kwnames[] = { | |
12949 | (char *) "self",(char *) "font", NULL | |
12950 | }; | |
12951 | ||
12952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12955 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12956 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12957 | SWIG_fail; | |
d14a1e28 | 12958 | if (arg2 == NULL) { |
15afbcd0 RD |
12959 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12960 | SWIG_fail; | |
d14a1e28 RD |
12961 | } |
12962 | { | |
12963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12964 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
12965 | ||
12966 | wxPyEndAllowThreads(__tstate); | |
12967 | if (PyErr_Occurred()) SWIG_fail; | |
12968 | } | |
12969 | Py_INCREF(Py_None); resultobj = Py_None; | |
12970 | return resultobj; | |
12971 | fail: | |
12972 | return NULL; | |
12973 | } | |
12974 | ||
12975 | ||
12976 | static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12977 | PyObject *resultobj; | |
12978 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12979 | int arg2 ; | |
12980 | int arg3 ; | |
12981 | PyObject * obj0 = 0 ; | |
994141e6 RD |
12982 | PyObject * obj1 = 0 ; |
12983 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12984 | char *kwnames[] = { |
12985 | (char *) "self",(char *) "min",(char *) "max", NULL | |
12986 | }; | |
12987 | ||
994141e6 | 12988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
12989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12991 | arg2 = (int) SWIG_AsInt(obj1); | |
12992 | if (PyErr_Occurred()) SWIG_fail; | |
12993 | arg3 = (int) SWIG_AsInt(obj2); | |
12994 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12995 | { |
12996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12997 | (arg1)->SetRange(arg2,arg3); | |
12998 | ||
12999 | wxPyEndAllowThreads(__tstate); | |
13000 | if (PyErr_Occurred()) SWIG_fail; | |
13001 | } | |
13002 | Py_INCREF(Py_None); resultobj = Py_None; | |
13003 | return resultobj; | |
13004 | fail: | |
13005 | return NULL; | |
13006 | } | |
13007 | ||
13008 | ||
13009 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13010 | PyObject *resultobj; | |
13011 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13012 | bool arg2 ; | |
13013 | PyObject * obj0 = 0 ; | |
13014 | PyObject * obj1 = 0 ; | |
13015 | char *kwnames[] = { | |
13016 | (char *) "self",(char *) "showHelp", NULL | |
13017 | }; | |
13018 | ||
13019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13020 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13022 | arg2 = (bool) SWIG_AsBool(obj1); | |
13023 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13024 | { |
13025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13026 | (arg1)->SetShowHelp(arg2); | |
13027 | ||
13028 | wxPyEndAllowThreads(__tstate); | |
13029 | if (PyErr_Occurred()) SWIG_fail; | |
13030 | } | |
13031 | Py_INCREF(Py_None); resultobj = Py_None; | |
13032 | return resultobj; | |
13033 | fail: | |
13034 | return NULL; | |
13035 | } | |
13036 | ||
13037 | ||
13038 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13039 | PyObject *obj; | |
13040 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13041 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13042 | Py_INCREF(obj); | |
13043 | return Py_BuildValue((char *)""); | |
13044 | } | |
15afbcd0 | 13045 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13046 | PyObject *resultobj; |
e498079e RD |
13047 | wxWindow *arg1 = (wxWindow *) 0 ; |
13048 | wxFontData *arg2 = 0 ; | |
13049 | wxFontDialog *result; | |
d14a1e28 | 13050 | PyObject * obj0 = 0 ; |
e498079e | 13051 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
13052 | char *kwnames[] = { |
13053 | (char *) "parent",(char *) "data", NULL | |
13054 | }; | |
d14a1e28 | 13055 | |
15afbcd0 RD |
13056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13059 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13060 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13061 | SWIG_fail; | |
e498079e | 13062 | if (arg2 == NULL) { |
15afbcd0 RD |
13063 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13064 | SWIG_fail; | |
e498079e | 13065 | } |
d14a1e28 RD |
13066 | { |
13067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e | 13068 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13069 | |
13070 | wxPyEndAllowThreads(__tstate); | |
13071 | if (PyErr_Occurred()) SWIG_fail; | |
13072 | } | |
15afbcd0 | 13073 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13074 | return resultobj; |
13075 | fail: | |
13076 | return NULL; | |
13077 | } | |
13078 | ||
13079 | ||
e498079e | 13080 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13081 | PyObject *resultobj; |
13082 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 13083 | wxFontData *result; |
d14a1e28 RD |
13084 | PyObject * obj0 = 0 ; |
13085 | char *kwnames[] = { | |
13086 | (char *) "self", NULL | |
13087 | }; | |
13088 | ||
e498079e | 13089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
13090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13092 | { |
13093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
13094 | { |
13095 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13096 | result = (wxFontData *) &_result_ref; | |
13097 | } | |
d14a1e28 RD |
13098 | |
13099 | wxPyEndAllowThreads(__tstate); | |
13100 | if (PyErr_Occurred()) SWIG_fail; | |
13101 | } | |
15afbcd0 | 13102 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13103 | return resultobj; |
13104 | fail: | |
13105 | return NULL; | |
13106 | } | |
13107 | ||
13108 | ||
13109 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13110 | PyObject *obj; | |
13111 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13112 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13113 | Py_INCREF(obj); | |
13114 | return Py_BuildValue((char *)""); | |
13115 | } | |
13116 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13117 | PyObject *resultobj; | |
13118 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13119 | wxString *arg2 = 0 ; | |
13120 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13121 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13122 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13123 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13124 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13125 | wxMessageDialog *result; | |
e811c8ce RD |
13126 | bool temp2 = False ; |
13127 | bool temp3 = False ; | |
d14a1e28 RD |
13128 | wxPoint temp5 ; |
13129 | PyObject * obj0 = 0 ; | |
13130 | PyObject * obj1 = 0 ; | |
13131 | PyObject * obj2 = 0 ; | |
994141e6 | 13132 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13133 | PyObject * obj4 = 0 ; |
13134 | char *kwnames[] = { | |
13135 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13136 | }; | |
13137 | ||
994141e6 | 13138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13141 | { |
13142 | arg2 = wxString_in_helper(obj1); | |
13143 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13144 | temp2 = True; |
d14a1e28 RD |
13145 | } |
13146 | if (obj2) { | |
13147 | { | |
13148 | arg3 = wxString_in_helper(obj2); | |
13149 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13150 | temp3 = True; |
d14a1e28 RD |
13151 | } |
13152 | } | |
994141e6 | 13153 | if (obj3) { |
15afbcd0 RD |
13154 | arg4 = (long) SWIG_AsLong(obj3); |
13155 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13156 | } |
d14a1e28 RD |
13157 | if (obj4) { |
13158 | { | |
13159 | arg5 = &temp5; | |
13160 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13161 | } | |
13162 | } | |
13163 | { | |
13164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13165 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13166 | ||
13167 | wxPyEndAllowThreads(__tstate); | |
13168 | if (PyErr_Occurred()) SWIG_fail; | |
13169 | } | |
15afbcd0 | 13170 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13171 | { |
13172 | if (temp2) | |
13173 | delete arg2; | |
13174 | } | |
13175 | { | |
13176 | if (temp3) | |
13177 | delete arg3; | |
13178 | } | |
13179 | return resultobj; | |
13180 | fail: | |
13181 | { | |
13182 | if (temp2) | |
13183 | delete arg2; | |
13184 | } | |
13185 | { | |
13186 | if (temp3) | |
13187 | delete arg3; | |
13188 | } | |
13189 | return NULL; | |
13190 | } | |
13191 | ||
13192 | ||
d14a1e28 RD |
13193 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13194 | PyObject *obj; | |
13195 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13196 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13197 | Py_INCREF(obj); | |
13198 | return Py_BuildValue((char *)""); | |
13199 | } | |
13200 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13201 | PyObject *resultobj; | |
13202 | wxString *arg1 = 0 ; | |
13203 | wxString *arg2 = 0 ; | |
13204 | int arg3 = (int) 100 ; | |
13205 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13206 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13207 | wxProgressDialog *result; | |
e811c8ce RD |
13208 | bool temp1 = False ; |
13209 | bool temp2 = False ; | |
d14a1e28 RD |
13210 | PyObject * obj0 = 0 ; |
13211 | PyObject * obj1 = 0 ; | |
994141e6 | 13212 | PyObject * obj2 = 0 ; |
d14a1e28 | 13213 | PyObject * obj3 = 0 ; |
994141e6 | 13214 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13215 | char *kwnames[] = { |
13216 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13217 | }; | |
13218 | ||
994141e6 | 13219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13220 | { |
13221 | arg1 = wxString_in_helper(obj0); | |
13222 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 13223 | temp1 = True; |
d14a1e28 RD |
13224 | } |
13225 | { | |
13226 | arg2 = wxString_in_helper(obj1); | |
13227 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13228 | temp2 = True; |
d14a1e28 | 13229 | } |
994141e6 | 13230 | if (obj2) { |
15afbcd0 RD |
13231 | arg3 = (int) SWIG_AsInt(obj2); |
13232 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13233 | } |
d14a1e28 | 13234 | if (obj3) { |
15afbcd0 RD |
13235 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13237 | } |
994141e6 | 13238 | if (obj4) { |
15afbcd0 RD |
13239 | arg5 = (int) SWIG_AsInt(obj4); |
13240 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13241 | } |
d14a1e28 RD |
13242 | { |
13243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13244 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13245 | ||
13246 | wxPyEndAllowThreads(__tstate); | |
13247 | if (PyErr_Occurred()) SWIG_fail; | |
13248 | } | |
15afbcd0 | 13249 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13250 | { |
13251 | if (temp1) | |
13252 | delete arg1; | |
13253 | } | |
13254 | { | |
13255 | if (temp2) | |
13256 | delete arg2; | |
13257 | } | |
13258 | return resultobj; | |
13259 | fail: | |
13260 | { | |
13261 | if (temp1) | |
13262 | delete arg1; | |
13263 | } | |
13264 | { | |
13265 | if (temp2) | |
13266 | delete arg2; | |
13267 | } | |
13268 | return NULL; | |
13269 | } | |
13270 | ||
13271 | ||
13272 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13273 | PyObject *resultobj; | |
13274 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13275 | int arg2 ; | |
13276 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13277 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13278 | bool result; | |
e811c8ce | 13279 | bool temp3 = False ; |
d14a1e28 | 13280 | PyObject * obj0 = 0 ; |
994141e6 | 13281 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13282 | PyObject * obj2 = 0 ; |
13283 | char *kwnames[] = { | |
13284 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13285 | }; | |
13286 | ||
994141e6 | 13287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13290 | arg2 = (int) SWIG_AsInt(obj1); | |
13291 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13292 | if (obj2) { |
13293 | { | |
13294 | arg3 = wxString_in_helper(obj2); | |
13295 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13296 | temp3 = True; |
d14a1e28 RD |
13297 | } |
13298 | } | |
13299 | { | |
13300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13301 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13302 | ||
13303 | wxPyEndAllowThreads(__tstate); | |
13304 | if (PyErr_Occurred()) SWIG_fail; | |
13305 | } | |
4f89f6a3 RD |
13306 | { |
13307 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13308 | } | |
d14a1e28 RD |
13309 | { |
13310 | if (temp3) | |
13311 | delete arg3; | |
13312 | } | |
13313 | return resultobj; | |
13314 | fail: | |
13315 | { | |
13316 | if (temp3) | |
13317 | delete arg3; | |
13318 | } | |
13319 | return NULL; | |
13320 | } | |
13321 | ||
13322 | ||
13323 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13324 | PyObject *resultobj; | |
13325 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13326 | PyObject * obj0 = 0 ; | |
13327 | char *kwnames[] = { | |
13328 | (char *) "self", NULL | |
13329 | }; | |
13330 | ||
13331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13334 | { |
13335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13336 | (arg1)->Resume(); | |
13337 | ||
13338 | wxPyEndAllowThreads(__tstate); | |
13339 | if (PyErr_Occurred()) SWIG_fail; | |
13340 | } | |
13341 | Py_INCREF(Py_None); resultobj = Py_None; | |
13342 | return resultobj; | |
13343 | fail: | |
13344 | return NULL; | |
13345 | } | |
13346 | ||
13347 | ||
13348 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13349 | PyObject *obj; | |
13350 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13351 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13352 | Py_INCREF(obj); | |
13353 | return Py_BuildValue((char *)""); | |
13354 | } | |
13355 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13356 | PyObject *resultobj; | |
13357 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13358 | int arg2 = (int) 0 ; | |
13359 | wxFindDialogEvent *result; | |
994141e6 RD |
13360 | PyObject * obj0 = 0 ; |
13361 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13362 | char *kwnames[] = { |
13363 | (char *) "commandType",(char *) "id", NULL | |
13364 | }; | |
13365 | ||
994141e6 RD |
13366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13367 | if (obj0) { | |
15afbcd0 RD |
13368 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13369 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 RD |
13370 | } |
13371 | if (obj1) { | |
15afbcd0 RD |
13372 | arg2 = (int) SWIG_AsInt(obj1); |
13373 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13374 | } |
d14a1e28 RD |
13375 | { |
13376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13377 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13378 | ||
13379 | wxPyEndAllowThreads(__tstate); | |
13380 | if (PyErr_Occurred()) SWIG_fail; | |
13381 | } | |
15afbcd0 | 13382 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13383 | return resultobj; |
13384 | fail: | |
13385 | return NULL; | |
13386 | } | |
13387 | ||
13388 | ||
13389 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13390 | PyObject *resultobj; | |
13391 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13392 | int result; | |
13393 | PyObject * obj0 = 0 ; | |
13394 | char *kwnames[] = { | |
13395 | (char *) "self", NULL | |
13396 | }; | |
13397 | ||
13398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13401 | { |
13402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13403 | result = (int)(arg1)->GetFlags(); | |
13404 | ||
13405 | wxPyEndAllowThreads(__tstate); | |
13406 | if (PyErr_Occurred()) SWIG_fail; | |
13407 | } | |
15afbcd0 | 13408 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13409 | return resultobj; |
13410 | fail: | |
13411 | return NULL; | |
13412 | } | |
13413 | ||
13414 | ||
13415 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13416 | PyObject *resultobj; | |
13417 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 13418 | wxString *result; |
d14a1e28 RD |
13419 | PyObject * obj0 = 0 ; |
13420 | char *kwnames[] = { | |
13421 | (char *) "self", NULL | |
13422 | }; | |
13423 | ||
13424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13427 | { |
13428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
13429 | { |
13430 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13431 | result = (wxString *) &_result_ref; | |
13432 | } | |
d14a1e28 RD |
13433 | |
13434 | wxPyEndAllowThreads(__tstate); | |
13435 | if (PyErr_Occurred()) SWIG_fail; | |
13436 | } | |
13437 | { | |
13438 | #if wxUSE_UNICODE | |
cc6dd355 | 13439 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13440 | #else |
cc6dd355 | 13441 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13442 | #endif |
13443 | } | |
13444 | return resultobj; | |
13445 | fail: | |
13446 | return NULL; | |
13447 | } | |
13448 | ||
13449 | ||
13450 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13451 | PyObject *resultobj; | |
13452 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13453 | wxString *result; | |
13454 | PyObject * obj0 = 0 ; | |
13455 | char *kwnames[] = { | |
13456 | (char *) "self", NULL | |
13457 | }; | |
13458 | ||
13459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13462 | { |
13463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13464 | { | |
13465 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13466 | result = (wxString *) &_result_ref; | |
13467 | } | |
13468 | ||
13469 | wxPyEndAllowThreads(__tstate); | |
13470 | if (PyErr_Occurred()) SWIG_fail; | |
13471 | } | |
cc6dd355 RD |
13472 | { |
13473 | #if wxUSE_UNICODE | |
13474 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13475 | #else | |
13476 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13477 | #endif | |
13478 | } | |
d14a1e28 RD |
13479 | return resultobj; |
13480 | fail: | |
13481 | return NULL; | |
13482 | } | |
13483 | ||
13484 | ||
13485 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13486 | PyObject *resultobj; | |
13487 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13488 | wxFindReplaceDialog *result; | |
13489 | PyObject * obj0 = 0 ; | |
13490 | char *kwnames[] = { | |
13491 | (char *) "self", NULL | |
13492 | }; | |
13493 | ||
13494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13495 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13496 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13497 | { |
13498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13499 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13500 | ||
13501 | wxPyEndAllowThreads(__tstate); | |
13502 | if (PyErr_Occurred()) SWIG_fail; | |
13503 | } | |
15afbcd0 | 13504 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13505 | return resultobj; |
13506 | fail: | |
13507 | return NULL; | |
13508 | } | |
13509 | ||
13510 | ||
13511 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13512 | PyObject *resultobj; | |
13513 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13514 | int arg2 ; | |
13515 | PyObject * obj0 = 0 ; | |
994141e6 | 13516 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13517 | char *kwnames[] = { |
13518 | (char *) "self",(char *) "flags", NULL | |
13519 | }; | |
13520 | ||
994141e6 | 13521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13524 | arg2 = (int) SWIG_AsInt(obj1); | |
13525 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13526 | { |
13527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13528 | (arg1)->SetFlags(arg2); | |
13529 | ||
13530 | wxPyEndAllowThreads(__tstate); | |
13531 | if (PyErr_Occurred()) SWIG_fail; | |
13532 | } | |
13533 | Py_INCREF(Py_None); resultobj = Py_None; | |
13534 | return resultobj; | |
13535 | fail: | |
13536 | return NULL; | |
13537 | } | |
13538 | ||
13539 | ||
13540 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13541 | PyObject *resultobj; | |
13542 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13543 | wxString *arg2 = 0 ; | |
e811c8ce | 13544 | bool temp2 = False ; |
d14a1e28 RD |
13545 | PyObject * obj0 = 0 ; |
13546 | PyObject * obj1 = 0 ; | |
13547 | char *kwnames[] = { | |
13548 | (char *) "self",(char *) "str", NULL | |
13549 | }; | |
13550 | ||
13551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13554 | { |
13555 | arg2 = wxString_in_helper(obj1); | |
13556 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13557 | temp2 = True; |
d14a1e28 RD |
13558 | } |
13559 | { | |
13560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13561 | (arg1)->SetFindString((wxString const &)*arg2); | |
13562 | ||
13563 | wxPyEndAllowThreads(__tstate); | |
13564 | if (PyErr_Occurred()) SWIG_fail; | |
13565 | } | |
13566 | Py_INCREF(Py_None); resultobj = Py_None; | |
13567 | { | |
13568 | if (temp2) | |
13569 | delete arg2; | |
13570 | } | |
13571 | return resultobj; | |
13572 | fail: | |
13573 | { | |
13574 | if (temp2) | |
13575 | delete arg2; | |
13576 | } | |
13577 | return NULL; | |
13578 | } | |
13579 | ||
13580 | ||
13581 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13582 | PyObject *resultobj; | |
13583 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13584 | wxString *arg2 = 0 ; | |
e811c8ce | 13585 | bool temp2 = False ; |
d14a1e28 RD |
13586 | PyObject * obj0 = 0 ; |
13587 | PyObject * obj1 = 0 ; | |
13588 | char *kwnames[] = { | |
13589 | (char *) "self",(char *) "str", NULL | |
13590 | }; | |
13591 | ||
13592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13595 | { |
13596 | arg2 = wxString_in_helper(obj1); | |
13597 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13598 | temp2 = True; |
d14a1e28 RD |
13599 | } |
13600 | { | |
13601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13602 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13603 | ||
13604 | wxPyEndAllowThreads(__tstate); | |
13605 | if (PyErr_Occurred()) SWIG_fail; | |
13606 | } | |
13607 | Py_INCREF(Py_None); resultobj = Py_None; | |
13608 | { | |
13609 | if (temp2) | |
13610 | delete arg2; | |
13611 | } | |
13612 | return resultobj; | |
13613 | fail: | |
13614 | { | |
13615 | if (temp2) | |
13616 | delete arg2; | |
13617 | } | |
13618 | return NULL; | |
13619 | } | |
13620 | ||
13621 | ||
13622 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13623 | PyObject *obj; | |
13624 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13625 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13626 | Py_INCREF(obj); | |
13627 | return Py_BuildValue((char *)""); | |
13628 | } | |
13629 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13630 | PyObject *resultobj; | |
13631 | int arg1 = (int) 0 ; | |
13632 | wxFindReplaceData *result; | |
994141e6 | 13633 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13634 | char *kwnames[] = { |
13635 | (char *) "flags", NULL | |
13636 | }; | |
13637 | ||
994141e6 RD |
13638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13639 | if (obj0) { | |
15afbcd0 RD |
13640 | arg1 = (int) SWIG_AsInt(obj0); |
13641 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13642 | } |
d14a1e28 RD |
13643 | { |
13644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13645 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13646 | ||
13647 | wxPyEndAllowThreads(__tstate); | |
13648 | if (PyErr_Occurred()) SWIG_fail; | |
13649 | } | |
15afbcd0 | 13650 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13651 | return resultobj; |
13652 | fail: | |
13653 | return NULL; | |
13654 | } | |
13655 | ||
13656 | ||
13657 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13658 | PyObject *resultobj; | |
13659 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13660 | PyObject * obj0 = 0 ; | |
13661 | char *kwnames[] = { | |
13662 | (char *) "self", NULL | |
13663 | }; | |
13664 | ||
13665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13668 | { |
13669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13670 | delete arg1; | |
13671 | ||
13672 | wxPyEndAllowThreads(__tstate); | |
13673 | if (PyErr_Occurred()) SWIG_fail; | |
13674 | } | |
13675 | Py_INCREF(Py_None); resultobj = Py_None; | |
13676 | return resultobj; | |
13677 | fail: | |
13678 | return NULL; | |
13679 | } | |
13680 | ||
13681 | ||
13682 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13683 | PyObject *resultobj; | |
13684 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13685 | wxString *result; | |
13686 | PyObject * obj0 = 0 ; | |
13687 | char *kwnames[] = { | |
13688 | (char *) "self", NULL | |
13689 | }; | |
13690 | ||
13691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13694 | { |
13695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13696 | { | |
13697 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13698 | result = (wxString *) &_result_ref; | |
13699 | } | |
13700 | ||
13701 | wxPyEndAllowThreads(__tstate); | |
13702 | if (PyErr_Occurred()) SWIG_fail; | |
13703 | } | |
cc6dd355 RD |
13704 | { |
13705 | #if wxUSE_UNICODE | |
13706 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13707 | #else | |
13708 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13709 | #endif | |
13710 | } | |
d14a1e28 RD |
13711 | return resultobj; |
13712 | fail: | |
13713 | return NULL; | |
13714 | } | |
13715 | ||
13716 | ||
13717 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13718 | PyObject *resultobj; | |
13719 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13720 | wxString *result; | |
13721 | PyObject * obj0 = 0 ; | |
13722 | char *kwnames[] = { | |
13723 | (char *) "self", NULL | |
13724 | }; | |
13725 | ||
13726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13729 | { |
13730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13731 | { | |
13732 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13733 | result = (wxString *) &_result_ref; | |
13734 | } | |
13735 | ||
13736 | wxPyEndAllowThreads(__tstate); | |
13737 | if (PyErr_Occurred()) SWIG_fail; | |
13738 | } | |
cc6dd355 RD |
13739 | { |
13740 | #if wxUSE_UNICODE | |
13741 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13742 | #else | |
13743 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13744 | #endif | |
13745 | } | |
d14a1e28 RD |
13746 | return resultobj; |
13747 | fail: | |
13748 | return NULL; | |
13749 | } | |
13750 | ||
13751 | ||
13752 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13753 | PyObject *resultobj; | |
13754 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13755 | int result; | |
13756 | PyObject * obj0 = 0 ; | |
13757 | char *kwnames[] = { | |
13758 | (char *) "self", NULL | |
13759 | }; | |
13760 | ||
13761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13764 | { |
13765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13766 | result = (int)(arg1)->GetFlags(); | |
13767 | ||
13768 | wxPyEndAllowThreads(__tstate); | |
13769 | if (PyErr_Occurred()) SWIG_fail; | |
13770 | } | |
15afbcd0 | 13771 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13772 | return resultobj; |
13773 | fail: | |
13774 | return NULL; | |
13775 | } | |
13776 | ||
13777 | ||
13778 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13779 | PyObject *resultobj; | |
13780 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13781 | int arg2 ; | |
13782 | PyObject * obj0 = 0 ; | |
994141e6 | 13783 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13784 | char *kwnames[] = { |
13785 | (char *) "self",(char *) "flags", NULL | |
13786 | }; | |
13787 | ||
994141e6 | 13788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13791 | arg2 = (int) SWIG_AsInt(obj1); | |
13792 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13793 | { |
13794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13795 | (arg1)->SetFlags(arg2); | |
13796 | ||
13797 | wxPyEndAllowThreads(__tstate); | |
13798 | if (PyErr_Occurred()) SWIG_fail; | |
13799 | } | |
13800 | Py_INCREF(Py_None); resultobj = Py_None; | |
13801 | return resultobj; | |
13802 | fail: | |
13803 | return NULL; | |
13804 | } | |
13805 | ||
13806 | ||
13807 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13808 | PyObject *resultobj; | |
13809 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13810 | wxString *arg2 = 0 ; | |
e811c8ce | 13811 | bool temp2 = False ; |
d14a1e28 RD |
13812 | PyObject * obj0 = 0 ; |
13813 | PyObject * obj1 = 0 ; | |
13814 | char *kwnames[] = { | |
13815 | (char *) "self",(char *) "str", NULL | |
13816 | }; | |
13817 | ||
13818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13821 | { |
13822 | arg2 = wxString_in_helper(obj1); | |
13823 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13824 | temp2 = True; |
d14a1e28 RD |
13825 | } |
13826 | { | |
13827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13828 | (arg1)->SetFindString((wxString const &)*arg2); | |
13829 | ||
13830 | wxPyEndAllowThreads(__tstate); | |
13831 | if (PyErr_Occurred()) SWIG_fail; | |
13832 | } | |
13833 | Py_INCREF(Py_None); resultobj = Py_None; | |
13834 | { | |
13835 | if (temp2) | |
13836 | delete arg2; | |
13837 | } | |
13838 | return resultobj; | |
13839 | fail: | |
13840 | { | |
13841 | if (temp2) | |
13842 | delete arg2; | |
13843 | } | |
13844 | return NULL; | |
13845 | } | |
13846 | ||
13847 | ||
13848 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13849 | PyObject *resultobj; | |
13850 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13851 | wxString *arg2 = 0 ; | |
e811c8ce | 13852 | bool temp2 = False ; |
d14a1e28 RD |
13853 | PyObject * obj0 = 0 ; |
13854 | PyObject * obj1 = 0 ; | |
13855 | char *kwnames[] = { | |
13856 | (char *) "self",(char *) "str", NULL | |
13857 | }; | |
13858 | ||
13859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13862 | { |
13863 | arg2 = wxString_in_helper(obj1); | |
13864 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 13865 | temp2 = True; |
d14a1e28 RD |
13866 | } |
13867 | { | |
13868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13869 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13870 | ||
13871 | wxPyEndAllowThreads(__tstate); | |
13872 | if (PyErr_Occurred()) SWIG_fail; | |
13873 | } | |
13874 | Py_INCREF(Py_None); resultobj = Py_None; | |
13875 | { | |
13876 | if (temp2) | |
13877 | delete arg2; | |
13878 | } | |
13879 | return resultobj; | |
13880 | fail: | |
13881 | { | |
13882 | if (temp2) | |
13883 | delete arg2; | |
13884 | } | |
13885 | return NULL; | |
13886 | } | |
13887 | ||
13888 | ||
13889 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
13890 | PyObject *obj; | |
13891 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13892 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13893 | Py_INCREF(obj); | |
13894 | return Py_BuildValue((char *)""); | |
13895 | } | |
13896 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13897 | PyObject *resultobj; | |
13898 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13899 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13900 | wxString *arg3 = 0 ; | |
13901 | int arg4 = (int) 0 ; | |
13902 | wxFindReplaceDialog *result; | |
e811c8ce | 13903 | bool temp3 = False ; |
d14a1e28 RD |
13904 | PyObject * obj0 = 0 ; |
13905 | PyObject * obj1 = 0 ; | |
13906 | PyObject * obj2 = 0 ; | |
994141e6 | 13907 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13908 | char *kwnames[] = { |
13909 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13910 | }; | |
13911 | ||
994141e6 | 13912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
13913 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13914 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13915 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13917 | { |
13918 | arg3 = wxString_in_helper(obj2); | |
13919 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 13920 | temp3 = True; |
d14a1e28 | 13921 | } |
994141e6 | 13922 | if (obj3) { |
15afbcd0 RD |
13923 | arg4 = (int) SWIG_AsInt(obj3); |
13924 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 13925 | } |
d14a1e28 RD |
13926 | { |
13927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13928 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13929 | ||
13930 | wxPyEndAllowThreads(__tstate); | |
13931 | if (PyErr_Occurred()) SWIG_fail; | |
13932 | } | |
15afbcd0 | 13933 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13934 | { |
13935 | if (temp3) | |
13936 | delete arg3; | |
13937 | } | |
13938 | return resultobj; | |
13939 | fail: | |
13940 | { | |
13941 | if (temp3) | |
13942 | delete arg3; | |
13943 | } | |
13944 | return NULL; | |
13945 | } | |
13946 | ||
13947 | ||
13948 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13949 | PyObject *resultobj; | |
13950 | wxFindReplaceDialog *result; | |
13951 | char *kwnames[] = { | |
13952 | NULL | |
13953 | }; | |
13954 | ||
13955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
13956 | { | |
13957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13958 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
13959 | ||
13960 | wxPyEndAllowThreads(__tstate); | |
13961 | if (PyErr_Occurred()) SWIG_fail; | |
13962 | } | |
15afbcd0 | 13963 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13964 | return resultobj; |
13965 | fail: | |
13966 | return NULL; | |
13967 | } | |
13968 | ||
13969 | ||
13970 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13971 | PyObject *resultobj; | |
13972 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13973 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13974 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
13975 | wxString *arg4 = 0 ; | |
13976 | int arg5 = (int) 0 ; | |
13977 | bool result; | |
e811c8ce | 13978 | bool temp4 = False ; |
d14a1e28 RD |
13979 | PyObject * obj0 = 0 ; |
13980 | PyObject * obj1 = 0 ; | |
13981 | PyObject * obj2 = 0 ; | |
13982 | PyObject * obj3 = 0 ; | |
994141e6 | 13983 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13984 | char *kwnames[] = { |
13985 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13986 | }; | |
13987 | ||
994141e6 | 13988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
13989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13991 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
13992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13993 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
13994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13995 | { |
13996 | arg4 = wxString_in_helper(obj3); | |
13997 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 13998 | temp4 = True; |
d14a1e28 | 13999 | } |
994141e6 | 14000 | if (obj4) { |
15afbcd0 RD |
14001 | arg5 = (int) SWIG_AsInt(obj4); |
14002 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14003 | } |
d14a1e28 RD |
14004 | { |
14005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14006 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14007 | ||
14008 | wxPyEndAllowThreads(__tstate); | |
14009 | if (PyErr_Occurred()) SWIG_fail; | |
14010 | } | |
4f89f6a3 RD |
14011 | { |
14012 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14013 | } | |
d14a1e28 RD |
14014 | { |
14015 | if (temp4) | |
14016 | delete arg4; | |
14017 | } | |
14018 | return resultobj; | |
14019 | fail: | |
14020 | { | |
14021 | if (temp4) | |
14022 | delete arg4; | |
14023 | } | |
14024 | return NULL; | |
14025 | } | |
14026 | ||
14027 | ||
14028 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14029 | PyObject *resultobj; | |
14030 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14031 | wxFindReplaceData *result; | |
14032 | PyObject * obj0 = 0 ; | |
14033 | char *kwnames[] = { | |
14034 | (char *) "self", NULL | |
14035 | }; | |
14036 | ||
14037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14040 | { |
14041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14042 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14043 | ||
14044 | wxPyEndAllowThreads(__tstate); | |
14045 | if (PyErr_Occurred()) SWIG_fail; | |
14046 | } | |
15afbcd0 | 14047 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14048 | return resultobj; |
14049 | fail: | |
14050 | return NULL; | |
14051 | } | |
14052 | ||
14053 | ||
14054 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14055 | PyObject *resultobj; | |
14056 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14057 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14058 | PyObject * obj0 = 0 ; | |
14059 | PyObject * obj1 = 0 ; | |
14060 | char *kwnames[] = { | |
14061 | (char *) "self",(char *) "data", NULL | |
14062 | }; | |
14063 | ||
14064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14065 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14066 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14067 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14069 | { |
14070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14071 | (arg1)->SetData(arg2); | |
14072 | ||
14073 | wxPyEndAllowThreads(__tstate); | |
14074 | if (PyErr_Occurred()) SWIG_fail; | |
14075 | } | |
14076 | Py_INCREF(Py_None); resultobj = Py_None; | |
14077 | return resultobj; | |
14078 | fail: | |
14079 | return NULL; | |
14080 | } | |
14081 | ||
14082 | ||
14083 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14084 | PyObject *obj; | |
14085 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14086 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14087 | Py_INCREF(obj); | |
14088 | return Py_BuildValue((char *)""); | |
14089 | } | |
14090 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14091 | PyObject *resultobj; | |
14092 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14093 | int arg2 ; |
d14a1e28 RD |
14094 | wxString *arg3 = 0 ; |
14095 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14096 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14097 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14098 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14099 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14100 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14101 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14102 | wxMDIParentFrame *result; | |
e811c8ce | 14103 | bool temp3 = False ; |
d14a1e28 RD |
14104 | wxPoint temp4 ; |
14105 | wxSize temp5 ; | |
e811c8ce | 14106 | bool temp7 = False ; |
d14a1e28 | 14107 | PyObject * obj0 = 0 ; |
994141e6 | 14108 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14109 | PyObject * obj2 = 0 ; |
14110 | PyObject * obj3 = 0 ; | |
14111 | PyObject * obj4 = 0 ; | |
994141e6 | 14112 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14113 | PyObject * obj6 = 0 ; |
14114 | char *kwnames[] = { | |
14115 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14116 | }; | |
14117 | ||
994141e6 | 14118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14121 | arg2 = (int const) SWIG_AsInt(obj1); | |
14122 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14123 | { |
14124 | arg3 = wxString_in_helper(obj2); | |
14125 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14126 | temp3 = True; |
d14a1e28 RD |
14127 | } |
14128 | if (obj3) { | |
14129 | { | |
14130 | arg4 = &temp4; | |
14131 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14132 | } | |
14133 | } | |
14134 | if (obj4) { | |
14135 | { | |
14136 | arg5 = &temp5; | |
14137 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14138 | } | |
14139 | } | |
994141e6 | 14140 | if (obj5) { |
15afbcd0 RD |
14141 | arg6 = (long) SWIG_AsLong(obj5); |
14142 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14143 | } |
d14a1e28 RD |
14144 | if (obj6) { |
14145 | { | |
14146 | arg7 = wxString_in_helper(obj6); | |
14147 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14148 | temp7 = True; |
d14a1e28 RD |
14149 | } |
14150 | } | |
14151 | { | |
14152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14153 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14154 | ||
14155 | wxPyEndAllowThreads(__tstate); | |
14156 | if (PyErr_Occurred()) SWIG_fail; | |
14157 | } | |
15afbcd0 | 14158 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14159 | { |
14160 | if (temp3) | |
14161 | delete arg3; | |
14162 | } | |
14163 | { | |
14164 | if (temp7) | |
14165 | delete arg7; | |
14166 | } | |
14167 | return resultobj; | |
14168 | fail: | |
14169 | { | |
14170 | if (temp3) | |
14171 | delete arg3; | |
14172 | } | |
14173 | { | |
14174 | if (temp7) | |
14175 | delete arg7; | |
14176 | } | |
14177 | return NULL; | |
14178 | } | |
14179 | ||
14180 | ||
14181 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14182 | PyObject *resultobj; | |
14183 | wxMDIParentFrame *result; | |
14184 | char *kwnames[] = { | |
14185 | NULL | |
14186 | }; | |
14187 | ||
14188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14189 | { | |
14190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14191 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14192 | ||
14193 | wxPyEndAllowThreads(__tstate); | |
14194 | if (PyErr_Occurred()) SWIG_fail; | |
14195 | } | |
15afbcd0 | 14196 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14197 | return resultobj; |
14198 | fail: | |
14199 | return NULL; | |
14200 | } | |
14201 | ||
14202 | ||
14203 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14204 | PyObject *resultobj; | |
14205 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14206 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 14207 | int arg3 ; |
d14a1e28 RD |
14208 | wxString *arg4 = 0 ; |
14209 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14210 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14211 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14212 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14213 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14214 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14215 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14216 | bool result; | |
e811c8ce | 14217 | bool temp4 = False ; |
d14a1e28 RD |
14218 | wxPoint temp5 ; |
14219 | wxSize temp6 ; | |
e811c8ce | 14220 | bool temp8 = False ; |
d14a1e28 RD |
14221 | PyObject * obj0 = 0 ; |
14222 | PyObject * obj1 = 0 ; | |
994141e6 | 14223 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14224 | PyObject * obj3 = 0 ; |
14225 | PyObject * obj4 = 0 ; | |
14226 | PyObject * obj5 = 0 ; | |
994141e6 | 14227 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14228 | PyObject * obj7 = 0 ; |
14229 | char *kwnames[] = { | |
14230 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14231 | }; | |
14232 | ||
994141e6 | 14233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14236 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14238 | arg3 = (int const) SWIG_AsInt(obj2); | |
14239 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14240 | { |
14241 | arg4 = wxString_in_helper(obj3); | |
14242 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14243 | temp4 = True; |
d14a1e28 RD |
14244 | } |
14245 | if (obj4) { | |
14246 | { | |
14247 | arg5 = &temp5; | |
14248 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14249 | } | |
14250 | } | |
14251 | if (obj5) { | |
14252 | { | |
14253 | arg6 = &temp6; | |
14254 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14255 | } | |
14256 | } | |
994141e6 | 14257 | if (obj6) { |
15afbcd0 RD |
14258 | arg7 = (long) SWIG_AsLong(obj6); |
14259 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14260 | } |
d14a1e28 RD |
14261 | if (obj7) { |
14262 | { | |
14263 | arg8 = wxString_in_helper(obj7); | |
14264 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14265 | temp8 = True; |
d14a1e28 RD |
14266 | } |
14267 | } | |
14268 | { | |
14269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14270 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14271 | ||
14272 | wxPyEndAllowThreads(__tstate); | |
14273 | if (PyErr_Occurred()) SWIG_fail; | |
14274 | } | |
4f89f6a3 RD |
14275 | { |
14276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14277 | } | |
d14a1e28 RD |
14278 | { |
14279 | if (temp4) | |
14280 | delete arg4; | |
14281 | } | |
14282 | { | |
14283 | if (temp8) | |
14284 | delete arg8; | |
14285 | } | |
14286 | return resultobj; | |
14287 | fail: | |
14288 | { | |
14289 | if (temp4) | |
14290 | delete arg4; | |
14291 | } | |
14292 | { | |
14293 | if (temp8) | |
14294 | delete arg8; | |
14295 | } | |
14296 | return NULL; | |
14297 | } | |
14298 | ||
14299 | ||
14300 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14301 | PyObject *resultobj; | |
14302 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14303 | PyObject * obj0 = 0 ; | |
14304 | char *kwnames[] = { | |
14305 | (char *) "self", NULL | |
14306 | }; | |
14307 | ||
14308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14311 | { |
14312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14313 | (arg1)->ActivateNext(); | |
14314 | ||
14315 | wxPyEndAllowThreads(__tstate); | |
14316 | if (PyErr_Occurred()) SWIG_fail; | |
14317 | } | |
14318 | Py_INCREF(Py_None); resultobj = Py_None; | |
14319 | return resultobj; | |
14320 | fail: | |
14321 | return NULL; | |
14322 | } | |
14323 | ||
14324 | ||
14325 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14326 | PyObject *resultobj; | |
14327 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14328 | PyObject * obj0 = 0 ; | |
14329 | char *kwnames[] = { | |
14330 | (char *) "self", NULL | |
14331 | }; | |
14332 | ||
14333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14336 | { |
14337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14338 | (arg1)->ActivatePrevious(); | |
14339 | ||
14340 | wxPyEndAllowThreads(__tstate); | |
14341 | if (PyErr_Occurred()) SWIG_fail; | |
14342 | } | |
14343 | Py_INCREF(Py_None); resultobj = Py_None; | |
14344 | return resultobj; | |
14345 | fail: | |
14346 | return NULL; | |
14347 | } | |
14348 | ||
14349 | ||
14350 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14351 | PyObject *resultobj; | |
14352 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14353 | PyObject * obj0 = 0 ; | |
14354 | char *kwnames[] = { | |
14355 | (char *) "self", NULL | |
14356 | }; | |
14357 | ||
14358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14361 | { |
14362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14363 | (arg1)->ArrangeIcons(); | |
14364 | ||
14365 | wxPyEndAllowThreads(__tstate); | |
14366 | if (PyErr_Occurred()) SWIG_fail; | |
14367 | } | |
14368 | Py_INCREF(Py_None); resultobj = Py_None; | |
14369 | return resultobj; | |
14370 | fail: | |
14371 | return NULL; | |
14372 | } | |
14373 | ||
14374 | ||
14375 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14376 | PyObject *resultobj; | |
14377 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14378 | PyObject * obj0 = 0 ; | |
14379 | char *kwnames[] = { | |
14380 | (char *) "self", NULL | |
14381 | }; | |
14382 | ||
14383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14386 | { |
14387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14388 | (arg1)->Cascade(); | |
14389 | ||
14390 | wxPyEndAllowThreads(__tstate); | |
14391 | if (PyErr_Occurred()) SWIG_fail; | |
14392 | } | |
14393 | Py_INCREF(Py_None); resultobj = Py_None; | |
14394 | return resultobj; | |
14395 | fail: | |
14396 | return NULL; | |
14397 | } | |
14398 | ||
14399 | ||
14400 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14401 | PyObject *resultobj; | |
14402 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14403 | wxMDIChildFrame *result; | |
14404 | PyObject * obj0 = 0 ; | |
14405 | char *kwnames[] = { | |
14406 | (char *) "self", NULL | |
14407 | }; | |
14408 | ||
14409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14412 | { |
14413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14414 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14415 | ||
14416 | wxPyEndAllowThreads(__tstate); | |
14417 | if (PyErr_Occurred()) SWIG_fail; | |
14418 | } | |
14419 | { | |
14420 | resultobj = wxPyMake_wxObject(result); | |
14421 | } | |
14422 | return resultobj; | |
14423 | fail: | |
14424 | return NULL; | |
14425 | } | |
14426 | ||
14427 | ||
14428 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14429 | PyObject *resultobj; | |
14430 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14431 | wxMDIClientWindow *result; | |
14432 | PyObject * obj0 = 0 ; | |
14433 | char *kwnames[] = { | |
14434 | (char *) "self", NULL | |
14435 | }; | |
14436 | ||
14437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14440 | { |
14441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14442 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14443 | ||
14444 | wxPyEndAllowThreads(__tstate); | |
14445 | if (PyErr_Occurred()) SWIG_fail; | |
14446 | } | |
14447 | { | |
14448 | resultobj = wxPyMake_wxObject(result); | |
14449 | } | |
14450 | return resultobj; | |
14451 | fail: | |
14452 | return NULL; | |
14453 | } | |
14454 | ||
14455 | ||
14456 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14457 | PyObject *resultobj; | |
14458 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14459 | wxWindow *result; | |
14460 | PyObject * obj0 = 0 ; | |
14461 | char *kwnames[] = { | |
14462 | (char *) "self", NULL | |
14463 | }; | |
14464 | ||
14465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14468 | { |
14469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14470 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14471 | ||
14472 | wxPyEndAllowThreads(__tstate); | |
14473 | if (PyErr_Occurred()) SWIG_fail; | |
14474 | } | |
14475 | { | |
14476 | resultobj = wxPyMake_wxObject(result); | |
14477 | } | |
14478 | return resultobj; | |
14479 | fail: | |
14480 | return NULL; | |
14481 | } | |
14482 | ||
14483 | ||
14484 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14485 | PyObject *resultobj; | |
14486 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14487 | PyObject * obj0 = 0 ; | |
14488 | char *kwnames[] = { | |
14489 | (char *) "self", NULL | |
14490 | }; | |
14491 | ||
14492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14495 | { |
14496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14497 | (arg1)->Tile(); | |
14498 | ||
14499 | wxPyEndAllowThreads(__tstate); | |
14500 | if (PyErr_Occurred()) SWIG_fail; | |
14501 | } | |
14502 | Py_INCREF(Py_None); resultobj = Py_None; | |
14503 | return resultobj; | |
14504 | fail: | |
14505 | return NULL; | |
14506 | } | |
14507 | ||
14508 | ||
14509 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14510 | PyObject *obj; | |
14511 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14512 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14513 | Py_INCREF(obj); | |
14514 | return Py_BuildValue((char *)""); | |
14515 | } | |
14516 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14517 | PyObject *resultobj; | |
14518 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14519 | int arg2 ; |
d14a1e28 RD |
14520 | wxString *arg3 = 0 ; |
14521 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14522 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14523 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14524 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14525 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14526 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14527 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14528 | wxMDIChildFrame *result; | |
e811c8ce | 14529 | bool temp3 = False ; |
d14a1e28 RD |
14530 | wxPoint temp4 ; |
14531 | wxSize temp5 ; | |
e811c8ce | 14532 | bool temp7 = False ; |
d14a1e28 | 14533 | PyObject * obj0 = 0 ; |
994141e6 | 14534 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14535 | PyObject * obj2 = 0 ; |
14536 | PyObject * obj3 = 0 ; | |
14537 | PyObject * obj4 = 0 ; | |
994141e6 | 14538 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14539 | PyObject * obj6 = 0 ; |
14540 | char *kwnames[] = { | |
14541 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14542 | }; | |
14543 | ||
994141e6 | 14544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
14545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14547 | arg2 = (int const) SWIG_AsInt(obj1); | |
14548 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14549 | { |
14550 | arg3 = wxString_in_helper(obj2); | |
14551 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 14552 | temp3 = True; |
d14a1e28 RD |
14553 | } |
14554 | if (obj3) { | |
14555 | { | |
14556 | arg4 = &temp4; | |
14557 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14558 | } | |
14559 | } | |
14560 | if (obj4) { | |
14561 | { | |
14562 | arg5 = &temp5; | |
14563 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14564 | } | |
14565 | } | |
994141e6 | 14566 | if (obj5) { |
15afbcd0 RD |
14567 | arg6 = (long) SWIG_AsLong(obj5); |
14568 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14569 | } |
d14a1e28 RD |
14570 | if (obj6) { |
14571 | { | |
14572 | arg7 = wxString_in_helper(obj6); | |
14573 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 14574 | temp7 = True; |
d14a1e28 RD |
14575 | } |
14576 | } | |
14577 | { | |
14578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14579 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14580 | ||
14581 | wxPyEndAllowThreads(__tstate); | |
14582 | if (PyErr_Occurred()) SWIG_fail; | |
14583 | } | |
14584 | { | |
14585 | resultobj = wxPyMake_wxObject(result); | |
14586 | } | |
14587 | { | |
14588 | if (temp3) | |
14589 | delete arg3; | |
14590 | } | |
14591 | { | |
14592 | if (temp7) | |
14593 | delete arg7; | |
14594 | } | |
14595 | return resultobj; | |
14596 | fail: | |
14597 | { | |
14598 | if (temp3) | |
14599 | delete arg3; | |
14600 | } | |
14601 | { | |
14602 | if (temp7) | |
14603 | delete arg7; | |
14604 | } | |
14605 | return NULL; | |
14606 | } | |
14607 | ||
14608 | ||
14609 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14610 | PyObject *resultobj; | |
14611 | wxMDIChildFrame *result; | |
14612 | char *kwnames[] = { | |
14613 | NULL | |
14614 | }; | |
14615 | ||
14616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14617 | { | |
14618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14619 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14620 | ||
14621 | wxPyEndAllowThreads(__tstate); | |
14622 | if (PyErr_Occurred()) SWIG_fail; | |
14623 | } | |
14624 | { | |
14625 | resultobj = wxPyMake_wxObject(result); | |
14626 | } | |
14627 | return resultobj; | |
14628 | fail: | |
14629 | return NULL; | |
14630 | } | |
14631 | ||
14632 | ||
14633 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14634 | PyObject *resultobj; | |
14635 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14636 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
e811c8ce | 14637 | int arg3 ; |
d14a1e28 RD |
14638 | wxString *arg4 = 0 ; |
14639 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14640 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14641 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14642 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14643 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14644 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14645 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14646 | bool result; | |
e811c8ce | 14647 | bool temp4 = False ; |
d14a1e28 RD |
14648 | wxPoint temp5 ; |
14649 | wxSize temp6 ; | |
e811c8ce | 14650 | bool temp8 = False ; |
d14a1e28 RD |
14651 | PyObject * obj0 = 0 ; |
14652 | PyObject * obj1 = 0 ; | |
994141e6 | 14653 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14654 | PyObject * obj3 = 0 ; |
14655 | PyObject * obj4 = 0 ; | |
14656 | PyObject * obj5 = 0 ; | |
994141e6 | 14657 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14658 | PyObject * obj7 = 0 ; |
14659 | char *kwnames[] = { | |
14660 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14661 | }; | |
14662 | ||
994141e6 | 14663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
14664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14666 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14668 | arg3 = (int const) SWIG_AsInt(obj2); | |
14669 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14670 | { |
14671 | arg4 = wxString_in_helper(obj3); | |
14672 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 14673 | temp4 = True; |
d14a1e28 RD |
14674 | } |
14675 | if (obj4) { | |
14676 | { | |
14677 | arg5 = &temp5; | |
14678 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14679 | } | |
14680 | } | |
14681 | if (obj5) { | |
14682 | { | |
14683 | arg6 = &temp6; | |
14684 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14685 | } | |
14686 | } | |
994141e6 | 14687 | if (obj6) { |
15afbcd0 RD |
14688 | arg7 = (long) SWIG_AsLong(obj6); |
14689 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14690 | } |
d14a1e28 RD |
14691 | if (obj7) { |
14692 | { | |
14693 | arg8 = wxString_in_helper(obj7); | |
14694 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 14695 | temp8 = True; |
d14a1e28 RD |
14696 | } |
14697 | } | |
14698 | { | |
14699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14700 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14701 | ||
14702 | wxPyEndAllowThreads(__tstate); | |
14703 | if (PyErr_Occurred()) SWIG_fail; | |
14704 | } | |
4f89f6a3 RD |
14705 | { |
14706 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14707 | } | |
d14a1e28 RD |
14708 | { |
14709 | if (temp4) | |
14710 | delete arg4; | |
14711 | } | |
14712 | { | |
14713 | if (temp8) | |
14714 | delete arg8; | |
14715 | } | |
14716 | return resultobj; | |
14717 | fail: | |
14718 | { | |
14719 | if (temp4) | |
14720 | delete arg4; | |
14721 | } | |
14722 | { | |
14723 | if (temp8) | |
14724 | delete arg8; | |
14725 | } | |
14726 | return NULL; | |
14727 | } | |
14728 | ||
14729 | ||
14730 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14731 | PyObject *resultobj; | |
14732 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14733 | PyObject * obj0 = 0 ; | |
14734 | char *kwnames[] = { | |
14735 | (char *) "self", NULL | |
14736 | }; | |
14737 | ||
14738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14741 | { |
14742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14743 | (arg1)->Activate(); | |
14744 | ||
14745 | wxPyEndAllowThreads(__tstate); | |
14746 | if (PyErr_Occurred()) SWIG_fail; | |
14747 | } | |
14748 | Py_INCREF(Py_None); resultobj = Py_None; | |
14749 | return resultobj; | |
14750 | fail: | |
14751 | return NULL; | |
14752 | } | |
14753 | ||
14754 | ||
14755 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14756 | PyObject *resultobj; | |
14757 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14758 | bool arg2 ; | |
14759 | PyObject * obj0 = 0 ; | |
14760 | PyObject * obj1 = 0 ; | |
14761 | char *kwnames[] = { | |
14762 | (char *) "self",(char *) "maximize", NULL | |
14763 | }; | |
14764 | ||
14765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14768 | arg2 = (bool) SWIG_AsBool(obj1); | |
14769 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14770 | { |
14771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14772 | (arg1)->Maximize(arg2); | |
14773 | ||
14774 | wxPyEndAllowThreads(__tstate); | |
14775 | if (PyErr_Occurred()) SWIG_fail; | |
14776 | } | |
14777 | Py_INCREF(Py_None); resultobj = Py_None; | |
14778 | return resultobj; | |
14779 | fail: | |
14780 | return NULL; | |
14781 | } | |
14782 | ||
14783 | ||
14784 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14785 | PyObject *resultobj; | |
14786 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14787 | PyObject * obj0 = 0 ; | |
14788 | char *kwnames[] = { | |
14789 | (char *) "self", NULL | |
14790 | }; | |
14791 | ||
14792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14795 | { |
14796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14797 | (arg1)->Restore(); | |
14798 | ||
14799 | wxPyEndAllowThreads(__tstate); | |
14800 | if (PyErr_Occurred()) SWIG_fail; | |
14801 | } | |
14802 | Py_INCREF(Py_None); resultobj = Py_None; | |
14803 | return resultobj; | |
14804 | fail: | |
14805 | return NULL; | |
14806 | } | |
14807 | ||
14808 | ||
14809 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14810 | PyObject *obj; | |
14811 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14812 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14813 | Py_INCREF(obj); | |
14814 | return Py_BuildValue((char *)""); | |
14815 | } | |
14816 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14817 | PyObject *resultobj; | |
14818 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14819 | long arg2 = (long) 0 ; | |
14820 | wxMDIClientWindow *result; | |
14821 | PyObject * obj0 = 0 ; | |
994141e6 | 14822 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14823 | char *kwnames[] = { |
14824 | (char *) "parent",(char *) "style", NULL | |
14825 | }; | |
14826 | ||
994141e6 | 14827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14830 | if (obj1) { |
15afbcd0 RD |
14831 | arg2 = (long) SWIG_AsLong(obj1); |
14832 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14833 | } |
d14a1e28 RD |
14834 | { |
14835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14836 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14837 | ||
14838 | wxPyEndAllowThreads(__tstate); | |
14839 | if (PyErr_Occurred()) SWIG_fail; | |
14840 | } | |
14841 | { | |
14842 | resultobj = wxPyMake_wxObject(result); | |
14843 | } | |
14844 | return resultobj; | |
14845 | fail: | |
14846 | return NULL; | |
14847 | } | |
14848 | ||
14849 | ||
14850 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14851 | PyObject *resultobj; | |
14852 | wxMDIClientWindow *result; | |
14853 | char *kwnames[] = { | |
14854 | NULL | |
14855 | }; | |
14856 | ||
14857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14858 | { | |
14859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14860 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14861 | ||
14862 | wxPyEndAllowThreads(__tstate); | |
14863 | if (PyErr_Occurred()) SWIG_fail; | |
14864 | } | |
14865 | { | |
14866 | resultobj = wxPyMake_wxObject(result); | |
14867 | } | |
14868 | return resultobj; | |
14869 | fail: | |
14870 | return NULL; | |
14871 | } | |
14872 | ||
14873 | ||
14874 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14875 | PyObject *resultobj; | |
14876 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14877 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14878 | long arg3 = (long) 0 ; | |
14879 | bool result; | |
14880 | PyObject * obj0 = 0 ; | |
14881 | PyObject * obj1 = 0 ; | |
994141e6 | 14882 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14883 | char *kwnames[] = { |
14884 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14885 | }; | |
14886 | ||
994141e6 | 14887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
14888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
14889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14890 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 14892 | if (obj2) { |
15afbcd0 RD |
14893 | arg3 = (long) SWIG_AsLong(obj2); |
14894 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14895 | } |
d14a1e28 RD |
14896 | { |
14897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14898 | result = (bool)(arg1)->Create(arg2,arg3); | |
14899 | ||
14900 | wxPyEndAllowThreads(__tstate); | |
14901 | if (PyErr_Occurred()) SWIG_fail; | |
14902 | } | |
4f89f6a3 RD |
14903 | { |
14904 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14905 | } | |
d14a1e28 RD |
14906 | return resultobj; |
14907 | fail: | |
14908 | return NULL; | |
14909 | } | |
14910 | ||
14911 | ||
14912 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
14913 | PyObject *obj; | |
14914 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14915 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
14916 | Py_INCREF(obj); | |
14917 | return Py_BuildValue((char *)""); | |
14918 | } | |
14919 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14920 | PyObject *resultobj; | |
14921 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 14922 | int arg2 ; |
d14a1e28 RD |
14923 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
14924 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14925 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14926 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14927 | long arg5 = (long) 0 ; | |
14928 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
14929 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
14930 | wxPyWindow *result; | |
14931 | wxPoint temp3 ; | |
14932 | wxSize temp4 ; | |
e811c8ce | 14933 | bool temp6 = False ; |
d14a1e28 | 14934 | PyObject * obj0 = 0 ; |
994141e6 | 14935 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14936 | PyObject * obj2 = 0 ; |
14937 | PyObject * obj3 = 0 ; | |
994141e6 | 14938 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14939 | PyObject * obj5 = 0 ; |
14940 | char *kwnames[] = { | |
14941 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14942 | }; | |
14943 | ||
994141e6 | 14944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
14945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14947 | arg2 = (int const) SWIG_AsInt(obj1); | |
14948 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14949 | if (obj2) { |
14950 | { | |
14951 | arg3 = &temp3; | |
14952 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14953 | } | |
14954 | } | |
14955 | if (obj3) { | |
14956 | { | |
14957 | arg4 = &temp4; | |
14958 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14959 | } | |
14960 | } | |
994141e6 | 14961 | if (obj4) { |
15afbcd0 RD |
14962 | arg5 = (long) SWIG_AsLong(obj4); |
14963 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 14964 | } |
d14a1e28 RD |
14965 | if (obj5) { |
14966 | { | |
14967 | arg6 = wxString_in_helper(obj5); | |
14968 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 14969 | temp6 = True; |
d14a1e28 RD |
14970 | } |
14971 | } | |
14972 | { | |
14973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14974 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
14975 | ||
14976 | wxPyEndAllowThreads(__tstate); | |
14977 | if (PyErr_Occurred()) SWIG_fail; | |
14978 | } | |
15afbcd0 | 14979 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
14980 | { |
14981 | if (temp6) | |
14982 | delete arg6; | |
14983 | } | |
14984 | return resultobj; | |
14985 | fail: | |
14986 | { | |
14987 | if (temp6) | |
14988 | delete arg6; | |
14989 | } | |
14990 | return NULL; | |
14991 | } | |
14992 | ||
14993 | ||
14994 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14995 | PyObject *resultobj; | |
14996 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14997 | PyObject *arg2 = (PyObject *) 0 ; | |
14998 | PyObject *arg3 = (PyObject *) 0 ; | |
14999 | PyObject * obj0 = 0 ; | |
15000 | PyObject * obj1 = 0 ; | |
15001 | PyObject * obj2 = 0 ; | |
15002 | char *kwnames[] = { | |
15003 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15004 | }; | |
15005 | ||
15006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15009 | arg2 = obj1; |
15010 | arg3 = obj2; | |
15011 | { | |
15012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15013 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15014 | ||
15015 | wxPyEndAllowThreads(__tstate); | |
15016 | if (PyErr_Occurred()) SWIG_fail; | |
15017 | } | |
15018 | Py_INCREF(Py_None); resultobj = Py_None; | |
15019 | return resultobj; | |
15020 | fail: | |
15021 | return NULL; | |
15022 | } | |
15023 | ||
15024 | ||
15025 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15026 | PyObject *resultobj; | |
15027 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15028 | int arg2 ; | |
15029 | int arg3 ; | |
15030 | int arg4 ; | |
15031 | int arg5 ; | |
15032 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15033 | PyObject * obj1 = 0 ; |
15034 | PyObject * obj2 = 0 ; | |
15035 | PyObject * obj3 = 0 ; | |
15036 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15037 | char *kwnames[] = { |
15038 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15039 | }; | |
15040 | ||
994141e6 | 15041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15044 | arg2 = (int) SWIG_AsInt(obj1); | |
15045 | if (PyErr_Occurred()) SWIG_fail; | |
15046 | arg3 = (int) SWIG_AsInt(obj2); | |
15047 | if (PyErr_Occurred()) SWIG_fail; | |
15048 | arg4 = (int) SWIG_AsInt(obj3); | |
15049 | if (PyErr_Occurred()) SWIG_fail; | |
15050 | arg5 = (int) SWIG_AsInt(obj4); | |
15051 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15052 | { |
15053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15054 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15055 | ||
15056 | wxPyEndAllowThreads(__tstate); | |
15057 | if (PyErr_Occurred()) SWIG_fail; | |
15058 | } | |
15059 | Py_INCREF(Py_None); resultobj = Py_None; | |
15060 | return resultobj; | |
15061 | fail: | |
15062 | return NULL; | |
15063 | } | |
15064 | ||
15065 | ||
15066 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15067 | PyObject *resultobj; | |
15068 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15069 | int arg2 ; | |
15070 | int arg3 ; | |
15071 | int arg4 ; | |
15072 | int arg5 ; | |
15073 | int arg6 = (int) wxSIZE_AUTO ; | |
15074 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15075 | PyObject * obj1 = 0 ; |
15076 | PyObject * obj2 = 0 ; | |
15077 | PyObject * obj3 = 0 ; | |
15078 | PyObject * obj4 = 0 ; | |
15079 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15080 | char *kwnames[] = { |
15081 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15082 | }; | |
15083 | ||
994141e6 | 15084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15087 | arg2 = (int) SWIG_AsInt(obj1); | |
15088 | if (PyErr_Occurred()) SWIG_fail; | |
15089 | arg3 = (int) SWIG_AsInt(obj2); | |
15090 | if (PyErr_Occurred()) SWIG_fail; | |
15091 | arg4 = (int) SWIG_AsInt(obj3); | |
15092 | if (PyErr_Occurred()) SWIG_fail; | |
15093 | arg5 = (int) SWIG_AsInt(obj4); | |
15094 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15095 | if (obj5) { |
15afbcd0 RD |
15096 | arg6 = (int) SWIG_AsInt(obj5); |
15097 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15098 | } |
d14a1e28 RD |
15099 | { |
15100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15101 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15102 | ||
15103 | wxPyEndAllowThreads(__tstate); | |
15104 | if (PyErr_Occurred()) SWIG_fail; | |
15105 | } | |
15106 | Py_INCREF(Py_None); resultobj = Py_None; | |
15107 | return resultobj; | |
15108 | fail: | |
15109 | return NULL; | |
15110 | } | |
15111 | ||
15112 | ||
15113 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15114 | PyObject *resultobj; | |
15115 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15116 | int arg2 ; | |
15117 | int arg3 ; | |
15118 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15119 | PyObject * obj1 = 0 ; |
15120 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15121 | char *kwnames[] = { |
15122 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15123 | }; | |
15124 | ||
994141e6 | 15125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15128 | arg2 = (int) SWIG_AsInt(obj1); | |
15129 | if (PyErr_Occurred()) SWIG_fail; | |
15130 | arg3 = (int) SWIG_AsInt(obj2); | |
15131 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15132 | { |
15133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15134 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15135 | ||
15136 | wxPyEndAllowThreads(__tstate); | |
15137 | if (PyErr_Occurred()) SWIG_fail; | |
15138 | } | |
15139 | Py_INCREF(Py_None); resultobj = Py_None; | |
15140 | return resultobj; | |
15141 | fail: | |
15142 | return NULL; | |
15143 | } | |
15144 | ||
15145 | ||
15146 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15147 | PyObject *resultobj; | |
15148 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15149 | int arg2 ; | |
15150 | int arg3 ; | |
15151 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15152 | PyObject * obj1 = 0 ; |
15153 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15154 | char *kwnames[] = { |
15afbcd0 RD |
15155 | (char *) "self",(char *) "x",(char *) "y", NULL |
15156 | }; | |
15157 | ||
15158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15159 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15160 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15161 | arg2 = (int) SWIG_AsInt(obj1); | |
15162 | if (PyErr_Occurred()) SWIG_fail; | |
15163 | arg3 = (int) SWIG_AsInt(obj2); | |
15164 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15165 | { |
15166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15167 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15168 | ||
15169 | wxPyEndAllowThreads(__tstate); | |
15170 | if (PyErr_Occurred()) SWIG_fail; | |
15171 | } | |
15172 | Py_INCREF(Py_None); resultobj = Py_None; | |
15173 | return resultobj; | |
15174 | fail: | |
15175 | return NULL; | |
15176 | } | |
15177 | ||
15178 | ||
15179 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15180 | PyObject *resultobj; | |
15181 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15182 | int *arg2 = (int *) 0 ; | |
15183 | int *arg3 = (int *) 0 ; | |
15184 | int temp2 ; | |
15185 | int temp3 ; | |
15186 | PyObject * obj0 = 0 ; | |
15187 | char *kwnames[] = { | |
15188 | (char *) "self", NULL | |
15189 | }; | |
15190 | ||
15191 | arg2 = &temp2; | |
15192 | arg3 = &temp3; | |
15193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15196 | { |
15197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15198 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15199 | ||
15200 | wxPyEndAllowThreads(__tstate); | |
15201 | if (PyErr_Occurred()) SWIG_fail; | |
15202 | } | |
15203 | Py_INCREF(Py_None); resultobj = Py_None; | |
15204 | { | |
15205 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15206 | resultobj = t_output_helper(resultobj,o); | |
15207 | } | |
15208 | { | |
15209 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15210 | resultobj = t_output_helper(resultobj,o); | |
15211 | } | |
15212 | return resultobj; | |
15213 | fail: | |
15214 | return NULL; | |
15215 | } | |
15216 | ||
15217 | ||
15218 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15219 | PyObject *resultobj; | |
15220 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15221 | int *arg2 = (int *) 0 ; | |
15222 | int *arg3 = (int *) 0 ; | |
15223 | int temp2 ; | |
15224 | int temp3 ; | |
15225 | PyObject * obj0 = 0 ; | |
15226 | char *kwnames[] = { | |
15227 | (char *) "self", NULL | |
15228 | }; | |
15229 | ||
15230 | arg2 = &temp2; | |
15231 | arg3 = &temp3; | |
15232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15235 | { |
15236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15237 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15238 | ||
15239 | wxPyEndAllowThreads(__tstate); | |
15240 | if (PyErr_Occurred()) SWIG_fail; | |
15241 | } | |
15242 | Py_INCREF(Py_None); resultobj = Py_None; | |
15243 | { | |
15244 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15245 | resultobj = t_output_helper(resultobj,o); | |
15246 | } | |
15247 | { | |
15248 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15249 | resultobj = t_output_helper(resultobj,o); | |
15250 | } | |
15251 | return resultobj; | |
15252 | fail: | |
15253 | return NULL; | |
15254 | } | |
15255 | ||
15256 | ||
15257 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15258 | PyObject *resultobj; | |
15259 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15260 | int *arg2 = (int *) 0 ; | |
15261 | int *arg3 = (int *) 0 ; | |
15262 | int temp2 ; | |
15263 | int temp3 ; | |
15264 | PyObject * obj0 = 0 ; | |
15265 | char *kwnames[] = { | |
15266 | (char *) "self", NULL | |
15267 | }; | |
15268 | ||
15269 | arg2 = &temp2; | |
15270 | arg3 = &temp3; | |
15271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15272 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15273 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15274 | { |
15275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15276 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15277 | ||
15278 | wxPyEndAllowThreads(__tstate); | |
15279 | if (PyErr_Occurred()) SWIG_fail; | |
15280 | } | |
15281 | Py_INCREF(Py_None); resultobj = Py_None; | |
15282 | { | |
15283 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15284 | resultobj = t_output_helper(resultobj,o); | |
15285 | } | |
15286 | { | |
15287 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15288 | resultobj = t_output_helper(resultobj,o); | |
15289 | } | |
15290 | return resultobj; | |
15291 | fail: | |
15292 | return NULL; | |
15293 | } | |
15294 | ||
15295 | ||
15296 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15297 | PyObject *resultobj; | |
15298 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15299 | wxSize result; | |
15300 | PyObject * obj0 = 0 ; | |
15301 | char *kwnames[] = { | |
15302 | (char *) "self", NULL | |
15303 | }; | |
15304 | ||
15305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15308 | { |
15309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15310 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15311 | ||
15312 | wxPyEndAllowThreads(__tstate); | |
15313 | if (PyErr_Occurred()) SWIG_fail; | |
15314 | } | |
15315 | { | |
15316 | wxSize * resultptr; | |
15317 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15318 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15319 | } |
15320 | return resultobj; | |
15321 | fail: | |
15322 | return NULL; | |
15323 | } | |
15324 | ||
15325 | ||
15326 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15327 | PyObject *resultobj; | |
15328 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15329 | wxSize result; | |
15330 | PyObject * obj0 = 0 ; | |
15331 | char *kwnames[] = { | |
15332 | (char *) "self", NULL | |
15333 | }; | |
15334 | ||
15335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15338 | { |
15339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15340 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15341 | ||
15342 | wxPyEndAllowThreads(__tstate); | |
15343 | if (PyErr_Occurred()) SWIG_fail; | |
15344 | } | |
15345 | { | |
15346 | wxSize * resultptr; | |
15347 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15348 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15349 | } |
15350 | return resultobj; | |
15351 | fail: | |
15352 | return NULL; | |
15353 | } | |
15354 | ||
15355 | ||
15356 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15357 | PyObject *resultobj; | |
15358 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15359 | PyObject * obj0 = 0 ; | |
15360 | char *kwnames[] = { | |
15361 | (char *) "self", NULL | |
15362 | }; | |
15363 | ||
15364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15367 | { |
15368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15369 | (arg1)->base_InitDialog(); | |
15370 | ||
15371 | wxPyEndAllowThreads(__tstate); | |
15372 | if (PyErr_Occurred()) SWIG_fail; | |
15373 | } | |
15374 | Py_INCREF(Py_None); resultobj = Py_None; | |
15375 | return resultobj; | |
15376 | fail: | |
15377 | return NULL; | |
15378 | } | |
15379 | ||
15380 | ||
15381 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15382 | PyObject *resultobj; | |
15383 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15384 | bool result; | |
15385 | PyObject * obj0 = 0 ; | |
15386 | char *kwnames[] = { | |
15387 | (char *) "self", NULL | |
15388 | }; | |
15389 | ||
15390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15393 | { |
15394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15395 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15396 | ||
15397 | wxPyEndAllowThreads(__tstate); | |
15398 | if (PyErr_Occurred()) SWIG_fail; | |
15399 | } | |
4f89f6a3 RD |
15400 | { |
15401 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15402 | } | |
d14a1e28 RD |
15403 | return resultobj; |
15404 | fail: | |
15405 | return NULL; | |
15406 | } | |
15407 | ||
15408 | ||
15409 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15410 | PyObject *resultobj; | |
15411 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15412 | bool result; | |
15413 | PyObject * obj0 = 0 ; | |
15414 | char *kwnames[] = { | |
15415 | (char *) "self", NULL | |
15416 | }; | |
15417 | ||
15418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15421 | { |
15422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15423 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15424 | ||
15425 | wxPyEndAllowThreads(__tstate); | |
15426 | if (PyErr_Occurred()) SWIG_fail; | |
15427 | } | |
4f89f6a3 RD |
15428 | { |
15429 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15430 | } | |
d14a1e28 RD |
15431 | return resultobj; |
15432 | fail: | |
15433 | return NULL; | |
15434 | } | |
15435 | ||
15436 | ||
15437 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15438 | PyObject *resultobj; | |
15439 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15440 | bool result; | |
15441 | PyObject * obj0 = 0 ; | |
15442 | char *kwnames[] = { | |
15443 | (char *) "self", NULL | |
15444 | }; | |
15445 | ||
15446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15449 | { |
15450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15451 | result = (bool)(arg1)->base_Validate(); | |
15452 | ||
15453 | wxPyEndAllowThreads(__tstate); | |
15454 | if (PyErr_Occurred()) SWIG_fail; | |
15455 | } | |
4f89f6a3 RD |
15456 | { |
15457 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15458 | } | |
d14a1e28 RD |
15459 | return resultobj; |
15460 | fail: | |
15461 | return NULL; | |
15462 | } | |
15463 | ||
15464 | ||
15465 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15466 | PyObject *resultobj; | |
15467 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15468 | bool result; | |
15469 | PyObject * obj0 = 0 ; | |
15470 | char *kwnames[] = { | |
15471 | (char *) "self", NULL | |
15472 | }; | |
15473 | ||
15474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15477 | { |
15478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15479 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15480 | ||
15481 | wxPyEndAllowThreads(__tstate); | |
15482 | if (PyErr_Occurred()) SWIG_fail; | |
15483 | } | |
4f89f6a3 RD |
15484 | { |
15485 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15486 | } | |
d14a1e28 RD |
15487 | return resultobj; |
15488 | fail: | |
15489 | return NULL; | |
15490 | } | |
15491 | ||
15492 | ||
15493 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15494 | PyObject *resultobj; | |
15495 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15496 | bool result; | |
15497 | PyObject * obj0 = 0 ; | |
15498 | char *kwnames[] = { | |
15499 | (char *) "self", NULL | |
15500 | }; | |
15501 | ||
15502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15505 | { |
15506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15507 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15508 | ||
15509 | wxPyEndAllowThreads(__tstate); | |
15510 | if (PyErr_Occurred()) SWIG_fail; | |
15511 | } | |
4f89f6a3 RD |
15512 | { |
15513 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15514 | } | |
d14a1e28 RD |
15515 | return resultobj; |
15516 | fail: | |
15517 | return NULL; | |
15518 | } | |
15519 | ||
15520 | ||
15521 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15522 | PyObject *resultobj; | |
15523 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15524 | wxSize result; | |
15525 | PyObject * obj0 = 0 ; | |
15526 | char *kwnames[] = { | |
15527 | (char *) "self", NULL | |
15528 | }; | |
15529 | ||
15530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15533 | { |
15534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15535 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15536 | ||
15537 | wxPyEndAllowThreads(__tstate); | |
15538 | if (PyErr_Occurred()) SWIG_fail; | |
15539 | } | |
15540 | { | |
15541 | wxSize * resultptr; | |
15542 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 15543 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15544 | } |
15545 | return resultobj; | |
15546 | fail: | |
15547 | return NULL; | |
15548 | } | |
15549 | ||
15550 | ||
15551 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15552 | PyObject *resultobj; | |
15553 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15554 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15555 | PyObject * obj0 = 0 ; | |
15556 | PyObject * obj1 = 0 ; | |
15557 | char *kwnames[] = { | |
15558 | (char *) "self",(char *) "child", NULL | |
15559 | }; | |
15560 | ||
15561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15564 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15566 | { |
15567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15568 | (arg1)->base_AddChild(arg2); | |
15569 | ||
15570 | wxPyEndAllowThreads(__tstate); | |
15571 | if (PyErr_Occurred()) SWIG_fail; | |
15572 | } | |
15573 | Py_INCREF(Py_None); resultobj = Py_None; | |
15574 | return resultobj; | |
15575 | fail: | |
15576 | return NULL; | |
15577 | } | |
15578 | ||
15579 | ||
15580 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15581 | PyObject *resultobj; | |
15582 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15583 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15584 | PyObject * obj0 = 0 ; | |
15585 | PyObject * obj1 = 0 ; | |
15586 | char *kwnames[] = { | |
15587 | (char *) "self",(char *) "child", NULL | |
15588 | }; | |
15589 | ||
15590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15593 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15595 | { |
15596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15597 | (arg1)->base_RemoveChild(arg2); | |
15598 | ||
15599 | wxPyEndAllowThreads(__tstate); | |
15600 | if (PyErr_Occurred()) SWIG_fail; | |
15601 | } | |
15602 | Py_INCREF(Py_None); resultobj = Py_None; | |
15603 | return resultobj; | |
15604 | fail: | |
15605 | return NULL; | |
15606 | } | |
15607 | ||
15608 | ||
15609 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
15610 | PyObject *obj; | |
15611 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15612 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15613 | Py_INCREF(obj); | |
15614 | return Py_BuildValue((char *)""); | |
15615 | } | |
15616 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15617 | PyObject *resultobj; | |
15618 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 15619 | int arg2 ; |
d14a1e28 RD |
15620 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15621 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15622 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15623 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15624 | long arg5 = (long) 0 ; | |
15625 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15626 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15627 | wxPyPanel *result; | |
15628 | wxPoint temp3 ; | |
15629 | wxSize temp4 ; | |
e811c8ce | 15630 | bool temp6 = False ; |
d14a1e28 | 15631 | PyObject * obj0 = 0 ; |
994141e6 | 15632 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15633 | PyObject * obj2 = 0 ; |
15634 | PyObject * obj3 = 0 ; | |
994141e6 | 15635 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15636 | PyObject * obj5 = 0 ; |
15637 | char *kwnames[] = { | |
15638 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15639 | }; | |
15640 | ||
994141e6 | 15641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15644 | arg2 = (int const) SWIG_AsInt(obj1); | |
15645 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15646 | if (obj2) { |
15647 | { | |
15648 | arg3 = &temp3; | |
15649 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15650 | } | |
15651 | } | |
15652 | if (obj3) { | |
15653 | { | |
15654 | arg4 = &temp4; | |
15655 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15656 | } | |
15657 | } | |
994141e6 | 15658 | if (obj4) { |
15afbcd0 RD |
15659 | arg5 = (long) SWIG_AsLong(obj4); |
15660 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15661 | } |
d14a1e28 RD |
15662 | if (obj5) { |
15663 | { | |
15664 | arg6 = wxString_in_helper(obj5); | |
15665 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 15666 | temp6 = True; |
d14a1e28 RD |
15667 | } |
15668 | } | |
15669 | { | |
15670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15671 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15672 | ||
15673 | wxPyEndAllowThreads(__tstate); | |
15674 | if (PyErr_Occurred()) SWIG_fail; | |
15675 | } | |
15afbcd0 | 15676 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15677 | { |
15678 | if (temp6) | |
15679 | delete arg6; | |
15680 | } | |
15681 | return resultobj; | |
15682 | fail: | |
15683 | { | |
15684 | if (temp6) | |
15685 | delete arg6; | |
15686 | } | |
15687 | return NULL; | |
15688 | } | |
15689 | ||
15690 | ||
15691 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15692 | PyObject *resultobj; | |
15693 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15694 | PyObject *arg2 = (PyObject *) 0 ; | |
15695 | PyObject *arg3 = (PyObject *) 0 ; | |
15696 | PyObject * obj0 = 0 ; | |
15697 | PyObject * obj1 = 0 ; | |
15698 | PyObject * obj2 = 0 ; | |
15699 | char *kwnames[] = { | |
15700 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15701 | }; | |
15702 | ||
15703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
15704 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15705 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15706 | arg2 = obj1; |
15707 | arg3 = obj2; | |
15708 | { | |
15709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15710 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15711 | ||
15712 | wxPyEndAllowThreads(__tstate); | |
15713 | if (PyErr_Occurred()) SWIG_fail; | |
15714 | } | |
15715 | Py_INCREF(Py_None); resultobj = Py_None; | |
15716 | return resultobj; | |
15717 | fail: | |
15718 | return NULL; | |
15719 | } | |
15720 | ||
15721 | ||
15722 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15723 | PyObject *resultobj; | |
15724 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15725 | int arg2 ; | |
15726 | int arg3 ; | |
15727 | int arg4 ; | |
15728 | int arg5 ; | |
15729 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15730 | PyObject * obj1 = 0 ; |
15731 | PyObject * obj2 = 0 ; | |
15732 | PyObject * obj3 = 0 ; | |
15733 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15734 | char *kwnames[] = { |
15735 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15736 | }; | |
15737 | ||
994141e6 | 15738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
15739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15741 | arg2 = (int) SWIG_AsInt(obj1); | |
15742 | if (PyErr_Occurred()) SWIG_fail; | |
15743 | arg3 = (int) SWIG_AsInt(obj2); | |
15744 | if (PyErr_Occurred()) SWIG_fail; | |
15745 | arg4 = (int) SWIG_AsInt(obj3); | |
15746 | if (PyErr_Occurred()) SWIG_fail; | |
15747 | arg5 = (int) SWIG_AsInt(obj4); | |
15748 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15749 | { |
15750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15751 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15752 | ||
15753 | wxPyEndAllowThreads(__tstate); | |
15754 | if (PyErr_Occurred()) SWIG_fail; | |
15755 | } | |
15756 | Py_INCREF(Py_None); resultobj = Py_None; | |
15757 | return resultobj; | |
15758 | fail: | |
15759 | return NULL; | |
15760 | } | |
15761 | ||
15762 | ||
15763 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15764 | PyObject *resultobj; | |
15765 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15766 | int arg2 ; | |
15767 | int arg3 ; | |
15768 | int arg4 ; | |
15769 | int arg5 ; | |
15770 | int arg6 = (int) wxSIZE_AUTO ; | |
15771 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15772 | PyObject * obj1 = 0 ; |
15773 | PyObject * obj2 = 0 ; | |
15774 | PyObject * obj3 = 0 ; | |
15775 | PyObject * obj4 = 0 ; | |
15776 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15777 | char *kwnames[] = { |
15778 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15779 | }; | |
15780 | ||
994141e6 | 15781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15782 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15784 | arg2 = (int) SWIG_AsInt(obj1); | |
15785 | if (PyErr_Occurred()) SWIG_fail; | |
15786 | arg3 = (int) SWIG_AsInt(obj2); | |
15787 | if (PyErr_Occurred()) SWIG_fail; | |
15788 | arg4 = (int) SWIG_AsInt(obj3); | |
15789 | if (PyErr_Occurred()) SWIG_fail; | |
15790 | arg5 = (int) SWIG_AsInt(obj4); | |
15791 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15792 | if (obj5) { |
15afbcd0 RD |
15793 | arg6 = (int) SWIG_AsInt(obj5); |
15794 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 15795 | } |
d14a1e28 RD |
15796 | { |
15797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15798 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15799 | ||
15800 | wxPyEndAllowThreads(__tstate); | |
15801 | if (PyErr_Occurred()) SWIG_fail; | |
15802 | } | |
15803 | Py_INCREF(Py_None); resultobj = Py_None; | |
15804 | return resultobj; | |
15805 | fail: | |
15806 | return NULL; | |
15807 | } | |
15808 | ||
15809 | ||
15810 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15811 | PyObject *resultobj; | |
15812 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15813 | int arg2 ; | |
15814 | int arg3 ; | |
15815 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15816 | PyObject * obj1 = 0 ; |
15817 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15818 | char *kwnames[] = { |
15819 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15820 | }; | |
15821 | ||
994141e6 | 15822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15825 | arg2 = (int) SWIG_AsInt(obj1); | |
15826 | if (PyErr_Occurred()) SWIG_fail; | |
15827 | arg3 = (int) SWIG_AsInt(obj2); | |
15828 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15829 | { |
15830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15831 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15832 | ||
15833 | wxPyEndAllowThreads(__tstate); | |
15834 | if (PyErr_Occurred()) SWIG_fail; | |
15835 | } | |
15836 | Py_INCREF(Py_None); resultobj = Py_None; | |
15837 | return resultobj; | |
15838 | fail: | |
15839 | return NULL; | |
15840 | } | |
15841 | ||
15842 | ||
15843 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15844 | PyObject *resultobj; | |
15845 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15846 | int arg2 ; | |
15847 | int arg3 ; | |
15848 | PyObject * obj0 = 0 ; | |
994141e6 RD |
15849 | PyObject * obj1 = 0 ; |
15850 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15851 | char *kwnames[] = { |
15852 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15853 | }; | |
15854 | ||
994141e6 | 15855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15858 | arg2 = (int) SWIG_AsInt(obj1); | |
15859 | if (PyErr_Occurred()) SWIG_fail; | |
15860 | arg3 = (int) SWIG_AsInt(obj2); | |
15861 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15862 | { |
15863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15864 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15865 | ||
15866 | wxPyEndAllowThreads(__tstate); | |
15867 | if (PyErr_Occurred()) SWIG_fail; | |
15868 | } | |
15869 | Py_INCREF(Py_None); resultobj = Py_None; | |
15870 | return resultobj; | |
15871 | fail: | |
15872 | return NULL; | |
15873 | } | |
15874 | ||
15875 | ||
15876 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15877 | PyObject *resultobj; | |
15878 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15879 | int *arg2 = (int *) 0 ; | |
15880 | int *arg3 = (int *) 0 ; | |
15881 | int temp2 ; | |
15882 | int temp3 ; | |
15883 | PyObject * obj0 = 0 ; | |
15884 | char *kwnames[] = { | |
15885 | (char *) "self", NULL | |
15886 | }; | |
15887 | ||
15888 | arg2 = &temp2; | |
15889 | arg3 = &temp3; | |
15890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15893 | { |
15894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15895 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
15896 | ||
15897 | wxPyEndAllowThreads(__tstate); | |
15898 | if (PyErr_Occurred()) SWIG_fail; | |
15899 | } | |
15900 | Py_INCREF(Py_None); resultobj = Py_None; | |
15901 | { | |
15902 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15903 | resultobj = t_output_helper(resultobj,o); | |
15904 | } | |
15905 | { | |
15906 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15907 | resultobj = t_output_helper(resultobj,o); | |
15908 | } | |
15909 | return resultobj; | |
15910 | fail: | |
15911 | return NULL; | |
15912 | } | |
15913 | ||
15914 | ||
15915 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15916 | PyObject *resultobj; | |
15917 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15918 | int *arg2 = (int *) 0 ; | |
15919 | int *arg3 = (int *) 0 ; | |
15920 | int temp2 ; | |
15921 | int temp3 ; | |
15922 | PyObject * obj0 = 0 ; | |
15923 | char *kwnames[] = { | |
15924 | (char *) "self", NULL | |
15925 | }; | |
15926 | ||
15927 | arg2 = &temp2; | |
15928 | arg3 = &temp3; | |
15929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15932 | { |
15933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15934 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15935 | ||
15936 | wxPyEndAllowThreads(__tstate); | |
15937 | if (PyErr_Occurred()) SWIG_fail; | |
15938 | } | |
15939 | Py_INCREF(Py_None); resultobj = Py_None; | |
15940 | { | |
15941 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15942 | resultobj = t_output_helper(resultobj,o); | |
15943 | } | |
15944 | { | |
15945 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15946 | resultobj = t_output_helper(resultobj,o); | |
15947 | } | |
15948 | return resultobj; | |
15949 | fail: | |
15950 | return NULL; | |
15951 | } | |
15952 | ||
15953 | ||
15954 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15955 | PyObject *resultobj; | |
15956 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15957 | int *arg2 = (int *) 0 ; | |
15958 | int *arg3 = (int *) 0 ; | |
15959 | int temp2 ; | |
15960 | int temp3 ; | |
15961 | PyObject * obj0 = 0 ; | |
15962 | char *kwnames[] = { | |
15963 | (char *) "self", NULL | |
15964 | }; | |
15965 | ||
15966 | arg2 = &temp2; | |
15967 | arg3 = &temp3; | |
15968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15971 | { |
15972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15973 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15974 | ||
15975 | wxPyEndAllowThreads(__tstate); | |
15976 | if (PyErr_Occurred()) SWIG_fail; | |
15977 | } | |
15978 | Py_INCREF(Py_None); resultobj = Py_None; | |
15979 | { | |
15980 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15981 | resultobj = t_output_helper(resultobj,o); | |
15982 | } | |
15983 | { | |
15984 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15985 | resultobj = t_output_helper(resultobj,o); | |
15986 | } | |
15987 | return resultobj; | |
15988 | fail: | |
15989 | return NULL; | |
15990 | } | |
15991 | ||
15992 | ||
15993 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15994 | PyObject *resultobj; | |
15995 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15996 | wxSize result; | |
15997 | PyObject * obj0 = 0 ; | |
15998 | char *kwnames[] = { | |
15999 | (char *) "self", NULL | |
16000 | }; | |
16001 | ||
16002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16005 | { |
16006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16007 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16008 | ||
16009 | wxPyEndAllowThreads(__tstate); | |
16010 | if (PyErr_Occurred()) SWIG_fail; | |
16011 | } | |
16012 | { | |
16013 | wxSize * resultptr; | |
16014 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16015 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16016 | } |
16017 | return resultobj; | |
16018 | fail: | |
16019 | return NULL; | |
16020 | } | |
16021 | ||
16022 | ||
16023 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16024 | PyObject *resultobj; | |
16025 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16026 | wxSize result; | |
16027 | PyObject * obj0 = 0 ; | |
16028 | char *kwnames[] = { | |
16029 | (char *) "self", NULL | |
16030 | }; | |
16031 | ||
16032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16035 | { |
16036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16037 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16038 | ||
16039 | wxPyEndAllowThreads(__tstate); | |
16040 | if (PyErr_Occurred()) SWIG_fail; | |
16041 | } | |
16042 | { | |
16043 | wxSize * resultptr; | |
16044 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16045 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16046 | } |
16047 | return resultobj; | |
16048 | fail: | |
16049 | return NULL; | |
16050 | } | |
16051 | ||
16052 | ||
16053 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16054 | PyObject *resultobj; | |
16055 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16056 | PyObject * obj0 = 0 ; | |
16057 | char *kwnames[] = { | |
16058 | (char *) "self", NULL | |
16059 | }; | |
16060 | ||
16061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16064 | { |
16065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16066 | (arg1)->base_InitDialog(); | |
16067 | ||
16068 | wxPyEndAllowThreads(__tstate); | |
16069 | if (PyErr_Occurred()) SWIG_fail; | |
16070 | } | |
16071 | Py_INCREF(Py_None); resultobj = Py_None; | |
16072 | return resultobj; | |
16073 | fail: | |
16074 | return NULL; | |
16075 | } | |
16076 | ||
16077 | ||
16078 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16079 | PyObject *resultobj; | |
16080 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16081 | bool result; | |
16082 | PyObject * obj0 = 0 ; | |
16083 | char *kwnames[] = { | |
16084 | (char *) "self", NULL | |
16085 | }; | |
16086 | ||
16087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16090 | { |
16091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16092 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16093 | ||
16094 | wxPyEndAllowThreads(__tstate); | |
16095 | if (PyErr_Occurred()) SWIG_fail; | |
16096 | } | |
4f89f6a3 RD |
16097 | { |
16098 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16099 | } | |
d14a1e28 RD |
16100 | return resultobj; |
16101 | fail: | |
16102 | return NULL; | |
16103 | } | |
16104 | ||
16105 | ||
16106 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16107 | PyObject *resultobj; | |
16108 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16109 | bool result; | |
16110 | PyObject * obj0 = 0 ; | |
16111 | char *kwnames[] = { | |
16112 | (char *) "self", NULL | |
16113 | }; | |
16114 | ||
16115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16118 | { |
16119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16120 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16121 | ||
16122 | wxPyEndAllowThreads(__tstate); | |
16123 | if (PyErr_Occurred()) SWIG_fail; | |
16124 | } | |
4f89f6a3 RD |
16125 | { |
16126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16127 | } | |
d14a1e28 RD |
16128 | return resultobj; |
16129 | fail: | |
16130 | return NULL; | |
16131 | } | |
16132 | ||
16133 | ||
16134 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16135 | PyObject *resultobj; | |
16136 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16137 | bool result; | |
16138 | PyObject * obj0 = 0 ; | |
16139 | char *kwnames[] = { | |
16140 | (char *) "self", NULL | |
16141 | }; | |
16142 | ||
16143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16146 | { |
16147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16148 | result = (bool)(arg1)->base_Validate(); | |
16149 | ||
16150 | wxPyEndAllowThreads(__tstate); | |
16151 | if (PyErr_Occurred()) SWIG_fail; | |
16152 | } | |
4f89f6a3 RD |
16153 | { |
16154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16155 | } | |
d14a1e28 RD |
16156 | return resultobj; |
16157 | fail: | |
16158 | return NULL; | |
16159 | } | |
16160 | ||
16161 | ||
16162 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16163 | PyObject *resultobj; | |
16164 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16165 | bool result; | |
16166 | PyObject * obj0 = 0 ; | |
16167 | char *kwnames[] = { | |
16168 | (char *) "self", NULL | |
16169 | }; | |
16170 | ||
16171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16174 | { |
16175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16176 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16177 | ||
16178 | wxPyEndAllowThreads(__tstate); | |
16179 | if (PyErr_Occurred()) SWIG_fail; | |
16180 | } | |
4f89f6a3 RD |
16181 | { |
16182 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16183 | } | |
d14a1e28 RD |
16184 | return resultobj; |
16185 | fail: | |
16186 | return NULL; | |
16187 | } | |
16188 | ||
16189 | ||
16190 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16191 | PyObject *resultobj; | |
16192 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16193 | bool result; | |
16194 | PyObject * obj0 = 0 ; | |
16195 | char *kwnames[] = { | |
16196 | (char *) "self", NULL | |
16197 | }; | |
16198 | ||
16199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16202 | { |
16203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16204 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16205 | ||
16206 | wxPyEndAllowThreads(__tstate); | |
16207 | if (PyErr_Occurred()) SWIG_fail; | |
16208 | } | |
4f89f6a3 RD |
16209 | { |
16210 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16211 | } | |
d14a1e28 RD |
16212 | return resultobj; |
16213 | fail: | |
16214 | return NULL; | |
16215 | } | |
16216 | ||
16217 | ||
16218 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16219 | PyObject *resultobj; | |
16220 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16221 | wxSize result; | |
16222 | PyObject * obj0 = 0 ; | |
16223 | char *kwnames[] = { | |
16224 | (char *) "self", NULL | |
16225 | }; | |
16226 | ||
16227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16230 | { |
16231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16232 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16233 | ||
16234 | wxPyEndAllowThreads(__tstate); | |
16235 | if (PyErr_Occurred()) SWIG_fail; | |
16236 | } | |
16237 | { | |
16238 | wxSize * resultptr; | |
16239 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16240 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16241 | } |
16242 | return resultobj; | |
16243 | fail: | |
16244 | return NULL; | |
16245 | } | |
16246 | ||
16247 | ||
16248 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16249 | PyObject *resultobj; | |
16250 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16251 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16252 | PyObject * obj0 = 0 ; | |
16253 | PyObject * obj1 = 0 ; | |
16254 | char *kwnames[] = { | |
16255 | (char *) "self",(char *) "child", NULL | |
16256 | }; | |
16257 | ||
16258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16261 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16263 | { |
16264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16265 | (arg1)->base_AddChild(arg2); | |
16266 | ||
16267 | wxPyEndAllowThreads(__tstate); | |
16268 | if (PyErr_Occurred()) SWIG_fail; | |
16269 | } | |
16270 | Py_INCREF(Py_None); resultobj = Py_None; | |
16271 | return resultobj; | |
16272 | fail: | |
16273 | return NULL; | |
16274 | } | |
16275 | ||
16276 | ||
16277 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16278 | PyObject *resultobj; | |
16279 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16280 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16281 | PyObject * obj0 = 0 ; | |
16282 | PyObject * obj1 = 0 ; | |
16283 | char *kwnames[] = { | |
16284 | (char *) "self",(char *) "child", NULL | |
16285 | }; | |
16286 | ||
16287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16290 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16292 | { |
16293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16294 | (arg1)->base_RemoveChild(arg2); | |
16295 | ||
16296 | wxPyEndAllowThreads(__tstate); | |
16297 | if (PyErr_Occurred()) SWIG_fail; | |
16298 | } | |
16299 | Py_INCREF(Py_None); resultobj = Py_None; | |
16300 | return resultobj; | |
16301 | fail: | |
16302 | return NULL; | |
16303 | } | |
16304 | ||
16305 | ||
16306 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
16307 | PyObject *obj; | |
16308 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16309 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16310 | Py_INCREF(obj); | |
16311 | return Py_BuildValue((char *)""); | |
16312 | } | |
b2dc1044 RD |
16313 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { |
16314 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); | |
16315 | return 1; | |
16316 | } | |
16317 | ||
16318 | ||
16319 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
16320 | PyObject *pyobj; | |
16321 | ||
16322 | { | |
16323 | #if wxUSE_UNICODE | |
16324 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16325 | #else | |
16326 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16327 | #endif | |
16328 | } | |
16329 | return pyobj; | |
16330 | } | |
16331 | ||
16332 | ||
16333 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { | |
16334 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); | |
16335 | return 1; | |
16336 | } | |
16337 | ||
16338 | ||
16339 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
16340 | PyObject *pyobj; | |
16341 | ||
16342 | { | |
16343 | #if wxUSE_UNICODE | |
16344 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16345 | #else | |
16346 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16347 | #endif | |
16348 | } | |
16349 | return pyobj; | |
16350 | } | |
16351 | ||
16352 | ||
d14a1e28 RD |
16353 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
16354 | PyObject *resultobj; | |
16355 | wxPrintData *result; | |
16356 | char *kwnames[] = { | |
16357 | NULL | |
16358 | }; | |
16359 | ||
16360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
16361 | { | |
16362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16363 | result = (wxPrintData *)new wxPrintData(); | |
16364 | ||
16365 | wxPyEndAllowThreads(__tstate); | |
16366 | if (PyErr_Occurred()) SWIG_fail; | |
16367 | } | |
15afbcd0 | 16368 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); |
d14a1e28 RD |
16369 | return resultobj; |
16370 | fail: | |
16371 | return NULL; | |
16372 | } | |
16373 | ||
16374 | ||
16375 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16376 | PyObject *resultobj; | |
16377 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16378 | PyObject * obj0 = 0 ; | |
16379 | char *kwnames[] = { | |
16380 | (char *) "self", NULL | |
16381 | }; | |
16382 | ||
16383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16386 | { |
16387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16388 | delete arg1; | |
16389 | ||
16390 | wxPyEndAllowThreads(__tstate); | |
16391 | if (PyErr_Occurred()) SWIG_fail; | |
16392 | } | |
16393 | Py_INCREF(Py_None); resultobj = Py_None; | |
16394 | return resultobj; | |
16395 | fail: | |
16396 | return NULL; | |
16397 | } | |
16398 | ||
16399 | ||
16400 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16401 | PyObject *resultobj; | |
16402 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16403 | int result; | |
16404 | PyObject * obj0 = 0 ; | |
16405 | char *kwnames[] = { | |
16406 | (char *) "self", NULL | |
16407 | }; | |
16408 | ||
16409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16412 | { |
16413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16414 | result = (int)(arg1)->GetNoCopies(); | |
16415 | ||
16416 | wxPyEndAllowThreads(__tstate); | |
16417 | if (PyErr_Occurred()) SWIG_fail; | |
16418 | } | |
15afbcd0 | 16419 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16420 | return resultobj; |
16421 | fail: | |
16422 | return NULL; | |
16423 | } | |
16424 | ||
16425 | ||
16426 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16427 | PyObject *resultobj; | |
16428 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16429 | bool result; | |
16430 | PyObject * obj0 = 0 ; | |
16431 | char *kwnames[] = { | |
16432 | (char *) "self", NULL | |
16433 | }; | |
16434 | ||
16435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16438 | { |
16439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16440 | result = (bool)(arg1)->GetCollate(); | |
16441 | ||
16442 | wxPyEndAllowThreads(__tstate); | |
16443 | if (PyErr_Occurred()) SWIG_fail; | |
16444 | } | |
4f89f6a3 RD |
16445 | { |
16446 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16447 | } | |
d14a1e28 RD |
16448 | return resultobj; |
16449 | fail: | |
16450 | return NULL; | |
16451 | } | |
16452 | ||
16453 | ||
16454 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16455 | PyObject *resultobj; | |
16456 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16457 | int result; | |
16458 | PyObject * obj0 = 0 ; | |
16459 | char *kwnames[] = { | |
16460 | (char *) "self", NULL | |
16461 | }; | |
16462 | ||
16463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16466 | { |
16467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16468 | result = (int)(arg1)->GetOrientation(); | |
16469 | ||
16470 | wxPyEndAllowThreads(__tstate); | |
16471 | if (PyErr_Occurred()) SWIG_fail; | |
16472 | } | |
15afbcd0 | 16473 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16474 | return resultobj; |
16475 | fail: | |
16476 | return NULL; | |
16477 | } | |
16478 | ||
16479 | ||
16480 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16481 | PyObject *resultobj; | |
16482 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16483 | bool result; | |
16484 | PyObject * obj0 = 0 ; | |
16485 | char *kwnames[] = { | |
16486 | (char *) "self", NULL | |
16487 | }; | |
16488 | ||
16489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16492 | { |
16493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16494 | result = (bool)(arg1)->Ok(); | |
16495 | ||
16496 | wxPyEndAllowThreads(__tstate); | |
16497 | if (PyErr_Occurred()) SWIG_fail; | |
16498 | } | |
4f89f6a3 RD |
16499 | { |
16500 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16501 | } | |
d14a1e28 RD |
16502 | return resultobj; |
16503 | fail: | |
16504 | return NULL; | |
16505 | } | |
16506 | ||
16507 | ||
16508 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16509 | PyObject *resultobj; | |
16510 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16511 | wxString *result; | |
16512 | PyObject * obj0 = 0 ; | |
16513 | char *kwnames[] = { | |
16514 | (char *) "self", NULL | |
16515 | }; | |
16516 | ||
16517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16518 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16519 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16520 | { |
16521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16522 | { | |
16523 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16524 | result = (wxString *) &_result_ref; | |
16525 | } | |
16526 | ||
16527 | wxPyEndAllowThreads(__tstate); | |
16528 | if (PyErr_Occurred()) SWIG_fail; | |
16529 | } | |
cc6dd355 RD |
16530 | { |
16531 | #if wxUSE_UNICODE | |
16532 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16533 | #else | |
16534 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16535 | #endif | |
16536 | } | |
d14a1e28 RD |
16537 | return resultobj; |
16538 | fail: | |
16539 | return NULL; | |
16540 | } | |
16541 | ||
16542 | ||
16543 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16544 | PyObject *resultobj; | |
16545 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16546 | bool result; | |
16547 | PyObject * obj0 = 0 ; | |
16548 | char *kwnames[] = { | |
16549 | (char *) "self", NULL | |
16550 | }; | |
16551 | ||
16552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16555 | { |
16556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16557 | result = (bool)(arg1)->GetColour(); | |
16558 | ||
16559 | wxPyEndAllowThreads(__tstate); | |
16560 | if (PyErr_Occurred()) SWIG_fail; | |
16561 | } | |
4f89f6a3 RD |
16562 | { |
16563 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16564 | } | |
d14a1e28 RD |
16565 | return resultobj; |
16566 | fail: | |
16567 | return NULL; | |
16568 | } | |
16569 | ||
16570 | ||
16571 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16572 | PyObject *resultobj; | |
16573 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16574 | int result; | |
16575 | PyObject * obj0 = 0 ; | |
16576 | char *kwnames[] = { | |
16577 | (char *) "self", NULL | |
16578 | }; | |
16579 | ||
16580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16583 | { |
16584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16585 | result = (int)(arg1)->GetDuplex(); | |
16586 | ||
16587 | wxPyEndAllowThreads(__tstate); | |
16588 | if (PyErr_Occurred()) SWIG_fail; | |
16589 | } | |
15afbcd0 | 16590 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16591 | return resultobj; |
16592 | fail: | |
16593 | return NULL; | |
16594 | } | |
16595 | ||
16596 | ||
16597 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16598 | PyObject *resultobj; | |
16599 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16600 | int result; | |
16601 | PyObject * obj0 = 0 ; | |
16602 | char *kwnames[] = { | |
16603 | (char *) "self", NULL | |
16604 | }; | |
16605 | ||
16606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16609 | { |
16610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16611 | result = (int)(arg1)->GetPaperId(); | |
16612 | ||
16613 | wxPyEndAllowThreads(__tstate); | |
16614 | if (PyErr_Occurred()) SWIG_fail; | |
16615 | } | |
15afbcd0 | 16616 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16617 | return resultobj; |
16618 | fail: | |
16619 | return NULL; | |
16620 | } | |
16621 | ||
16622 | ||
16623 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16624 | PyObject *resultobj; | |
16625 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16626 | wxSize *result; | |
16627 | PyObject * obj0 = 0 ; | |
16628 | char *kwnames[] = { | |
16629 | (char *) "self", NULL | |
16630 | }; | |
16631 | ||
16632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16635 | { |
16636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16637 | { | |
16638 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16639 | result = (wxSize *) &_result_ref; | |
16640 | } | |
16641 | ||
16642 | wxPyEndAllowThreads(__tstate); | |
16643 | if (PyErr_Occurred()) SWIG_fail; | |
16644 | } | |
15afbcd0 | 16645 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
16646 | return resultobj; |
16647 | fail: | |
16648 | return NULL; | |
16649 | } | |
16650 | ||
16651 | ||
16652 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16653 | PyObject *resultobj; | |
16654 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16655 | int result; |
d14a1e28 RD |
16656 | PyObject * obj0 = 0 ; |
16657 | char *kwnames[] = { | |
16658 | (char *) "self", NULL | |
16659 | }; | |
16660 | ||
16661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16664 | { |
16665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 16666 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16667 | |
16668 | wxPyEndAllowThreads(__tstate); | |
16669 | if (PyErr_Occurred()) SWIG_fail; | |
16670 | } | |
15afbcd0 | 16671 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16672 | return resultobj; |
16673 | fail: | |
16674 | return NULL; | |
16675 | } | |
16676 | ||
16677 | ||
16678 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16679 | PyObject *resultobj; | |
16680 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16681 | int arg2 ; | |
16682 | PyObject * obj0 = 0 ; | |
994141e6 | 16683 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16684 | char *kwnames[] = { |
16685 | (char *) "self",(char *) "v", NULL | |
16686 | }; | |
16687 | ||
994141e6 | 16688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16689 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16690 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16691 | arg2 = (int) SWIG_AsInt(obj1); | |
16692 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16693 | { |
16694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16695 | (arg1)->SetNoCopies(arg2); | |
16696 | ||
16697 | wxPyEndAllowThreads(__tstate); | |
16698 | if (PyErr_Occurred()) SWIG_fail; | |
16699 | } | |
16700 | Py_INCREF(Py_None); resultobj = Py_None; | |
16701 | return resultobj; | |
16702 | fail: | |
16703 | return NULL; | |
16704 | } | |
16705 | ||
16706 | ||
16707 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16708 | PyObject *resultobj; | |
16709 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16710 | bool arg2 ; | |
16711 | PyObject * obj0 = 0 ; | |
16712 | PyObject * obj1 = 0 ; | |
16713 | char *kwnames[] = { | |
16714 | (char *) "self",(char *) "flag", NULL | |
16715 | }; | |
16716 | ||
16717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16720 | arg2 = (bool) SWIG_AsBool(obj1); | |
16721 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16722 | { |
16723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16724 | (arg1)->SetCollate(arg2); | |
16725 | ||
16726 | wxPyEndAllowThreads(__tstate); | |
16727 | if (PyErr_Occurred()) SWIG_fail; | |
16728 | } | |
16729 | Py_INCREF(Py_None); resultobj = Py_None; | |
16730 | return resultobj; | |
16731 | fail: | |
16732 | return NULL; | |
16733 | } | |
16734 | ||
16735 | ||
16736 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16737 | PyObject *resultobj; | |
16738 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16739 | int arg2 ; | |
16740 | PyObject * obj0 = 0 ; | |
994141e6 | 16741 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16742 | char *kwnames[] = { |
16743 | (char *) "self",(char *) "orient", NULL | |
16744 | }; | |
16745 | ||
994141e6 | 16746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16749 | arg2 = (int) SWIG_AsInt(obj1); | |
16750 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16751 | { |
16752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16753 | (arg1)->SetOrientation(arg2); | |
16754 | ||
16755 | wxPyEndAllowThreads(__tstate); | |
16756 | if (PyErr_Occurred()) SWIG_fail; | |
16757 | } | |
16758 | Py_INCREF(Py_None); resultobj = Py_None; | |
16759 | return resultobj; | |
16760 | fail: | |
16761 | return NULL; | |
16762 | } | |
16763 | ||
16764 | ||
16765 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16766 | PyObject *resultobj; | |
16767 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16768 | wxString *arg2 = 0 ; | |
e811c8ce | 16769 | bool temp2 = False ; |
d14a1e28 RD |
16770 | PyObject * obj0 = 0 ; |
16771 | PyObject * obj1 = 0 ; | |
16772 | char *kwnames[] = { | |
16773 | (char *) "self",(char *) "name", NULL | |
16774 | }; | |
16775 | ||
16776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16779 | { |
16780 | arg2 = wxString_in_helper(obj1); | |
16781 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 16782 | temp2 = True; |
d14a1e28 RD |
16783 | } |
16784 | { | |
16785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16786 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16787 | ||
16788 | wxPyEndAllowThreads(__tstate); | |
16789 | if (PyErr_Occurred()) SWIG_fail; | |
16790 | } | |
16791 | Py_INCREF(Py_None); resultobj = Py_None; | |
16792 | { | |
16793 | if (temp2) | |
16794 | delete arg2; | |
16795 | } | |
16796 | return resultobj; | |
16797 | fail: | |
16798 | { | |
16799 | if (temp2) | |
16800 | delete arg2; | |
16801 | } | |
16802 | return NULL; | |
16803 | } | |
16804 | ||
16805 | ||
16806 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16807 | PyObject *resultobj; | |
16808 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16809 | bool arg2 ; | |
16810 | PyObject * obj0 = 0 ; | |
16811 | PyObject * obj1 = 0 ; | |
16812 | char *kwnames[] = { | |
16813 | (char *) "self",(char *) "colour", NULL | |
16814 | }; | |
16815 | ||
16816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16819 | arg2 = (bool) SWIG_AsBool(obj1); | |
16820 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16821 | { |
16822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16823 | (arg1)->SetColour(arg2); | |
16824 | ||
16825 | wxPyEndAllowThreads(__tstate); | |
16826 | if (PyErr_Occurred()) SWIG_fail; | |
16827 | } | |
16828 | Py_INCREF(Py_None); resultobj = Py_None; | |
16829 | return resultobj; | |
16830 | fail: | |
16831 | return NULL; | |
16832 | } | |
16833 | ||
16834 | ||
16835 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16836 | PyObject *resultobj; | |
16837 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16838 | int arg2 ; | |
16839 | PyObject * obj0 = 0 ; | |
994141e6 | 16840 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16841 | char *kwnames[] = { |
16842 | (char *) "self",(char *) "duplex", NULL | |
16843 | }; | |
16844 | ||
994141e6 | 16845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16848 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
16849 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16850 | { |
16851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16852 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
16853 | ||
16854 | wxPyEndAllowThreads(__tstate); | |
16855 | if (PyErr_Occurred()) SWIG_fail; | |
16856 | } | |
16857 | Py_INCREF(Py_None); resultobj = Py_None; | |
16858 | return resultobj; | |
16859 | fail: | |
16860 | return NULL; | |
16861 | } | |
16862 | ||
16863 | ||
16864 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16865 | PyObject *resultobj; | |
16866 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16867 | int arg2 ; | |
16868 | PyObject * obj0 = 0 ; | |
994141e6 | 16869 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16870 | char *kwnames[] = { |
16871 | (char *) "self",(char *) "sizeId", NULL | |
16872 | }; | |
16873 | ||
994141e6 | 16874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16877 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
16878 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16879 | { |
16880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16881 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16882 | ||
16883 | wxPyEndAllowThreads(__tstate); | |
16884 | if (PyErr_Occurred()) SWIG_fail; | |
16885 | } | |
16886 | Py_INCREF(Py_None); resultobj = Py_None; | |
16887 | return resultobj; | |
16888 | fail: | |
16889 | return NULL; | |
16890 | } | |
16891 | ||
16892 | ||
16893 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16894 | PyObject *resultobj; | |
16895 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16896 | wxSize *arg2 = 0 ; | |
16897 | wxSize temp2 ; | |
16898 | PyObject * obj0 = 0 ; | |
16899 | PyObject * obj1 = 0 ; | |
16900 | char *kwnames[] = { | |
16901 | (char *) "self",(char *) "sz", NULL | |
16902 | }; | |
16903 | ||
16904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16905 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16907 | { |
16908 | arg2 = &temp2; | |
16909 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16910 | } | |
16911 | { | |
16912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16913 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16914 | ||
16915 | wxPyEndAllowThreads(__tstate); | |
16916 | if (PyErr_Occurred()) SWIG_fail; | |
16917 | } | |
16918 | Py_INCREF(Py_None); resultobj = Py_None; | |
16919 | return resultobj; | |
16920 | fail: | |
16921 | return NULL; | |
16922 | } | |
16923 | ||
16924 | ||
16925 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16926 | PyObject *resultobj; | |
16927 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 16928 | int arg2 ; |
d14a1e28 | 16929 | PyObject * obj0 = 0 ; |
994141e6 | 16930 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16931 | char *kwnames[] = { |
16932 | (char *) "self",(char *) "quality", NULL | |
16933 | }; | |
16934 | ||
994141e6 | 16935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
16936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16938 | arg2 = (int) SWIG_AsInt(obj1); | |
16939 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16940 | { |
16941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16942 | (arg1)->SetQuality(arg2); | |
16943 | ||
16944 | wxPyEndAllowThreads(__tstate); | |
16945 | if (PyErr_Occurred()) SWIG_fail; | |
16946 | } | |
16947 | Py_INCREF(Py_None); resultobj = Py_None; | |
16948 | return resultobj; | |
16949 | fail: | |
16950 | return NULL; | |
16951 | } | |
16952 | ||
16953 | ||
16954 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16955 | PyObject *resultobj; | |
16956 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16957 | wxString *result; | |
16958 | PyObject * obj0 = 0 ; | |
16959 | char *kwnames[] = { | |
16960 | (char *) "self", NULL | |
16961 | }; | |
16962 | ||
16963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16966 | { |
16967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16968 | { | |
16969 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
16970 | result = (wxString *) &_result_ref; | |
16971 | } | |
16972 | ||
16973 | wxPyEndAllowThreads(__tstate); | |
16974 | if (PyErr_Occurred()) SWIG_fail; | |
16975 | } | |
cc6dd355 RD |
16976 | { |
16977 | #if wxUSE_UNICODE | |
16978 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16979 | #else | |
16980 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16981 | #endif | |
16982 | } | |
d14a1e28 RD |
16983 | return resultobj; |
16984 | fail: | |
16985 | return NULL; | |
16986 | } | |
16987 | ||
16988 | ||
16989 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16990 | PyObject *resultobj; | |
16991 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16992 | wxString *result; | |
16993 | PyObject * obj0 = 0 ; | |
16994 | char *kwnames[] = { | |
16995 | (char *) "self", NULL | |
16996 | }; | |
16997 | ||
16998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16999 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17001 | { |
17002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17003 | { | |
17004 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
17005 | result = (wxString *) &_result_ref; | |
17006 | } | |
17007 | ||
17008 | wxPyEndAllowThreads(__tstate); | |
17009 | if (PyErr_Occurred()) SWIG_fail; | |
17010 | } | |
cc6dd355 RD |
17011 | { |
17012 | #if wxUSE_UNICODE | |
17013 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17014 | #else | |
17015 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17016 | #endif | |
17017 | } | |
d14a1e28 RD |
17018 | return resultobj; |
17019 | fail: | |
17020 | return NULL; | |
17021 | } | |
17022 | ||
17023 | ||
17024 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17025 | PyObject *resultobj; | |
17026 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17027 | wxString *result; | |
17028 | PyObject * obj0 = 0 ; | |
17029 | char *kwnames[] = { | |
17030 | (char *) "self", NULL | |
17031 | }; | |
17032 | ||
17033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17036 | { |
17037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17038 | { | |
17039 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
17040 | result = (wxString *) &_result_ref; | |
17041 | } | |
17042 | ||
17043 | wxPyEndAllowThreads(__tstate); | |
17044 | if (PyErr_Occurred()) SWIG_fail; | |
17045 | } | |
cc6dd355 RD |
17046 | { |
17047 | #if wxUSE_UNICODE | |
17048 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17049 | #else | |
17050 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17051 | #endif | |
17052 | } | |
d14a1e28 RD |
17053 | return resultobj; |
17054 | fail: | |
17055 | return NULL; | |
17056 | } | |
17057 | ||
17058 | ||
17059 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17060 | PyObject *resultobj; | |
17061 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17062 | wxString *result; | |
17063 | PyObject * obj0 = 0 ; | |
17064 | char *kwnames[] = { | |
17065 | (char *) "self", NULL | |
17066 | }; | |
17067 | ||
17068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17071 | { |
17072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17073 | { | |
17074 | wxString const &_result_ref = (arg1)->GetFilename(); | |
17075 | result = (wxString *) &_result_ref; | |
17076 | } | |
17077 | ||
17078 | wxPyEndAllowThreads(__tstate); | |
17079 | if (PyErr_Occurred()) SWIG_fail; | |
17080 | } | |
cc6dd355 RD |
17081 | { |
17082 | #if wxUSE_UNICODE | |
17083 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17084 | #else | |
17085 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17086 | #endif | |
17087 | } | |
d14a1e28 RD |
17088 | return resultobj; |
17089 | fail: | |
17090 | return NULL; | |
17091 | } | |
17092 | ||
17093 | ||
17094 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17095 | PyObject *resultobj; | |
17096 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17097 | wxString *result; | |
17098 | PyObject * obj0 = 0 ; | |
17099 | char *kwnames[] = { | |
17100 | (char *) "self", NULL | |
17101 | }; | |
17102 | ||
17103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17104 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17105 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17106 | { |
17107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17108 | { | |
17109 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
17110 | result = (wxString *) &_result_ref; | |
17111 | } | |
17112 | ||
17113 | wxPyEndAllowThreads(__tstate); | |
17114 | if (PyErr_Occurred()) SWIG_fail; | |
17115 | } | |
cc6dd355 RD |
17116 | { |
17117 | #if wxUSE_UNICODE | |
17118 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17119 | #else | |
17120 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17121 | #endif | |
17122 | } | |
d14a1e28 RD |
17123 | return resultobj; |
17124 | fail: | |
17125 | return NULL; | |
17126 | } | |
17127 | ||
17128 | ||
17129 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17130 | PyObject *resultobj; | |
17131 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17132 | double result; | |
17133 | PyObject * obj0 = 0 ; | |
17134 | char *kwnames[] = { | |
17135 | (char *) "self", NULL | |
17136 | }; | |
17137 | ||
17138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17141 | { |
17142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17143 | result = (double)(arg1)->GetPrinterScaleX(); | |
17144 | ||
17145 | wxPyEndAllowThreads(__tstate); | |
17146 | if (PyErr_Occurred()) SWIG_fail; | |
17147 | } | |
15afbcd0 | 17148 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17149 | return resultobj; |
17150 | fail: | |
17151 | return NULL; | |
17152 | } | |
17153 | ||
17154 | ||
17155 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17156 | PyObject *resultobj; | |
17157 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17158 | double result; | |
17159 | PyObject * obj0 = 0 ; | |
17160 | char *kwnames[] = { | |
17161 | (char *) "self", NULL | |
17162 | }; | |
17163 | ||
17164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17167 | { |
17168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17169 | result = (double)(arg1)->GetPrinterScaleY(); | |
17170 | ||
17171 | wxPyEndAllowThreads(__tstate); | |
17172 | if (PyErr_Occurred()) SWIG_fail; | |
17173 | } | |
15afbcd0 | 17174 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17175 | return resultobj; |
17176 | fail: | |
17177 | return NULL; | |
17178 | } | |
17179 | ||
17180 | ||
17181 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17182 | PyObject *resultobj; | |
17183 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17184 | long result; | |
17185 | PyObject * obj0 = 0 ; | |
17186 | char *kwnames[] = { | |
17187 | (char *) "self", NULL | |
17188 | }; | |
17189 | ||
17190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17193 | { |
17194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17195 | result = (long)(arg1)->GetPrinterTranslateX(); | |
17196 | ||
17197 | wxPyEndAllowThreads(__tstate); | |
17198 | if (PyErr_Occurred()) SWIG_fail; | |
17199 | } | |
15afbcd0 | 17200 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17201 | return resultobj; |
17202 | fail: | |
17203 | return NULL; | |
17204 | } | |
17205 | ||
17206 | ||
17207 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17208 | PyObject *resultobj; | |
17209 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17210 | long result; | |
17211 | PyObject * obj0 = 0 ; | |
17212 | char *kwnames[] = { | |
17213 | (char *) "self", NULL | |
17214 | }; | |
17215 | ||
17216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17219 | { |
17220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17221 | result = (long)(arg1)->GetPrinterTranslateY(); | |
17222 | ||
17223 | wxPyEndAllowThreads(__tstate); | |
17224 | if (PyErr_Occurred()) SWIG_fail; | |
17225 | } | |
15afbcd0 | 17226 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17227 | return resultobj; |
17228 | fail: | |
17229 | return NULL; | |
17230 | } | |
17231 | ||
17232 | ||
17233 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17234 | PyObject *resultobj; | |
17235 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17236 | int result; | |
17237 | PyObject * obj0 = 0 ; | |
17238 | char *kwnames[] = { | |
17239 | (char *) "self", NULL | |
17240 | }; | |
17241 | ||
17242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17245 | { |
17246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17247 | result = (int)(arg1)->GetPrintMode(); | |
17248 | ||
17249 | wxPyEndAllowThreads(__tstate); | |
17250 | if (PyErr_Occurred()) SWIG_fail; | |
17251 | } | |
15afbcd0 | 17252 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17253 | return resultobj; |
17254 | fail: | |
17255 | return NULL; | |
17256 | } | |
17257 | ||
17258 | ||
17259 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17260 | PyObject *resultobj; | |
17261 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17262 | wxString *arg2 = 0 ; | |
e811c8ce | 17263 | bool temp2 = False ; |
d14a1e28 RD |
17264 | PyObject * obj0 = 0 ; |
17265 | PyObject * obj1 = 0 ; | |
17266 | char *kwnames[] = { | |
17267 | (char *) "self",(char *) "command", NULL | |
17268 | }; | |
17269 | ||
17270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17273 | { |
17274 | arg2 = wxString_in_helper(obj1); | |
17275 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17276 | temp2 = True; |
d14a1e28 RD |
17277 | } |
17278 | { | |
17279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17280 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
17281 | ||
17282 | wxPyEndAllowThreads(__tstate); | |
17283 | if (PyErr_Occurred()) SWIG_fail; | |
17284 | } | |
17285 | Py_INCREF(Py_None); resultobj = Py_None; | |
17286 | { | |
17287 | if (temp2) | |
17288 | delete arg2; | |
17289 | } | |
17290 | return resultobj; | |
17291 | fail: | |
17292 | { | |
17293 | if (temp2) | |
17294 | delete arg2; | |
17295 | } | |
17296 | return NULL; | |
17297 | } | |
17298 | ||
17299 | ||
17300 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17301 | PyObject *resultobj; | |
17302 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17303 | wxString *arg2 = 0 ; | |
e811c8ce | 17304 | bool temp2 = False ; |
d14a1e28 RD |
17305 | PyObject * obj0 = 0 ; |
17306 | PyObject * obj1 = 0 ; | |
17307 | char *kwnames[] = { | |
17308 | (char *) "self",(char *) "options", NULL | |
17309 | }; | |
17310 | ||
17311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17312 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17314 | { |
17315 | arg2 = wxString_in_helper(obj1); | |
17316 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17317 | temp2 = True; |
d14a1e28 RD |
17318 | } |
17319 | { | |
17320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17321 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
17322 | ||
17323 | wxPyEndAllowThreads(__tstate); | |
17324 | if (PyErr_Occurred()) SWIG_fail; | |
17325 | } | |
17326 | Py_INCREF(Py_None); resultobj = Py_None; | |
17327 | { | |
17328 | if (temp2) | |
17329 | delete arg2; | |
17330 | } | |
17331 | return resultobj; | |
17332 | fail: | |
17333 | { | |
17334 | if (temp2) | |
17335 | delete arg2; | |
17336 | } | |
17337 | return NULL; | |
17338 | } | |
17339 | ||
17340 | ||
17341 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17342 | PyObject *resultobj; | |
17343 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17344 | wxString *arg2 = 0 ; | |
e811c8ce | 17345 | bool temp2 = False ; |
d14a1e28 RD |
17346 | PyObject * obj0 = 0 ; |
17347 | PyObject * obj1 = 0 ; | |
17348 | char *kwnames[] = { | |
17349 | (char *) "self",(char *) "command", NULL | |
17350 | }; | |
17351 | ||
17352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17355 | { |
17356 | arg2 = wxString_in_helper(obj1); | |
17357 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17358 | temp2 = True; |
d14a1e28 RD |
17359 | } |
17360 | { | |
17361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17362 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
17363 | ||
17364 | wxPyEndAllowThreads(__tstate); | |
17365 | if (PyErr_Occurred()) SWIG_fail; | |
17366 | } | |
17367 | Py_INCREF(Py_None); resultobj = Py_None; | |
17368 | { | |
17369 | if (temp2) | |
17370 | delete arg2; | |
17371 | } | |
17372 | return resultobj; | |
17373 | fail: | |
17374 | { | |
17375 | if (temp2) | |
17376 | delete arg2; | |
17377 | } | |
17378 | return NULL; | |
17379 | } | |
17380 | ||
17381 | ||
17382 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17383 | PyObject *resultobj; | |
17384 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17385 | wxString *arg2 = 0 ; | |
e811c8ce | 17386 | bool temp2 = False ; |
d14a1e28 RD |
17387 | PyObject * obj0 = 0 ; |
17388 | PyObject * obj1 = 0 ; | |
17389 | char *kwnames[] = { | |
17390 | (char *) "self",(char *) "filename", NULL | |
17391 | }; | |
17392 | ||
17393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17396 | { |
17397 | arg2 = wxString_in_helper(obj1); | |
17398 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17399 | temp2 = True; |
d14a1e28 RD |
17400 | } |
17401 | { | |
17402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17403 | (arg1)->SetFilename((wxString const &)*arg2); | |
17404 | ||
17405 | wxPyEndAllowThreads(__tstate); | |
17406 | if (PyErr_Occurred()) SWIG_fail; | |
17407 | } | |
17408 | Py_INCREF(Py_None); resultobj = Py_None; | |
17409 | { | |
17410 | if (temp2) | |
17411 | delete arg2; | |
17412 | } | |
17413 | return resultobj; | |
17414 | fail: | |
17415 | { | |
17416 | if (temp2) | |
17417 | delete arg2; | |
17418 | } | |
17419 | return NULL; | |
17420 | } | |
17421 | ||
17422 | ||
17423 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17424 | PyObject *resultobj; | |
17425 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17426 | wxString *arg2 = 0 ; | |
e811c8ce | 17427 | bool temp2 = False ; |
d14a1e28 RD |
17428 | PyObject * obj0 = 0 ; |
17429 | PyObject * obj1 = 0 ; | |
17430 | char *kwnames[] = { | |
17431 | (char *) "self",(char *) "path", NULL | |
17432 | }; | |
17433 | ||
17434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17437 | { |
17438 | arg2 = wxString_in_helper(obj1); | |
17439 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 17440 | temp2 = True; |
d14a1e28 RD |
17441 | } |
17442 | { | |
17443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17444 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17445 | ||
17446 | wxPyEndAllowThreads(__tstate); | |
17447 | if (PyErr_Occurred()) SWIG_fail; | |
17448 | } | |
17449 | Py_INCREF(Py_None); resultobj = Py_None; | |
17450 | { | |
17451 | if (temp2) | |
17452 | delete arg2; | |
17453 | } | |
17454 | return resultobj; | |
17455 | fail: | |
17456 | { | |
17457 | if (temp2) | |
17458 | delete arg2; | |
17459 | } | |
17460 | return NULL; | |
17461 | } | |
17462 | ||
17463 | ||
17464 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17465 | PyObject *resultobj; | |
17466 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17467 | double arg2 ; | |
17468 | PyObject * obj0 = 0 ; | |
994141e6 | 17469 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17470 | char *kwnames[] = { |
17471 | (char *) "self",(char *) "x", NULL | |
17472 | }; | |
17473 | ||
994141e6 | 17474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17475 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17477 | arg2 = (double) SWIG_AsDouble(obj1); | |
17478 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17479 | { |
17480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17481 | (arg1)->SetPrinterScaleX(arg2); | |
17482 | ||
17483 | wxPyEndAllowThreads(__tstate); | |
17484 | if (PyErr_Occurred()) SWIG_fail; | |
17485 | } | |
17486 | Py_INCREF(Py_None); resultobj = Py_None; | |
17487 | return resultobj; | |
17488 | fail: | |
17489 | return NULL; | |
17490 | } | |
17491 | ||
17492 | ||
17493 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17494 | PyObject *resultobj; | |
17495 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17496 | double arg2 ; | |
17497 | PyObject * obj0 = 0 ; | |
994141e6 | 17498 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17499 | char *kwnames[] = { |
17500 | (char *) "self",(char *) "y", NULL | |
17501 | }; | |
17502 | ||
994141e6 | 17503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17506 | arg2 = (double) SWIG_AsDouble(obj1); | |
17507 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17508 | { |
17509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17510 | (arg1)->SetPrinterScaleY(arg2); | |
17511 | ||
17512 | wxPyEndAllowThreads(__tstate); | |
17513 | if (PyErr_Occurred()) SWIG_fail; | |
17514 | } | |
17515 | Py_INCREF(Py_None); resultobj = Py_None; | |
17516 | return resultobj; | |
17517 | fail: | |
17518 | return NULL; | |
17519 | } | |
17520 | ||
17521 | ||
17522 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17523 | PyObject *resultobj; | |
17524 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17525 | double arg2 ; | |
17526 | double arg3 ; | |
17527 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17528 | PyObject * obj1 = 0 ; |
17529 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17530 | char *kwnames[] = { |
17531 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17532 | }; | |
17533 | ||
994141e6 | 17534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17537 | arg2 = (double) SWIG_AsDouble(obj1); | |
17538 | if (PyErr_Occurred()) SWIG_fail; | |
17539 | arg3 = (double) SWIG_AsDouble(obj2); | |
17540 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17541 | { |
17542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17543 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17544 | ||
17545 | wxPyEndAllowThreads(__tstate); | |
17546 | if (PyErr_Occurred()) SWIG_fail; | |
17547 | } | |
17548 | Py_INCREF(Py_None); resultobj = Py_None; | |
17549 | return resultobj; | |
17550 | fail: | |
17551 | return NULL; | |
17552 | } | |
17553 | ||
17554 | ||
17555 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17556 | PyObject *resultobj; | |
17557 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17558 | long arg2 ; | |
17559 | PyObject * obj0 = 0 ; | |
994141e6 | 17560 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17561 | char *kwnames[] = { |
17562 | (char *) "self",(char *) "x", NULL | |
17563 | }; | |
17564 | ||
994141e6 | 17565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17568 | arg2 = (long) SWIG_AsLong(obj1); | |
17569 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17570 | { |
17571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17572 | (arg1)->SetPrinterTranslateX(arg2); | |
17573 | ||
17574 | wxPyEndAllowThreads(__tstate); | |
17575 | if (PyErr_Occurred()) SWIG_fail; | |
17576 | } | |
17577 | Py_INCREF(Py_None); resultobj = Py_None; | |
17578 | return resultobj; | |
17579 | fail: | |
17580 | return NULL; | |
17581 | } | |
17582 | ||
17583 | ||
17584 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17585 | PyObject *resultobj; | |
17586 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17587 | long arg2 ; | |
17588 | PyObject * obj0 = 0 ; | |
994141e6 | 17589 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17590 | char *kwnames[] = { |
17591 | (char *) "self",(char *) "y", NULL | |
17592 | }; | |
17593 | ||
994141e6 | 17594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17597 | arg2 = (long) SWIG_AsLong(obj1); | |
17598 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17599 | { |
17600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17601 | (arg1)->SetPrinterTranslateY(arg2); | |
17602 | ||
17603 | wxPyEndAllowThreads(__tstate); | |
17604 | if (PyErr_Occurred()) SWIG_fail; | |
17605 | } | |
17606 | Py_INCREF(Py_None); resultobj = Py_None; | |
17607 | return resultobj; | |
17608 | fail: | |
17609 | return NULL; | |
17610 | } | |
17611 | ||
17612 | ||
17613 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17614 | PyObject *resultobj; | |
17615 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17616 | long arg2 ; | |
17617 | long arg3 ; | |
17618 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17619 | PyObject * obj1 = 0 ; |
17620 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17621 | char *kwnames[] = { |
17622 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17623 | }; | |
17624 | ||
994141e6 | 17625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17626 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17627 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17628 | arg2 = (long) SWIG_AsLong(obj1); | |
17629 | if (PyErr_Occurred()) SWIG_fail; | |
17630 | arg3 = (long) SWIG_AsLong(obj2); | |
17631 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17632 | { |
17633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17634 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17635 | ||
17636 | wxPyEndAllowThreads(__tstate); | |
17637 | if (PyErr_Occurred()) SWIG_fail; | |
17638 | } | |
17639 | Py_INCREF(Py_None); resultobj = Py_None; | |
17640 | return resultobj; | |
17641 | fail: | |
17642 | return NULL; | |
17643 | } | |
17644 | ||
17645 | ||
17646 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17647 | PyObject *resultobj; | |
17648 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17649 | int arg2 ; | |
17650 | PyObject * obj0 = 0 ; | |
994141e6 | 17651 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17652 | char *kwnames[] = { |
17653 | (char *) "self",(char *) "printMode", NULL | |
17654 | }; | |
17655 | ||
994141e6 | 17656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
17657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17659 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
17660 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17661 | { |
17662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17663 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17664 | ||
17665 | wxPyEndAllowThreads(__tstate); | |
17666 | if (PyErr_Occurred()) SWIG_fail; | |
17667 | } | |
17668 | Py_INCREF(Py_None); resultobj = Py_None; | |
17669 | return resultobj; | |
17670 | fail: | |
17671 | return NULL; | |
17672 | } | |
17673 | ||
17674 | ||
db914595 RD |
17675 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
17676 | PyObject *resultobj; | |
17677 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17678 | wxOutputStream *result; | |
17679 | PyObject * obj0 = 0 ; | |
17680 | char *kwnames[] = { | |
17681 | (char *) "self", NULL | |
17682 | }; | |
17683 | ||
17684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17687 | { |
17688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17689 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
17690 | ||
17691 | wxPyEndAllowThreads(__tstate); | |
17692 | if (PyErr_Occurred()) SWIG_fail; | |
17693 | } | |
15afbcd0 | 17694 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
17695 | return resultobj; |
17696 | fail: | |
17697 | return NULL; | |
17698 | } | |
17699 | ||
17700 | ||
17701 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17702 | PyObject *resultobj; | |
17703 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17704 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
17705 | PyObject * obj0 = 0 ; | |
17706 | PyObject * obj1 = 0 ; | |
17707 | char *kwnames[] = { | |
17708 | (char *) "self",(char *) "outputstream", NULL | |
17709 | }; | |
17710 | ||
17711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17714 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
17715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17716 | { |
17717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17718 | (arg1)->SetOutputStream(arg2); | |
17719 | ||
17720 | wxPyEndAllowThreads(__tstate); | |
17721 | if (PyErr_Occurred()) SWIG_fail; | |
17722 | } | |
17723 | Py_INCREF(Py_None); resultobj = Py_None; | |
17724 | return resultobj; | |
17725 | fail: | |
17726 | return NULL; | |
17727 | } | |
17728 | ||
17729 | ||
d14a1e28 RD |
17730 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
17731 | PyObject *obj; | |
17732 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17733 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17734 | Py_INCREF(obj); | |
17735 | return Py_BuildValue((char *)""); | |
17736 | } | |
17737 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17738 | PyObject *resultobj; | |
17739 | wxPageSetupDialogData *result; | |
17740 | char *kwnames[] = { | |
17741 | NULL | |
17742 | }; | |
17743 | ||
17744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17745 | { | |
17746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17747 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17748 | ||
17749 | wxPyEndAllowThreads(__tstate); | |
17750 | if (PyErr_Occurred()) SWIG_fail; | |
17751 | } | |
15afbcd0 | 17752 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
17753 | return resultobj; |
17754 | fail: | |
17755 | return NULL; | |
17756 | } | |
17757 | ||
17758 | ||
17759 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17760 | PyObject *resultobj; | |
17761 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17762 | PyObject * obj0 = 0 ; | |
17763 | char *kwnames[] = { | |
17764 | (char *) "self", NULL | |
17765 | }; | |
17766 | ||
17767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17770 | { |
17771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17772 | delete arg1; | |
17773 | ||
17774 | wxPyEndAllowThreads(__tstate); | |
17775 | if (PyErr_Occurred()) SWIG_fail; | |
17776 | } | |
17777 | Py_INCREF(Py_None); resultobj = Py_None; | |
17778 | return resultobj; | |
17779 | fail: | |
17780 | return NULL; | |
17781 | } | |
17782 | ||
17783 | ||
17784 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17785 | PyObject *resultobj; | |
17786 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17787 | bool arg2 ; | |
17788 | PyObject * obj0 = 0 ; | |
17789 | PyObject * obj1 = 0 ; | |
17790 | char *kwnames[] = { | |
17791 | (char *) "self",(char *) "flag", NULL | |
17792 | }; | |
17793 | ||
17794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17797 | arg2 = (bool) SWIG_AsBool(obj1); | |
17798 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17799 | { |
17800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17801 | (arg1)->EnableHelp(arg2); | |
17802 | ||
17803 | wxPyEndAllowThreads(__tstate); | |
17804 | if (PyErr_Occurred()) SWIG_fail; | |
17805 | } | |
17806 | Py_INCREF(Py_None); resultobj = Py_None; | |
17807 | return resultobj; | |
17808 | fail: | |
17809 | return NULL; | |
17810 | } | |
17811 | ||
17812 | ||
17813 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17814 | PyObject *resultobj; | |
17815 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17816 | bool arg2 ; | |
17817 | PyObject * obj0 = 0 ; | |
17818 | PyObject * obj1 = 0 ; | |
17819 | char *kwnames[] = { | |
17820 | (char *) "self",(char *) "flag", NULL | |
17821 | }; | |
17822 | ||
17823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17826 | arg2 = (bool) SWIG_AsBool(obj1); | |
17827 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17828 | { |
17829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17830 | (arg1)->EnableMargins(arg2); | |
17831 | ||
17832 | wxPyEndAllowThreads(__tstate); | |
17833 | if (PyErr_Occurred()) SWIG_fail; | |
17834 | } | |
17835 | Py_INCREF(Py_None); resultobj = Py_None; | |
17836 | return resultobj; | |
17837 | fail: | |
17838 | return NULL; | |
17839 | } | |
17840 | ||
17841 | ||
17842 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17843 | PyObject *resultobj; | |
17844 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17845 | bool arg2 ; | |
17846 | PyObject * obj0 = 0 ; | |
17847 | PyObject * obj1 = 0 ; | |
17848 | char *kwnames[] = { | |
17849 | (char *) "self",(char *) "flag", NULL | |
17850 | }; | |
17851 | ||
17852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17855 | arg2 = (bool) SWIG_AsBool(obj1); | |
17856 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17857 | { |
17858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17859 | (arg1)->EnableOrientation(arg2); | |
17860 | ||
17861 | wxPyEndAllowThreads(__tstate); | |
17862 | if (PyErr_Occurred()) SWIG_fail; | |
17863 | } | |
17864 | Py_INCREF(Py_None); resultobj = Py_None; | |
17865 | return resultobj; | |
17866 | fail: | |
17867 | return NULL; | |
17868 | } | |
17869 | ||
17870 | ||
17871 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17872 | PyObject *resultobj; | |
17873 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17874 | bool arg2 ; | |
17875 | PyObject * obj0 = 0 ; | |
17876 | PyObject * obj1 = 0 ; | |
17877 | char *kwnames[] = { | |
17878 | (char *) "self",(char *) "flag", NULL | |
17879 | }; | |
17880 | ||
17881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17882 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17883 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17884 | arg2 = (bool) SWIG_AsBool(obj1); | |
17885 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17886 | { |
17887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17888 | (arg1)->EnablePaper(arg2); | |
17889 | ||
17890 | wxPyEndAllowThreads(__tstate); | |
17891 | if (PyErr_Occurred()) SWIG_fail; | |
17892 | } | |
17893 | Py_INCREF(Py_None); resultobj = Py_None; | |
17894 | return resultobj; | |
17895 | fail: | |
17896 | return NULL; | |
17897 | } | |
17898 | ||
17899 | ||
17900 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17901 | PyObject *resultobj; | |
17902 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17903 | bool arg2 ; | |
17904 | PyObject * obj0 = 0 ; | |
17905 | PyObject * obj1 = 0 ; | |
17906 | char *kwnames[] = { | |
17907 | (char *) "self",(char *) "flag", NULL | |
17908 | }; | |
17909 | ||
17910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17911 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17912 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17913 | arg2 = (bool) SWIG_AsBool(obj1); | |
17914 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17915 | { |
17916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17917 | (arg1)->EnablePrinter(arg2); | |
17918 | ||
17919 | wxPyEndAllowThreads(__tstate); | |
17920 | if (PyErr_Occurred()) SWIG_fail; | |
17921 | } | |
17922 | Py_INCREF(Py_None); resultobj = Py_None; | |
17923 | return resultobj; | |
17924 | fail: | |
17925 | return NULL; | |
17926 | } | |
17927 | ||
17928 | ||
17929 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17930 | PyObject *resultobj; | |
17931 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17932 | bool result; | |
17933 | PyObject * obj0 = 0 ; | |
17934 | char *kwnames[] = { | |
17935 | (char *) "self", NULL | |
17936 | }; | |
17937 | ||
17938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17941 | { |
17942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17943 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
17944 | ||
17945 | wxPyEndAllowThreads(__tstate); | |
17946 | if (PyErr_Occurred()) SWIG_fail; | |
17947 | } | |
4f89f6a3 RD |
17948 | { |
17949 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17950 | } | |
d14a1e28 RD |
17951 | return resultobj; |
17952 | fail: | |
17953 | return NULL; | |
17954 | } | |
17955 | ||
17956 | ||
17957 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17958 | PyObject *resultobj; | |
17959 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17960 | bool result; | |
17961 | PyObject * obj0 = 0 ; | |
17962 | char *kwnames[] = { | |
17963 | (char *) "self", NULL | |
17964 | }; | |
17965 | ||
17966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17969 | { |
17970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17971 | result = (bool)(arg1)->GetEnableMargins(); | |
17972 | ||
17973 | wxPyEndAllowThreads(__tstate); | |
17974 | if (PyErr_Occurred()) SWIG_fail; | |
17975 | } | |
4f89f6a3 RD |
17976 | { |
17977 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17978 | } | |
d14a1e28 RD |
17979 | return resultobj; |
17980 | fail: | |
17981 | return NULL; | |
17982 | } | |
17983 | ||
17984 | ||
17985 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17986 | PyObject *resultobj; | |
17987 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17988 | bool result; | |
17989 | PyObject * obj0 = 0 ; | |
17990 | char *kwnames[] = { | |
17991 | (char *) "self", NULL | |
17992 | }; | |
17993 | ||
17994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17997 | { |
17998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17999 | result = (bool)(arg1)->GetEnableOrientation(); | |
18000 | ||
18001 | wxPyEndAllowThreads(__tstate); | |
18002 | if (PyErr_Occurred()) SWIG_fail; | |
18003 | } | |
4f89f6a3 RD |
18004 | { |
18005 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18006 | } | |
d14a1e28 RD |
18007 | return resultobj; |
18008 | fail: | |
18009 | return NULL; | |
18010 | } | |
18011 | ||
18012 | ||
18013 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18014 | PyObject *resultobj; | |
18015 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18016 | bool result; | |
18017 | PyObject * obj0 = 0 ; | |
18018 | char *kwnames[] = { | |
18019 | (char *) "self", NULL | |
18020 | }; | |
18021 | ||
18022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18025 | { |
18026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18027 | result = (bool)(arg1)->GetEnablePaper(); | |
18028 | ||
18029 | wxPyEndAllowThreads(__tstate); | |
18030 | if (PyErr_Occurred()) SWIG_fail; | |
18031 | } | |
4f89f6a3 RD |
18032 | { |
18033 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18034 | } | |
d14a1e28 RD |
18035 | return resultobj; |
18036 | fail: | |
18037 | return NULL; | |
18038 | } | |
18039 | ||
18040 | ||
18041 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18042 | PyObject *resultobj; | |
18043 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18044 | bool result; | |
18045 | PyObject * obj0 = 0 ; | |
18046 | char *kwnames[] = { | |
18047 | (char *) "self", NULL | |
18048 | }; | |
18049 | ||
18050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18053 | { |
18054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18055 | result = (bool)(arg1)->GetEnablePrinter(); | |
18056 | ||
18057 | wxPyEndAllowThreads(__tstate); | |
18058 | if (PyErr_Occurred()) SWIG_fail; | |
18059 | } | |
4f89f6a3 RD |
18060 | { |
18061 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18062 | } | |
d14a1e28 RD |
18063 | return resultobj; |
18064 | fail: | |
18065 | return NULL; | |
18066 | } | |
18067 | ||
18068 | ||
18069 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18070 | PyObject *resultobj; | |
18071 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18072 | bool result; | |
18073 | PyObject * obj0 = 0 ; | |
18074 | char *kwnames[] = { | |
18075 | (char *) "self", NULL | |
18076 | }; | |
18077 | ||
18078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18081 | { |
18082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18083 | result = (bool)(arg1)->GetEnableHelp(); | |
18084 | ||
18085 | wxPyEndAllowThreads(__tstate); | |
18086 | if (PyErr_Occurred()) SWIG_fail; | |
18087 | } | |
4f89f6a3 RD |
18088 | { |
18089 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18090 | } | |
d14a1e28 RD |
18091 | return resultobj; |
18092 | fail: | |
18093 | return NULL; | |
18094 | } | |
18095 | ||
18096 | ||
18097 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18098 | PyObject *resultobj; | |
18099 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18100 | bool result; | |
18101 | PyObject * obj0 = 0 ; | |
18102 | char *kwnames[] = { | |
18103 | (char *) "self", NULL | |
18104 | }; | |
18105 | ||
18106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18109 | { |
18110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18111 | result = (bool)(arg1)->GetDefaultInfo(); | |
18112 | ||
18113 | wxPyEndAllowThreads(__tstate); | |
18114 | if (PyErr_Occurred()) SWIG_fail; | |
18115 | } | |
4f89f6a3 RD |
18116 | { |
18117 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18118 | } | |
d14a1e28 RD |
18119 | return resultobj; |
18120 | fail: | |
18121 | return NULL; | |
18122 | } | |
18123 | ||
18124 | ||
18125 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18126 | PyObject *resultobj; | |
18127 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18128 | wxPoint result; | |
18129 | PyObject * obj0 = 0 ; | |
18130 | char *kwnames[] = { | |
18131 | (char *) "self", NULL | |
18132 | }; | |
18133 | ||
18134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18137 | { |
18138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18139 | result = (arg1)->GetMarginTopLeft(); | |
18140 | ||
18141 | wxPyEndAllowThreads(__tstate); | |
18142 | if (PyErr_Occurred()) SWIG_fail; | |
18143 | } | |
18144 | { | |
18145 | wxPoint * resultptr; | |
18146 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18147 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18148 | } |
18149 | return resultobj; | |
18150 | fail: | |
18151 | return NULL; | |
18152 | } | |
18153 | ||
18154 | ||
18155 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18156 | PyObject *resultobj; | |
18157 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18158 | wxPoint result; | |
18159 | PyObject * obj0 = 0 ; | |
18160 | char *kwnames[] = { | |
18161 | (char *) "self", NULL | |
18162 | }; | |
18163 | ||
18164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18167 | { |
18168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18169 | result = (arg1)->GetMarginBottomRight(); | |
18170 | ||
18171 | wxPyEndAllowThreads(__tstate); | |
18172 | if (PyErr_Occurred()) SWIG_fail; | |
18173 | } | |
18174 | { | |
18175 | wxPoint * resultptr; | |
18176 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18177 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18178 | } |
18179 | return resultobj; | |
18180 | fail: | |
18181 | return NULL; | |
18182 | } | |
18183 | ||
18184 | ||
18185 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18186 | PyObject *resultobj; | |
18187 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18188 | wxPoint result; | |
18189 | PyObject * obj0 = 0 ; | |
18190 | char *kwnames[] = { | |
18191 | (char *) "self", NULL | |
18192 | }; | |
18193 | ||
18194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18197 | { |
18198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18199 | result = (arg1)->GetMinMarginTopLeft(); | |
18200 | ||
18201 | wxPyEndAllowThreads(__tstate); | |
18202 | if (PyErr_Occurred()) SWIG_fail; | |
18203 | } | |
18204 | { | |
18205 | wxPoint * resultptr; | |
18206 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18207 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18208 | } |
18209 | return resultobj; | |
18210 | fail: | |
18211 | return NULL; | |
18212 | } | |
18213 | ||
18214 | ||
18215 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18216 | PyObject *resultobj; | |
18217 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18218 | wxPoint result; | |
18219 | PyObject * obj0 = 0 ; | |
18220 | char *kwnames[] = { | |
18221 | (char *) "self", NULL | |
18222 | }; | |
18223 | ||
18224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18227 | { |
18228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18229 | result = (arg1)->GetMinMarginBottomRight(); | |
18230 | ||
18231 | wxPyEndAllowThreads(__tstate); | |
18232 | if (PyErr_Occurred()) SWIG_fail; | |
18233 | } | |
18234 | { | |
18235 | wxPoint * resultptr; | |
18236 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 18237 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18238 | } |
18239 | return resultobj; | |
18240 | fail: | |
18241 | return NULL; | |
18242 | } | |
18243 | ||
18244 | ||
18245 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18246 | PyObject *resultobj; | |
18247 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18248 | int result; | |
18249 | PyObject * obj0 = 0 ; | |
18250 | char *kwnames[] = { | |
18251 | (char *) "self", NULL | |
18252 | }; | |
18253 | ||
18254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18257 | { |
18258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18259 | result = (int)(arg1)->GetPaperId(); | |
18260 | ||
18261 | wxPyEndAllowThreads(__tstate); | |
18262 | if (PyErr_Occurred()) SWIG_fail; | |
18263 | } | |
15afbcd0 | 18264 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18265 | return resultobj; |
18266 | fail: | |
18267 | return NULL; | |
18268 | } | |
18269 | ||
18270 | ||
18271 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18272 | PyObject *resultobj; | |
18273 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18274 | wxSize result; | |
18275 | PyObject * obj0 = 0 ; | |
18276 | char *kwnames[] = { | |
18277 | (char *) "self", NULL | |
18278 | }; | |
18279 | ||
18280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18283 | { |
18284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18285 | result = (arg1)->GetPaperSize(); | |
18286 | ||
18287 | wxPyEndAllowThreads(__tstate); | |
18288 | if (PyErr_Occurred()) SWIG_fail; | |
18289 | } | |
18290 | { | |
18291 | wxSize * resultptr; | |
18292 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 18293 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18294 | } |
18295 | return resultobj; | |
18296 | fail: | |
18297 | return NULL; | |
18298 | } | |
18299 | ||
18300 | ||
18301 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18302 | PyObject *resultobj; | |
18303 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18304 | wxPrintData *result; | |
18305 | PyObject * obj0 = 0 ; | |
18306 | char *kwnames[] = { | |
18307 | (char *) "self", NULL | |
18308 | }; | |
18309 | ||
18310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18313 | { |
18314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18315 | { | |
18316 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18317 | result = (wxPrintData *) &_result_ref; | |
18318 | } | |
18319 | ||
18320 | wxPyEndAllowThreads(__tstate); | |
18321 | if (PyErr_Occurred()) SWIG_fail; | |
18322 | } | |
15afbcd0 | 18323 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
18324 | return resultobj; |
18325 | fail: | |
18326 | return NULL; | |
18327 | } | |
18328 | ||
18329 | ||
18330 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18331 | PyObject *resultobj; | |
18332 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18333 | bool result; | |
18334 | PyObject * obj0 = 0 ; | |
18335 | char *kwnames[] = { | |
18336 | (char *) "self", NULL | |
18337 | }; | |
18338 | ||
18339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18342 | { |
18343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18344 | result = (bool)(arg1)->Ok(); | |
18345 | ||
18346 | wxPyEndAllowThreads(__tstate); | |
18347 | if (PyErr_Occurred()) SWIG_fail; | |
18348 | } | |
4f89f6a3 RD |
18349 | { |
18350 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18351 | } | |
d14a1e28 RD |
18352 | return resultobj; |
18353 | fail: | |
18354 | return NULL; | |
18355 | } | |
18356 | ||
18357 | ||
18358 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18359 | PyObject *resultobj; | |
18360 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18361 | bool arg2 ; | |
18362 | PyObject * obj0 = 0 ; | |
18363 | PyObject * obj1 = 0 ; | |
18364 | char *kwnames[] = { | |
18365 | (char *) "self",(char *) "flag", NULL | |
18366 | }; | |
18367 | ||
18368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18371 | arg2 = (bool) SWIG_AsBool(obj1); | |
18372 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18373 | { |
18374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18375 | (arg1)->SetDefaultInfo(arg2); | |
18376 | ||
18377 | wxPyEndAllowThreads(__tstate); | |
18378 | if (PyErr_Occurred()) SWIG_fail; | |
18379 | } | |
18380 | Py_INCREF(Py_None); resultobj = Py_None; | |
18381 | return resultobj; | |
18382 | fail: | |
18383 | return NULL; | |
18384 | } | |
18385 | ||
18386 | ||
18387 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18388 | PyObject *resultobj; | |
18389 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18390 | bool arg2 ; | |
18391 | PyObject * obj0 = 0 ; | |
18392 | PyObject * obj1 = 0 ; | |
18393 | char *kwnames[] = { | |
18394 | (char *) "self",(char *) "flag", NULL | |
18395 | }; | |
18396 | ||
18397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18400 | arg2 = (bool) SWIG_AsBool(obj1); | |
18401 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18402 | { |
18403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18404 | (arg1)->SetDefaultMinMargins(arg2); | |
18405 | ||
18406 | wxPyEndAllowThreads(__tstate); | |
18407 | if (PyErr_Occurred()) SWIG_fail; | |
18408 | } | |
18409 | Py_INCREF(Py_None); resultobj = Py_None; | |
18410 | return resultobj; | |
18411 | fail: | |
18412 | return NULL; | |
18413 | } | |
18414 | ||
18415 | ||
18416 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18417 | PyObject *resultobj; | |
18418 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18419 | wxPoint *arg2 = 0 ; | |
18420 | wxPoint temp2 ; | |
18421 | PyObject * obj0 = 0 ; | |
18422 | PyObject * obj1 = 0 ; | |
18423 | char *kwnames[] = { | |
18424 | (char *) "self",(char *) "pt", NULL | |
18425 | }; | |
18426 | ||
18427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18430 | { |
18431 | arg2 = &temp2; | |
18432 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18433 | } | |
18434 | { | |
18435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18436 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18437 | ||
18438 | wxPyEndAllowThreads(__tstate); | |
18439 | if (PyErr_Occurred()) SWIG_fail; | |
18440 | } | |
18441 | Py_INCREF(Py_None); resultobj = Py_None; | |
18442 | return resultobj; | |
18443 | fail: | |
18444 | return NULL; | |
18445 | } | |
18446 | ||
18447 | ||
18448 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18449 | PyObject *resultobj; | |
18450 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18451 | wxPoint *arg2 = 0 ; | |
18452 | wxPoint temp2 ; | |
18453 | PyObject * obj0 = 0 ; | |
18454 | PyObject * obj1 = 0 ; | |
18455 | char *kwnames[] = { | |
18456 | (char *) "self",(char *) "pt", NULL | |
18457 | }; | |
18458 | ||
18459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18462 | { |
18463 | arg2 = &temp2; | |
18464 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18465 | } | |
18466 | { | |
18467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18468 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18469 | ||
18470 | wxPyEndAllowThreads(__tstate); | |
18471 | if (PyErr_Occurred()) SWIG_fail; | |
18472 | } | |
18473 | Py_INCREF(Py_None); resultobj = Py_None; | |
18474 | return resultobj; | |
18475 | fail: | |
18476 | return NULL; | |
18477 | } | |
18478 | ||
18479 | ||
18480 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18481 | PyObject *resultobj; | |
18482 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18483 | wxPoint *arg2 = 0 ; | |
18484 | wxPoint temp2 ; | |
18485 | PyObject * obj0 = 0 ; | |
18486 | PyObject * obj1 = 0 ; | |
18487 | char *kwnames[] = { | |
18488 | (char *) "self",(char *) "pt", NULL | |
18489 | }; | |
18490 | ||
18491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18494 | { |
18495 | arg2 = &temp2; | |
18496 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18497 | } | |
18498 | { | |
18499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18500 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18501 | ||
18502 | wxPyEndAllowThreads(__tstate); | |
18503 | if (PyErr_Occurred()) SWIG_fail; | |
18504 | } | |
18505 | Py_INCREF(Py_None); resultobj = Py_None; | |
18506 | return resultobj; | |
18507 | fail: | |
18508 | return NULL; | |
18509 | } | |
18510 | ||
18511 | ||
18512 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18513 | PyObject *resultobj; | |
18514 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18515 | wxPoint *arg2 = 0 ; | |
18516 | wxPoint temp2 ; | |
18517 | PyObject * obj0 = 0 ; | |
18518 | PyObject * obj1 = 0 ; | |
18519 | char *kwnames[] = { | |
18520 | (char *) "self",(char *) "pt", NULL | |
18521 | }; | |
18522 | ||
18523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18526 | { |
18527 | arg2 = &temp2; | |
18528 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18529 | } | |
18530 | { | |
18531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18532 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18533 | ||
18534 | wxPyEndAllowThreads(__tstate); | |
18535 | if (PyErr_Occurred()) SWIG_fail; | |
18536 | } | |
18537 | Py_INCREF(Py_None); resultobj = Py_None; | |
18538 | return resultobj; | |
18539 | fail: | |
18540 | return NULL; | |
18541 | } | |
18542 | ||
18543 | ||
18544 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18545 | PyObject *resultobj; | |
18546 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18547 | int arg2 ; | |
18548 | PyObject * obj0 = 0 ; | |
994141e6 | 18549 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18550 | char *kwnames[] = { |
18551 | (char *) "self",(char *) "id", NULL | |
18552 | }; | |
18553 | ||
994141e6 | 18554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18557 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18558 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18559 | { |
18560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18561 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18562 | ||
18563 | wxPyEndAllowThreads(__tstate); | |
18564 | if (PyErr_Occurred()) SWIG_fail; | |
18565 | } | |
18566 | Py_INCREF(Py_None); resultobj = Py_None; | |
18567 | return resultobj; | |
18568 | fail: | |
18569 | return NULL; | |
18570 | } | |
18571 | ||
18572 | ||
18573 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18574 | PyObject *resultobj; | |
18575 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18576 | wxSize *arg2 = 0 ; | |
18577 | wxSize temp2 ; | |
18578 | PyObject * obj0 = 0 ; | |
18579 | PyObject * obj1 = 0 ; | |
18580 | char *kwnames[] = { | |
18581 | (char *) "self",(char *) "size", NULL | |
18582 | }; | |
18583 | ||
18584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18587 | { |
18588 | arg2 = &temp2; | |
18589 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18590 | } | |
18591 | { | |
18592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18593 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18594 | ||
18595 | wxPyEndAllowThreads(__tstate); | |
18596 | if (PyErr_Occurred()) SWIG_fail; | |
18597 | } | |
18598 | Py_INCREF(Py_None); resultobj = Py_None; | |
18599 | return resultobj; | |
18600 | fail: | |
18601 | return NULL; | |
18602 | } | |
18603 | ||
18604 | ||
18605 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18606 | PyObject *resultobj; | |
18607 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18608 | wxPrintData *arg2 = 0 ; | |
18609 | PyObject * obj0 = 0 ; | |
18610 | PyObject * obj1 = 0 ; | |
18611 | char *kwnames[] = { | |
18612 | (char *) "self",(char *) "printData", NULL | |
18613 | }; | |
18614 | ||
18615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18618 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
18619 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18620 | SWIG_fail; | |
d14a1e28 | 18621 | if (arg2 == NULL) { |
15afbcd0 RD |
18622 | PyErr_SetString(PyExc_TypeError,"null reference"); |
18623 | SWIG_fail; | |
d14a1e28 RD |
18624 | } |
18625 | { | |
18626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18627 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18628 | ||
18629 | wxPyEndAllowThreads(__tstate); | |
18630 | if (PyErr_Occurred()) SWIG_fail; | |
18631 | } | |
18632 | Py_INCREF(Py_None); resultobj = Py_None; | |
18633 | return resultobj; | |
18634 | fail: | |
18635 | return NULL; | |
18636 | } | |
18637 | ||
18638 | ||
18639 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
18640 | PyObject *obj; | |
18641 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18642 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18643 | Py_INCREF(obj); | |
18644 | return Py_BuildValue((char *)""); | |
18645 | } | |
18646 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18647 | PyObject *resultobj; | |
18648 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18649 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18650 | wxPageSetupDialog *result; | |
18651 | PyObject * obj0 = 0 ; | |
18652 | PyObject * obj1 = 0 ; | |
18653 | char *kwnames[] = { | |
18654 | (char *) "parent",(char *) "data", NULL | |
18655 | }; | |
18656 | ||
18657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18658 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
18659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 18660 | if (obj1) { |
15afbcd0 RD |
18661 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
18662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18663 | } |
18664 | { | |
18665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18666 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18667 | ||
18668 | wxPyEndAllowThreads(__tstate); | |
18669 | if (PyErr_Occurred()) SWIG_fail; | |
18670 | } | |
15afbcd0 | 18671 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
18672 | return resultobj; |
18673 | fail: | |
18674 | return NULL; | |
18675 | } | |
18676 | ||
18677 | ||
18678 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18679 | PyObject *resultobj; | |
18680 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18681 | wxPageSetupDialogData *result; | |
18682 | PyObject * obj0 = 0 ; | |
18683 | char *kwnames[] = { | |
18684 | (char *) "self", NULL | |
18685 | }; | |
18686 | ||
18687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18690 | { |
18691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18692 | { | |
18693 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18694 | result = (wxPageSetupDialogData *) &_result_ref; | |
18695 | } | |
18696 | ||
18697 | wxPyEndAllowThreads(__tstate); | |
18698 | if (PyErr_Occurred()) SWIG_fail; | |
18699 | } | |
15afbcd0 | 18700 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
18701 | return resultobj; |
18702 | fail: | |
18703 | return NULL; | |
18704 | } | |
18705 | ||
18706 | ||
18707 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18708 | PyObject *resultobj; | |
18709 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18710 | int result; | |
18711 | PyObject * obj0 = 0 ; | |
18712 | char *kwnames[] = { | |
18713 | (char *) "self", NULL | |
18714 | }; | |
18715 | ||
18716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18719 | { |
18720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18721 | result = (int)(arg1)->ShowModal(); | |
18722 | ||
18723 | wxPyEndAllowThreads(__tstate); | |
18724 | if (PyErr_Occurred()) SWIG_fail; | |
18725 | } | |
15afbcd0 | 18726 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18727 | return resultobj; |
18728 | fail: | |
18729 | return NULL; | |
18730 | } | |
18731 | ||
18732 | ||
18733 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
18734 | PyObject *obj; | |
18735 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18736 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18737 | Py_INCREF(obj); | |
18738 | return Py_BuildValue((char *)""); | |
18739 | } | |
4276dc52 | 18740 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
18741 | PyObject *resultobj; |
18742 | wxPrintDialogData *result; | |
d14a1e28 | 18743 | |
4276dc52 | 18744 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
18745 | { |
18746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18747 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18748 | ||
18749 | wxPyEndAllowThreads(__tstate); | |
18750 | if (PyErr_Occurred()) SWIG_fail; | |
18751 | } | |
15afbcd0 | 18752 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
18753 | return resultobj; |
18754 | fail: | |
18755 | return NULL; | |
18756 | } | |
18757 | ||
18758 | ||
4276dc52 RD |
18759 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
18760 | PyObject *resultobj; | |
18761 | wxPrintData *arg1 = 0 ; | |
18762 | wxPrintDialogData *result; | |
18763 | PyObject * obj0 = 0 ; | |
18764 | ||
18765 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
18766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18767 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18768 | SWIG_fail; | |
18769 | if (arg1 == NULL) { | |
18770 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18771 | SWIG_fail; | |
18772 | } | |
18773 | { | |
18774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18775 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
18776 | ||
18777 | wxPyEndAllowThreads(__tstate); | |
18778 | if (PyErr_Occurred()) SWIG_fail; | |
18779 | } | |
18780 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
18781 | return resultobj; | |
18782 | fail: | |
18783 | return NULL; | |
18784 | } | |
18785 | ||
18786 | ||
18787 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
18788 | int argc; | |
18789 | PyObject *argv[2]; | |
18790 | int ii; | |
18791 | ||
18792 | argc = PyObject_Length(args); | |
18793 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18794 | argv[ii] = PyTuple_GetItem(args,ii); | |
18795 | } | |
18796 | if (argc == 0) { | |
18797 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
18798 | } | |
18799 | if (argc == 1) { | |
18800 | int _v; | |
18801 | { | |
18802 | void *ptr; | |
18803 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18804 | _v = 0; | |
18805 | PyErr_Clear(); | |
18806 | } else { | |
18807 | _v = 1; | |
18808 | } | |
18809 | } | |
18810 | if (_v) { | |
18811 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
18812 | } | |
18813 | } | |
18814 | ||
18815 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
18816 | return NULL; | |
18817 | } | |
18818 | ||
18819 | ||
d14a1e28 RD |
18820 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
18821 | PyObject *resultobj; | |
18822 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18823 | PyObject * obj0 = 0 ; | |
18824 | char *kwnames[] = { | |
18825 | (char *) "self", NULL | |
18826 | }; | |
18827 | ||
18828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18831 | { |
18832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18833 | delete arg1; | |
18834 | ||
18835 | wxPyEndAllowThreads(__tstate); | |
18836 | if (PyErr_Occurred()) SWIG_fail; | |
18837 | } | |
18838 | Py_INCREF(Py_None); resultobj = Py_None; | |
18839 | return resultobj; | |
18840 | fail: | |
18841 | return NULL; | |
18842 | } | |
18843 | ||
18844 | ||
18845 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18846 | PyObject *resultobj; | |
18847 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18848 | int result; | |
18849 | PyObject * obj0 = 0 ; | |
18850 | char *kwnames[] = { | |
18851 | (char *) "self", NULL | |
18852 | }; | |
18853 | ||
18854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18857 | { |
18858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18859 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
18860 | ||
18861 | wxPyEndAllowThreads(__tstate); | |
18862 | if (PyErr_Occurred()) SWIG_fail; | |
18863 | } | |
15afbcd0 | 18864 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18865 | return resultobj; |
18866 | fail: | |
18867 | return NULL; | |
18868 | } | |
18869 | ||
18870 | ||
18871 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18872 | PyObject *resultobj; | |
18873 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18874 | int result; | |
18875 | PyObject * obj0 = 0 ; | |
18876 | char *kwnames[] = { | |
18877 | (char *) "self", NULL | |
18878 | }; | |
18879 | ||
18880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18883 | { |
18884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18885 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
18886 | ||
18887 | wxPyEndAllowThreads(__tstate); | |
18888 | if (PyErr_Occurred()) SWIG_fail; | |
18889 | } | |
15afbcd0 | 18890 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18891 | return resultobj; |
18892 | fail: | |
18893 | return NULL; | |
18894 | } | |
18895 | ||
18896 | ||
18897 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18898 | PyObject *resultobj; | |
18899 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18900 | int result; | |
18901 | PyObject * obj0 = 0 ; | |
18902 | char *kwnames[] = { | |
18903 | (char *) "self", NULL | |
18904 | }; | |
18905 | ||
18906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18909 | { |
18910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18911 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
18912 | ||
18913 | wxPyEndAllowThreads(__tstate); | |
18914 | if (PyErr_Occurred()) SWIG_fail; | |
18915 | } | |
15afbcd0 | 18916 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18917 | return resultobj; |
18918 | fail: | |
18919 | return NULL; | |
18920 | } | |
18921 | ||
18922 | ||
18923 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18924 | PyObject *resultobj; | |
18925 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18926 | int result; | |
18927 | PyObject * obj0 = 0 ; | |
18928 | char *kwnames[] = { | |
18929 | (char *) "self", NULL | |
18930 | }; | |
18931 | ||
18932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18935 | { |
18936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18937 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
18938 | ||
18939 | wxPyEndAllowThreads(__tstate); | |
18940 | if (PyErr_Occurred()) SWIG_fail; | |
18941 | } | |
15afbcd0 | 18942 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18943 | return resultobj; |
18944 | fail: | |
18945 | return NULL; | |
18946 | } | |
18947 | ||
18948 | ||
18949 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18950 | PyObject *resultobj; | |
18951 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18952 | int result; | |
18953 | PyObject * obj0 = 0 ; | |
18954 | char *kwnames[] = { | |
18955 | (char *) "self", NULL | |
18956 | }; | |
18957 | ||
18958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18961 | { |
18962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18963 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
18964 | ||
18965 | wxPyEndAllowThreads(__tstate); | |
18966 | if (PyErr_Occurred()) SWIG_fail; | |
18967 | } | |
15afbcd0 | 18968 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18969 | return resultobj; |
18970 | fail: | |
18971 | return NULL; | |
18972 | } | |
18973 | ||
18974 | ||
18975 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18976 | PyObject *resultobj; | |
18977 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18978 | bool result; | |
18979 | PyObject * obj0 = 0 ; | |
18980 | char *kwnames[] = { | |
18981 | (char *) "self", NULL | |
18982 | }; | |
18983 | ||
18984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18987 | { |
18988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18989 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
18990 | ||
18991 | wxPyEndAllowThreads(__tstate); | |
18992 | if (PyErr_Occurred()) SWIG_fail; | |
18993 | } | |
4f89f6a3 RD |
18994 | { |
18995 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18996 | } | |
d14a1e28 RD |
18997 | return resultobj; |
18998 | fail: | |
18999 | return NULL; | |
19000 | } | |
19001 | ||
19002 | ||
19003 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19004 | PyObject *resultobj; | |
19005 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19006 | bool result; | |
19007 | PyObject * obj0 = 0 ; | |
19008 | char *kwnames[] = { | |
19009 | (char *) "self", NULL | |
19010 | }; | |
19011 | ||
19012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19013 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19015 | { |
19016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19017 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
19018 | ||
19019 | wxPyEndAllowThreads(__tstate); | |
19020 | if (PyErr_Occurred()) SWIG_fail; | |
19021 | } | |
4f89f6a3 RD |
19022 | { |
19023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19024 | } | |
d14a1e28 RD |
19025 | return resultobj; |
19026 | fail: | |
19027 | return NULL; | |
19028 | } | |
19029 | ||
19030 | ||
19031 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19032 | PyObject *resultobj; | |
19033 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19034 | bool result; | |
19035 | PyObject * obj0 = 0 ; | |
19036 | char *kwnames[] = { | |
19037 | (char *) "self", NULL | |
19038 | }; | |
19039 | ||
19040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19043 | { |
19044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19045 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
19046 | ||
19047 | wxPyEndAllowThreads(__tstate); | |
19048 | if (PyErr_Occurred()) SWIG_fail; | |
19049 | } | |
4f89f6a3 RD |
19050 | { |
19051 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19052 | } | |
d14a1e28 RD |
19053 | return resultobj; |
19054 | fail: | |
19055 | return NULL; | |
19056 | } | |
19057 | ||
19058 | ||
19059 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19060 | PyObject *resultobj; | |
19061 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19062 | bool result; | |
19063 | PyObject * obj0 = 0 ; | |
19064 | char *kwnames[] = { | |
19065 | (char *) "self", NULL | |
19066 | }; | |
19067 | ||
19068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19071 | { |
19072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19073 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
19074 | ||
19075 | wxPyEndAllowThreads(__tstate); | |
19076 | if (PyErr_Occurred()) SWIG_fail; | |
19077 | } | |
4f89f6a3 RD |
19078 | { |
19079 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19080 | } | |
d14a1e28 RD |
19081 | return resultobj; |
19082 | fail: | |
19083 | return NULL; | |
19084 | } | |
19085 | ||
19086 | ||
19087 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19088 | PyObject *resultobj; | |
19089 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19090 | bool result; | |
19091 | PyObject * obj0 = 0 ; | |
19092 | char *kwnames[] = { | |
19093 | (char *) "self", NULL | |
19094 | }; | |
19095 | ||
19096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19099 | { |
19100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19101 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
19102 | ||
19103 | wxPyEndAllowThreads(__tstate); | |
19104 | if (PyErr_Occurred()) SWIG_fail; | |
19105 | } | |
4f89f6a3 RD |
19106 | { |
19107 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19108 | } | |
d14a1e28 RD |
19109 | return resultobj; |
19110 | fail: | |
19111 | return NULL; | |
19112 | } | |
19113 | ||
19114 | ||
19115 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19116 | PyObject *resultobj; | |
19117 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19118 | int arg2 ; | |
19119 | PyObject * obj0 = 0 ; | |
994141e6 | 19120 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19121 | char *kwnames[] = { |
19122 | (char *) "self",(char *) "v", NULL | |
19123 | }; | |
19124 | ||
994141e6 | 19125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19128 | arg2 = (int) SWIG_AsInt(obj1); | |
19129 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19130 | { |
19131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19132 | (arg1)->SetFromPage(arg2); | |
19133 | ||
19134 | wxPyEndAllowThreads(__tstate); | |
19135 | if (PyErr_Occurred()) SWIG_fail; | |
19136 | } | |
19137 | Py_INCREF(Py_None); resultobj = Py_None; | |
19138 | return resultobj; | |
19139 | fail: | |
19140 | return NULL; | |
19141 | } | |
19142 | ||
19143 | ||
19144 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19145 | PyObject *resultobj; | |
19146 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19147 | int arg2 ; | |
19148 | PyObject * obj0 = 0 ; | |
994141e6 | 19149 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19150 | char *kwnames[] = { |
19151 | (char *) "self",(char *) "v", NULL | |
19152 | }; | |
19153 | ||
994141e6 | 19154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19157 | arg2 = (int) SWIG_AsInt(obj1); | |
19158 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19159 | { |
19160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19161 | (arg1)->SetToPage(arg2); | |
19162 | ||
19163 | wxPyEndAllowThreads(__tstate); | |
19164 | if (PyErr_Occurred()) SWIG_fail; | |
19165 | } | |
19166 | Py_INCREF(Py_None); resultobj = Py_None; | |
19167 | return resultobj; | |
19168 | fail: | |
19169 | return NULL; | |
19170 | } | |
19171 | ||
19172 | ||
19173 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19174 | PyObject *resultobj; | |
19175 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19176 | int arg2 ; | |
19177 | PyObject * obj0 = 0 ; | |
994141e6 | 19178 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19179 | char *kwnames[] = { |
19180 | (char *) "self",(char *) "v", NULL | |
19181 | }; | |
19182 | ||
994141e6 | 19183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19184 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19186 | arg2 = (int) SWIG_AsInt(obj1); | |
19187 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19188 | { |
19189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19190 | (arg1)->SetMinPage(arg2); | |
19191 | ||
19192 | wxPyEndAllowThreads(__tstate); | |
19193 | if (PyErr_Occurred()) SWIG_fail; | |
19194 | } | |
19195 | Py_INCREF(Py_None); resultobj = Py_None; | |
19196 | return resultobj; | |
19197 | fail: | |
19198 | return NULL; | |
19199 | } | |
19200 | ||
19201 | ||
19202 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19203 | PyObject *resultobj; | |
19204 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19205 | int arg2 ; | |
19206 | PyObject * obj0 = 0 ; | |
994141e6 | 19207 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19208 | char *kwnames[] = { |
19209 | (char *) "self",(char *) "v", NULL | |
19210 | }; | |
19211 | ||
994141e6 | 19212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19215 | arg2 = (int) SWIG_AsInt(obj1); | |
19216 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19217 | { |
19218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19219 | (arg1)->SetMaxPage(arg2); | |
19220 | ||
19221 | wxPyEndAllowThreads(__tstate); | |
19222 | if (PyErr_Occurred()) SWIG_fail; | |
19223 | } | |
19224 | Py_INCREF(Py_None); resultobj = Py_None; | |
19225 | return resultobj; | |
19226 | fail: | |
19227 | return NULL; | |
19228 | } | |
19229 | ||
19230 | ||
19231 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19232 | PyObject *resultobj; | |
19233 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19234 | int arg2 ; | |
19235 | PyObject * obj0 = 0 ; | |
994141e6 | 19236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19237 | char *kwnames[] = { |
19238 | (char *) "self",(char *) "v", NULL | |
19239 | }; | |
19240 | ||
994141e6 | 19241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19244 | arg2 = (int) SWIG_AsInt(obj1); | |
19245 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19246 | { |
19247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19248 | (arg1)->SetNoCopies(arg2); | |
19249 | ||
19250 | wxPyEndAllowThreads(__tstate); | |
19251 | if (PyErr_Occurred()) SWIG_fail; | |
19252 | } | |
19253 | Py_INCREF(Py_None); resultobj = Py_None; | |
19254 | return resultobj; | |
19255 | fail: | |
19256 | return NULL; | |
19257 | } | |
19258 | ||
19259 | ||
19260 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19261 | PyObject *resultobj; | |
19262 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19263 | bool arg2 ; | |
19264 | PyObject * obj0 = 0 ; | |
19265 | PyObject * obj1 = 0 ; | |
19266 | char *kwnames[] = { | |
19267 | (char *) "self",(char *) "flag", NULL | |
19268 | }; | |
19269 | ||
19270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19273 | arg2 = (bool) SWIG_AsBool(obj1); | |
19274 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19275 | { |
19276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19277 | (arg1)->SetAllPages(arg2); | |
19278 | ||
19279 | wxPyEndAllowThreads(__tstate); | |
19280 | if (PyErr_Occurred()) SWIG_fail; | |
19281 | } | |
19282 | Py_INCREF(Py_None); resultobj = Py_None; | |
19283 | return resultobj; | |
19284 | fail: | |
19285 | return NULL; | |
19286 | } | |
19287 | ||
19288 | ||
19289 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19290 | PyObject *resultobj; | |
19291 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19292 | bool arg2 ; | |
19293 | PyObject * obj0 = 0 ; | |
19294 | PyObject * obj1 = 0 ; | |
19295 | char *kwnames[] = { | |
19296 | (char *) "self",(char *) "flag", NULL | |
19297 | }; | |
19298 | ||
19299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19302 | arg2 = (bool) SWIG_AsBool(obj1); | |
19303 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19304 | { |
19305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19306 | (arg1)->SetSelection(arg2); | |
19307 | ||
19308 | wxPyEndAllowThreads(__tstate); | |
19309 | if (PyErr_Occurred()) SWIG_fail; | |
19310 | } | |
19311 | Py_INCREF(Py_None); resultobj = Py_None; | |
19312 | return resultobj; | |
19313 | fail: | |
19314 | return NULL; | |
19315 | } | |
19316 | ||
19317 | ||
19318 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19319 | PyObject *resultobj; | |
19320 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19321 | bool arg2 ; | |
19322 | PyObject * obj0 = 0 ; | |
19323 | PyObject * obj1 = 0 ; | |
19324 | char *kwnames[] = { | |
19325 | (char *) "self",(char *) "flag", NULL | |
19326 | }; | |
19327 | ||
19328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19329 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19330 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19331 | arg2 = (bool) SWIG_AsBool(obj1); | |
19332 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19333 | { |
19334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19335 | (arg1)->SetCollate(arg2); | |
19336 | ||
19337 | wxPyEndAllowThreads(__tstate); | |
19338 | if (PyErr_Occurred()) SWIG_fail; | |
19339 | } | |
19340 | Py_INCREF(Py_None); resultobj = Py_None; | |
19341 | return resultobj; | |
19342 | fail: | |
19343 | return NULL; | |
19344 | } | |
19345 | ||
19346 | ||
19347 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19348 | PyObject *resultobj; | |
19349 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19350 | bool arg2 ; | |
19351 | PyObject * obj0 = 0 ; | |
19352 | PyObject * obj1 = 0 ; | |
19353 | char *kwnames[] = { | |
19354 | (char *) "self",(char *) "flag", NULL | |
19355 | }; | |
19356 | ||
19357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19360 | arg2 = (bool) SWIG_AsBool(obj1); | |
19361 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19362 | { |
19363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19364 | (arg1)->SetPrintToFile(arg2); | |
19365 | ||
19366 | wxPyEndAllowThreads(__tstate); | |
19367 | if (PyErr_Occurred()) SWIG_fail; | |
19368 | } | |
19369 | Py_INCREF(Py_None); resultobj = Py_None; | |
19370 | return resultobj; | |
19371 | fail: | |
19372 | return NULL; | |
19373 | } | |
19374 | ||
19375 | ||
19376 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19377 | PyObject *resultobj; | |
19378 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19379 | bool arg2 ; | |
19380 | PyObject * obj0 = 0 ; | |
19381 | PyObject * obj1 = 0 ; | |
19382 | char *kwnames[] = { | |
19383 | (char *) "self",(char *) "flag", NULL | |
19384 | }; | |
19385 | ||
19386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19389 | arg2 = (bool) SWIG_AsBool(obj1); | |
19390 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19391 | { |
19392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19393 | (arg1)->SetSetupDialog(arg2); | |
19394 | ||
19395 | wxPyEndAllowThreads(__tstate); | |
19396 | if (PyErr_Occurred()) SWIG_fail; | |
19397 | } | |
19398 | Py_INCREF(Py_None); resultobj = Py_None; | |
19399 | return resultobj; | |
19400 | fail: | |
19401 | return NULL; | |
19402 | } | |
19403 | ||
19404 | ||
19405 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19406 | PyObject *resultobj; | |
19407 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19408 | bool arg2 ; | |
19409 | PyObject * obj0 = 0 ; | |
19410 | PyObject * obj1 = 0 ; | |
19411 | char *kwnames[] = { | |
19412 | (char *) "self",(char *) "flag", NULL | |
19413 | }; | |
19414 | ||
19415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19418 | arg2 = (bool) SWIG_AsBool(obj1); | |
19419 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19420 | { |
19421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19422 | (arg1)->EnablePrintToFile(arg2); | |
19423 | ||
19424 | wxPyEndAllowThreads(__tstate); | |
19425 | if (PyErr_Occurred()) SWIG_fail; | |
19426 | } | |
19427 | Py_INCREF(Py_None); resultobj = Py_None; | |
19428 | return resultobj; | |
19429 | fail: | |
19430 | return NULL; | |
19431 | } | |
19432 | ||
19433 | ||
19434 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19435 | PyObject *resultobj; | |
19436 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19437 | bool arg2 ; | |
19438 | PyObject * obj0 = 0 ; | |
19439 | PyObject * obj1 = 0 ; | |
19440 | char *kwnames[] = { | |
19441 | (char *) "self",(char *) "flag", NULL | |
19442 | }; | |
19443 | ||
19444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19447 | arg2 = (bool) SWIG_AsBool(obj1); | |
19448 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19449 | { |
19450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19451 | (arg1)->EnableSelection(arg2); | |
19452 | ||
19453 | wxPyEndAllowThreads(__tstate); | |
19454 | if (PyErr_Occurred()) SWIG_fail; | |
19455 | } | |
19456 | Py_INCREF(Py_None); resultobj = Py_None; | |
19457 | return resultobj; | |
19458 | fail: | |
19459 | return NULL; | |
19460 | } | |
19461 | ||
19462 | ||
19463 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19464 | PyObject *resultobj; | |
19465 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19466 | bool arg2 ; | |
19467 | PyObject * obj0 = 0 ; | |
19468 | PyObject * obj1 = 0 ; | |
19469 | char *kwnames[] = { | |
19470 | (char *) "self",(char *) "flag", NULL | |
19471 | }; | |
19472 | ||
19473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19476 | arg2 = (bool) SWIG_AsBool(obj1); | |
19477 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19478 | { |
19479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19480 | (arg1)->EnablePageNumbers(arg2); | |
19481 | ||
19482 | wxPyEndAllowThreads(__tstate); | |
19483 | if (PyErr_Occurred()) SWIG_fail; | |
19484 | } | |
19485 | Py_INCREF(Py_None); resultobj = Py_None; | |
19486 | return resultobj; | |
19487 | fail: | |
19488 | return NULL; | |
19489 | } | |
19490 | ||
19491 | ||
19492 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19493 | PyObject *resultobj; | |
19494 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19495 | bool arg2 ; | |
19496 | PyObject * obj0 = 0 ; | |
19497 | PyObject * obj1 = 0 ; | |
19498 | char *kwnames[] = { | |
19499 | (char *) "self",(char *) "flag", NULL | |
19500 | }; | |
19501 | ||
19502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19505 | arg2 = (bool) SWIG_AsBool(obj1); | |
19506 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19507 | { |
19508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19509 | (arg1)->EnableHelp(arg2); | |
19510 | ||
19511 | wxPyEndAllowThreads(__tstate); | |
19512 | if (PyErr_Occurred()) SWIG_fail; | |
19513 | } | |
19514 | Py_INCREF(Py_None); resultobj = Py_None; | |
19515 | return resultobj; | |
19516 | fail: | |
19517 | return NULL; | |
19518 | } | |
19519 | ||
19520 | ||
19521 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19522 | PyObject *resultobj; | |
19523 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19524 | bool result; | |
19525 | PyObject * obj0 = 0 ; | |
19526 | char *kwnames[] = { | |
19527 | (char *) "self", NULL | |
19528 | }; | |
19529 | ||
19530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19533 | { |
19534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19535 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19536 | ||
19537 | wxPyEndAllowThreads(__tstate); | |
19538 | if (PyErr_Occurred()) SWIG_fail; | |
19539 | } | |
4f89f6a3 RD |
19540 | { |
19541 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19542 | } | |
d14a1e28 RD |
19543 | return resultobj; |
19544 | fail: | |
19545 | return NULL; | |
19546 | } | |
19547 | ||
19548 | ||
19549 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19550 | PyObject *resultobj; | |
19551 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19552 | bool result; | |
19553 | PyObject * obj0 = 0 ; | |
19554 | char *kwnames[] = { | |
19555 | (char *) "self", NULL | |
19556 | }; | |
19557 | ||
19558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19559 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19560 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19561 | { |
19562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19563 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19564 | ||
19565 | wxPyEndAllowThreads(__tstate); | |
19566 | if (PyErr_Occurred()) SWIG_fail; | |
19567 | } | |
4f89f6a3 RD |
19568 | { |
19569 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19570 | } | |
d14a1e28 RD |
19571 | return resultobj; |
19572 | fail: | |
19573 | return NULL; | |
19574 | } | |
19575 | ||
19576 | ||
19577 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19578 | PyObject *resultobj; | |
19579 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19580 | bool result; | |
19581 | PyObject * obj0 = 0 ; | |
19582 | char *kwnames[] = { | |
19583 | (char *) "self", NULL | |
19584 | }; | |
19585 | ||
19586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19589 | { |
19590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19591 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19592 | ||
19593 | wxPyEndAllowThreads(__tstate); | |
19594 | if (PyErr_Occurred()) SWIG_fail; | |
19595 | } | |
4f89f6a3 RD |
19596 | { |
19597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19598 | } | |
d14a1e28 RD |
19599 | return resultobj; |
19600 | fail: | |
19601 | return NULL; | |
19602 | } | |
19603 | ||
19604 | ||
19605 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19606 | PyObject *resultobj; | |
19607 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19608 | bool result; | |
19609 | PyObject * obj0 = 0 ; | |
19610 | char *kwnames[] = { | |
19611 | (char *) "self", NULL | |
19612 | }; | |
19613 | ||
19614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19617 | { |
19618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19619 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19620 | ||
19621 | wxPyEndAllowThreads(__tstate); | |
19622 | if (PyErr_Occurred()) SWIG_fail; | |
19623 | } | |
4f89f6a3 RD |
19624 | { |
19625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19626 | } | |
d14a1e28 RD |
19627 | return resultobj; |
19628 | fail: | |
19629 | return NULL; | |
19630 | } | |
19631 | ||
19632 | ||
19633 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19634 | PyObject *resultobj; | |
19635 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19636 | bool result; | |
19637 | PyObject * obj0 = 0 ; | |
19638 | char *kwnames[] = { | |
19639 | (char *) "self", NULL | |
19640 | }; | |
19641 | ||
19642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19645 | { |
19646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19647 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19648 | ||
19649 | wxPyEndAllowThreads(__tstate); | |
19650 | if (PyErr_Occurred()) SWIG_fail; | |
19651 | } | |
4f89f6a3 RD |
19652 | { |
19653 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19654 | } | |
d14a1e28 RD |
19655 | return resultobj; |
19656 | fail: | |
19657 | return NULL; | |
19658 | } | |
19659 | ||
19660 | ||
19661 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19662 | PyObject *resultobj; | |
19663 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19664 | wxPrintData *result; | |
19665 | PyObject * obj0 = 0 ; | |
19666 | char *kwnames[] = { | |
19667 | (char *) "self", NULL | |
19668 | }; | |
19669 | ||
19670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19673 | { |
19674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19675 | { | |
19676 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19677 | result = (wxPrintData *) &_result_ref; | |
19678 | } | |
19679 | ||
19680 | wxPyEndAllowThreads(__tstate); | |
19681 | if (PyErr_Occurred()) SWIG_fail; | |
19682 | } | |
15afbcd0 | 19683 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19684 | return resultobj; |
19685 | fail: | |
19686 | return NULL; | |
19687 | } | |
19688 | ||
19689 | ||
19690 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19691 | PyObject *resultobj; | |
19692 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19693 | wxPrintData *arg2 = 0 ; | |
19694 | PyObject * obj0 = 0 ; | |
19695 | PyObject * obj1 = 0 ; | |
19696 | char *kwnames[] = { | |
19697 | (char *) "self",(char *) "printData", NULL | |
19698 | }; | |
19699 | ||
19700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19703 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19704 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19705 | SWIG_fail; | |
d14a1e28 | 19706 | if (arg2 == NULL) { |
15afbcd0 RD |
19707 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19708 | SWIG_fail; | |
d14a1e28 RD |
19709 | } |
19710 | { | |
19711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19712 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19713 | ||
19714 | wxPyEndAllowThreads(__tstate); | |
19715 | if (PyErr_Occurred()) SWIG_fail; | |
19716 | } | |
19717 | Py_INCREF(Py_None); resultobj = Py_None; | |
19718 | return resultobj; | |
19719 | fail: | |
19720 | return NULL; | |
19721 | } | |
19722 | ||
19723 | ||
19724 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
19725 | PyObject *obj; | |
19726 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19727 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19728 | Py_INCREF(obj); | |
19729 | return Py_BuildValue((char *)""); | |
19730 | } | |
19731 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19732 | PyObject *resultobj; | |
19733 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19734 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19735 | wxPrintDialog *result; | |
19736 | PyObject * obj0 = 0 ; | |
19737 | PyObject * obj1 = 0 ; | |
19738 | char *kwnames[] = { | |
19739 | (char *) "parent",(char *) "data", NULL | |
19740 | }; | |
19741 | ||
19742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19745 | if (obj1) { |
15afbcd0 RD |
19746 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
19747 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19748 | } |
19749 | { | |
19750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19751 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19752 | ||
19753 | wxPyEndAllowThreads(__tstate); | |
19754 | if (PyErr_Occurred()) SWIG_fail; | |
19755 | } | |
15afbcd0 | 19756 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
19757 | return resultobj; |
19758 | fail: | |
19759 | return NULL; | |
19760 | } | |
19761 | ||
19762 | ||
19763 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19764 | PyObject *resultobj; | |
19765 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19766 | wxPrintDialogData *result; | |
19767 | PyObject * obj0 = 0 ; | |
19768 | char *kwnames[] = { | |
19769 | (char *) "self", NULL | |
19770 | }; | |
19771 | ||
19772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19775 | { |
19776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19777 | { | |
19778 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19779 | result = (wxPrintDialogData *) &_result_ref; | |
19780 | } | |
19781 | ||
19782 | wxPyEndAllowThreads(__tstate); | |
19783 | if (PyErr_Occurred()) SWIG_fail; | |
19784 | } | |
15afbcd0 | 19785 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19786 | return resultobj; |
19787 | fail: | |
19788 | return NULL; | |
19789 | } | |
19790 | ||
19791 | ||
19792 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19793 | PyObject *resultobj; | |
19794 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19795 | wxDC *result; | |
19796 | PyObject * obj0 = 0 ; | |
19797 | char *kwnames[] = { | |
19798 | (char *) "self", NULL | |
19799 | }; | |
19800 | ||
19801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19804 | { |
19805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19806 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19807 | ||
19808 | wxPyEndAllowThreads(__tstate); | |
19809 | if (PyErr_Occurred()) SWIG_fail; | |
19810 | } | |
19811 | { | |
19812 | resultobj = wxPyMake_wxObject(result); | |
19813 | } | |
19814 | return resultobj; | |
19815 | fail: | |
19816 | return NULL; | |
19817 | } | |
19818 | ||
19819 | ||
19820 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19821 | PyObject *resultobj; | |
19822 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19823 | int result; | |
19824 | PyObject * obj0 = 0 ; | |
19825 | char *kwnames[] = { | |
19826 | (char *) "self", NULL | |
19827 | }; | |
19828 | ||
19829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19832 | { |
19833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19834 | result = (int)(arg1)->ShowModal(); | |
19835 | ||
19836 | wxPyEndAllowThreads(__tstate); | |
19837 | if (PyErr_Occurred()) SWIG_fail; | |
19838 | } | |
15afbcd0 | 19839 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19840 | return resultobj; |
19841 | fail: | |
19842 | return NULL; | |
19843 | } | |
19844 | ||
19845 | ||
19846 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
19847 | PyObject *obj; | |
19848 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19849 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19850 | Py_INCREF(obj); | |
19851 | return Py_BuildValue((char *)""); | |
19852 | } | |
19853 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19854 | PyObject *resultobj; | |
19855 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
19856 | wxPrinter *result; | |
19857 | PyObject * obj0 = 0 ; | |
19858 | char *kwnames[] = { | |
19859 | (char *) "data", NULL | |
19860 | }; | |
19861 | ||
19862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
19863 | if (obj0) { | |
15afbcd0 RD |
19864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19866 | } |
19867 | { | |
19868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19869 | result = (wxPrinter *)new wxPrinter(arg1); | |
19870 | ||
19871 | wxPyEndAllowThreads(__tstate); | |
19872 | if (PyErr_Occurred()) SWIG_fail; | |
19873 | } | |
15afbcd0 | 19874 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
19875 | return resultobj; |
19876 | fail: | |
19877 | return NULL; | |
19878 | } | |
19879 | ||
19880 | ||
19881 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19882 | PyObject *resultobj; | |
19883 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19884 | PyObject * obj0 = 0 ; | |
19885 | char *kwnames[] = { | |
19886 | (char *) "self", NULL | |
19887 | }; | |
19888 | ||
19889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19892 | { |
19893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19894 | delete arg1; | |
19895 | ||
19896 | wxPyEndAllowThreads(__tstate); | |
19897 | if (PyErr_Occurred()) SWIG_fail; | |
19898 | } | |
19899 | Py_INCREF(Py_None); resultobj = Py_None; | |
19900 | return resultobj; | |
19901 | fail: | |
19902 | return NULL; | |
19903 | } | |
19904 | ||
19905 | ||
19906 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19907 | PyObject *resultobj; | |
19908 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19909 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19910 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19911 | PyObject * obj0 = 0 ; | |
19912 | PyObject * obj1 = 0 ; | |
19913 | PyObject * obj2 = 0 ; | |
19914 | char *kwnames[] = { | |
19915 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
19916 | }; | |
19917 | ||
19918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
19919 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19921 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19923 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19925 | { |
19926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19927 | (arg1)->CreateAbortWindow(arg2,arg3); | |
19928 | ||
19929 | wxPyEndAllowThreads(__tstate); | |
19930 | if (PyErr_Occurred()) SWIG_fail; | |
19931 | } | |
19932 | Py_INCREF(Py_None); resultobj = Py_None; | |
19933 | return resultobj; | |
19934 | fail: | |
19935 | return NULL; | |
19936 | } | |
19937 | ||
19938 | ||
19939 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19940 | PyObject *resultobj; | |
19941 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19942 | wxPrintDialogData *result; | |
19943 | PyObject * obj0 = 0 ; | |
19944 | char *kwnames[] = { | |
19945 | (char *) "self", NULL | |
19946 | }; | |
19947 | ||
19948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19951 | { |
19952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19953 | { | |
19954 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19955 | result = (wxPrintDialogData *) &_result_ref; | |
19956 | } | |
19957 | ||
19958 | wxPyEndAllowThreads(__tstate); | |
19959 | if (PyErr_Occurred()) SWIG_fail; | |
19960 | } | |
15afbcd0 | 19961 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19962 | return resultobj; |
19963 | fail: | |
19964 | return NULL; | |
19965 | } | |
19966 | ||
19967 | ||
19968 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19969 | PyObject *resultobj; | |
19970 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19971 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19972 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
e811c8ce | 19973 | int arg4 = (int) True ; |
d14a1e28 RD |
19974 | bool result; |
19975 | PyObject * obj0 = 0 ; | |
19976 | PyObject * obj1 = 0 ; | |
19977 | PyObject * obj2 = 0 ; | |
994141e6 | 19978 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
19979 | char *kwnames[] = { |
19980 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
19981 | }; | |
19982 | ||
994141e6 | 19983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
19984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19986 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19987 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19988 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19989 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 19990 | if (obj3) { |
15afbcd0 RD |
19991 | arg4 = (int) SWIG_AsInt(obj3); |
19992 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 19993 | } |
d14a1e28 RD |
19994 | { |
19995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19996 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
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_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20011 | PyObject *resultobj; | |
20012 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20013 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20014 | wxDC *result; | |
20015 | PyObject * obj0 = 0 ; | |
20016 | PyObject * obj1 = 0 ; | |
20017 | char *kwnames[] = { | |
20018 | (char *) "self",(char *) "parent", NULL | |
20019 | }; | |
20020 | ||
20021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20024 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20026 | { |
20027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20028 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
20029 | ||
20030 | wxPyEndAllowThreads(__tstate); | |
20031 | if (PyErr_Occurred()) SWIG_fail; | |
20032 | } | |
20033 | { | |
20034 | resultobj = wxPyMake_wxObject(result); | |
20035 | } | |
20036 | return resultobj; | |
20037 | fail: | |
20038 | return NULL; | |
20039 | } | |
20040 | ||
20041 | ||
20042 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20043 | PyObject *resultobj; | |
20044 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20045 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20046 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
20047 | wxString *arg4 = 0 ; | |
e811c8ce | 20048 | bool temp4 = False ; |
d14a1e28 RD |
20049 | PyObject * obj0 = 0 ; |
20050 | PyObject * obj1 = 0 ; | |
20051 | PyObject * obj2 = 0 ; | |
20052 | PyObject * obj3 = 0 ; | |
20053 | char *kwnames[] = { | |
20054 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
20055 | }; | |
20056 | ||
20057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
15afbcd0 RD |
20058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20060 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20062 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
20063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20064 | { |
20065 | arg4 = wxString_in_helper(obj3); | |
20066 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 20067 | temp4 = True; |
d14a1e28 RD |
20068 | } |
20069 | { | |
20070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20071 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
20072 | ||
20073 | wxPyEndAllowThreads(__tstate); | |
20074 | if (PyErr_Occurred()) SWIG_fail; | |
20075 | } | |
20076 | Py_INCREF(Py_None); resultobj = Py_None; | |
20077 | { | |
20078 | if (temp4) | |
20079 | delete arg4; | |
20080 | } | |
20081 | return resultobj; | |
20082 | fail: | |
20083 | { | |
20084 | if (temp4) | |
20085 | delete arg4; | |
20086 | } | |
20087 | return NULL; | |
20088 | } | |
20089 | ||
20090 | ||
20091 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20092 | PyObject *resultobj; | |
20093 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20094 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20095 | bool result; | |
20096 | PyObject * obj0 = 0 ; | |
20097 | PyObject * obj1 = 0 ; | |
20098 | char *kwnames[] = { | |
20099 | (char *) "self",(char *) "parent", NULL | |
20100 | }; | |
20101 | ||
20102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20105 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20107 | { |
20108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20109 | result = (bool)(arg1)->Setup(arg2); | |
20110 | ||
20111 | wxPyEndAllowThreads(__tstate); | |
20112 | if (PyErr_Occurred()) SWIG_fail; | |
20113 | } | |
4f89f6a3 RD |
20114 | { |
20115 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20116 | } | |
d14a1e28 RD |
20117 | return resultobj; |
20118 | fail: | |
20119 | return NULL; | |
20120 | } | |
20121 | ||
20122 | ||
20123 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20124 | PyObject *resultobj; | |
20125 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20126 | bool result; | |
20127 | PyObject * obj0 = 0 ; | |
20128 | char *kwnames[] = { | |
20129 | (char *) "self", NULL | |
20130 | }; | |
20131 | ||
20132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20135 | { |
20136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20137 | result = (bool)(arg1)->GetAbort(); | |
20138 | ||
20139 | wxPyEndAllowThreads(__tstate); | |
20140 | if (PyErr_Occurred()) SWIG_fail; | |
20141 | } | |
4f89f6a3 RD |
20142 | { |
20143 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20144 | } | |
d14a1e28 RD |
20145 | return resultobj; |
20146 | fail: | |
20147 | return NULL; | |
20148 | } | |
20149 | ||
20150 | ||
20151 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20152 | PyObject *resultobj; | |
20153 | int result; | |
20154 | char *kwnames[] = { | |
20155 | NULL | |
20156 | }; | |
20157 | ||
20158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
20159 | { | |
20160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20161 | result = (int)wxPrinter::GetLastError(); | |
20162 | ||
20163 | wxPyEndAllowThreads(__tstate); | |
20164 | if (PyErr_Occurred()) SWIG_fail; | |
20165 | } | |
15afbcd0 | 20166 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20167 | return resultobj; |
20168 | fail: | |
20169 | return NULL; | |
20170 | } | |
20171 | ||
20172 | ||
20173 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
20174 | PyObject *obj; | |
20175 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20176 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
20177 | Py_INCREF(obj); | |
20178 | return Py_BuildValue((char *)""); | |
20179 | } | |
20180 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20181 | PyObject *resultobj; | |
20182 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
20183 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
20184 | wxPyPrintout *result; | |
e811c8ce | 20185 | bool temp1 = False ; |
d14a1e28 RD |
20186 | PyObject * obj0 = 0 ; |
20187 | char *kwnames[] = { | |
20188 | (char *) "title", NULL | |
20189 | }; | |
20190 | ||
20191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
20192 | if (obj0) { | |
20193 | { | |
20194 | arg1 = wxString_in_helper(obj0); | |
20195 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 20196 | temp1 = True; |
d14a1e28 RD |
20197 | } |
20198 | } | |
20199 | { | |
20200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20201 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
20202 | ||
20203 | wxPyEndAllowThreads(__tstate); | |
20204 | if (PyErr_Occurred()) SWIG_fail; | |
20205 | } | |
20206 | { | |
20207 | resultobj = wxPyMake_wxObject(result); | |
20208 | } | |
20209 | { | |
20210 | if (temp1) | |
20211 | delete arg1; | |
20212 | } | |
20213 | return resultobj; | |
20214 | fail: | |
20215 | { | |
20216 | if (temp1) | |
20217 | delete arg1; | |
20218 | } | |
20219 | return NULL; | |
20220 | } | |
20221 | ||
20222 | ||
20223 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20224 | PyObject *resultobj; | |
20225 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20226 | PyObject *arg2 = (PyObject *) 0 ; | |
20227 | PyObject *arg3 = (PyObject *) 0 ; | |
20228 | PyObject * obj0 = 0 ; | |
20229 | PyObject * obj1 = 0 ; | |
20230 | PyObject * obj2 = 0 ; | |
20231 | char *kwnames[] = { | |
20232 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20233 | }; | |
20234 | ||
20235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
20236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20238 | arg2 = obj1; |
20239 | arg3 = obj2; | |
20240 | { | |
20241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20242 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20243 | ||
20244 | wxPyEndAllowThreads(__tstate); | |
20245 | if (PyErr_Occurred()) SWIG_fail; | |
20246 | } | |
20247 | Py_INCREF(Py_None); resultobj = Py_None; | |
20248 | return resultobj; | |
20249 | fail: | |
20250 | return NULL; | |
20251 | } | |
20252 | ||
20253 | ||
20254 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20255 | PyObject *resultobj; | |
20256 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20257 | wxString result; | |
20258 | PyObject * obj0 = 0 ; | |
20259 | char *kwnames[] = { | |
20260 | (char *) "self", NULL | |
20261 | }; | |
20262 | ||
20263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20266 | { |
20267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20268 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
20269 | ||
20270 | wxPyEndAllowThreads(__tstate); | |
20271 | if (PyErr_Occurred()) SWIG_fail; | |
20272 | } | |
20273 | { | |
20274 | #if wxUSE_UNICODE | |
20275 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
20276 | #else | |
20277 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
20278 | #endif | |
20279 | } | |
20280 | return resultobj; | |
20281 | fail: | |
20282 | return NULL; | |
20283 | } | |
20284 | ||
20285 | ||
20286 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20287 | PyObject *resultobj; | |
20288 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20289 | wxDC *result; | |
20290 | PyObject * obj0 = 0 ; | |
20291 | char *kwnames[] = { | |
20292 | (char *) "self", NULL | |
20293 | }; | |
20294 | ||
20295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20298 | { |
20299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20300 | result = (wxDC *)(arg1)->GetDC(); | |
20301 | ||
20302 | wxPyEndAllowThreads(__tstate); | |
20303 | if (PyErr_Occurred()) SWIG_fail; | |
20304 | } | |
20305 | { | |
20306 | resultobj = wxPyMake_wxObject(result); | |
20307 | } | |
20308 | return resultobj; | |
20309 | fail: | |
20310 | return NULL; | |
20311 | } | |
20312 | ||
20313 | ||
20314 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20315 | PyObject *resultobj; | |
20316 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20317 | wxDC *arg2 = (wxDC *) 0 ; | |
20318 | PyObject * obj0 = 0 ; | |
20319 | PyObject * obj1 = 0 ; | |
20320 | char *kwnames[] = { | |
20321 | (char *) "self",(char *) "dc", NULL | |
20322 | }; | |
20323 | ||
20324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20327 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
20328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20329 | { |
20330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20331 | (arg1)->SetDC(arg2); | |
20332 | ||
20333 | wxPyEndAllowThreads(__tstate); | |
20334 | if (PyErr_Occurred()) SWIG_fail; | |
20335 | } | |
20336 | Py_INCREF(Py_None); resultobj = Py_None; | |
20337 | return resultobj; | |
20338 | fail: | |
20339 | return NULL; | |
20340 | } | |
20341 | ||
20342 | ||
322913ce | 20343 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20344 | PyObject *resultobj; |
20345 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20346 | int arg2 ; |
20347 | int arg3 ; | |
d14a1e28 | 20348 | PyObject * obj0 = 0 ; |
994141e6 RD |
20349 | PyObject * obj1 = 0 ; |
20350 | PyObject * obj2 = 0 ; | |
d14a1e28 | 20351 | char *kwnames[] = { |
322913ce | 20352 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
20353 | }; |
20354 | ||
994141e6 | 20355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20358 | arg2 = (int) SWIG_AsInt(obj1); | |
20359 | if (PyErr_Occurred()) SWIG_fail; | |
20360 | arg3 = (int) SWIG_AsInt(obj2); | |
20361 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20362 | { |
20363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20364 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20365 | |
20366 | wxPyEndAllowThreads(__tstate); | |
20367 | if (PyErr_Occurred()) SWIG_fail; | |
20368 | } | |
20369 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
20370 | return resultobj; |
20371 | fail: | |
20372 | return NULL; | |
20373 | } | |
20374 | ||
20375 | ||
322913ce | 20376 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20377 | PyObject *resultobj; |
20378 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
20379 | int *arg2 = (int *) 0 ; |
20380 | int *arg3 = (int *) 0 ; | |
20381 | int temp2 ; | |
20382 | int temp3 ; | |
d14a1e28 RD |
20383 | PyObject * obj0 = 0 ; |
20384 | char *kwnames[] = { | |
322913ce | 20385 | (char *) "self", NULL |
d14a1e28 RD |
20386 | }; |
20387 | ||
322913ce RD |
20388 | arg2 = &temp2; |
20389 | arg3 = &temp3; | |
20390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20393 | { |
20394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 20395 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20396 | |
20397 | wxPyEndAllowThreads(__tstate); | |
20398 | if (PyErr_Occurred()) SWIG_fail; | |
20399 | } | |
20400 | Py_INCREF(Py_None); resultobj = Py_None; | |
322913ce RD |
20401 | { |
20402 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20403 | resultobj = t_output_helper(resultobj,o); | |
20404 | } | |
20405 | { | |
20406 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20407 | resultobj = t_output_helper(resultobj,o); | |
20408 | } | |
d14a1e28 RD |
20409 | return resultobj; |
20410 | fail: | |
20411 | return NULL; | |
20412 | } | |
20413 | ||
20414 | ||
20415 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20416 | PyObject *resultobj; | |
20417 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20418 | int arg2 ; | |
20419 | int arg3 ; | |
20420 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20421 | PyObject * obj1 = 0 ; |
20422 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20423 | char *kwnames[] = { |
20424 | (char *) "self",(char *) "w",(char *) "h", NULL | |
20425 | }; | |
20426 | ||
994141e6 | 20427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20430 | arg2 = (int) SWIG_AsInt(obj1); | |
20431 | if (PyErr_Occurred()) SWIG_fail; | |
20432 | arg3 = (int) SWIG_AsInt(obj2); | |
20433 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20434 | { |
20435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20436 | (arg1)->SetPageSizeMM(arg2,arg3); | |
20437 | ||
20438 | wxPyEndAllowThreads(__tstate); | |
20439 | if (PyErr_Occurred()) SWIG_fail; | |
20440 | } | |
20441 | Py_INCREF(Py_None); resultobj = Py_None; | |
20442 | return resultobj; | |
20443 | fail: | |
20444 | return NULL; | |
20445 | } | |
20446 | ||
20447 | ||
20448 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20449 | PyObject *resultobj; | |
20450 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20451 | int *arg2 = (int *) 0 ; | |
20452 | int *arg3 = (int *) 0 ; | |
20453 | int temp2 ; | |
20454 | int temp3 ; | |
20455 | PyObject * obj0 = 0 ; | |
20456 | char *kwnames[] = { | |
20457 | (char *) "self", NULL | |
20458 | }; | |
20459 | ||
20460 | arg2 = &temp2; | |
20461 | arg3 = &temp3; | |
20462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20465 | { |
20466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20467 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20468 | ||
20469 | wxPyEndAllowThreads(__tstate); | |
20470 | if (PyErr_Occurred()) SWIG_fail; | |
20471 | } | |
20472 | Py_INCREF(Py_None); resultobj = Py_None; | |
20473 | { | |
20474 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20475 | resultobj = t_output_helper(resultobj,o); | |
20476 | } | |
20477 | { | |
20478 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20479 | resultobj = t_output_helper(resultobj,o); | |
20480 | } | |
20481 | return resultobj; | |
20482 | fail: | |
20483 | return NULL; | |
20484 | } | |
20485 | ||
20486 | ||
20487 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20488 | PyObject *resultobj; | |
20489 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20490 | int arg2 ; | |
20491 | int arg3 ; | |
20492 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20493 | PyObject * obj1 = 0 ; |
20494 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20495 | char *kwnames[] = { |
20496 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20497 | }; | |
20498 | ||
994141e6 | 20499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20502 | arg2 = (int) SWIG_AsInt(obj1); | |
20503 | if (PyErr_Occurred()) SWIG_fail; | |
20504 | arg3 = (int) SWIG_AsInt(obj2); | |
20505 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20506 | { |
20507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20508 | (arg1)->SetPPIScreen(arg2,arg3); | |
20509 | ||
20510 | wxPyEndAllowThreads(__tstate); | |
20511 | if (PyErr_Occurred()) SWIG_fail; | |
20512 | } | |
20513 | Py_INCREF(Py_None); resultobj = Py_None; | |
20514 | return resultobj; | |
20515 | fail: | |
20516 | return NULL; | |
20517 | } | |
20518 | ||
20519 | ||
20520 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20521 | PyObject *resultobj; | |
20522 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20523 | int *arg2 = (int *) 0 ; | |
20524 | int *arg3 = (int *) 0 ; | |
20525 | int temp2 ; | |
20526 | int temp3 ; | |
20527 | PyObject * obj0 = 0 ; | |
20528 | char *kwnames[] = { | |
20529 | (char *) "self", NULL | |
20530 | }; | |
20531 | ||
20532 | arg2 = &temp2; | |
20533 | arg3 = &temp3; | |
20534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20537 | { |
20538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20539 | (arg1)->GetPPIScreen(arg2,arg3); | |
20540 | ||
20541 | wxPyEndAllowThreads(__tstate); | |
20542 | if (PyErr_Occurred()) SWIG_fail; | |
20543 | } | |
20544 | Py_INCREF(Py_None); resultobj = Py_None; | |
20545 | { | |
20546 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20547 | resultobj = t_output_helper(resultobj,o); | |
20548 | } | |
20549 | { | |
20550 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20551 | resultobj = t_output_helper(resultobj,o); | |
20552 | } | |
20553 | return resultobj; | |
20554 | fail: | |
20555 | return NULL; | |
20556 | } | |
20557 | ||
20558 | ||
20559 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20560 | PyObject *resultobj; | |
20561 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20562 | int arg2 ; | |
20563 | int arg3 ; | |
20564 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20565 | PyObject * obj1 = 0 ; |
20566 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20567 | char *kwnames[] = { |
20568 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20569 | }; | |
20570 | ||
994141e6 | 20571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20574 | arg2 = (int) SWIG_AsInt(obj1); | |
20575 | if (PyErr_Occurred()) SWIG_fail; | |
20576 | arg3 = (int) SWIG_AsInt(obj2); | |
20577 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20578 | { |
20579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20580 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20581 | ||
20582 | wxPyEndAllowThreads(__tstate); | |
20583 | if (PyErr_Occurred()) SWIG_fail; | |
20584 | } | |
20585 | Py_INCREF(Py_None); resultobj = Py_None; | |
20586 | return resultobj; | |
20587 | fail: | |
20588 | return NULL; | |
20589 | } | |
20590 | ||
20591 | ||
20592 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20593 | PyObject *resultobj; | |
20594 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20595 | int *arg2 = (int *) 0 ; | |
20596 | int *arg3 = (int *) 0 ; | |
20597 | int temp2 ; | |
20598 | int temp3 ; | |
20599 | PyObject * obj0 = 0 ; | |
20600 | char *kwnames[] = { | |
20601 | (char *) "self", NULL | |
20602 | }; | |
20603 | ||
20604 | arg2 = &temp2; | |
20605 | arg3 = &temp3; | |
20606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20609 | { |
20610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20611 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20612 | ||
20613 | wxPyEndAllowThreads(__tstate); | |
20614 | if (PyErr_Occurred()) SWIG_fail; | |
20615 | } | |
20616 | Py_INCREF(Py_None); resultobj = Py_None; | |
20617 | { | |
20618 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20619 | resultobj = t_output_helper(resultobj,o); | |
20620 | } | |
20621 | { | |
20622 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20623 | resultobj = t_output_helper(resultobj,o); | |
20624 | } | |
20625 | return resultobj; | |
20626 | fail: | |
20627 | return NULL; | |
20628 | } | |
20629 | ||
20630 | ||
20631 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20632 | PyObject *resultobj; | |
20633 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20634 | bool result; | |
20635 | PyObject * obj0 = 0 ; | |
20636 | char *kwnames[] = { | |
20637 | (char *) "self", NULL | |
20638 | }; | |
20639 | ||
20640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20643 | { |
20644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20645 | result = (bool)(arg1)->IsPreview(); | |
20646 | ||
20647 | wxPyEndAllowThreads(__tstate); | |
20648 | if (PyErr_Occurred()) SWIG_fail; | |
20649 | } | |
4f89f6a3 RD |
20650 | { |
20651 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20652 | } | |
d14a1e28 RD |
20653 | return resultobj; |
20654 | fail: | |
20655 | return NULL; | |
20656 | } | |
20657 | ||
20658 | ||
20659 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20660 | PyObject *resultobj; | |
20661 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20662 | bool arg2 ; | |
20663 | PyObject * obj0 = 0 ; | |
20664 | PyObject * obj1 = 0 ; | |
20665 | char *kwnames[] = { | |
20666 | (char *) "self",(char *) "p", NULL | |
20667 | }; | |
20668 | ||
20669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20672 | arg2 = (bool) SWIG_AsBool(obj1); | |
20673 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20674 | { |
20675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20676 | (arg1)->SetIsPreview(arg2); | |
20677 | ||
20678 | wxPyEndAllowThreads(__tstate); | |
20679 | if (PyErr_Occurred()) SWIG_fail; | |
20680 | } | |
20681 | Py_INCREF(Py_None); resultobj = Py_None; | |
20682 | return resultobj; | |
20683 | fail: | |
20684 | return NULL; | |
20685 | } | |
20686 | ||
20687 | ||
20688 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20689 | PyObject *resultobj; | |
20690 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20691 | int arg2 ; | |
20692 | int arg3 ; | |
20693 | bool result; | |
20694 | PyObject * obj0 = 0 ; | |
994141e6 RD |
20695 | PyObject * obj1 = 0 ; |
20696 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20697 | char *kwnames[] = { |
20698 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20699 | }; | |
20700 | ||
994141e6 | 20701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
20702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20704 | arg2 = (int) SWIG_AsInt(obj1); | |
20705 | if (PyErr_Occurred()) SWIG_fail; | |
20706 | arg3 = (int) SWIG_AsInt(obj2); | |
20707 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20708 | { |
20709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20710 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20711 | ||
20712 | wxPyEndAllowThreads(__tstate); | |
20713 | if (PyErr_Occurred()) SWIG_fail; | |
20714 | } | |
4f89f6a3 RD |
20715 | { |
20716 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20717 | } | |
d14a1e28 RD |
20718 | return resultobj; |
20719 | fail: | |
20720 | return NULL; | |
20721 | } | |
20722 | ||
20723 | ||
20724 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20725 | PyObject *resultobj; | |
20726 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20727 | PyObject * obj0 = 0 ; | |
20728 | char *kwnames[] = { | |
20729 | (char *) "self", NULL | |
20730 | }; | |
20731 | ||
20732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20735 | { |
20736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20737 | (arg1)->base_OnEndDocument(); | |
20738 | ||
20739 | wxPyEndAllowThreads(__tstate); | |
20740 | if (PyErr_Occurred()) SWIG_fail; | |
20741 | } | |
20742 | Py_INCREF(Py_None); resultobj = Py_None; | |
20743 | return resultobj; | |
20744 | fail: | |
20745 | return NULL; | |
20746 | } | |
20747 | ||
20748 | ||
20749 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20750 | PyObject *resultobj; | |
20751 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20752 | PyObject * obj0 = 0 ; | |
20753 | char *kwnames[] = { | |
20754 | (char *) "self", NULL | |
20755 | }; | |
20756 | ||
20757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20760 | { |
20761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20762 | (arg1)->base_OnBeginPrinting(); | |
20763 | ||
20764 | wxPyEndAllowThreads(__tstate); | |
20765 | if (PyErr_Occurred()) SWIG_fail; | |
20766 | } | |
20767 | Py_INCREF(Py_None); resultobj = Py_None; | |
20768 | return resultobj; | |
20769 | fail: | |
20770 | return NULL; | |
20771 | } | |
20772 | ||
20773 | ||
20774 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20775 | PyObject *resultobj; | |
20776 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20777 | PyObject * obj0 = 0 ; | |
20778 | char *kwnames[] = { | |
20779 | (char *) "self", NULL | |
20780 | }; | |
20781 | ||
20782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20783 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20784 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20785 | { |
20786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20787 | (arg1)->base_OnEndPrinting(); | |
20788 | ||
20789 | wxPyEndAllowThreads(__tstate); | |
20790 | if (PyErr_Occurred()) SWIG_fail; | |
20791 | } | |
20792 | Py_INCREF(Py_None); resultobj = Py_None; | |
20793 | return resultobj; | |
20794 | fail: | |
20795 | return NULL; | |
20796 | } | |
20797 | ||
20798 | ||
20799 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20800 | PyObject *resultobj; | |
20801 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20802 | PyObject * obj0 = 0 ; | |
20803 | char *kwnames[] = { | |
20804 | (char *) "self", NULL | |
20805 | }; | |
20806 | ||
20807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20810 | { |
20811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20812 | (arg1)->base_OnPreparePrinting(); | |
20813 | ||
20814 | wxPyEndAllowThreads(__tstate); | |
20815 | if (PyErr_Occurred()) SWIG_fail; | |
20816 | } | |
20817 | Py_INCREF(Py_None); resultobj = Py_None; | |
20818 | return resultobj; | |
20819 | fail: | |
20820 | return NULL; | |
20821 | } | |
20822 | ||
20823 | ||
322913ce RD |
20824 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
20825 | PyObject *resultobj; | |
20826 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20827 | int arg2 ; | |
20828 | bool result; | |
20829 | PyObject * obj0 = 0 ; | |
994141e6 | 20830 | PyObject * obj1 = 0 ; |
322913ce RD |
20831 | char *kwnames[] = { |
20832 | (char *) "self",(char *) "page", NULL | |
20833 | }; | |
20834 | ||
994141e6 | 20835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20838 | arg2 = (int) SWIG_AsInt(obj1); | |
20839 | if (PyErr_Occurred()) SWIG_fail; | |
322913ce RD |
20840 | { |
20841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20842 | result = (bool)(arg1)->base_HasPage(arg2); | |
20843 | ||
20844 | wxPyEndAllowThreads(__tstate); | |
20845 | if (PyErr_Occurred()) SWIG_fail; | |
20846 | } | |
4f89f6a3 RD |
20847 | { |
20848 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20849 | } | |
322913ce RD |
20850 | return resultobj; |
20851 | fail: | |
20852 | return NULL; | |
20853 | } | |
20854 | ||
20855 | ||
d14a1e28 RD |
20856 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
20857 | PyObject *resultobj; | |
20858 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20859 | int *arg2 = (int *) 0 ; | |
20860 | int *arg3 = (int *) 0 ; | |
20861 | int *arg4 = (int *) 0 ; | |
20862 | int *arg5 = (int *) 0 ; | |
20863 | int temp2 ; | |
20864 | int temp3 ; | |
20865 | int temp4 ; | |
20866 | int temp5 ; | |
20867 | PyObject * obj0 = 0 ; | |
20868 | char *kwnames[] = { | |
20869 | (char *) "self", NULL | |
20870 | }; | |
20871 | ||
20872 | arg2 = &temp2; | |
20873 | arg3 = &temp3; | |
20874 | arg4 = &temp4; | |
20875 | arg5 = &temp5; | |
20876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20877 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20879 | { |
20880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20881 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
20882 | ||
20883 | wxPyEndAllowThreads(__tstate); | |
20884 | if (PyErr_Occurred()) SWIG_fail; | |
20885 | } | |
20886 | Py_INCREF(Py_None); resultobj = Py_None; | |
20887 | { | |
20888 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20889 | resultobj = t_output_helper(resultobj,o); | |
20890 | } | |
20891 | { | |
20892 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20893 | resultobj = t_output_helper(resultobj,o); | |
20894 | } | |
20895 | { | |
20896 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
20897 | resultobj = t_output_helper(resultobj,o); | |
20898 | } | |
20899 | { | |
20900 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
20901 | resultobj = t_output_helper(resultobj,o); | |
20902 | } | |
20903 | return resultobj; | |
20904 | fail: | |
20905 | return NULL; | |
20906 | } | |
20907 | ||
20908 | ||
d14a1e28 RD |
20909 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
20910 | PyObject *obj; | |
20911 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20912 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
20913 | Py_INCREF(obj); | |
20914 | return Py_BuildValue((char *)""); | |
20915 | } | |
20916 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20917 | PyObject *resultobj; | |
20918 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20919 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20920 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
20921 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
20922 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
20923 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
20924 | long arg5 = (long) 0 ; | |
20925 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
20926 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
20927 | wxPreviewCanvas *result; | |
20928 | wxPoint temp3 ; | |
20929 | wxSize temp4 ; | |
e811c8ce | 20930 | bool temp6 = False ; |
d14a1e28 RD |
20931 | PyObject * obj0 = 0 ; |
20932 | PyObject * obj1 = 0 ; | |
20933 | PyObject * obj2 = 0 ; | |
20934 | PyObject * obj3 = 0 ; | |
994141e6 | 20935 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
20936 | PyObject * obj5 = 0 ; |
20937 | char *kwnames[] = { | |
20938 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20939 | }; | |
20940 | ||
994141e6 | 20941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
20942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20944 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20946 | if (obj2) { |
20947 | { | |
20948 | arg3 = &temp3; | |
20949 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20950 | } | |
20951 | } | |
20952 | if (obj3) { | |
20953 | { | |
20954 | arg4 = &temp4; | |
20955 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20956 | } | |
20957 | } | |
994141e6 | 20958 | if (obj4) { |
15afbcd0 RD |
20959 | arg5 = (long) SWIG_AsLong(obj4); |
20960 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 20961 | } |
d14a1e28 RD |
20962 | if (obj5) { |
20963 | { | |
20964 | arg6 = wxString_in_helper(obj5); | |
20965 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 20966 | temp6 = True; |
d14a1e28 RD |
20967 | } |
20968 | } | |
20969 | { | |
20970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20971 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20972 | ||
20973 | wxPyEndAllowThreads(__tstate); | |
20974 | if (PyErr_Occurred()) SWIG_fail; | |
20975 | } | |
15afbcd0 | 20976 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
20977 | { |
20978 | if (temp6) | |
20979 | delete arg6; | |
20980 | } | |
20981 | return resultobj; | |
20982 | fail: | |
20983 | { | |
20984 | if (temp6) | |
20985 | delete arg6; | |
20986 | } | |
20987 | return NULL; | |
20988 | } | |
20989 | ||
20990 | ||
20991 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
20992 | PyObject *obj; | |
20993 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20994 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
20995 | Py_INCREF(obj); | |
20996 | return Py_BuildValue((char *)""); | |
20997 | } | |
20998 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20999 | PyObject *resultobj; | |
21000 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21001 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21002 | wxString *arg3 = 0 ; | |
21003 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21004 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21005 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21006 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21007 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
21008 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
21009 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21010 | wxPreviewFrame *result; | |
e811c8ce | 21011 | bool temp3 = False ; |
d14a1e28 RD |
21012 | wxPoint temp4 ; |
21013 | wxSize temp5 ; | |
e811c8ce | 21014 | bool temp7 = False ; |
d14a1e28 RD |
21015 | PyObject * obj0 = 0 ; |
21016 | PyObject * obj1 = 0 ; | |
21017 | PyObject * obj2 = 0 ; | |
21018 | PyObject * obj3 = 0 ; | |
21019 | PyObject * obj4 = 0 ; | |
994141e6 | 21020 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21021 | PyObject * obj6 = 0 ; |
21022 | char *kwnames[] = { | |
21023 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21024 | }; | |
21025 | ||
994141e6 | 21026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
21027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21029 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21031 | { |
21032 | arg3 = wxString_in_helper(obj2); | |
21033 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 21034 | temp3 = True; |
d14a1e28 RD |
21035 | } |
21036 | if (obj3) { | |
21037 | { | |
21038 | arg4 = &temp4; | |
21039 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21040 | } | |
21041 | } | |
21042 | if (obj4) { | |
21043 | { | |
21044 | arg5 = &temp5; | |
21045 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21046 | } | |
21047 | } | |
994141e6 | 21048 | if (obj5) { |
15afbcd0 RD |
21049 | arg6 = (long) SWIG_AsLong(obj5); |
21050 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21051 | } |
d14a1e28 RD |
21052 | if (obj6) { |
21053 | { | |
21054 | arg7 = wxString_in_helper(obj6); | |
21055 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 21056 | temp7 = True; |
d14a1e28 RD |
21057 | } |
21058 | } | |
21059 | { | |
21060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21061 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21062 | ||
21063 | wxPyEndAllowThreads(__tstate); | |
21064 | if (PyErr_Occurred()) SWIG_fail; | |
21065 | } | |
15afbcd0 | 21066 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
21067 | { |
21068 | if (temp3) | |
21069 | delete arg3; | |
21070 | } | |
21071 | { | |
21072 | if (temp7) | |
21073 | delete arg7; | |
21074 | } | |
21075 | return resultobj; | |
21076 | fail: | |
21077 | { | |
21078 | if (temp3) | |
21079 | delete arg3; | |
21080 | } | |
21081 | { | |
21082 | if (temp7) | |
21083 | delete arg7; | |
21084 | } | |
21085 | return NULL; | |
21086 | } | |
21087 | ||
21088 | ||
21089 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21090 | PyObject *resultobj; | |
21091 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21092 | PyObject * obj0 = 0 ; | |
21093 | char *kwnames[] = { | |
21094 | (char *) "self", NULL | |
21095 | }; | |
21096 | ||
21097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21100 | { |
21101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21102 | (arg1)->Initialize(); | |
21103 | ||
21104 | wxPyEndAllowThreads(__tstate); | |
21105 | if (PyErr_Occurred()) SWIG_fail; | |
21106 | } | |
21107 | Py_INCREF(Py_None); resultobj = Py_None; | |
21108 | return resultobj; | |
21109 | fail: | |
21110 | return NULL; | |
21111 | } | |
21112 | ||
21113 | ||
21114 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21115 | PyObject *resultobj; | |
21116 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21117 | PyObject * obj0 = 0 ; | |
21118 | char *kwnames[] = { | |
21119 | (char *) "self", NULL | |
21120 | }; | |
21121 | ||
21122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21125 | { |
21126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21127 | (arg1)->CreateControlBar(); | |
21128 | ||
21129 | wxPyEndAllowThreads(__tstate); | |
21130 | if (PyErr_Occurred()) SWIG_fail; | |
21131 | } | |
21132 | Py_INCREF(Py_None); resultobj = Py_None; | |
21133 | return resultobj; | |
21134 | fail: | |
21135 | return NULL; | |
21136 | } | |
21137 | ||
21138 | ||
21139 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21140 | PyObject *resultobj; | |
21141 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21142 | PyObject * obj0 = 0 ; | |
21143 | char *kwnames[] = { | |
21144 | (char *) "self", NULL | |
21145 | }; | |
21146 | ||
21147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21150 | { |
21151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21152 | (arg1)->CreateCanvas(); | |
21153 | ||
21154 | wxPyEndAllowThreads(__tstate); | |
21155 | if (PyErr_Occurred()) SWIG_fail; | |
21156 | } | |
21157 | Py_INCREF(Py_None); resultobj = Py_None; | |
21158 | return resultobj; | |
21159 | fail: | |
21160 | return NULL; | |
21161 | } | |
21162 | ||
21163 | ||
21164 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21165 | PyObject *resultobj; | |
21166 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21167 | wxPreviewControlBar *result; | |
21168 | PyObject * obj0 = 0 ; | |
21169 | char *kwnames[] = { | |
21170 | (char *) "self", NULL | |
21171 | }; | |
21172 | ||
21173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21176 | { |
21177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21178 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
21179 | ||
21180 | wxPyEndAllowThreads(__tstate); | |
21181 | if (PyErr_Occurred()) SWIG_fail; | |
21182 | } | |
15afbcd0 | 21183 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
21184 | return resultobj; |
21185 | fail: | |
21186 | return NULL; | |
21187 | } | |
21188 | ||
21189 | ||
21190 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
21191 | PyObject *obj; | |
21192 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21193 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
21194 | Py_INCREF(obj); | |
21195 | return Py_BuildValue((char *)""); | |
21196 | } | |
21197 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21198 | PyObject *resultobj; | |
21199 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21200 | long arg2 ; | |
21201 | wxWindow *arg3 = (wxWindow *) 0 ; | |
21202 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21203 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21204 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21205 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21206 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
21207 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
21208 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21209 | wxPreviewControlBar *result; | |
21210 | wxPoint temp4 ; | |
21211 | wxSize temp5 ; | |
e811c8ce | 21212 | bool temp7 = False ; |
d14a1e28 | 21213 | PyObject * obj0 = 0 ; |
994141e6 | 21214 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21215 | PyObject * obj2 = 0 ; |
21216 | PyObject * obj3 = 0 ; | |
21217 | PyObject * obj4 = 0 ; | |
994141e6 | 21218 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21219 | PyObject * obj6 = 0 ; |
21220 | char *kwnames[] = { | |
21221 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21222 | }; | |
21223 | ||
994141e6 | 21224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
21225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21227 | arg2 = (long) SWIG_AsLong(obj1); | |
21228 | if (PyErr_Occurred()) SWIG_fail; | |
21229 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
21230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21231 | if (obj3) { |
21232 | { | |
21233 | arg4 = &temp4; | |
21234 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21235 | } | |
21236 | } | |
21237 | if (obj4) { | |
21238 | { | |
21239 | arg5 = &temp5; | |
21240 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21241 | } | |
21242 | } | |
994141e6 | 21243 | if (obj5) { |
15afbcd0 RD |
21244 | arg6 = (long) SWIG_AsLong(obj5); |
21245 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 21246 | } |
d14a1e28 RD |
21247 | if (obj6) { |
21248 | { | |
21249 | arg7 = wxString_in_helper(obj6); | |
21250 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 21251 | temp7 = True; |
d14a1e28 RD |
21252 | } |
21253 | } | |
21254 | { | |
21255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21256 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21257 | ||
21258 | wxPyEndAllowThreads(__tstate); | |
21259 | if (PyErr_Occurred()) SWIG_fail; | |
21260 | } | |
15afbcd0 | 21261 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
21262 | { |
21263 | if (temp7) | |
21264 | delete arg7; | |
21265 | } | |
21266 | return resultobj; | |
21267 | fail: | |
21268 | { | |
21269 | if (temp7) | |
21270 | delete arg7; | |
21271 | } | |
21272 | return NULL; | |
21273 | } | |
21274 | ||
21275 | ||
21276 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21277 | PyObject *resultobj; | |
21278 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21279 | int result; | |
21280 | PyObject * obj0 = 0 ; | |
21281 | char *kwnames[] = { | |
21282 | (char *) "self", NULL | |
21283 | }; | |
21284 | ||
21285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21288 | { |
21289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21290 | result = (int)(arg1)->GetZoomControl(); | |
21291 | ||
21292 | wxPyEndAllowThreads(__tstate); | |
21293 | if (PyErr_Occurred()) SWIG_fail; | |
21294 | } | |
15afbcd0 | 21295 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21296 | return resultobj; |
21297 | fail: | |
21298 | return NULL; | |
21299 | } | |
21300 | ||
21301 | ||
21302 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21303 | PyObject *resultobj; | |
21304 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21305 | int arg2 ; | |
21306 | PyObject * obj0 = 0 ; | |
994141e6 | 21307 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21308 | char *kwnames[] = { |
21309 | (char *) "self",(char *) "zoom", NULL | |
21310 | }; | |
21311 | ||
994141e6 | 21312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21315 | arg2 = (int) SWIG_AsInt(obj1); | |
21316 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21317 | { |
21318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21319 | (arg1)->SetZoomControl(arg2); | |
21320 | ||
21321 | wxPyEndAllowThreads(__tstate); | |
21322 | if (PyErr_Occurred()) SWIG_fail; | |
21323 | } | |
21324 | Py_INCREF(Py_None); resultobj = Py_None; | |
21325 | return resultobj; | |
21326 | fail: | |
21327 | return NULL; | |
21328 | } | |
21329 | ||
21330 | ||
21331 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21332 | PyObject *resultobj; | |
21333 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21334 | wxPrintPreview *result; | |
21335 | PyObject * obj0 = 0 ; | |
21336 | char *kwnames[] = { | |
21337 | (char *) "self", NULL | |
21338 | }; | |
21339 | ||
21340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21343 | { |
21344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21345 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
21346 | ||
21347 | wxPyEndAllowThreads(__tstate); | |
21348 | if (PyErr_Occurred()) SWIG_fail; | |
21349 | } | |
15afbcd0 | 21350 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
21351 | return resultobj; |
21352 | fail: | |
21353 | return NULL; | |
21354 | } | |
21355 | ||
21356 | ||
21357 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21358 | PyObject *resultobj; | |
21359 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21360 | PyObject * obj0 = 0 ; | |
21361 | char *kwnames[] = { | |
21362 | (char *) "self", NULL | |
21363 | }; | |
21364 | ||
21365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21368 | { |
21369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21370 | (arg1)->OnNext(); | |
21371 | ||
21372 | wxPyEndAllowThreads(__tstate); | |
21373 | if (PyErr_Occurred()) SWIG_fail; | |
21374 | } | |
21375 | Py_INCREF(Py_None); resultobj = Py_None; | |
21376 | return resultobj; | |
21377 | fail: | |
21378 | return NULL; | |
21379 | } | |
21380 | ||
21381 | ||
21382 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21383 | PyObject *resultobj; | |
21384 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21385 | PyObject * obj0 = 0 ; | |
21386 | char *kwnames[] = { | |
21387 | (char *) "self", NULL | |
21388 | }; | |
21389 | ||
21390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21393 | { |
21394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21395 | (arg1)->OnPrevious(); | |
21396 | ||
21397 | wxPyEndAllowThreads(__tstate); | |
21398 | if (PyErr_Occurred()) SWIG_fail; | |
21399 | } | |
21400 | Py_INCREF(Py_None); resultobj = Py_None; | |
21401 | return resultobj; | |
21402 | fail: | |
21403 | return NULL; | |
21404 | } | |
21405 | ||
21406 | ||
21407 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21408 | PyObject *resultobj; | |
21409 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21410 | PyObject * obj0 = 0 ; | |
21411 | char *kwnames[] = { | |
21412 | (char *) "self", NULL | |
21413 | }; | |
21414 | ||
21415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21416 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21418 | { |
21419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21420 | (arg1)->OnFirst(); | |
21421 | ||
21422 | wxPyEndAllowThreads(__tstate); | |
21423 | if (PyErr_Occurred()) SWIG_fail; | |
21424 | } | |
21425 | Py_INCREF(Py_None); resultobj = Py_None; | |
21426 | return resultobj; | |
21427 | fail: | |
21428 | return NULL; | |
21429 | } | |
21430 | ||
21431 | ||
21432 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21433 | PyObject *resultobj; | |
21434 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21435 | PyObject * obj0 = 0 ; | |
21436 | char *kwnames[] = { | |
21437 | (char *) "self", NULL | |
21438 | }; | |
21439 | ||
21440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21441 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21442 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21443 | { |
21444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21445 | (arg1)->OnLast(); | |
21446 | ||
21447 | wxPyEndAllowThreads(__tstate); | |
21448 | if (PyErr_Occurred()) SWIG_fail; | |
21449 | } | |
21450 | Py_INCREF(Py_None); resultobj = Py_None; | |
21451 | return resultobj; | |
21452 | fail: | |
21453 | return NULL; | |
21454 | } | |
21455 | ||
21456 | ||
21457 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21458 | PyObject *resultobj; | |
21459 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21460 | PyObject * obj0 = 0 ; | |
21461 | char *kwnames[] = { | |
21462 | (char *) "self", NULL | |
21463 | }; | |
21464 | ||
21465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21468 | { |
21469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21470 | (arg1)->OnGoto(); | |
21471 | ||
21472 | wxPyEndAllowThreads(__tstate); | |
21473 | if (PyErr_Occurred()) SWIG_fail; | |
21474 | } | |
21475 | Py_INCREF(Py_None); resultobj = Py_None; | |
21476 | return resultobj; | |
21477 | fail: | |
21478 | return NULL; | |
21479 | } | |
21480 | ||
21481 | ||
21482 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21483 | PyObject *obj; | |
21484 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21485 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21486 | Py_INCREF(obj); | |
21487 | return Py_BuildValue((char *)""); | |
21488 | } | |
4276dc52 | 21489 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
21490 | PyObject *resultobj; |
21491 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21492 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 21493 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
21494 | wxPrintPreview *result; |
21495 | PyObject * obj0 = 0 ; | |
21496 | PyObject * obj1 = 0 ; | |
21497 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21498 | |
4276dc52 | 21499 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
21500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21502 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21504 | if (obj2) { |
4276dc52 | 21505 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 21506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
21507 | } |
21508 | { | |
21509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21510 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21511 | ||
21512 | wxPyEndAllowThreads(__tstate); | |
21513 | if (PyErr_Occurred()) SWIG_fail; | |
21514 | } | |
15afbcd0 | 21515 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
21516 | return resultobj; |
21517 | fail: | |
21518 | return NULL; | |
21519 | } | |
21520 | ||
21521 | ||
4276dc52 RD |
21522 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
21523 | PyObject *resultobj; | |
21524 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21525 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21526 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
21527 | wxPrintPreview *result; | |
21528 | PyObject * obj0 = 0 ; | |
21529 | PyObject * obj1 = 0 ; | |
21530 | PyObject * obj2 = 0 ; | |
21531 | ||
21532 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
21533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
21534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21535 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21537 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
21538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21539 | { | |
21540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21541 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21542 | ||
21543 | wxPyEndAllowThreads(__tstate); | |
21544 | if (PyErr_Occurred()) SWIG_fail; | |
21545 | } | |
21546 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
21547 | return resultobj; | |
21548 | fail: | |
21549 | return NULL; | |
21550 | } | |
21551 | ||
21552 | ||
21553 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
21554 | int argc; | |
21555 | PyObject *argv[4]; | |
21556 | int ii; | |
21557 | ||
21558 | argc = PyObject_Length(args); | |
21559 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
21560 | argv[ii] = PyTuple_GetItem(args,ii); | |
21561 | } | |
21562 | if ((argc >= 2) && (argc <= 3)) { | |
21563 | int _v; | |
21564 | { | |
21565 | void *ptr; | |
21566 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21567 | _v = 0; | |
21568 | PyErr_Clear(); | |
21569 | } else { | |
21570 | _v = 1; | |
21571 | } | |
21572 | } | |
21573 | if (_v) { | |
21574 | { | |
21575 | void *ptr; | |
21576 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21577 | _v = 0; | |
21578 | PyErr_Clear(); | |
21579 | } else { | |
21580 | _v = 1; | |
21581 | } | |
21582 | } | |
21583 | if (_v) { | |
21584 | if (argc <= 2) { | |
21585 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21586 | } | |
21587 | { | |
21588 | void *ptr; | |
21589 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
21590 | _v = 0; | |
21591 | PyErr_Clear(); | |
21592 | } else { | |
21593 | _v = 1; | |
21594 | } | |
21595 | } | |
21596 | if (_v) { | |
21597 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21598 | } | |
21599 | } | |
21600 | } | |
21601 | } | |
21602 | if (argc == 3) { | |
21603 | int _v; | |
21604 | { | |
21605 | void *ptr; | |
21606 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21607 | _v = 0; | |
21608 | PyErr_Clear(); | |
21609 | } else { | |
21610 | _v = 1; | |
21611 | } | |
21612 | } | |
21613 | if (_v) { | |
21614 | { | |
21615 | void *ptr; | |
21616 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21617 | _v = 0; | |
21618 | PyErr_Clear(); | |
21619 | } else { | |
21620 | _v = 1; | |
21621 | } | |
21622 | } | |
21623 | if (_v) { | |
21624 | { | |
21625 | void *ptr; | |
21626 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21627 | _v = 0; | |
21628 | PyErr_Clear(); | |
21629 | } else { | |
21630 | _v = 1; | |
21631 | } | |
21632 | } | |
21633 | if (_v) { | |
21634 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
21635 | } | |
21636 | } | |
21637 | } | |
21638 | } | |
21639 | ||
21640 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
21641 | return NULL; | |
21642 | } | |
21643 | ||
21644 | ||
d14a1e28 RD |
21645 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
21646 | PyObject *resultobj; | |
21647 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21648 | int arg2 ; | |
21649 | bool result; | |
21650 | PyObject * obj0 = 0 ; | |
994141e6 | 21651 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21652 | char *kwnames[] = { |
21653 | (char *) "self",(char *) "pageNum", NULL | |
21654 | }; | |
21655 | ||
994141e6 | 21656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21659 | arg2 = (int) SWIG_AsInt(obj1); | |
21660 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21661 | { |
21662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21663 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21664 | ||
21665 | wxPyEndAllowThreads(__tstate); | |
21666 | if (PyErr_Occurred()) SWIG_fail; | |
21667 | } | |
4f89f6a3 RD |
21668 | { |
21669 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21670 | } | |
d14a1e28 RD |
21671 | return resultobj; |
21672 | fail: | |
21673 | return NULL; | |
21674 | } | |
21675 | ||
21676 | ||
21677 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21678 | PyObject *resultobj; | |
21679 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21680 | int result; | |
21681 | PyObject * obj0 = 0 ; | |
21682 | char *kwnames[] = { | |
21683 | (char *) "self", NULL | |
21684 | }; | |
21685 | ||
21686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21687 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21688 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21689 | { |
21690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21691 | result = (int)(arg1)->GetCurrentPage(); | |
21692 | ||
21693 | wxPyEndAllowThreads(__tstate); | |
21694 | if (PyErr_Occurred()) SWIG_fail; | |
21695 | } | |
15afbcd0 | 21696 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21697 | return resultobj; |
21698 | fail: | |
21699 | return NULL; | |
21700 | } | |
21701 | ||
21702 | ||
21703 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21704 | PyObject *resultobj; | |
21705 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21706 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21707 | PyObject * obj0 = 0 ; | |
21708 | PyObject * obj1 = 0 ; | |
21709 | char *kwnames[] = { | |
21710 | (char *) "self",(char *) "printout", NULL | |
21711 | }; | |
21712 | ||
21713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21716 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21717 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21718 | { |
21719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21720 | (arg1)->SetPrintout(arg2); | |
21721 | ||
21722 | wxPyEndAllowThreads(__tstate); | |
21723 | if (PyErr_Occurred()) SWIG_fail; | |
21724 | } | |
21725 | Py_INCREF(Py_None); resultobj = Py_None; | |
21726 | return resultobj; | |
21727 | fail: | |
21728 | return NULL; | |
21729 | } | |
21730 | ||
21731 | ||
21732 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21733 | PyObject *resultobj; | |
21734 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21735 | wxPyPrintout *result; | |
21736 | PyObject * obj0 = 0 ; | |
21737 | char *kwnames[] = { | |
21738 | (char *) "self", NULL | |
21739 | }; | |
21740 | ||
21741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21744 | { |
21745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21746 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21747 | ||
21748 | wxPyEndAllowThreads(__tstate); | |
21749 | if (PyErr_Occurred()) SWIG_fail; | |
21750 | } | |
21751 | { | |
21752 | resultobj = wxPyMake_wxObject(result); | |
21753 | } | |
21754 | return resultobj; | |
21755 | fail: | |
21756 | return NULL; | |
21757 | } | |
21758 | ||
21759 | ||
21760 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21761 | PyObject *resultobj; | |
21762 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21763 | wxPyPrintout *result; | |
21764 | PyObject * obj0 = 0 ; | |
21765 | char *kwnames[] = { | |
21766 | (char *) "self", NULL | |
21767 | }; | |
21768 | ||
21769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21772 | { |
21773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21774 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21775 | ||
21776 | wxPyEndAllowThreads(__tstate); | |
21777 | if (PyErr_Occurred()) SWIG_fail; | |
21778 | } | |
21779 | { | |
21780 | resultobj = wxPyMake_wxObject(result); | |
21781 | } | |
21782 | return resultobj; | |
21783 | fail: | |
21784 | return NULL; | |
21785 | } | |
21786 | ||
21787 | ||
21788 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21789 | PyObject *resultobj; | |
21790 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21791 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21792 | PyObject * obj0 = 0 ; | |
21793 | PyObject * obj1 = 0 ; | |
21794 | char *kwnames[] = { | |
21795 | (char *) "self",(char *) "frame", NULL | |
21796 | }; | |
21797 | ||
21798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21801 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21803 | { |
21804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21805 | (arg1)->SetFrame(arg2); | |
21806 | ||
21807 | wxPyEndAllowThreads(__tstate); | |
21808 | if (PyErr_Occurred()) SWIG_fail; | |
21809 | } | |
21810 | Py_INCREF(Py_None); resultobj = Py_None; | |
21811 | return resultobj; | |
21812 | fail: | |
21813 | return NULL; | |
21814 | } | |
21815 | ||
21816 | ||
21817 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21818 | PyObject *resultobj; | |
21819 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21820 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21821 | PyObject * obj0 = 0 ; | |
21822 | PyObject * obj1 = 0 ; | |
21823 | char *kwnames[] = { | |
21824 | (char *) "self",(char *) "canvas", NULL | |
21825 | }; | |
21826 | ||
21827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21830 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21832 | { |
21833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21834 | (arg1)->SetCanvas(arg2); | |
21835 | ||
21836 | wxPyEndAllowThreads(__tstate); | |
21837 | if (PyErr_Occurred()) SWIG_fail; | |
21838 | } | |
21839 | Py_INCREF(Py_None); resultobj = Py_None; | |
21840 | return resultobj; | |
21841 | fail: | |
21842 | return NULL; | |
21843 | } | |
21844 | ||
21845 | ||
21846 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21847 | PyObject *resultobj; | |
21848 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21849 | wxFrame *result; | |
21850 | PyObject * obj0 = 0 ; | |
21851 | char *kwnames[] = { | |
21852 | (char *) "self", NULL | |
21853 | }; | |
21854 | ||
21855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21858 | { |
21859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21860 | result = (wxFrame *)(arg1)->GetFrame(); | |
21861 | ||
21862 | wxPyEndAllowThreads(__tstate); | |
21863 | if (PyErr_Occurred()) SWIG_fail; | |
21864 | } | |
21865 | { | |
21866 | resultobj = wxPyMake_wxObject(result); | |
21867 | } | |
21868 | return resultobj; | |
21869 | fail: | |
21870 | return NULL; | |
21871 | } | |
21872 | ||
21873 | ||
21874 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21875 | PyObject *resultobj; | |
21876 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21877 | wxPreviewCanvas *result; | |
21878 | PyObject * obj0 = 0 ; | |
21879 | char *kwnames[] = { | |
21880 | (char *) "self", NULL | |
21881 | }; | |
21882 | ||
21883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21886 | { |
21887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21888 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
21889 | ||
21890 | wxPyEndAllowThreads(__tstate); | |
21891 | if (PyErr_Occurred()) SWIG_fail; | |
21892 | } | |
15afbcd0 | 21893 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
21894 | return resultobj; |
21895 | fail: | |
21896 | return NULL; | |
21897 | } | |
21898 | ||
21899 | ||
21900 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21901 | PyObject *resultobj; | |
21902 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21903 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21904 | wxDC *arg3 = 0 ; | |
21905 | bool result; | |
21906 | PyObject * obj0 = 0 ; | |
21907 | PyObject * obj1 = 0 ; | |
21908 | PyObject * obj2 = 0 ; | |
21909 | char *kwnames[] = { | |
21910 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21911 | }; | |
21912 | ||
21913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21916 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21918 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21919 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21920 | SWIG_fail; | |
d14a1e28 | 21921 | if (arg3 == NULL) { |
15afbcd0 RD |
21922 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21923 | SWIG_fail; | |
d14a1e28 RD |
21924 | } |
21925 | { | |
21926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21927 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
21928 | ||
21929 | wxPyEndAllowThreads(__tstate); | |
21930 | if (PyErr_Occurred()) SWIG_fail; | |
21931 | } | |
4f89f6a3 RD |
21932 | { |
21933 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21934 | } | |
d14a1e28 RD |
21935 | return resultobj; |
21936 | fail: | |
21937 | return NULL; | |
21938 | } | |
21939 | ||
21940 | ||
21941 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21942 | PyObject *resultobj; | |
21943 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21944 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21945 | wxDC *arg3 = 0 ; | |
21946 | bool result; | |
21947 | PyObject * obj0 = 0 ; | |
21948 | PyObject * obj1 = 0 ; | |
21949 | PyObject * obj2 = 0 ; | |
21950 | char *kwnames[] = { | |
21951 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21952 | }; | |
21953 | ||
21954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
21955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21957 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21959 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21960 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21961 | SWIG_fail; | |
d14a1e28 | 21962 | if (arg3 == NULL) { |
15afbcd0 RD |
21963 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21964 | SWIG_fail; | |
d14a1e28 RD |
21965 | } |
21966 | { | |
21967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21968 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
21969 | ||
21970 | wxPyEndAllowThreads(__tstate); | |
21971 | if (PyErr_Occurred()) SWIG_fail; | |
21972 | } | |
4f89f6a3 RD |
21973 | { |
21974 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21975 | } | |
d14a1e28 RD |
21976 | return resultobj; |
21977 | fail: | |
21978 | return NULL; | |
21979 | } | |
21980 | ||
21981 | ||
21982 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21983 | PyObject *resultobj; | |
21984 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21985 | int arg2 ; | |
21986 | bool result; | |
21987 | PyObject * obj0 = 0 ; | |
994141e6 | 21988 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21989 | char *kwnames[] = { |
21990 | (char *) "self",(char *) "pageNum", NULL | |
21991 | }; | |
21992 | ||
994141e6 | 21993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21996 | arg2 = (int) SWIG_AsInt(obj1); | |
21997 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21998 | { |
21999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22000 | result = (bool)(arg1)->RenderPage(arg2); | |
22001 | ||
22002 | wxPyEndAllowThreads(__tstate); | |
22003 | if (PyErr_Occurred()) SWIG_fail; | |
22004 | } | |
4f89f6a3 RD |
22005 | { |
22006 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22007 | } | |
d14a1e28 RD |
22008 | return resultobj; |
22009 | fail: | |
22010 | return NULL; | |
22011 | } | |
22012 | ||
22013 | ||
22014 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22015 | PyObject *resultobj; | |
22016 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22017 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22018 | PyObject * obj0 = 0 ; | |
22019 | PyObject * obj1 = 0 ; | |
22020 | char *kwnames[] = { | |
22021 | (char *) "self",(char *) "canvas", NULL | |
22022 | }; | |
22023 | ||
22024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22027 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22029 | { |
22030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22031 | (arg1)->AdjustScrollbars(arg2); | |
22032 | ||
22033 | wxPyEndAllowThreads(__tstate); | |
22034 | if (PyErr_Occurred()) SWIG_fail; | |
22035 | } | |
22036 | Py_INCREF(Py_None); resultobj = Py_None; | |
22037 | return resultobj; | |
22038 | fail: | |
22039 | return NULL; | |
22040 | } | |
22041 | ||
22042 | ||
22043 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22044 | PyObject *resultobj; | |
22045 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22046 | wxPrintDialogData *result; | |
22047 | PyObject * obj0 = 0 ; | |
22048 | char *kwnames[] = { | |
22049 | (char *) "self", NULL | |
22050 | }; | |
22051 | ||
22052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22055 | { |
22056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22057 | { | |
22058 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
22059 | result = (wxPrintDialogData *) &_result_ref; | |
22060 | } | |
22061 | ||
22062 | wxPyEndAllowThreads(__tstate); | |
22063 | if (PyErr_Occurred()) SWIG_fail; | |
22064 | } | |
15afbcd0 | 22065 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
22066 | return resultobj; |
22067 | fail: | |
22068 | return NULL; | |
22069 | } | |
22070 | ||
22071 | ||
22072 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22073 | PyObject *resultobj; | |
22074 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22075 | int arg2 ; | |
22076 | PyObject * obj0 = 0 ; | |
994141e6 | 22077 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22078 | char *kwnames[] = { |
22079 | (char *) "self",(char *) "percent", NULL | |
22080 | }; | |
22081 | ||
994141e6 | 22082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22083 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22084 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22085 | arg2 = (int) SWIG_AsInt(obj1); | |
22086 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22087 | { |
22088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22089 | (arg1)->SetZoom(arg2); | |
22090 | ||
22091 | wxPyEndAllowThreads(__tstate); | |
22092 | if (PyErr_Occurred()) SWIG_fail; | |
22093 | } | |
22094 | Py_INCREF(Py_None); resultobj = Py_None; | |
22095 | return resultobj; | |
22096 | fail: | |
22097 | return NULL; | |
22098 | } | |
22099 | ||
22100 | ||
22101 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22102 | PyObject *resultobj; | |
22103 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22104 | int result; | |
22105 | PyObject * obj0 = 0 ; | |
22106 | char *kwnames[] = { | |
22107 | (char *) "self", NULL | |
22108 | }; | |
22109 | ||
22110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22113 | { |
22114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22115 | result = (int)(arg1)->GetZoom(); | |
22116 | ||
22117 | wxPyEndAllowThreads(__tstate); | |
22118 | if (PyErr_Occurred()) SWIG_fail; | |
22119 | } | |
15afbcd0 | 22120 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22121 | return resultobj; |
22122 | fail: | |
22123 | return NULL; | |
22124 | } | |
22125 | ||
22126 | ||
22127 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22128 | PyObject *resultobj; | |
22129 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22130 | int result; | |
22131 | PyObject * obj0 = 0 ; | |
22132 | char *kwnames[] = { | |
22133 | (char *) "self", NULL | |
22134 | }; | |
22135 | ||
22136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22139 | { |
22140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22141 | result = (int)(arg1)->GetMaxPage(); | |
22142 | ||
22143 | wxPyEndAllowThreads(__tstate); | |
22144 | if (PyErr_Occurred()) SWIG_fail; | |
22145 | } | |
15afbcd0 | 22146 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22147 | return resultobj; |
22148 | fail: | |
22149 | return NULL; | |
22150 | } | |
22151 | ||
22152 | ||
22153 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22154 | PyObject *resultobj; | |
22155 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22156 | int result; | |
22157 | PyObject * obj0 = 0 ; | |
22158 | char *kwnames[] = { | |
22159 | (char *) "self", NULL | |
22160 | }; | |
22161 | ||
22162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22165 | { |
22166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22167 | result = (int)(arg1)->GetMinPage(); | |
22168 | ||
22169 | wxPyEndAllowThreads(__tstate); | |
22170 | if (PyErr_Occurred()) SWIG_fail; | |
22171 | } | |
15afbcd0 | 22172 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22173 | return resultobj; |
22174 | fail: | |
22175 | return NULL; | |
22176 | } | |
22177 | ||
22178 | ||
22179 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22180 | PyObject *resultobj; | |
22181 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22182 | bool result; | |
22183 | PyObject * obj0 = 0 ; | |
22184 | char *kwnames[] = { | |
22185 | (char *) "self", NULL | |
22186 | }; | |
22187 | ||
22188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22191 | { |
22192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22193 | result = (bool)(arg1)->Ok(); | |
22194 | ||
22195 | wxPyEndAllowThreads(__tstate); | |
22196 | if (PyErr_Occurred()) SWIG_fail; | |
22197 | } | |
4f89f6a3 RD |
22198 | { |
22199 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22200 | } | |
d14a1e28 RD |
22201 | return resultobj; |
22202 | fail: | |
22203 | return NULL; | |
22204 | } | |
22205 | ||
22206 | ||
22207 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22208 | PyObject *resultobj; | |
22209 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22210 | bool arg2 ; | |
22211 | PyObject * obj0 = 0 ; | |
22212 | PyObject * obj1 = 0 ; | |
22213 | char *kwnames[] = { | |
22214 | (char *) "self",(char *) "ok", NULL | |
22215 | }; | |
22216 | ||
22217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22220 | arg2 = (bool) SWIG_AsBool(obj1); | |
22221 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22222 | { |
22223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22224 | (arg1)->SetOk(arg2); | |
22225 | ||
22226 | wxPyEndAllowThreads(__tstate); | |
22227 | if (PyErr_Occurred()) SWIG_fail; | |
22228 | } | |
22229 | Py_INCREF(Py_None); resultobj = Py_None; | |
22230 | return resultobj; | |
22231 | fail: | |
22232 | return NULL; | |
22233 | } | |
22234 | ||
22235 | ||
22236 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22237 | PyObject *resultobj; | |
22238 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22239 | bool arg2 ; | |
22240 | bool result; | |
22241 | PyObject * obj0 = 0 ; | |
22242 | PyObject * obj1 = 0 ; | |
22243 | char *kwnames[] = { | |
22244 | (char *) "self",(char *) "interactive", NULL | |
22245 | }; | |
22246 | ||
22247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22250 | arg2 = (bool) SWIG_AsBool(obj1); | |
22251 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22252 | { |
22253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22254 | result = (bool)(arg1)->Print(arg2); | |
22255 | ||
22256 | wxPyEndAllowThreads(__tstate); | |
22257 | if (PyErr_Occurred()) SWIG_fail; | |
22258 | } | |
4f89f6a3 RD |
22259 | { |
22260 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22261 | } | |
d14a1e28 RD |
22262 | return resultobj; |
22263 | fail: | |
22264 | return NULL; | |
22265 | } | |
22266 | ||
22267 | ||
22268 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22269 | PyObject *resultobj; | |
22270 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22271 | PyObject * obj0 = 0 ; | |
22272 | char *kwnames[] = { | |
22273 | (char *) "self", NULL | |
22274 | }; | |
22275 | ||
22276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22279 | { |
22280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22281 | (arg1)->DetermineScaling(); | |
22282 | ||
22283 | wxPyEndAllowThreads(__tstate); | |
22284 | if (PyErr_Occurred()) SWIG_fail; | |
22285 | } | |
22286 | Py_INCREF(Py_None); resultobj = Py_None; | |
22287 | return resultobj; | |
22288 | fail: | |
22289 | return NULL; | |
22290 | } | |
22291 | ||
22292 | ||
22293 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22294 | PyObject *obj; | |
22295 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22296 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
22297 | Py_INCREF(obj); | |
22298 | return Py_BuildValue((char *)""); | |
22299 | } | |
4276dc52 | 22300 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
22301 | PyObject *resultobj; |
22302 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22303 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 22304 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
22305 | wxPyPrintPreview *result; |
22306 | PyObject * obj0 = 0 ; | |
22307 | PyObject * obj1 = 0 ; | |
22308 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22309 | |
4276dc52 | 22310 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22313 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22315 | if (obj2) { |
4276dc52 | 22316 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 22317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22318 | } |
22319 | { | |
22320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22321 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22322 | ||
22323 | wxPyEndAllowThreads(__tstate); | |
22324 | if (PyErr_Occurred()) SWIG_fail; | |
22325 | } | |
15afbcd0 | 22326 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
22327 | return resultobj; |
22328 | fail: | |
22329 | return NULL; | |
22330 | } | |
22331 | ||
22332 | ||
4276dc52 RD |
22333 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
22334 | PyObject *resultobj; | |
22335 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22336 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22337 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
22338 | wxPyPrintPreview *result; | |
22339 | PyObject * obj0 = 0 ; | |
22340 | PyObject * obj1 = 0 ; | |
22341 | PyObject * obj2 = 0 ; | |
22342 | ||
22343 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
22344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22346 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22348 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
22349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22350 | { | |
22351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22352 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22353 | ||
22354 | wxPyEndAllowThreads(__tstate); | |
22355 | if (PyErr_Occurred()) SWIG_fail; | |
22356 | } | |
22357 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
22358 | return resultobj; | |
22359 | fail: | |
22360 | return NULL; | |
22361 | } | |
22362 | ||
22363 | ||
22364 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
22365 | int argc; | |
22366 | PyObject *argv[4]; | |
22367 | int ii; | |
22368 | ||
22369 | argc = PyObject_Length(args); | |
22370 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
22371 | argv[ii] = PyTuple_GetItem(args,ii); | |
22372 | } | |
22373 | if ((argc >= 2) && (argc <= 3)) { | |
22374 | int _v; | |
22375 | { | |
22376 | void *ptr; | |
22377 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22378 | _v = 0; | |
22379 | PyErr_Clear(); | |
22380 | } else { | |
22381 | _v = 1; | |
22382 | } | |
22383 | } | |
22384 | if (_v) { | |
22385 | { | |
22386 | void *ptr; | |
22387 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22388 | _v = 0; | |
22389 | PyErr_Clear(); | |
22390 | } else { | |
22391 | _v = 1; | |
22392 | } | |
22393 | } | |
22394 | if (_v) { | |
22395 | if (argc <= 2) { | |
22396 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22397 | } | |
22398 | { | |
22399 | void *ptr; | |
22400 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22401 | _v = 0; | |
22402 | PyErr_Clear(); | |
22403 | } else { | |
22404 | _v = 1; | |
22405 | } | |
22406 | } | |
22407 | if (_v) { | |
22408 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22409 | } | |
22410 | } | |
22411 | } | |
22412 | } | |
22413 | if (argc == 3) { | |
22414 | int _v; | |
22415 | { | |
22416 | void *ptr; | |
22417 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22418 | _v = 0; | |
22419 | PyErr_Clear(); | |
22420 | } else { | |
22421 | _v = 1; | |
22422 | } | |
22423 | } | |
22424 | if (_v) { | |
22425 | { | |
22426 | void *ptr; | |
22427 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22428 | _v = 0; | |
22429 | PyErr_Clear(); | |
22430 | } else { | |
22431 | _v = 1; | |
22432 | } | |
22433 | } | |
22434 | if (_v) { | |
22435 | { | |
22436 | void *ptr; | |
22437 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
22438 | _v = 0; | |
22439 | PyErr_Clear(); | |
22440 | } else { | |
22441 | _v = 1; | |
22442 | } | |
22443 | } | |
22444 | if (_v) { | |
22445 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
22446 | } | |
22447 | } | |
22448 | } | |
22449 | } | |
22450 | ||
22451 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
22452 | return NULL; | |
22453 | } | |
22454 | ||
22455 | ||
d14a1e28 RD |
22456 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
22457 | PyObject *resultobj; | |
22458 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22459 | PyObject *arg2 = (PyObject *) 0 ; | |
22460 | PyObject *arg3 = (PyObject *) 0 ; | |
22461 | PyObject * obj0 = 0 ; | |
22462 | PyObject * obj1 = 0 ; | |
22463 | PyObject * obj2 = 0 ; | |
22464 | char *kwnames[] = { | |
22465 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22466 | }; | |
22467 | ||
22468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22471 | arg2 = obj1; |
22472 | arg3 = obj2; | |
22473 | { | |
22474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22475 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22476 | ||
22477 | wxPyEndAllowThreads(__tstate); | |
22478 | if (PyErr_Occurred()) SWIG_fail; | |
22479 | } | |
22480 | Py_INCREF(Py_None); resultobj = Py_None; | |
22481 | return resultobj; | |
22482 | fail: | |
22483 | return NULL; | |
22484 | } | |
22485 | ||
22486 | ||
22487 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22488 | PyObject *resultobj; | |
22489 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22490 | int arg2 ; | |
22491 | bool result; | |
22492 | PyObject * obj0 = 0 ; | |
994141e6 | 22493 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22494 | char *kwnames[] = { |
22495 | (char *) "self",(char *) "pageNum", NULL | |
22496 | }; | |
22497 | ||
994141e6 | 22498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22501 | arg2 = (int) SWIG_AsInt(obj1); | |
22502 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22503 | { |
22504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22505 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
22506 | ||
22507 | wxPyEndAllowThreads(__tstate); | |
22508 | if (PyErr_Occurred()) SWIG_fail; | |
22509 | } | |
4f89f6a3 RD |
22510 | { |
22511 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22512 | } | |
d14a1e28 RD |
22513 | return resultobj; |
22514 | fail: | |
22515 | return NULL; | |
22516 | } | |
22517 | ||
22518 | ||
22519 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22520 | PyObject *resultobj; | |
22521 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22522 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22523 | wxDC *arg3 = 0 ; | |
22524 | bool result; | |
22525 | PyObject * obj0 = 0 ; | |
22526 | PyObject * obj1 = 0 ; | |
22527 | PyObject * obj2 = 0 ; | |
22528 | char *kwnames[] = { | |
22529 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22530 | }; | |
22531 | ||
22532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22535 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22537 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22538 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22539 | SWIG_fail; | |
d14a1e28 | 22540 | if (arg3 == NULL) { |
15afbcd0 RD |
22541 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22542 | SWIG_fail; | |
d14a1e28 RD |
22543 | } |
22544 | { | |
22545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22546 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
22547 | ||
22548 | wxPyEndAllowThreads(__tstate); | |
22549 | if (PyErr_Occurred()) SWIG_fail; | |
22550 | } | |
4f89f6a3 RD |
22551 | { |
22552 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22553 | } | |
d14a1e28 RD |
22554 | return resultobj; |
22555 | fail: | |
22556 | return NULL; | |
22557 | } | |
22558 | ||
22559 | ||
22560 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22561 | PyObject *resultobj; | |
22562 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22563 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22564 | wxDC *arg3 = 0 ; | |
22565 | bool result; | |
22566 | PyObject * obj0 = 0 ; | |
22567 | PyObject * obj1 = 0 ; | |
22568 | PyObject * obj2 = 0 ; | |
22569 | char *kwnames[] = { | |
22570 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22571 | }; | |
22572 | ||
22573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22576 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22578 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22579 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22580 | SWIG_fail; | |
d14a1e28 | 22581 | if (arg3 == NULL) { |
15afbcd0 RD |
22582 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22583 | SWIG_fail; | |
d14a1e28 RD |
22584 | } |
22585 | { | |
22586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22587 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
22588 | ||
22589 | wxPyEndAllowThreads(__tstate); | |
22590 | if (PyErr_Occurred()) SWIG_fail; | |
22591 | } | |
4f89f6a3 RD |
22592 | { |
22593 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22594 | } | |
d14a1e28 RD |
22595 | return resultobj; |
22596 | fail: | |
22597 | return NULL; | |
22598 | } | |
22599 | ||
22600 | ||
22601 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22602 | PyObject *resultobj; | |
22603 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22604 | int arg2 ; | |
22605 | bool result; | |
22606 | PyObject * obj0 = 0 ; | |
994141e6 | 22607 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22608 | char *kwnames[] = { |
22609 | (char *) "self",(char *) "pageNum", NULL | |
22610 | }; | |
22611 | ||
994141e6 | 22612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22615 | arg2 = (int) SWIG_AsInt(obj1); | |
22616 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22617 | { |
22618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22619 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22620 | ||
22621 | wxPyEndAllowThreads(__tstate); | |
22622 | if (PyErr_Occurred()) SWIG_fail; | |
22623 | } | |
4f89f6a3 RD |
22624 | { |
22625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22626 | } | |
d14a1e28 RD |
22627 | return resultobj; |
22628 | fail: | |
22629 | return NULL; | |
22630 | } | |
22631 | ||
22632 | ||
22633 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22634 | PyObject *resultobj; | |
22635 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22636 | int arg2 ; | |
22637 | PyObject * obj0 = 0 ; | |
994141e6 | 22638 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22639 | char *kwnames[] = { |
22640 | (char *) "self",(char *) "percent", NULL | |
22641 | }; | |
22642 | ||
994141e6 | 22643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22644 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22646 | arg2 = (int) SWIG_AsInt(obj1); | |
22647 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22648 | { |
22649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22650 | (arg1)->base_SetZoom(arg2); | |
22651 | ||
22652 | wxPyEndAllowThreads(__tstate); | |
22653 | if (PyErr_Occurred()) SWIG_fail; | |
22654 | } | |
22655 | Py_INCREF(Py_None); resultobj = Py_None; | |
22656 | return resultobj; | |
22657 | fail: | |
22658 | return NULL; | |
22659 | } | |
22660 | ||
22661 | ||
22662 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22663 | PyObject *resultobj; | |
22664 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22665 | bool arg2 ; | |
22666 | bool result; | |
22667 | PyObject * obj0 = 0 ; | |
22668 | PyObject * obj1 = 0 ; | |
22669 | char *kwnames[] = { | |
22670 | (char *) "self",(char *) "interactive", NULL | |
22671 | }; | |
22672 | ||
22673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22676 | arg2 = (bool) SWIG_AsBool(obj1); | |
22677 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22678 | { |
22679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22680 | result = (bool)(arg1)->base_Print(arg2); | |
22681 | ||
22682 | wxPyEndAllowThreads(__tstate); | |
22683 | if (PyErr_Occurred()) SWIG_fail; | |
22684 | } | |
4f89f6a3 RD |
22685 | { |
22686 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22687 | } | |
d14a1e28 RD |
22688 | return resultobj; |
22689 | fail: | |
22690 | return NULL; | |
22691 | } | |
22692 | ||
22693 | ||
22694 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22695 | PyObject *resultobj; | |
22696 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22697 | PyObject * obj0 = 0 ; | |
22698 | char *kwnames[] = { | |
22699 | (char *) "self", NULL | |
22700 | }; | |
22701 | ||
22702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22705 | { |
22706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22707 | (arg1)->base_DetermineScaling(); | |
22708 | ||
22709 | wxPyEndAllowThreads(__tstate); | |
22710 | if (PyErr_Occurred()) SWIG_fail; | |
22711 | } | |
22712 | Py_INCREF(Py_None); resultobj = Py_None; | |
22713 | return resultobj; | |
22714 | fail: | |
22715 | return NULL; | |
22716 | } | |
22717 | ||
22718 | ||
22719 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22720 | PyObject *obj; | |
22721 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22722 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22723 | Py_INCREF(obj); | |
22724 | return Py_BuildValue((char *)""); | |
22725 | } | |
22726 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22727 | PyObject *resultobj; | |
22728 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22729 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22730 | wxString *arg3 = 0 ; | |
22731 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22732 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22733 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22734 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22735 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22736 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22737 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22738 | wxPyPreviewFrame *result; | |
e811c8ce | 22739 | bool temp3 = False ; |
d14a1e28 RD |
22740 | wxPoint temp4 ; |
22741 | wxSize temp5 ; | |
e811c8ce | 22742 | bool temp7 = False ; |
d14a1e28 RD |
22743 | PyObject * obj0 = 0 ; |
22744 | PyObject * obj1 = 0 ; | |
22745 | PyObject * obj2 = 0 ; | |
22746 | PyObject * obj3 = 0 ; | |
22747 | PyObject * obj4 = 0 ; | |
994141e6 | 22748 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22749 | PyObject * obj6 = 0 ; |
22750 | char *kwnames[] = { | |
22751 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22752 | }; | |
22753 | ||
994141e6 | 22754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
22755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22757 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22759 | { |
22760 | arg3 = wxString_in_helper(obj2); | |
22761 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 22762 | temp3 = True; |
d14a1e28 RD |
22763 | } |
22764 | if (obj3) { | |
22765 | { | |
22766 | arg4 = &temp4; | |
22767 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22768 | } | |
22769 | } | |
22770 | if (obj4) { | |
22771 | { | |
22772 | arg5 = &temp5; | |
22773 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22774 | } | |
22775 | } | |
994141e6 | 22776 | if (obj5) { |
15afbcd0 RD |
22777 | arg6 = (long) SWIG_AsLong(obj5); |
22778 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 22779 | } |
d14a1e28 RD |
22780 | if (obj6) { |
22781 | { | |
22782 | arg7 = wxString_in_helper(obj6); | |
22783 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 22784 | temp7 = True; |
d14a1e28 RD |
22785 | } |
22786 | } | |
22787 | { | |
22788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22789 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22790 | ||
22791 | wxPyEndAllowThreads(__tstate); | |
22792 | if (PyErr_Occurred()) SWIG_fail; | |
22793 | } | |
15afbcd0 | 22794 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
22795 | { |
22796 | if (temp3) | |
22797 | delete arg3; | |
22798 | } | |
22799 | { | |
22800 | if (temp7) | |
22801 | delete arg7; | |
22802 | } | |
22803 | return resultobj; | |
22804 | fail: | |
22805 | { | |
22806 | if (temp3) | |
22807 | delete arg3; | |
22808 | } | |
22809 | { | |
22810 | if (temp7) | |
22811 | delete arg7; | |
22812 | } | |
22813 | return NULL; | |
22814 | } | |
22815 | ||
22816 | ||
22817 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22818 | PyObject *resultobj; | |
22819 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22820 | PyObject *arg2 = (PyObject *) 0 ; | |
22821 | PyObject *arg3 = (PyObject *) 0 ; | |
22822 | PyObject * obj0 = 0 ; | |
22823 | PyObject * obj1 = 0 ; | |
22824 | PyObject * obj2 = 0 ; | |
22825 | char *kwnames[] = { | |
22826 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22827 | }; | |
22828 | ||
22829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22832 | arg2 = obj1; |
22833 | arg3 = obj2; | |
22834 | { | |
22835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22836 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22837 | ||
22838 | wxPyEndAllowThreads(__tstate); | |
22839 | if (PyErr_Occurred()) SWIG_fail; | |
22840 | } | |
22841 | Py_INCREF(Py_None); resultobj = Py_None; | |
22842 | return resultobj; | |
22843 | fail: | |
22844 | return NULL; | |
22845 | } | |
22846 | ||
22847 | ||
22848 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22849 | PyObject *resultobj; | |
22850 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22851 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22852 | PyObject * obj0 = 0 ; | |
22853 | PyObject * obj1 = 0 ; | |
22854 | char *kwnames[] = { | |
22855 | (char *) "self",(char *) "canvas", NULL | |
22856 | }; | |
22857 | ||
22858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22861 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22863 | { |
22864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22865 | (arg1)->SetPreviewCanvas(arg2); | |
22866 | ||
22867 | wxPyEndAllowThreads(__tstate); | |
22868 | if (PyErr_Occurred()) SWIG_fail; | |
22869 | } | |
22870 | Py_INCREF(Py_None); resultobj = Py_None; | |
22871 | return resultobj; | |
22872 | fail: | |
22873 | return NULL; | |
22874 | } | |
22875 | ||
22876 | ||
22877 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22878 | PyObject *resultobj; | |
22879 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22880 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
22881 | PyObject * obj0 = 0 ; | |
22882 | PyObject * obj1 = 0 ; | |
22883 | char *kwnames[] = { | |
22884 | (char *) "self",(char *) "bar", NULL | |
22885 | }; | |
22886 | ||
22887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22890 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
22891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22892 | { |
22893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22894 | (arg1)->SetControlBar(arg2); | |
22895 | ||
22896 | wxPyEndAllowThreads(__tstate); | |
22897 | if (PyErr_Occurred()) SWIG_fail; | |
22898 | } | |
22899 | Py_INCREF(Py_None); resultobj = Py_None; | |
22900 | return resultobj; | |
22901 | fail: | |
22902 | return NULL; | |
22903 | } | |
22904 | ||
22905 | ||
22906 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22907 | PyObject *resultobj; | |
22908 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22909 | PyObject * obj0 = 0 ; | |
22910 | char *kwnames[] = { | |
22911 | (char *) "self", NULL | |
22912 | }; | |
22913 | ||
22914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22917 | { |
22918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22919 | (arg1)->base_Initialize(); | |
22920 | ||
22921 | wxPyEndAllowThreads(__tstate); | |
22922 | if (PyErr_Occurred()) SWIG_fail; | |
22923 | } | |
22924 | Py_INCREF(Py_None); resultobj = Py_None; | |
22925 | return resultobj; | |
22926 | fail: | |
22927 | return NULL; | |
22928 | } | |
22929 | ||
22930 | ||
22931 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22932 | PyObject *resultobj; | |
22933 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22934 | PyObject * obj0 = 0 ; | |
22935 | char *kwnames[] = { | |
22936 | (char *) "self", NULL | |
22937 | }; | |
22938 | ||
22939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22942 | { |
22943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22944 | (arg1)->base_CreateCanvas(); | |
22945 | ||
22946 | wxPyEndAllowThreads(__tstate); | |
22947 | if (PyErr_Occurred()) SWIG_fail; | |
22948 | } | |
22949 | Py_INCREF(Py_None); resultobj = Py_None; | |
22950 | return resultobj; | |
22951 | fail: | |
22952 | return NULL; | |
22953 | } | |
22954 | ||
22955 | ||
22956 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22957 | PyObject *resultobj; | |
22958 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22959 | PyObject * obj0 = 0 ; | |
22960 | char *kwnames[] = { | |
22961 | (char *) "self", NULL | |
22962 | }; | |
22963 | ||
22964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22967 | { |
22968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22969 | (arg1)->base_CreateControlBar(); | |
22970 | ||
22971 | wxPyEndAllowThreads(__tstate); | |
22972 | if (PyErr_Occurred()) SWIG_fail; | |
22973 | } | |
22974 | Py_INCREF(Py_None); resultobj = Py_None; | |
22975 | return resultobj; | |
22976 | fail: | |
22977 | return NULL; | |
22978 | } | |
22979 | ||
22980 | ||
22981 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
22982 | PyObject *obj; | |
22983 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22984 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
22985 | Py_INCREF(obj); | |
22986 | return Py_BuildValue((char *)""); | |
22987 | } | |
22988 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22989 | PyObject *resultobj; | |
22990 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22991 | long arg2 ; | |
22992 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22993 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22994 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22995 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22996 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22997 | long arg6 = (long) 0 ; | |
22998 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22999 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23000 | wxPyPreviewControlBar *result; | |
23001 | wxPoint temp4 ; | |
23002 | wxSize temp5 ; | |
e811c8ce | 23003 | bool temp7 = False ; |
d14a1e28 | 23004 | PyObject * obj0 = 0 ; |
994141e6 | 23005 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23006 | PyObject * obj2 = 0 ; |
23007 | PyObject * obj3 = 0 ; | |
23008 | PyObject * obj4 = 0 ; | |
994141e6 | 23009 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23010 | PyObject * obj6 = 0 ; |
23011 | char *kwnames[] = { | |
23012 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23013 | }; | |
23014 | ||
994141e6 | 23015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23018 | arg2 = (long) SWIG_AsLong(obj1); | |
23019 | if (PyErr_Occurred()) SWIG_fail; | |
23020 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23021 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23022 | if (obj3) { |
23023 | { | |
23024 | arg4 = &temp4; | |
23025 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23026 | } | |
23027 | } | |
23028 | if (obj4) { | |
23029 | { | |
23030 | arg5 = &temp5; | |
23031 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23032 | } | |
23033 | } | |
994141e6 | 23034 | if (obj5) { |
15afbcd0 RD |
23035 | arg6 = (long) SWIG_AsLong(obj5); |
23036 | if (PyErr_Occurred()) SWIG_fail; | |
994141e6 | 23037 | } |
d14a1e28 RD |
23038 | if (obj6) { |
23039 | { | |
23040 | arg7 = wxString_in_helper(obj6); | |
23041 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 23042 | temp7 = True; |
d14a1e28 RD |
23043 | } |
23044 | } | |
23045 | { | |
23046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23047 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23048 | ||
23049 | wxPyEndAllowThreads(__tstate); | |
23050 | if (PyErr_Occurred()) SWIG_fail; | |
23051 | } | |
15afbcd0 | 23052 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
23053 | { |
23054 | if (temp7) | |
23055 | delete arg7; | |
23056 | } | |
23057 | return resultobj; | |
23058 | fail: | |
23059 | { | |
23060 | if (temp7) | |
23061 | delete arg7; | |
23062 | } | |
23063 | return NULL; | |
23064 | } | |
23065 | ||
23066 | ||
23067 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23068 | PyObject *resultobj; | |
23069 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23070 | PyObject *arg2 = (PyObject *) 0 ; | |
23071 | PyObject *arg3 = (PyObject *) 0 ; | |
23072 | PyObject * obj0 = 0 ; | |
23073 | PyObject * obj1 = 0 ; | |
23074 | PyObject * obj2 = 0 ; | |
23075 | char *kwnames[] = { | |
23076 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23077 | }; | |
23078 | ||
23079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
23080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23082 | arg2 = obj1; |
23083 | arg3 = obj2; | |
23084 | { | |
23085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23086 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23087 | ||
23088 | wxPyEndAllowThreads(__tstate); | |
23089 | if (PyErr_Occurred()) SWIG_fail; | |
23090 | } | |
23091 | Py_INCREF(Py_None); resultobj = Py_None; | |
23092 | return resultobj; | |
23093 | fail: | |
23094 | return NULL; | |
23095 | } | |
23096 | ||
23097 | ||
23098 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23099 | PyObject *resultobj; | |
23100 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23101 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
23102 | PyObject * obj0 = 0 ; | |
23103 | PyObject * obj1 = 0 ; | |
23104 | char *kwnames[] = { | |
23105 | (char *) "self",(char *) "preview", NULL | |
23106 | }; | |
23107 | ||
23108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
23109 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23110 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23111 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
23112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23113 | { |
23114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23115 | (arg1)->SetPrintPreview(arg2); | |
23116 | ||
23117 | wxPyEndAllowThreads(__tstate); | |
23118 | if (PyErr_Occurred()) SWIG_fail; | |
23119 | } | |
23120 | Py_INCREF(Py_None); resultobj = Py_None; | |
23121 | return resultobj; | |
23122 | fail: | |
23123 | return NULL; | |
23124 | } | |
23125 | ||
23126 | ||
23127 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23128 | PyObject *resultobj; | |
23129 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23130 | PyObject * obj0 = 0 ; | |
23131 | char *kwnames[] = { | |
23132 | (char *) "self", NULL | |
23133 | }; | |
23134 | ||
23135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23138 | { |
23139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23140 | (arg1)->base_CreateButtons(); | |
23141 | ||
23142 | wxPyEndAllowThreads(__tstate); | |
23143 | if (PyErr_Occurred()) SWIG_fail; | |
23144 | } | |
23145 | Py_INCREF(Py_None); resultobj = Py_None; | |
23146 | return resultobj; | |
23147 | fail: | |
23148 | return NULL; | |
23149 | } | |
23150 | ||
23151 | ||
23152 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23153 | PyObject *resultobj; | |
23154 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23155 | int arg2 ; | |
23156 | PyObject * obj0 = 0 ; | |
994141e6 | 23157 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23158 | char *kwnames[] = { |
23159 | (char *) "self",(char *) "zoom", NULL | |
23160 | }; | |
23161 | ||
994141e6 | 23162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23163 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23164 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23165 | arg2 = (int) SWIG_AsInt(obj1); | |
23166 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23167 | { |
23168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23169 | (arg1)->base_SetZoomControl(arg2); | |
23170 | ||
23171 | wxPyEndAllowThreads(__tstate); | |
23172 | if (PyErr_Occurred()) SWIG_fail; | |
23173 | } | |
23174 | Py_INCREF(Py_None); resultobj = Py_None; | |
23175 | return resultobj; | |
23176 | fail: | |
23177 | return NULL; | |
23178 | } | |
23179 | ||
23180 | ||
23181 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
23182 | PyObject *obj; | |
23183 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23184 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
23185 | Py_INCREF(obj); | |
23186 | return Py_BuildValue((char *)""); | |
23187 | } | |
23188 | static PyMethodDef SwigMethods[] = { | |
23189 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
23190 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
23191 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
23192 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23193 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
23194 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23195 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23196 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23197 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23198 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
23199 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
23200 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
23201 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
23202 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
23203 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
23204 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
23205 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
23206 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23207 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23208 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
23209 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
23210 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23211 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
23212 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23213 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23214 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
23215 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
23216 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23217 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
23218 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
23219 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
23220 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23221 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23222 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
23223 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23224 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23225 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23226 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23227 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
23228 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
23229 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
23230 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
23231 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23232 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
23233 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
23234 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23235 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23236 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
23237 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23238 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23239 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23240 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23241 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23242 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23243 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23244 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23245 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23246 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23247 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23248 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23249 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
23250 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
23251 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
23252 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
23253 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
23254 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23255 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23256 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23257 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
23258 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23259 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
23260 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23261 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
23262 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
23263 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
23264 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23265 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23266 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23267 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
23268 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
23269 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23270 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23271 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
23272 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
23273 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
23274 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23275 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
23276 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
23277 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23278 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23279 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
23280 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23281 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23282 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23283 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23284 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23285 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23286 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23287 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
23288 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
23289 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
23290 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
23291 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
23292 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23293 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23294 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23295 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
23296 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
23297 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23298 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23299 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23300 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
23301 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
23302 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
23303 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
23304 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
23305 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23306 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23307 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23308 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23309 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23310 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23311 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23312 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23313 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23314 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23315 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23316 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23317 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
23318 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
23319 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23320 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23321 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
23322 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
23323 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
23324 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
23325 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23326 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23327 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23328 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23329 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23330 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
23331 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
23332 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
23333 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23334 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23335 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23336 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23337 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23338 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23339 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23340 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23341 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23342 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23343 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23344 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23345 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23346 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23347 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
23348 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
23349 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23350 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23351 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23352 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23353 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23354 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23355 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
23356 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
23357 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23358 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23359 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23360 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23361 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
23362 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
23363 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23364 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23365 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23366 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23367 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
23368 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
23369 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23370 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23371 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
23372 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
23373 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
23374 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23375 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23376 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23377 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23378 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23379 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23380 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
23381 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23382 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
23383 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23384 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23385 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
23386 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
23387 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23388 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
23389 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23390 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23391 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23392 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
23393 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
23394 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23395 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23396 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23397 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
23398 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
23399 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
23400 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
23401 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
23402 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
23403 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
23404 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23405 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23406 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23407 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23408 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23409 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
23410 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
23411 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
23412 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
23413 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
23414 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
23415 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
23416 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23417 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23418 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23419 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23420 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
23421 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
23422 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
23423 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
23424 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23425 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23426 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23427 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
23428 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23429 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
23430 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
23431 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
23432 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
23433 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
23434 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23435 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23436 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23437 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
23438 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23439 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
23440 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
23441 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
23442 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
23443 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
23444 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23445 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
23446 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23447 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
23448 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23449 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23450 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23451 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23452 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23453 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23454 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
23455 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23456 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23457 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
23458 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
23459 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23460 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
23461 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
23462 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
23463 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
23464 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
23465 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23466 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23467 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23468 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23469 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23470 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23471 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23472 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23473 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
23474 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
23475 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23476 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
23477 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
23478 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23479 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23480 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23481 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23482 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23483 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
23484 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
23485 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23486 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
23487 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23488 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23489 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23490 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23491 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23492 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23493 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23494 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23495 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23496 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23497 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23498 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23499 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
23500 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
23501 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
23502 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23503 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23504 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23505 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
23506 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23507 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23508 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
23509 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23510 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
23511 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
23512 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
23513 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23514 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
23515 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23516 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23517 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23518 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23519 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23520 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23521 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23522 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23523 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23524 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23525 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23526 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23527 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23528 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
23529 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23530 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
15afbcd0 | 23531 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 23532 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23533 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
23534 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23535 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
23536 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
23537 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
23538 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
23539 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
23540 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
23541 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23542 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23543 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23544 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
23545 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23546 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23547 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23548 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
23549 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23550 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23551 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23552 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23553 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23554 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23555 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23556 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23557 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
23558 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23559 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23560 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23561 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
23562 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
23563 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
23564 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23565 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23566 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23567 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
23568 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
23569 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
23570 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
23571 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
23572 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23573 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23574 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
23575 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
23576 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23577 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23578 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23579 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
23580 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
23581 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23582 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
23583 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23584 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23585 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23586 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
23587 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
23588 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23589 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23590 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23591 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23592 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23593 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23594 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23595 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23596 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23597 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23598 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23599 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23600 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23601 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23602 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23603 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23604 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23605 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23606 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23607 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
23608 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
23609 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23610 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23611 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23612 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23613 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23614 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23615 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23616 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23617 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23618 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23619 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23620 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23621 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23622 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23623 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23624 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23625 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23626 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23627 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23628 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
23629 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23630 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23631 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23632 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23633 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23634 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23635 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23636 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23637 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23638 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23639 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23640 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23641 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23642 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23643 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23644 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23645 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23646 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23647 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23648 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23649 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23650 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23651 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23652 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23653 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23654 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23655 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23656 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23657 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23658 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23659 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23660 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23661 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23662 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23663 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23664 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23665 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23666 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23667 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
23668 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23669 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23670 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
23671 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
23672 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
23673 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23674 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
23675 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23676 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23677 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23678 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23679 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23680 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23681 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23682 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23683 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23684 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23685 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23686 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23687 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23688 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23689 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23690 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23691 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23692 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23693 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23694 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23695 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23696 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23697 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23698 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23699 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23700 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23701 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23702 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23703 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23704 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23705 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23706 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
23707 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23708 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
23709 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23710 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
4276dc52 | 23711 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
23712 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
23713 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23714 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23715 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23716 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23717 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23718 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23719 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23720 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23721 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23722 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23723 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23724 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23725 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23726 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23727 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23728 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23729 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23730 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23731 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23732 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23733 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23734 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23735 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23736 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23737 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23738 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23739 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23740 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23741 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23742 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23743 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23744 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
23745 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23746 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23747 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
23748 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23749 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
23750 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23751 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23752 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
23753 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23754 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
23755 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23756 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
23757 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
23758 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
23759 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
23760 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
23761 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
23762 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23763 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23764 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
23765 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23766 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23767 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23768 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
23769 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
23770 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23771 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23772 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23773 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23774 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23775 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23776 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
23777 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
23778 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23779 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23780 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23781 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
322913ce | 23782 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23783 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
23784 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23785 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
23786 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23787 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23788 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23789 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23790 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23791 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
23792 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23793 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23794 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23795 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23796 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
23797 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
23798 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
23799 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
23800 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
23801 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
4276dc52 | 23802 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23803 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
23804 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23805 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23806 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23807 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23808 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23809 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23810 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23811 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23812 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23813 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23814 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23815 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23816 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23817 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23818 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23819 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23820 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23821 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23822 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
23823 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
23824 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23825 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
4276dc52 | 23826 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23827 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
23828 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23829 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23830 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23831 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23832 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23833 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
23834 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23835 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
23836 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23837 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23838 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23839 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23840 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23841 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23842 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23843 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
23844 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23845 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23846 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23847 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
23848 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23849 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
23850 | { NULL, NULL } | |
23851 | }; | |
23852 | ||
23853 | ||
23854 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
23855 | ||
23856 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
23857 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23858 | } | |
23859 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
23860 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23861 | } | |
23862 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
23863 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
23864 | } | |
23865 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
23866 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
23867 | } | |
23868 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
23869 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
23870 | } | |
23871 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
23872 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
23873 | } | |
23874 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
23875 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
23876 | } | |
23877 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
23878 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23879 | } | |
23880 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
23881 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
23882 | } | |
23883 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
23884 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
23885 | } | |
23886 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
23887 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23888 | } | |
23889 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
23890 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
23891 | } | |
23892 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
23893 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23894 | } | |
23895 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
23896 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23897 | } | |
23898 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
23899 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
23900 | } | |
23901 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
23902 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23903 | } | |
23904 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
23905 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23906 | } | |
23907 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
23908 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
23909 | } | |
23910 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
23911 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
23912 | } | |
23913 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
23914 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
23915 | } | |
23916 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
23917 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
23918 | } | |
23919 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
23920 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
23921 | } | |
23922 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
23923 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
23924 | } | |
23925 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
23926 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
23927 | } | |
23928 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
23929 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23930 | } | |
23931 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
23932 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23933 | } | |
23934 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
23935 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23936 | } | |
23937 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
23938 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23939 | } | |
23940 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
23941 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23942 | } | |
23943 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
23944 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
23945 | } | |
23946 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
23947 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
23948 | } | |
23949 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
23950 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23951 | } | |
23952 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
23953 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
23954 | } | |
23955 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
23956 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23957 | } | |
23958 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
23959 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
23960 | } | |
23961 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
23962 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
23963 | } | |
23964 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
23965 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23966 | } | |
23967 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
23968 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23969 | } | |
23970 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
23971 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23972 | } | |
23973 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
23974 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
23975 | } | |
23976 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
23977 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
23978 | } | |
23979 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
23980 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23981 | } | |
23982 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
23983 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23984 | } | |
23985 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
23986 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23987 | } | |
23988 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
23989 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23990 | } | |
23991 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
23992 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23993 | } | |
23994 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
23995 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
23996 | } | |
23997 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
23998 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
23999 | } | |
24000 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
24001 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
24002 | } | |
24003 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
24004 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
24005 | } | |
24006 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
24007 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24008 | } | |
24009 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
24010 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24011 | } | |
24012 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
24013 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24014 | } | |
24015 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
24016 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24017 | } | |
24018 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
24019 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24020 | } | |
24021 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
24022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24023 | } | |
24024 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
24025 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24026 | } | |
24027 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
24028 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
24029 | } | |
24030 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
24031 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
24032 | } | |
24033 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
24034 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24035 | } | |
24036 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
24037 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24038 | } | |
24039 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
24040 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24041 | } | |
24042 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
24043 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
24044 | } | |
24045 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
24046 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24047 | } | |
24048 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
24049 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
24050 | } | |
24051 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
24052 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
24053 | } | |
24054 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
24055 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
24056 | } | |
24057 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
24058 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
24059 | } | |
24060 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
24061 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
24062 | } | |
24063 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
24064 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
24065 | } | |
24066 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
24067 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
24068 | } | |
24069 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
24070 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
24071 | } | |
24072 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
24073 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24074 | } | |
24075 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
24076 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24077 | } | |
24078 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
24079 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24080 | } | |
24081 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
24082 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
24083 | } | |
24084 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
24085 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24086 | } | |
24087 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
24088 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
24089 | } | |
24090 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
24091 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24092 | } | |
24093 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
24094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24095 | } | |
24096 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
24097 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24098 | } | |
24099 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
24100 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24101 | } | |
24102 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
24103 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24104 | } | |
24105 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
24106 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
24107 | } | |
24108 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
24109 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
24110 | } | |
24111 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
24112 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24113 | } | |
24114 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
24115 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24116 | } | |
24117 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
24118 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24119 | } | |
24120 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
24121 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24122 | } | |
24123 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
24124 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24125 | } | |
24126 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
24127 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24128 | } | |
24129 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
24130 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24131 | } | |
24132 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
24133 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24134 | } | |
24135 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
24136 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
24137 | } | |
24138 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
24139 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
24140 | } | |
24141 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
24142 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
24143 | } | |
24144 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
24145 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24146 | } | |
24147 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
24148 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
24149 | } | |
24150 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
24151 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
24152 | } | |
24153 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
24154 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
24155 | } | |
24156 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
24157 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
24158 | } | |
24159 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
24160 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
24161 | } | |
24162 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
24163 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24164 | } | |
24165 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
24166 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24167 | } | |
24168 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
24169 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
24170 | } | |
24171 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
24172 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
24173 | } | |
24174 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
24175 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
24176 | } | |
24177 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
24178 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
24179 | } | |
24180 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
24181 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
24182 | } | |
24183 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
24184 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
24185 | } | |
24186 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
24187 | return (void *)((wxObject *) ((wxSizer *) x)); | |
24188 | } | |
24189 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
24190 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
24191 | } | |
24192 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
24193 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24194 | } | |
24195 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
24196 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
24197 | } | |
24198 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
24199 | return (void *)((wxObject *) ((wxEvent *) x)); | |
24200 | } | |
24201 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
24202 | return (void *)((wxObject *) ((wxFontData *) x)); | |
24203 | } | |
24204 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
24205 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
24206 | } | |
24207 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
24208 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
24209 | } | |
24210 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
24211 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
24212 | } | |
24213 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
24214 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
24215 | } | |
24216 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
24217 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
24218 | } | |
24219 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
24220 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
24221 | } | |
24222 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
24223 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24224 | } | |
24225 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
24226 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
24227 | } | |
24228 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
24229 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
24230 | } | |
24231 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
24232 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
24233 | } | |
24234 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
24235 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
24236 | } | |
24237 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
24238 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
24239 | } | |
24240 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
24241 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
24242 | } | |
24243 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
24244 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24245 | } | |
24246 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
24247 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
24248 | } | |
24249 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
24250 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
24251 | } | |
24252 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
24253 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24254 | } | |
24255 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
24256 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
24257 | } | |
24258 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
24259 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
24260 | } | |
24261 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
24262 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
24263 | } | |
24264 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
24265 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24266 | } | |
24267 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
24268 | return (void *)((wxObject *) ((wxColourData *) x)); | |
24269 | } | |
24270 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
24271 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
24272 | } | |
24273 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
24274 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24275 | } | |
24276 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
24277 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
24278 | } | |
24279 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
24280 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24281 | } | |
24282 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
24283 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24284 | } | |
24285 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
24286 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24287 | } | |
24288 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
24289 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24290 | } | |
24291 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
24292 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24293 | } | |
24294 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
24295 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24296 | } | |
24297 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
24298 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24299 | } | |
24300 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
24301 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24302 | } | |
24303 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
24304 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
24305 | } | |
24306 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
24307 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
24308 | } | |
24309 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
24310 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
24311 | } | |
24312 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
24313 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
24314 | } | |
24315 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
24316 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24317 | } | |
24318 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
24319 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
24320 | } | |
24321 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
24322 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
24323 | } | |
24324 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
24325 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
24326 | } | |
24327 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
24328 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
24329 | } | |
24330 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
24331 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
24332 | } | |
24333 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
24334 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
24335 | } | |
24336 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
24337 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
24338 | } | |
24339 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
24340 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
24341 | } | |
24342 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
24343 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
24344 | } | |
24345 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
24346 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
24347 | } | |
24348 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
24349 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
24350 | } | |
24351 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
24352 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
24353 | } | |
24354 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
24355 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
24356 | } | |
24357 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
24358 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
24359 | } | |
24360 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
24361 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
24362 | } | |
24363 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
24364 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
24365 | } | |
24366 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
24367 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
24368 | } | |
24369 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
24370 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
24371 | } | |
24372 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
24373 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
24374 | } | |
24375 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
24376 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
24377 | } | |
24378 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
24379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24380 | } | |
24381 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
24382 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24383 | } | |
24384 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
24385 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
24386 | } | |
24387 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
24388 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24389 | } | |
24390 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
24391 | return (void *)((wxObject *) ((wxImage *) x)); | |
24392 | } | |
24393 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
24394 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
24395 | } | |
24396 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
24397 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
24398 | } | |
24399 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
24400 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
24401 | } | |
24402 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
24403 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
24404 | } | |
24405 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
24406 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
24407 | } | |
24408 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
24409 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24410 | } | |
24411 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
24412 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24413 | } | |
24414 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
24415 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
24416 | } | |
24417 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
24418 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
24419 | } | |
d14a1e28 RD |
24420 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
24421 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
24422 | } | |
24423 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
24424 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
24425 | } | |
24426 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
24427 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
24428 | } | |
1e0c8722 RD |
24429 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
24430 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
24431 | } | |
d14a1e28 RD |
24432 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
24433 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
24434 | } | |
24435 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
24436 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
24437 | } | |
24438 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
24439 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
24440 | } | |
24441 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
24442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
24443 | } | |
24444 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
24445 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24446 | } | |
24447 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
24448 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
24449 | } | |
24450 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
24451 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24452 | } | |
24453 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
24454 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24455 | } | |
24456 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
24457 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24458 | } | |
24459 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
24460 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
24461 | } | |
24462 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
24463 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
24464 | } | |
24465 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
24466 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
24467 | } | |
24468 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
24469 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24470 | } | |
24471 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
24472 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
24473 | } | |
24474 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
24475 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24476 | } | |
24477 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
24478 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24479 | } | |
24480 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
24481 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24482 | } | |
24483 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
24484 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24485 | } | |
24486 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
24487 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24488 | } | |
24489 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
24490 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24491 | } | |
24492 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
24493 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
24494 | } | |
24495 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
24496 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24497 | } | |
24498 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
24499 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
24500 | } | |
24501 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
24502 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
24503 | } | |
24504 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
24505 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
24506 | } | |
24507 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
24508 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
24509 | } | |
24510 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
24511 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
24512 | } | |
24513 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
24514 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24515 | } | |
24516 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
24517 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
24518 | } | |
24519 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
24520 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24521 | } | |
24522 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
24523 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24524 | } | |
24525 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
24526 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
24527 | } | |
24528 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
24529 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
24530 | } | |
24531 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
24532 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24533 | } | |
24534 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
24535 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24536 | } | |
24537 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
24538 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
24539 | } | |
24540 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
24541 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
24542 | } | |
24543 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
24544 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
24545 | } | |
24546 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
24547 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
24548 | } | |
24549 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24550 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24551 | } | |
24552 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24553 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24554 | } | |
24555 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
24556 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24557 | } | |
24558 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
24559 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24560 | } | |
24561 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
24562 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24563 | } | |
24564 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
24565 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24566 | } | |
24567 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
24568 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
24569 | } | |
24570 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
24571 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
24572 | } | |
24573 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
24574 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
24575 | } | |
24576 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
24577 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
24578 | } | |
24579 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
24580 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
24581 | } | |
24582 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
24583 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
24584 | } | |
24585 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
24586 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
24587 | } | |
24588 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
24589 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
24590 | } | |
24591 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
24592 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
24593 | } | |
24594 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
24595 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
24596 | } | |
24597 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
24598 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
24599 | } | |
24600 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
24601 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
24602 | } | |
24603 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
24604 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24605 | } | |
24606 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24607 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24608 | } | |
24609 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24610 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24611 | } | |
24612 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24613 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24614 | } | |
24615 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24616 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24617 | } | |
24618 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24619 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24620 | } | |
24621 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24622 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24623 | } | |
24624 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24625 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24626 | } | |
24627 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24628 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24629 | } | |
24630 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24631 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24632 | } | |
24633 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24634 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24635 | } | |
24636 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24637 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24638 | } | |
24639 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24640 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24641 | } | |
24642 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24643 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24644 | } | |
24645 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24646 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24647 | } | |
24648 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24649 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24650 | } | |
24651 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24652 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24653 | } | |
24654 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24655 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24656 | } | |
24657 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24658 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24659 | } | |
24660 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24661 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24662 | } | |
24663 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24664 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24665 | } | |
24666 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24667 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24668 | } | |
24669 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24670 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24671 | } | |
24672 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24673 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24674 | } | |
24675 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24676 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24677 | } | |
24678 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24679 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24680 | } | |
24681 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24682 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24683 | } | |
24684 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24685 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24686 | } | |
24687 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24688 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24689 | } | |
24690 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24691 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24692 | } | |
24693 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24694 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24695 | } | |
24696 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24697 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24698 | } | |
24699 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24700 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24701 | } | |
24702 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24703 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24704 | } | |
24705 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24706 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24707 | } | |
24708 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24709 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24710 | } | |
24711 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24712 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24713 | } | |
24714 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24715 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24716 | } | |
24717 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24718 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24719 | } | |
24720 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24721 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24722 | } | |
24723 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24724 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24725 | } | |
24726 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24727 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24728 | } | |
24729 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24730 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24731 | } | |
24732 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24733 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24734 | } | |
24735 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24736 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24737 | } | |
24738 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24739 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24740 | } | |
24741 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24742 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24743 | } | |
24744 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24745 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24746 | } | |
24747 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24748 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24749 | } | |
24750 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24751 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24752 | } | |
24753 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24754 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24755 | } | |
24756 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24757 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24758 | } | |
24759 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24760 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24761 | } | |
24762 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24763 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24764 | } | |
24765 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24766 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24767 | } | |
24768 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24769 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24770 | } | |
24771 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24772 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24773 | } | |
24774 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24775 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24776 | } | |
24777 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24778 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24779 | } | |
24780 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24781 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24782 | } | |
24783 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24784 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24785 | } | |
24786 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24787 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24788 | } | |
24789 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24790 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24791 | } | |
24792 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24793 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24794 | } | |
24795 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24796 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24797 | } | |
24798 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24799 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24800 | } | |
24801 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24802 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24803 | } | |
24804 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24805 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24806 | } | |
24807 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24808 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24809 | } | |
24810 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24811 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24812 | } | |
24813 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24814 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24815 | } | |
24816 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24817 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24818 | } | |
24819 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24820 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24821 | } | |
24822 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24823 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24824 | } | |
24825 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24826 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24827 | } | |
24828 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24829 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24830 | } | |
24831 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24832 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24833 | } | |
24834 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24835 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24836 | } | |
24837 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24838 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24839 | } | |
24840 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24841 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24842 | } | |
24843 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24844 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24845 | } | |
24846 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
24847 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24848 | } | |
24849 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
24850 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
24851 | } | |
24852 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
24853 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24854 | } | |
15afbcd0 RD |
24855 | 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}}; |
24856 | 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}}; | |
24857 | 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}}; | |
24858 | 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}}; | |
24859 | 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}}; | |
24860 | 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}}; | |
24861 | 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}}; | |
24862 | 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}}; | |
24863 | 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}}; | |
24864 | 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}}; | |
24865 | 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}}; | |
24866 | 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}}; | |
24867 | 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}}; | |
24868 | 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}}; | |
24869 | 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}}; | |
24870 | 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}}; | |
24871 | 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}}; | |
24872 | 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}}; | |
24873 | 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}}; | |
24874 | 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}}; | |
24875 | 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}}; | |
24876 | 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}}; | |
24877 | 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}}; | |
24878 | 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}}; | |
24879 | 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}}; | |
24880 | 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}}; | |
24881 | 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}}; | |
24882 | 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}}; | |
24883 | 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}}; | |
24884 | 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}}; | |
24885 | 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}}; | |
24886 | 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}}; | |
24887 | 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}}; | |
24888 | 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}}; | |
24889 | 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}}; | |
24890 | 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_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_wxColourDialog", _p_wxColourDialogTo_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_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}}; | |
24891 | 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}}; | |
24892 | 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}}; | |
24893 | 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}}; | |
24894 | 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}}; | |
24895 | 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}}; | |
24896 | 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}}; | |
24897 | 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}}; | |
24898 | 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}}; | |
24899 | 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}}; | |
24900 | 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}}; | |
24901 | 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}}; | |
24902 | 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}}; | |
24903 | 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}}; | |
24904 | 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_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}}; | |
24905 | 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}}; | |
24906 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24907 | 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}}; | |
24908 | 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}}; | |
24909 | 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}}; | |
24910 | 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}}; | |
24911 | 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}}; | |
24912 | 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}}; | |
24913 | 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}}; | |
24914 | 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}}; | |
24915 | 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}}; | |
24916 | 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_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_wxDialog", _p_wxDialogTo_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_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}}; | |
24917 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24918 | 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}}; | |
24919 | 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}}; | |
24920 | 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}}; | |
24921 | 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}}; | |
24922 | 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}}; | |
24923 | 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}}; | |
24924 | 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}}; | |
24925 | 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}}; | |
24926 | 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}}; | |
24927 | 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}}; | |
24928 | 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_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}}; | |
24929 | 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}}; | |
24930 | 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}}; | |
24931 | 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}}; | |
24932 | 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}}; | |
24933 | 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}}; | |
24934 | 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}}; | |
24935 | 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}}; | |
24936 | 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}}; | |
24937 | 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}}; | |
24938 | 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 |
24939 | |
24940 | static swig_type_info *swig_types_initial[] = { | |
24941 | _swigt__p_wxQueryLayoutInfoEvent, | |
24942 | _swigt__p_wxPreviewFrame, | |
24943 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
24944 | _swigt__p_wxPyPanel, |
24945 | _swigt__p_wxMenu, | |
24946 | _swigt__p_wxPrintData, | |
24947 | _swigt__p_wxFontData, | |
24948 | _swigt__p_wxEvent, | |
24949 | _swigt__p_wxTaskBarIcon, | |
24950 | _swigt__p_wxIconBundle, | |
24951 | _swigt__p_wxLayoutAlgorithm, | |
24952 | _swigt__p_wxFindDialogEvent, | |
24953 | _swigt__p_wxPreviewCanvas, | |
24954 | _swigt__p_wxFont, | |
24955 | _swigt__p_wxSplitterEvent, | |
24956 | _swigt__p_wxRegion, | |
24957 | _swigt__p_wxFindReplaceData, | |
24958 | _swigt__p_int, | |
24959 | _swigt__p_wxSize, | |
24960 | _swigt__p_wxDC, | |
24961 | _swigt__p_wxIcon, | |
24962 | _swigt__p_wxMDIChildFrame, | |
24963 | _swigt__p_wxColourData, | |
24964 | _swigt__p_wxNotifyEvent, | |
24965 | _swigt__p_wxPyWindow, | |
24966 | _swigt__p_wxSplashScreen, | |
24967 | _swigt__p_wxFindReplaceDialog, | |
24968 | _swigt__p_wxProgressDialog, | |
24969 | _swigt__p_wxMessageDialog, | |
24970 | _swigt__p_wxTextEntryDialog, | |
24971 | _swigt__p_wxSingleChoiceDialog, | |
24972 | _swigt__p_wxMultiChoiceDialog, | |
24973 | _swigt__p_wxFileDialog, | |
24974 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
24975 | _swigt__p_wxArrayInt, |
24976 | _swigt__p_wxEvtHandler, | |
24977 | _swigt__p_wxCalculateLayoutEvent, | |
24978 | _swigt__p_wxPyHtmlListBox, | |
24979 | _swigt__p_wxPyVListBox, | |
24980 | _swigt__p_wxRect, | |
994141e6 | 24981 | _swigt__p_char, |
d14a1e28 RD |
24982 | _swigt__p_wxMiniFrame, |
24983 | _swigt__p_wxFrame, | |
24984 | _swigt__p_wxPyPrintout, | |
24985 | _swigt__p_wxTaskBarIconEvent, | |
24986 | _swigt__p_wxScrollWinEvent, | |
24987 | _swigt__p_wxStatusBar, | |
24988 | _swigt__p_wxMDIParentFrame, | |
24989 | _swigt__p_wxPoint, | |
24990 | _swigt__p_wxObject, | |
db914595 | 24991 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
24992 | _swigt__p_unsigned_long, |
24993 | _swigt__p_wxMDIClientWindow, | |
24994 | _swigt__p_wxTipWindow, | |
24995 | _swigt__p_wxSashLayoutWindow, | |
24996 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
24997 | _swigt__p_wxPyVScrolledWindow, |
24998 | _swigt__p_wxPyPopupTransientWindow, | |
24999 | _swigt__p_wxPopupWindow, | |
25000 | _swigt__p_wxSashWindow, | |
25001 | _swigt__p_wxTopLevelWindow, | |
25002 | _swigt__p_wxWindow, | |
25003 | _swigt__p_wxScrolledWindow, | |
1e0c8722 | 25004 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
25005 | _swigt__p_wxMenuBar, |
25006 | _swigt__p_wxPrintPreview, | |
25007 | _swigt__p_wxSashEvent, | |
25008 | _swigt__p_wxString, | |
25009 | _swigt__p_wxPyPrintPreview, | |
25010 | _swigt__p_wxFontDialog, | |
25011 | _swigt__p_wxDirDialog, | |
25012 | _swigt__p_wxColourDialog, | |
25013 | _swigt__p_wxDialog, | |
25014 | _swigt__p_wxPanel, | |
db914595 | 25015 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
25016 | _swigt__p_wxPrintDialog, |
25017 | _swigt__p_wxBitmap, | |
25018 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
25019 | _swigt__p_wxPreviewControlBar, |
25020 | _swigt__p_wxPyPreviewControlBar, | |
25021 | _swigt__p_wxColour, | |
25022 | _swigt__p_wxToolBar, | |
b2dc1044 | 25023 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 25024 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
25025 | 0 |
25026 | }; | |
25027 | ||
25028 | ||
25029 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
25030 | ||
25031 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
25032 | {0}}; |
25033 | ||
25034 | #ifdef __cplusplus | |
25035 | } | |
25036 | #endif | |
25037 | ||
25038 | #ifdef __cplusplus | |
25039 | extern "C" | |
25040 | #endif | |
25041 | SWIGEXPORT(void) SWIG_init(void) { | |
25042 | static PyObject *SWIG_globals = 0; | |
25043 | static int typeinit = 0; | |
25044 | PyObject *m, *d; | |
25045 | int i; | |
25046 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
25047 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
25048 | d = PyModule_GetDict(m); | |
25049 | ||
25050 | if (!typeinit) { | |
25051 | for (i = 0; swig_types_initial[i]; i++) { | |
25052 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
25053 | } | |
25054 | typeinit = 1; | |
25055 | } | |
25056 | SWIG_InstallConstants(d,swig_const_table); | |
25057 | ||
b2dc1044 RD |
25058 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
25059 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
25060 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
25061 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
25062 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
15afbcd0 RD |
25063 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
25064 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
25065 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
25066 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
25067 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
25068 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
25069 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
25070 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
25071 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
25072 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
25073 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
25074 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
b2dc1044 | 25075 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
15afbcd0 RD |
25076 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
25077 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
25078 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
25079 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
25080 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
25081 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
4276dc52 | 25082 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
15afbcd0 RD |
25083 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
25084 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
25085 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
25086 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
25087 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
25088 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
25089 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
25090 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
25091 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
25092 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
25093 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
25094 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
25095 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
15afbcd0 RD |
25096 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
25097 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
25098 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
25099 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
25100 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
25101 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
25102 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
25103 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
25104 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
25105 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
25106 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
25107 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
25108 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
25109 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
25110 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 25111 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
15afbcd0 RD |
25112 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
25113 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
25114 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
25115 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
25116 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
25117 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
25118 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
25119 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
25120 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
25121 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
25122 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
25123 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
25124 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 25125 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
25126 | |
25127 | // Map renamed classes back to their common name for OOR | |
25128 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
25129 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
25130 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
25131 | ||
25132 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
25133 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
25134 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
25135 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
25136 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
25137 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
25138 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
25139 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
25140 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
25141 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
25142 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
25143 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
25144 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
15afbcd0 RD |
25145 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
25146 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
25147 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
25148 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
25149 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
25150 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
25151 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
25152 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
25153 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
25154 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
25155 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
25156 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
25157 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
15afbcd0 RD |
25158 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
25159 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
25160 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
25161 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
25162 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
25163 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
25164 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
25165 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
b2dc1044 RD |
25166 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
25167 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
15afbcd0 RD |
25168 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
25169 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
25170 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
25171 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
25172 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
25173 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
25174 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
25175 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
25176 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
25177 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
25178 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
25179 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
25180 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
25181 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
25182 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
25183 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
25184 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
25185 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
25186 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
25187 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
25188 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
25189 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
25190 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
25191 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
25192 | |
25193 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
25194 | ||
25195 | } | |
25196 |