]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
83448d71 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
9fd4be55 RD |
48 | #define SWIG_PackData SWIG_Python_PackData |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
d14a1e28 RD |
51 | |
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
f0983263 RD |
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
d14a1e28 | 82 | #else |
f0983263 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
f0983263 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
f0983263 | 90 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
91 | #endif |
92 | ||
d14a1e28 RD |
93 | #ifdef __cplusplus |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
f0983263 | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
f0983263 | 104 | void *clientdata; |
d14a1e28 RD |
105 | swig_dycast_func dcast; |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
f0983263 RD |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
120 | |
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | #endif | |
125 | ||
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) | |
83448d71 | 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 | ||
8edf1c75 | 186 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 187 | |
f0983263 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 | ||
423f194a | 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] | |
41f1cec7 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] | |
8edf1c75 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] | |
8edf1c75 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 | ||
2f4c0a16 | 305 | /* Auxiliar swig macros */ |
8edf1c75 | 306 | |
8edf1c75 | 307 | #ifdef __cplusplus |
2f4c0a16 | 308 | #define SWIGSTATICINLINE(a) static inline a |
8edf1c75 | 309 | #define SWIGSTATIC(a) static a |
2f4c0a16 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) | |
8edf1c75 | 315 | |
8edf1c75 | 316 | #ifdef HAVE_NUMERIC_CAST |
2f4c0a16 | 317 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
8edf1c75 | 318 | #else |
2f4c0a16 | 319 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
8edf1c75 RD |
320 | #endif |
321 | ||
2f4c0a16 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 */ | |
8edf1c75 RD |
334 | |
335 | ||
2f4c0a16 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 | |
8edf1c75 RD |
346 | |
347 | ||
d14a1e28 RD |
348 | #include "wx/wxPython/wxPython.h" |
349 | #include "wx/wxPython/pyclasses.h" | |
350 | ||
d14a1e28 | 351 | |
d03fd34d RD |
352 | static const wxString wxPyEmptyString(wxEmptyString); |
353 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
354 | |
355 | ||
356 | ||
2f4c0a16 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; | |
8edf1c75 RD |
381 | } |
382 | ||
383 | ||
2f4c0a16 RD |
384 | SWIGSTATICINLINE(long) |
385 | SWIG_AsLong(PyObject * obj) | |
8edf1c75 RD |
386 | { |
387 | return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj); | |
388 | } | |
389 | ||
390 | ||
2f4c0a16 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) | |
8edf1c75 RD |
432 | { |
433 | return PyObject_IsTrue(obj) ? true : false; | |
434 | } | |
435 | ||
436 | ||
2f4c0a16 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 | ||
8edf1c75 | 476 | |
2f4c0a16 RD |
477 | SWIGSTATICINLINE(double) |
478 | SWIG_AsDouble(PyObject *obj) | |
8edf1c75 | 479 | { |
2f4c0a16 | 480 | double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) : |
8edf1c75 | 481 | #if HAVE_LONG_LONG |
2f4c0a16 | 482 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj)); |
8edf1c75 | 483 | #else |
2f4c0a16 | 484 | ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj)); |
8edf1c75 RD |
485 | #endif |
486 | if (PyErr_Occurred()) { | |
487 | PyErr_Clear(); | |
488 | PyErr_SetString(PyExc_TypeError, "a double is expected"); | |
489 | } | |
2f4c0a16 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 | } | |
8edf1c75 RD |
504 | } |
505 | ||
d03fd34d 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 | ||
513 | ||
514 | return self->IsModalShowing(); | |
515 | ||
516 | } | |
517 | ||
518 | ||
44127b65 RD |
519 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
520 | wxRect r; | |
521 | self->GetFieldRect(i, r); | |
522 | return r; | |
523 | } | |
eb9b6107 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 | ||
8a0b029b 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 | |
423f194a | 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 | ||
2f4c0a16 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) | |
8edf1c75 | 665 | { |
2f4c0a16 RD |
666 | return (value > LONG_MAX) ? |
667 | PyLong_FromUnsignedLong(value) | |
668 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
8edf1c75 RD |
669 | } |
670 | ||
671 | ||
d14a1e28 | 672 | #include <wx/vlbox.h> |
d14a1e28 | 673 | |
d03fd34d | 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: | |
cbd72d4f | 798 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
799 | }; |
800 | ||
801 | ||
802 | class wxTaskBarIconEvent : public wxEvent | |
803 | { | |
804 | public: | |
805 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
cbd72d4f | 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 | ||
d03fd34d 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 | ||
fe763115 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 | ||
fe763115 | 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 | ||
fe763115 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 | ||
fe763115 | 987 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
d14a1e28 RD |
988 | |
989 | ||
990 | #include "wx/wxPython/printfw.h" | |
991 | ||
d14a1e28 | 992 | |
eb9b6107 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) { | |
423f194a | 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); | |
423f194a | 1011 | else hadErr = True; |
d14a1e28 RD |
1012 | |
1013 | val = PyTuple_GetItem(result, 1); | |
1014 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
423f194a | 1015 | else hadErr = True; |
d14a1e28 RD |
1016 | |
1017 | val = PyTuple_GetItem(result, 2); | |
1018 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
423f194a | 1019 | else hadErr = True; |
d14a1e28 RD |
1020 | |
1021 | val = PyTuple_GetItem(result, 3); | |
1022 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
423f194a | 1023 | else hadErr = True; |
d14a1e28 RD |
1024 | } |
1025 | else | |
423f194a | 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) { \ | |
423f194a | 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: | |
fe763115 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 ; | |
423f194a | 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 ; | |
423f194a | 1202 | bool temp6 = False ; |
d14a1e28 | 1203 | PyObject * obj0 = 0 ; |
8edf1c75 | 1204 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1205 | PyObject * obj2 = 0 ; |
1206 | PyObject * obj3 = 0 ; | |
8edf1c75 | 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 | ||
8edf1c75 | 1213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
1214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1216 | if (obj1) { |
2f4c0a16 RD |
1217 | arg2 = (int const) SWIG_AsInt(obj1); |
1218 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 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 | } | |
8edf1c75 | 1232 | if (obj4) { |
2f4c0a16 RD |
1233 | arg5 = (long) SWIG_AsLong(obj4); |
1234 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1235 | } |
d14a1e28 RD |
1236 | if (obj5) { |
1237 | { | |
1238 | arg6 = wxString_in_helper(obj5); | |
1239 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 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 | } | |
2f4c0a16 | 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 | } | |
2f4c0a16 | 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 ; | |
423f194a | 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 ; | |
423f194a | 1302 | bool temp7 = False ; |
d14a1e28 RD |
1303 | PyObject * obj0 = 0 ; |
1304 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1305 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1306 | PyObject * obj3 = 0 ; |
1307 | PyObject * obj4 = 0 ; | |
8edf1c75 | 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 | ||
8edf1c75 | 1314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 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 | } | |
8edf1c75 | 1333 | if (obj5) { |
2f4c0a16 RD |
1334 | arg6 = (long) SWIG_AsLong(obj5); |
1335 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1336 | } |
d14a1e28 RD |
1337 | if (obj6) { |
1338 | { | |
1339 | arg7 = wxString_in_helper(obj6); | |
1340 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 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; | |
2f4c0a16 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 ; | |
423f194a | 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 ; | |
423f194a | 1414 | bool temp6 = False ; |
d14a1e28 | 1415 | PyObject * obj0 = 0 ; |
8edf1c75 | 1416 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1417 | PyObject * obj2 = 0 ; |
1418 | PyObject * obj3 = 0 ; | |
8edf1c75 | 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 | ||
8edf1c75 | 1425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
1426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1428 | if (obj1) { |
2f4c0a16 RD |
1429 | arg2 = (int const) SWIG_AsInt(obj1); |
1430 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 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 | } | |
8edf1c75 | 1444 | if (obj4) { |
2f4c0a16 RD |
1445 | arg5 = (long) SWIG_AsLong(obj4); |
1446 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1447 | } |
d14a1e28 RD |
1448 | if (obj5) { |
1449 | { | |
1450 | arg6 = wxString_in_helper(obj5); | |
1451 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 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 | } | |
2f4c0a16 | 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 | } | |
2f4c0a16 | 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 ; | |
423f194a | 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 ; | |
423f194a | 1514 | bool temp7 = False ; |
d14a1e28 RD |
1515 | PyObject * obj0 = 0 ; |
1516 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1517 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1518 | PyObject * obj3 = 0 ; |
1519 | PyObject * obj4 = 0 ; | |
8edf1c75 | 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 | ||
8edf1c75 | 1526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 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; | |
8edf1c75 | 1531 | if (obj2) { |
2f4c0a16 RD |
1532 | arg3 = (int const) SWIG_AsInt(obj2); |
1533 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 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 | } | |
8edf1c75 | 1547 | if (obj5) { |
2f4c0a16 RD |
1548 | arg6 = (long) SWIG_AsLong(obj5); |
1549 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1550 | } |
d14a1e28 RD |
1551 | if (obj6) { |
1552 | { | |
1553 | arg7 = wxString_in_helper(obj6); | |
1554 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 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 ; | |
423f194a | 1591 | bool arg8 = (bool) False ; |
d14a1e28 | 1592 | PyObject * obj0 = 0 ; |
8edf1c75 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 | ||
8edf1c75 | 1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 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; | |
8edf1c75 | 1615 | if (obj5) { |
2f4c0a16 RD |
1616 | arg6 = (int) SWIG_AsInt(obj5); |
1617 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
1618 | } |
1619 | if (obj6) { | |
2f4c0a16 RD |
1620 | arg7 = (int) SWIG_AsInt(obj6); |
1621 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1622 | } |
d14a1e28 | 1623 | if (obj7) { |
2f4c0a16 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 ; | |
8edf1c75 RD |
1647 | PyObject * obj1 = 0 ; |
1648 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1649 | char *kwnames[] = { |
1650 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1651 | }; | |
1652 | ||
8edf1c75 | 1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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 ; | |
8edf1c75 | 1680 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1681 | char *kwnames[] = { |
1682 | (char *) "self",(char *) "orient", NULL | |
1683 | }; | |
1684 | ||
8edf1c75 | 1685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 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 | } | |
2f4c0a16 | 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 ; | |
8edf1c75 RD |
1710 | PyObject * obj1 = 0 ; |
1711 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1712 | char *kwnames[] = { |
1713 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1714 | }; | |
1715 | ||
8edf1c75 | 1716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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 ; | |
8edf1c75 RD |
1743 | PyObject * obj1 = 0 ; |
1744 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1745 | char *kwnames[] = { |
1746 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1747 | }; | |
1748 | ||
8edf1c75 | 1749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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; | |
2f4c0a16 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; | |
2f4c0a16 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; | |
2f4c0a16 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 ; | |
8edf1c75 RD |
1887 | PyObject * obj1 = 0 ; |
1888 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1889 | char *kwnames[] = { |
1890 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1891 | }; | |
1892 | ||
8edf1c75 | 1893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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; | |
2f4c0a16 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 | } | |
2f4c0a16 | 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; | |
2f4c0a16 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 | } | |
2f4c0a16 | 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 ; | |
44127b65 RD |
1969 | wxPoint *arg2 = 0 ; |
1970 | wxPoint result; | |
1971 | wxPoint temp2 ; | |
d14a1e28 | 1972 | PyObject * obj0 = 0 ; |
44127b65 | 1973 | PyObject * obj1 = 0 ; |
d14a1e28 | 1974 | |
44127b65 | 1975 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
1976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1978 | { |
1979 | arg2 = &temp2; | |
1980 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1981 | } | |
d14a1e28 RD |
1982 | { |
1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1984 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1985 | |
1986 | wxPyEndAllowThreads(__tstate); | |
1987 | if (PyErr_Occurred()) SWIG_fail; | |
1988 | } | |
d14a1e28 | 1989 | { |
44127b65 RD |
1990 | wxPoint * resultptr; |
1991 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 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 ; | |
44127b65 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 ; |
8edf1c75 RD |
2010 | PyObject * obj1 = 0 ; |
2011 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2012 | |
44127b65 RD |
2013 | arg4 = &temp4; |
2014 | arg5 = &temp5; | |
8edf1c75 | 2015 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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(); | |
44127b65 | 2024 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2025 | |
2026 | wxPyEndAllowThreads(__tstate); | |
2027 | if (PyErr_Occurred()) SWIG_fail; | |
2028 | } | |
44127b65 | 2029 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2030 | { |
44127b65 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; | |
2f4c0a16 | 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) { | |
44127b65 | 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; | |
2f4c0a16 | 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) { | |
2f4c0a16 | 2085 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2086 | if (_v) { |
2f4c0a16 | 2087 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2088 | if (_v) { |
44127b65 | 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 ; | |
44127b65 RD |
2103 | wxPoint *arg2 = 0 ; |
2104 | wxPoint result; | |
2105 | wxPoint temp2 ; | |
d14a1e28 | 2106 | PyObject * obj0 = 0 ; |
44127b65 | 2107 | PyObject * obj1 = 0 ; |
d14a1e28 | 2108 | |
44127b65 | 2109 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2112 | { |
2113 | arg2 = &temp2; | |
2114 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2115 | } | |
d14a1e28 RD |
2116 | { |
2117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2118 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2119 | |
2120 | wxPyEndAllowThreads(__tstate); | |
2121 | if (PyErr_Occurred()) SWIG_fail; | |
2122 | } | |
d14a1e28 | 2123 | { |
44127b65 RD |
2124 | wxPoint * resultptr; |
2125 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 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 ; | |
44127b65 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 ; |
8edf1c75 RD |
2144 | PyObject * obj1 = 0 ; |
2145 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2146 | |
44127b65 RD |
2147 | arg4 = &temp4; |
2148 | arg5 = &temp5; | |
8edf1c75 | 2149 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 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(); | |
44127b65 | 2158 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2159 | |
2160 | wxPyEndAllowThreads(__tstate); | |
2161 | if (PyErr_Occurred()) SWIG_fail; | |
2162 | } | |
44127b65 RD |
2163 | Py_INCREF(Py_None); resultobj = Py_None; |
2164 | { | |
2165 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
2166 | resultobj = t_output_helper(resultobj,o); | |
2167 | } | |
d14a1e28 | 2168 | { |
44127b65 RD |
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; | |
2f4c0a16 | 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) { | |
44127b65 | 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; | |
2f4c0a16 | 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) { | |
2f4c0a16 | 2219 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2220 | if (_v) { |
2f4c0a16 | 2221 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2222 | if (_v) { |
44127b65 | 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; | |
2f4c0a16 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; | |
2f4c0a16 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) { |
2f4c0a16 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 | } | |
2f4c0a16 | 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; | |
2f4c0a16 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; | |
2f4c0a16 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 *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2352 | PyObject *resultobj; | |
2353 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2354 | wxRect *arg2 = 0 ; | |
2355 | wxRect temp2 ; | |
2356 | PyObject * obj0 = 0 ; | |
2357 | PyObject * obj1 = 0 ; | |
2358 | char *kwnames[] = { | |
2359 | (char *) "self",(char *) "rect", NULL | |
2360 | }; | |
2361 | ||
2362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2365 | { |
2366 | arg2 = &temp2; | |
2367 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2368 | } | |
2369 | { | |
2370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2371 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2372 | ||
2373 | wxPyEndAllowThreads(__tstate); | |
2374 | if (PyErr_Occurred()) SWIG_fail; | |
2375 | } | |
2376 | Py_INCREF(Py_None); resultobj = Py_None; | |
2377 | return resultobj; | |
2378 | fail: | |
2379 | return NULL; | |
2380 | } | |
2381 | ||
2382 | ||
2383 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2384 | PyObject *resultobj; | |
2385 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2386 | wxRect result; | |
2387 | PyObject * obj0 = 0 ; | |
2388 | char *kwnames[] = { | |
2389 | (char *) "self", NULL | |
2390 | }; | |
2391 | ||
2392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2395 | { |
2396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2397 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2398 | ||
2399 | wxPyEndAllowThreads(__tstate); | |
2400 | if (PyErr_Occurred()) SWIG_fail; | |
2401 | } | |
2402 | { | |
2403 | wxRect * resultptr; | |
2404 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 2405 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
2406 | } |
2407 | return resultobj; | |
2408 | fail: | |
2409 | return NULL; | |
2410 | } | |
2411 | ||
2412 | ||
2413 | static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
2414 | PyObject *obj; | |
2415 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2416 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2417 | Py_INCREF(obj); | |
2418 | return Py_BuildValue((char *)""); | |
2419 | } | |
2f4c0a16 | 2420 | static int _wrap_FrameNameStr_set(PyObject *_val) { |
d03fd34d RD |
2421 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2422 | return 1; | |
2423 | } | |
2424 | ||
2425 | ||
2426 | static PyObject *_wrap_FrameNameStr_get() { | |
2427 | PyObject *pyobj; | |
2428 | ||
2429 | { | |
2430 | #if wxUSE_UNICODE | |
2431 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2432 | #else | |
2433 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2434 | #endif | |
2435 | } | |
2436 | return pyobj; | |
2437 | } | |
2438 | ||
2439 | ||
2f4c0a16 | 2440 | static int _wrap_DialogNameStr_set(PyObject *_val) { |
d03fd34d RD |
2441 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2442 | return 1; | |
2443 | } | |
2444 | ||
2445 | ||
2446 | static PyObject *_wrap_DialogNameStr_get() { | |
2447 | PyObject *pyobj; | |
2448 | ||
2449 | { | |
2450 | #if wxUSE_UNICODE | |
2451 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2452 | #else | |
2453 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2454 | #endif | |
2455 | } | |
2456 | return pyobj; | |
2457 | } | |
2458 | ||
2459 | ||
2f4c0a16 | 2460 | static int _wrap_StatusLineNameStr_set(PyObject *_val) { |
d03fd34d RD |
2461 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2462 | return 1; | |
2463 | } | |
2464 | ||
2465 | ||
2466 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2467 | PyObject *pyobj; | |
2468 | ||
2469 | { | |
2470 | #if wxUSE_UNICODE | |
2471 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2472 | #else | |
2473 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2474 | #endif | |
2475 | } | |
2476 | return pyobj; | |
2477 | } | |
2478 | ||
2479 | ||
2f4c0a16 | 2480 | static int _wrap_ToolBarNameStr_set(PyObject *_val) { |
d03fd34d RD |
2481 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2482 | return 1; | |
2483 | } | |
2484 | ||
2485 | ||
2486 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2487 | PyObject *pyobj; | |
2488 | ||
2489 | { | |
2490 | #if wxUSE_UNICODE | |
2491 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2492 | #else | |
2493 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2494 | #endif | |
2495 | } | |
2496 | return pyobj; | |
2497 | } | |
2498 | ||
2499 | ||
d14a1e28 RD |
2500 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { |
2501 | PyObject *resultobj; | |
2502 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2503 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2504 | PyObject * obj0 = 0 ; |
2505 | PyObject * obj1 = 0 ; | |
2506 | char *kwnames[] = { | |
2507 | (char *) "self",(char *) "maximize", NULL | |
2508 | }; | |
2509 | ||
2510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2511 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2512 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2513 | if (obj1) { |
2f4c0a16 RD |
2514 | arg2 = (bool) SWIG_AsBool(obj1); |
2515 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2516 | } |
2517 | { | |
2518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2519 | (arg1)->Maximize(arg2); | |
2520 | ||
2521 | wxPyEndAllowThreads(__tstate); | |
2522 | if (PyErr_Occurred()) SWIG_fail; | |
2523 | } | |
2524 | Py_INCREF(Py_None); resultobj = Py_None; | |
2525 | return resultobj; | |
2526 | fail: | |
2527 | return NULL; | |
2528 | } | |
2529 | ||
2530 | ||
2531 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2532 | PyObject *resultobj; | |
2533 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2534 | PyObject * obj0 = 0 ; | |
2535 | char *kwnames[] = { | |
2536 | (char *) "self", NULL | |
2537 | }; | |
2538 | ||
2539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2542 | { |
2543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2544 | (arg1)->Restore(); | |
2545 | ||
2546 | wxPyEndAllowThreads(__tstate); | |
2547 | if (PyErr_Occurred()) SWIG_fail; | |
2548 | } | |
2549 | Py_INCREF(Py_None); resultobj = Py_None; | |
2550 | return resultobj; | |
2551 | fail: | |
2552 | return NULL; | |
2553 | } | |
2554 | ||
2555 | ||
2556 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2557 | PyObject *resultobj; | |
2558 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2559 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2560 | PyObject * obj0 = 0 ; |
2561 | PyObject * obj1 = 0 ; | |
2562 | char *kwnames[] = { | |
2563 | (char *) "self",(char *) "iconize", NULL | |
2564 | }; | |
2565 | ||
2566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2569 | if (obj1) { |
2f4c0a16 RD |
2570 | arg2 = (bool) SWIG_AsBool(obj1); |
2571 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2572 | } |
2573 | { | |
2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2575 | (arg1)->Iconize(arg2); | |
2576 | ||
2577 | wxPyEndAllowThreads(__tstate); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
2579 | } | |
2580 | Py_INCREF(Py_None); resultobj = Py_None; | |
2581 | return resultobj; | |
2582 | fail: | |
2583 | return NULL; | |
2584 | } | |
2585 | ||
2586 | ||
2587 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2588 | PyObject *resultobj; | |
2589 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2590 | bool result; | |
2591 | PyObject * obj0 = 0 ; | |
2592 | char *kwnames[] = { | |
2593 | (char *) "self", NULL | |
2594 | }; | |
2595 | ||
2596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2599 | { |
2600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2601 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2602 | ||
2603 | wxPyEndAllowThreads(__tstate); | |
2604 | if (PyErr_Occurred()) SWIG_fail; | |
2605 | } | |
4f89f6a3 RD |
2606 | { |
2607 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2608 | } | |
d14a1e28 RD |
2609 | return resultobj; |
2610 | fail: | |
2611 | return NULL; | |
2612 | } | |
2613 | ||
2614 | ||
2615 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2616 | PyObject *resultobj; | |
2617 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2618 | bool result; | |
2619 | PyObject * obj0 = 0 ; | |
2620 | char *kwnames[] = { | |
2621 | (char *) "self", NULL | |
2622 | }; | |
2623 | ||
2624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2627 | { |
2628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2629 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2630 | ||
2631 | wxPyEndAllowThreads(__tstate); | |
2632 | if (PyErr_Occurred()) SWIG_fail; | |
2633 | } | |
4f89f6a3 RD |
2634 | { |
2635 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2636 | } | |
d14a1e28 RD |
2637 | return resultobj; |
2638 | fail: | |
2639 | return NULL; | |
2640 | } | |
2641 | ||
2642 | ||
2643 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2644 | PyObject *resultobj; | |
2645 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2646 | wxIcon result; | |
2647 | PyObject * obj0 = 0 ; | |
2648 | char *kwnames[] = { | |
2649 | (char *) "self", NULL | |
2650 | }; | |
2651 | ||
2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2653 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2655 | { |
2656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2657 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2658 | ||
2659 | wxPyEndAllowThreads(__tstate); | |
2660 | if (PyErr_Occurred()) SWIG_fail; | |
2661 | } | |
2662 | { | |
2663 | wxIcon * resultptr; | |
2664 | resultptr = new wxIcon((wxIcon &) result); | |
2f4c0a16 | 2665 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2666 | } |
2667 | return resultobj; | |
2668 | fail: | |
2669 | return NULL; | |
2670 | } | |
2671 | ||
2672 | ||
2673 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2674 | PyObject *resultobj; | |
2675 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2676 | wxIcon *arg2 = 0 ; | |
2677 | PyObject * obj0 = 0 ; | |
2678 | PyObject * obj1 = 0 ; | |
2679 | char *kwnames[] = { | |
2680 | (char *) "self",(char *) "icon", NULL | |
2681 | }; | |
2682 | ||
2683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2686 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2687 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2688 | SWIG_fail; | |
d14a1e28 | 2689 | if (arg2 == NULL) { |
2f4c0a16 RD |
2690 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2691 | SWIG_fail; | |
d14a1e28 RD |
2692 | } |
2693 | { | |
2694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2695 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2696 | ||
2697 | wxPyEndAllowThreads(__tstate); | |
2698 | if (PyErr_Occurred()) SWIG_fail; | |
2699 | } | |
2700 | Py_INCREF(Py_None); resultobj = Py_None; | |
2701 | return resultobj; | |
2702 | fail: | |
2703 | return NULL; | |
2704 | } | |
2705 | ||
2706 | ||
2707 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2708 | PyObject *resultobj; | |
2709 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2710 | wxIconBundle *arg2 = 0 ; | |
2711 | PyObject * obj0 = 0 ; | |
2712 | PyObject * obj1 = 0 ; | |
2713 | char *kwnames[] = { | |
2714 | (char *) "self",(char *) "icons", NULL | |
2715 | }; | |
2716 | ||
2717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2720 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2721 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2722 | SWIG_fail; | |
d14a1e28 | 2723 | if (arg2 == NULL) { |
2f4c0a16 RD |
2724 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2725 | SWIG_fail; | |
d14a1e28 RD |
2726 | } |
2727 | { | |
2728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2729 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2730 | ||
2731 | wxPyEndAllowThreads(__tstate); | |
2732 | if (PyErr_Occurred()) SWIG_fail; | |
2733 | } | |
2734 | Py_INCREF(Py_None); resultobj = Py_None; | |
2735 | return resultobj; | |
2736 | fail: | |
2737 | return NULL; | |
2738 | } | |
2739 | ||
2740 | ||
2741 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2742 | PyObject *resultobj; | |
2743 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2744 | bool arg2 ; | |
2745 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2746 | bool result; | |
2747 | PyObject * obj0 = 0 ; | |
2748 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2749 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2750 | char *kwnames[] = { |
2751 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2752 | }; | |
2753 | ||
8edf1c75 | 2754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
2755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2757 | arg2 = (bool) SWIG_AsBool(obj1); | |
2758 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2759 | if (obj2) { |
2f4c0a16 RD |
2760 | arg3 = (long) SWIG_AsLong(obj2); |
2761 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2762 | } |
d14a1e28 RD |
2763 | { |
2764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2765 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2766 | ||
2767 | wxPyEndAllowThreads(__tstate); | |
2768 | if (PyErr_Occurred()) SWIG_fail; | |
2769 | } | |
4f89f6a3 RD |
2770 | { |
2771 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2772 | } | |
d14a1e28 RD |
2773 | return resultobj; |
2774 | fail: | |
2775 | return NULL; | |
2776 | } | |
2777 | ||
2778 | ||
2779 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2780 | PyObject *resultobj; | |
2781 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2782 | bool result; | |
2783 | PyObject * obj0 = 0 ; | |
2784 | char *kwnames[] = { | |
2785 | (char *) "self", NULL | |
2786 | }; | |
2787 | ||
2788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2791 | { |
2792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2793 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2794 | ||
2795 | wxPyEndAllowThreads(__tstate); | |
2796 | if (PyErr_Occurred()) SWIG_fail; | |
2797 | } | |
4f89f6a3 RD |
2798 | { |
2799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2800 | } | |
d14a1e28 RD |
2801 | return resultobj; |
2802 | fail: | |
2803 | return NULL; | |
2804 | } | |
2805 | ||
2806 | ||
2807 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2808 | PyObject *resultobj; | |
2809 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2810 | wxString *arg2 = 0 ; | |
423f194a | 2811 | bool temp2 = False ; |
d14a1e28 RD |
2812 | PyObject * obj0 = 0 ; |
2813 | PyObject * obj1 = 0 ; | |
2814 | char *kwnames[] = { | |
2815 | (char *) "self",(char *) "title", NULL | |
2816 | }; | |
2817 | ||
2818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2821 | { |
2822 | arg2 = wxString_in_helper(obj1); | |
2823 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2824 | temp2 = True; |
d14a1e28 RD |
2825 | } |
2826 | { | |
2827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2828 | (arg1)->SetTitle((wxString const &)*arg2); | |
2829 | ||
2830 | wxPyEndAllowThreads(__tstate); | |
2831 | if (PyErr_Occurred()) SWIG_fail; | |
2832 | } | |
2833 | Py_INCREF(Py_None); resultobj = Py_None; | |
2834 | { | |
2835 | if (temp2) | |
2836 | delete arg2; | |
2837 | } | |
2838 | return resultobj; | |
2839 | fail: | |
2840 | { | |
2841 | if (temp2) | |
2842 | delete arg2; | |
2843 | } | |
2844 | return NULL; | |
2845 | } | |
2846 | ||
2847 | ||
2848 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2849 | PyObject *resultobj; | |
2850 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2851 | wxString result; | |
2852 | PyObject * obj0 = 0 ; | |
2853 | char *kwnames[] = { | |
2854 | (char *) "self", NULL | |
2855 | }; | |
2856 | ||
2857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2860 | { |
2861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2862 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2863 | ||
2864 | wxPyEndAllowThreads(__tstate); | |
2865 | if (PyErr_Occurred()) SWIG_fail; | |
2866 | } | |
2867 | { | |
2868 | #if wxUSE_UNICODE | |
2869 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2870 | #else | |
2871 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2872 | #endif | |
2873 | } | |
2874 | return resultobj; | |
2875 | fail: | |
2876 | return NULL; | |
2877 | } | |
2878 | ||
2879 | ||
2880 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2881 | PyObject *resultobj; | |
2882 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2883 | wxRegion *arg2 = 0 ; | |
2884 | bool result; | |
2885 | PyObject * obj0 = 0 ; | |
2886 | PyObject * obj1 = 0 ; | |
2887 | char *kwnames[] = { | |
2888 | (char *) "self",(char *) "region", NULL | |
2889 | }; | |
2890 | ||
2891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2894 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
2895 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2896 | SWIG_fail; | |
d14a1e28 | 2897 | if (arg2 == NULL) { |
2f4c0a16 RD |
2898 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2899 | SWIG_fail; | |
d14a1e28 RD |
2900 | } |
2901 | { | |
2902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2903 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2904 | ||
2905 | wxPyEndAllowThreads(__tstate); | |
2906 | if (PyErr_Occurred()) SWIG_fail; | |
2907 | } | |
4f89f6a3 RD |
2908 | { |
2909 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2910 | } | |
d14a1e28 RD |
2911 | return resultobj; |
2912 | fail: | |
2913 | return NULL; | |
2914 | } | |
2915 | ||
2916 | ||
2917 | static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) { | |
2918 | PyObject *obj; | |
2919 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2920 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2921 | Py_INCREF(obj); | |
2922 | return Py_BuildValue((char *)""); | |
2923 | } | |
2924 | static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2925 | PyObject *resultobj; | |
2926 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 2927 | int arg2 ; |
d14a1e28 RD |
2928 | wxString *arg3 = 0 ; |
2929 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2930 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2931 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2932 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2933 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2934 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2935 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2936 | wxFrame *result; | |
423f194a | 2937 | bool temp3 = False ; |
d14a1e28 RD |
2938 | wxPoint temp4 ; |
2939 | wxSize temp5 ; | |
423f194a | 2940 | bool temp7 = False ; |
d14a1e28 | 2941 | PyObject * obj0 = 0 ; |
8edf1c75 | 2942 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2943 | PyObject * obj2 = 0 ; |
2944 | PyObject * obj3 = 0 ; | |
2945 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2946 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2947 | PyObject * obj6 = 0 ; |
2948 | char *kwnames[] = { | |
2949 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2950 | }; | |
2951 | ||
8edf1c75 | 2952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
2953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2955 | arg2 = (int const) SWIG_AsInt(obj1); | |
2956 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2957 | { |
2958 | arg3 = wxString_in_helper(obj2); | |
2959 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 2960 | temp3 = True; |
d14a1e28 RD |
2961 | } |
2962 | if (obj3) { | |
2963 | { | |
2964 | arg4 = &temp4; | |
2965 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2966 | } | |
2967 | } | |
2968 | if (obj4) { | |
2969 | { | |
2970 | arg5 = &temp5; | |
2971 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2972 | } | |
2973 | } | |
8edf1c75 | 2974 | if (obj5) { |
2f4c0a16 RD |
2975 | arg6 = (long) SWIG_AsLong(obj5); |
2976 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2977 | } |
d14a1e28 RD |
2978 | if (obj6) { |
2979 | { | |
2980 | arg7 = wxString_in_helper(obj6); | |
2981 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 2982 | temp7 = True; |
d14a1e28 RD |
2983 | } |
2984 | } | |
2985 | { | |
2986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2987 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2988 | ||
2989 | wxPyEndAllowThreads(__tstate); | |
2990 | if (PyErr_Occurred()) SWIG_fail; | |
2991 | } | |
2992 | { | |
2993 | resultobj = wxPyMake_wxObject(result); | |
2994 | } | |
2995 | { | |
2996 | if (temp3) | |
2997 | delete arg3; | |
2998 | } | |
2999 | { | |
3000 | if (temp7) | |
3001 | delete arg7; | |
3002 | } | |
3003 | return resultobj; | |
3004 | fail: | |
3005 | { | |
3006 | if (temp3) | |
3007 | delete arg3; | |
3008 | } | |
3009 | { | |
3010 | if (temp7) | |
3011 | delete arg7; | |
3012 | } | |
3013 | return NULL; | |
3014 | } | |
3015 | ||
3016 | ||
3017 | static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3018 | PyObject *resultobj; | |
3019 | wxFrame *result; | |
3020 | char *kwnames[] = { | |
3021 | NULL | |
3022 | }; | |
3023 | ||
3024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3025 | { | |
3026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3027 | result = (wxFrame *)new wxFrame(); | |
3028 | ||
3029 | wxPyEndAllowThreads(__tstate); | |
3030 | if (PyErr_Occurred()) SWIG_fail; | |
3031 | } | |
3032 | { | |
3033 | resultobj = wxPyMake_wxObject(result); | |
3034 | } | |
3035 | return resultobj; | |
3036 | fail: | |
3037 | return NULL; | |
3038 | } | |
3039 | ||
3040 | ||
3041 | static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3042 | PyObject *resultobj; | |
3043 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3044 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3045 | int arg3 ; |
d14a1e28 RD |
3046 | wxString *arg4 = 0 ; |
3047 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3048 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3049 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3050 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3051 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3052 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3053 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3054 | bool result; | |
423f194a | 3055 | bool temp4 = False ; |
d14a1e28 RD |
3056 | wxPoint temp5 ; |
3057 | wxSize temp6 ; | |
423f194a | 3058 | bool temp8 = False ; |
d14a1e28 RD |
3059 | PyObject * obj0 = 0 ; |
3060 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3061 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3062 | PyObject * obj3 = 0 ; |
3063 | PyObject * obj4 = 0 ; | |
3064 | PyObject * obj5 = 0 ; | |
8edf1c75 | 3065 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3066 | PyObject * obj7 = 0 ; |
3067 | char *kwnames[] = { | |
3068 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3069 | }; | |
3070 | ||
8edf1c75 | 3071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
3072 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3073 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3074 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3076 | arg3 = (int const) SWIG_AsInt(obj2); | |
3077 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3078 | { |
3079 | arg4 = wxString_in_helper(obj3); | |
3080 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3081 | temp4 = True; |
d14a1e28 RD |
3082 | } |
3083 | if (obj4) { | |
3084 | { | |
3085 | arg5 = &temp5; | |
3086 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3087 | } | |
3088 | } | |
3089 | if (obj5) { | |
3090 | { | |
3091 | arg6 = &temp6; | |
3092 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3093 | } | |
3094 | } | |
8edf1c75 | 3095 | if (obj6) { |
2f4c0a16 RD |
3096 | arg7 = (long) SWIG_AsLong(obj6); |
3097 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3098 | } |
d14a1e28 RD |
3099 | if (obj7) { |
3100 | { | |
3101 | arg8 = wxString_in_helper(obj7); | |
3102 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3103 | temp8 = True; |
d14a1e28 RD |
3104 | } |
3105 | } | |
3106 | { | |
3107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3108 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3109 | ||
3110 | wxPyEndAllowThreads(__tstate); | |
3111 | if (PyErr_Occurred()) SWIG_fail; | |
3112 | } | |
4f89f6a3 RD |
3113 | { |
3114 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3115 | } | |
d14a1e28 RD |
3116 | { |
3117 | if (temp4) | |
3118 | delete arg4; | |
3119 | } | |
3120 | { | |
3121 | if (temp8) | |
3122 | delete arg8; | |
3123 | } | |
3124 | return resultobj; | |
3125 | fail: | |
3126 | { | |
3127 | if (temp4) | |
3128 | delete arg4; | |
3129 | } | |
3130 | { | |
3131 | if (temp8) | |
3132 | delete arg8; | |
3133 | } | |
3134 | return NULL; | |
3135 | } | |
3136 | ||
3137 | ||
3138 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3139 | PyObject *resultobj; | |
3140 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3141 | wxPoint result; | |
3142 | PyObject * obj0 = 0 ; | |
3143 | char *kwnames[] = { | |
3144 | (char *) "self", NULL | |
3145 | }; | |
3146 | ||
3147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3150 | { |
3151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3152 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3153 | ||
3154 | wxPyEndAllowThreads(__tstate); | |
3155 | if (PyErr_Occurred()) SWIG_fail; | |
3156 | } | |
3157 | { | |
3158 | wxPoint * resultptr; | |
3159 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 3160 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3161 | } |
3162 | return resultobj; | |
3163 | fail: | |
3164 | return NULL; | |
3165 | } | |
3166 | ||
3167 | ||
3168 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3169 | PyObject *resultobj; | |
3170 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3171 | PyObject * obj0 = 0 ; | |
3172 | char *kwnames[] = { | |
3173 | (char *) "self", NULL | |
3174 | }; | |
3175 | ||
3176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3179 | { |
3180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3181 | (arg1)->SendSizeEvent(); | |
3182 | ||
3183 | wxPyEndAllowThreads(__tstate); | |
3184 | if (PyErr_Occurred()) SWIG_fail; | |
3185 | } | |
3186 | Py_INCREF(Py_None); resultobj = Py_None; | |
3187 | return resultobj; | |
3188 | fail: | |
3189 | return NULL; | |
3190 | } | |
3191 | ||
3192 | ||
3193 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3194 | PyObject *resultobj; | |
3195 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3196 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3197 | PyObject * obj0 = 0 ; | |
3198 | PyObject * obj1 = 0 ; | |
3199 | char *kwnames[] = { | |
3200 | (char *) "self",(char *) "menubar", NULL | |
3201 | }; | |
3202 | ||
3203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3206 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3208 | { |
3209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3210 | (arg1)->SetMenuBar(arg2); | |
3211 | ||
3212 | wxPyEndAllowThreads(__tstate); | |
3213 | if (PyErr_Occurred()) SWIG_fail; | |
3214 | } | |
3215 | Py_INCREF(Py_None); resultobj = Py_None; | |
3216 | return resultobj; | |
3217 | fail: | |
3218 | return NULL; | |
3219 | } | |
3220 | ||
3221 | ||
3222 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3223 | PyObject *resultobj; | |
3224 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3225 | wxMenuBar *result; | |
3226 | PyObject * obj0 = 0 ; | |
3227 | char *kwnames[] = { | |
3228 | (char *) "self", NULL | |
3229 | }; | |
3230 | ||
3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3234 | { |
3235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3236 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3237 | ||
3238 | wxPyEndAllowThreads(__tstate); | |
3239 | if (PyErr_Occurred()) SWIG_fail; | |
3240 | } | |
3241 | { | |
3242 | resultobj = wxPyMake_wxObject(result); | |
3243 | } | |
3244 | return resultobj; | |
3245 | fail: | |
3246 | return NULL; | |
3247 | } | |
3248 | ||
3249 | ||
3250 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3251 | PyObject *resultobj; | |
3252 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3253 | int arg2 ; | |
3254 | bool result; | |
3255 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3256 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3257 | char *kwnames[] = { |
3258 | (char *) "self",(char *) "winid", NULL | |
3259 | }; | |
3260 | ||
8edf1c75 | 3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3264 | arg2 = (int) SWIG_AsInt(obj1); | |
3265 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3266 | { |
3267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3268 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3269 | ||
3270 | wxPyEndAllowThreads(__tstate); | |
3271 | if (PyErr_Occurred()) SWIG_fail; | |
3272 | } | |
4f89f6a3 RD |
3273 | { |
3274 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3275 | } | |
d14a1e28 RD |
3276 | return resultobj; |
3277 | fail: | |
3278 | return NULL; | |
3279 | } | |
3280 | ||
3281 | ||
3282 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3283 | PyObject *resultobj; | |
3284 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3285 | int arg2 = (int) 1 ; | |
3286 | long arg3 = (long) wxST_SIZEGRIP ; | |
423f194a | 3287 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3288 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3289 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3290 | wxStatusBar *result; | |
423f194a | 3291 | bool temp5 = False ; |
d14a1e28 | 3292 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3293 | PyObject * obj1 = 0 ; |
3294 | PyObject * obj2 = 0 ; | |
3295 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3296 | PyObject * obj4 = 0 ; |
3297 | char *kwnames[] = { | |
3298 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3299 | }; | |
3300 | ||
8edf1c75 | 3301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
3302 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3303 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3304 | if (obj1) { |
2f4c0a16 RD |
3305 | arg2 = (int) SWIG_AsInt(obj1); |
3306 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3307 | } |
3308 | if (obj2) { | |
2f4c0a16 RD |
3309 | arg3 = (long) SWIG_AsLong(obj2); |
3310 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3311 | } |
3312 | if (obj3) { | |
2f4c0a16 RD |
3313 | arg4 = (int) SWIG_AsInt(obj3); |
3314 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3315 | } |
d14a1e28 RD |
3316 | if (obj4) { |
3317 | { | |
3318 | arg5 = wxString_in_helper(obj4); | |
3319 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 3320 | temp5 = True; |
d14a1e28 RD |
3321 | } |
3322 | } | |
3323 | { | |
3324 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3325 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3326 | ||
3327 | wxPyEndAllowThreads(__tstate); | |
3328 | if (PyErr_Occurred()) SWIG_fail; | |
3329 | } | |
3330 | { | |
3331 | resultobj = wxPyMake_wxObject(result); | |
3332 | } | |
3333 | { | |
3334 | if (temp5) | |
3335 | delete arg5; | |
3336 | } | |
3337 | return resultobj; | |
3338 | fail: | |
3339 | { | |
3340 | if (temp5) | |
3341 | delete arg5; | |
3342 | } | |
3343 | return NULL; | |
3344 | } | |
3345 | ||
3346 | ||
3347 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3348 | PyObject *resultobj; | |
3349 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3350 | wxStatusBar *result; | |
3351 | PyObject * obj0 = 0 ; | |
3352 | char *kwnames[] = { | |
3353 | (char *) "self", NULL | |
3354 | }; | |
3355 | ||
3356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3357 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3359 | { |
3360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3361 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3362 | ||
3363 | wxPyEndAllowThreads(__tstate); | |
3364 | if (PyErr_Occurred()) SWIG_fail; | |
3365 | } | |
3366 | { | |
3367 | resultobj = wxPyMake_wxObject(result); | |
3368 | } | |
3369 | return resultobj; | |
3370 | fail: | |
3371 | return NULL; | |
3372 | } | |
3373 | ||
3374 | ||
3375 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3376 | PyObject *resultobj; | |
3377 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3378 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3379 | PyObject * obj0 = 0 ; | |
3380 | PyObject * obj1 = 0 ; | |
3381 | char *kwnames[] = { | |
3382 | (char *) "self",(char *) "statBar", NULL | |
3383 | }; | |
3384 | ||
3385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3388 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3390 | { |
3391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3392 | (arg1)->SetStatusBar(arg2); | |
3393 | ||
3394 | wxPyEndAllowThreads(__tstate); | |
3395 | if (PyErr_Occurred()) SWIG_fail; | |
3396 | } | |
3397 | Py_INCREF(Py_None); resultobj = Py_None; | |
3398 | return resultobj; | |
3399 | fail: | |
3400 | return NULL; | |
3401 | } | |
3402 | ||
3403 | ||
3404 | static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3405 | PyObject *resultobj; | |
3406 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3407 | wxString *arg2 = 0 ; | |
3408 | int arg3 = (int) 0 ; | |
423f194a | 3409 | bool temp2 = False ; |
d14a1e28 RD |
3410 | PyObject * obj0 = 0 ; |
3411 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3412 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3413 | char *kwnames[] = { |
3414 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3415 | }; | |
3416 | ||
8edf1c75 | 3417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3420 | { |
3421 | arg2 = wxString_in_helper(obj1); | |
3422 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3423 | temp2 = True; |
d14a1e28 | 3424 | } |
8edf1c75 | 3425 | if (obj2) { |
2f4c0a16 RD |
3426 | arg3 = (int) SWIG_AsInt(obj2); |
3427 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3428 | } |
d14a1e28 RD |
3429 | { |
3430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3431 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3432 | ||
3433 | wxPyEndAllowThreads(__tstate); | |
3434 | if (PyErr_Occurred()) SWIG_fail; | |
3435 | } | |
3436 | Py_INCREF(Py_None); resultobj = Py_None; | |
3437 | { | |
3438 | if (temp2) | |
3439 | delete arg2; | |
3440 | } | |
3441 | return resultobj; | |
3442 | fail: | |
3443 | { | |
3444 | if (temp2) | |
3445 | delete arg2; | |
3446 | } | |
3447 | return NULL; | |
3448 | } | |
3449 | ||
3450 | ||
3451 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3452 | PyObject *resultobj; | |
3453 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3454 | int arg2 ; | |
3455 | int *arg3 = (int *) 0 ; | |
3456 | PyObject * obj0 = 0 ; | |
3457 | PyObject * obj1 = 0 ; | |
3458 | char *kwnames[] = { | |
3459 | (char *) "self",(char *) "widths", NULL | |
3460 | }; | |
3461 | ||
3462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3465 | { |
3466 | arg2 = PyList_Size(obj1); | |
3467 | arg3 = int_LIST_helper(obj1); | |
3468 | if (arg3 == NULL) SWIG_fail; | |
3469 | } | |
3470 | { | |
3471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3472 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3473 | ||
3474 | wxPyEndAllowThreads(__tstate); | |
3475 | if (PyErr_Occurred()) SWIG_fail; | |
3476 | } | |
3477 | Py_INCREF(Py_None); resultobj = Py_None; | |
3478 | { | |
3479 | if (arg3) delete [] arg3; | |
3480 | } | |
3481 | return resultobj; | |
3482 | fail: | |
3483 | { | |
3484 | if (arg3) delete [] arg3; | |
3485 | } | |
3486 | return NULL; | |
3487 | } | |
3488 | ||
3489 | ||
3490 | static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3491 | PyObject *resultobj; | |
3492 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3493 | wxString *arg2 = 0 ; | |
3494 | int arg3 = (int) 0 ; | |
423f194a | 3495 | bool temp2 = False ; |
d14a1e28 RD |
3496 | PyObject * obj0 = 0 ; |
3497 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3498 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3499 | char *kwnames[] = { |
3500 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3501 | }; | |
3502 | ||
8edf1c75 | 3503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3506 | { |
3507 | arg2 = wxString_in_helper(obj1); | |
3508 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3509 | temp2 = True; |
d14a1e28 | 3510 | } |
8edf1c75 | 3511 | if (obj2) { |
2f4c0a16 RD |
3512 | arg3 = (int) SWIG_AsInt(obj2); |
3513 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3514 | } |
d14a1e28 RD |
3515 | { |
3516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3517 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3518 | ||
3519 | wxPyEndAllowThreads(__tstate); | |
3520 | if (PyErr_Occurred()) SWIG_fail; | |
3521 | } | |
3522 | Py_INCREF(Py_None); resultobj = Py_None; | |
3523 | { | |
3524 | if (temp2) | |
3525 | delete arg2; | |
3526 | } | |
3527 | return resultobj; | |
3528 | fail: | |
3529 | { | |
3530 | if (temp2) | |
3531 | delete arg2; | |
3532 | } | |
3533 | return NULL; | |
3534 | } | |
3535 | ||
3536 | ||
3537 | static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3538 | PyObject *resultobj; | |
3539 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3540 | int arg2 = (int) 0 ; | |
3541 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3542 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3543 | char *kwnames[] = { |
3544 | (char *) "self",(char *) "number", NULL | |
3545 | }; | |
3546 | ||
8edf1c75 | 3547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3550 | if (obj1) { |
2f4c0a16 RD |
3551 | arg2 = (int) SWIG_AsInt(obj1); |
3552 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3553 | } |
d14a1e28 RD |
3554 | { |
3555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3556 | (arg1)->PopStatusText(arg2); | |
3557 | ||
3558 | wxPyEndAllowThreads(__tstate); | |
3559 | if (PyErr_Occurred()) SWIG_fail; | |
3560 | } | |
3561 | Py_INCREF(Py_None); resultobj = Py_None; | |
3562 | return resultobj; | |
3563 | fail: | |
3564 | return NULL; | |
3565 | } | |
3566 | ||
3567 | ||
3568 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3569 | PyObject *resultobj; | |
3570 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3571 | int arg2 ; | |
3572 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3573 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3574 | char *kwnames[] = { |
3575 | (char *) "self",(char *) "n", NULL | |
3576 | }; | |
3577 | ||
8edf1c75 | 3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3581 | arg2 = (int) SWIG_AsInt(obj1); | |
3582 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3583 | { |
3584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3585 | (arg1)->SetStatusBarPane(arg2); | |
3586 | ||
3587 | wxPyEndAllowThreads(__tstate); | |
3588 | if (PyErr_Occurred()) SWIG_fail; | |
3589 | } | |
3590 | Py_INCREF(Py_None); resultobj = Py_None; | |
3591 | return resultobj; | |
3592 | fail: | |
3593 | return NULL; | |
3594 | } | |
3595 | ||
3596 | ||
3597 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3598 | PyObject *resultobj; | |
3599 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3600 | int result; | |
3601 | PyObject * obj0 = 0 ; | |
3602 | char *kwnames[] = { | |
3603 | (char *) "self", NULL | |
3604 | }; | |
3605 | ||
3606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3609 | { |
3610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3611 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3612 | ||
3613 | wxPyEndAllowThreads(__tstate); | |
3614 | if (PyErr_Occurred()) SWIG_fail; | |
3615 | } | |
2f4c0a16 | 3616 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3617 | return resultobj; |
3618 | fail: | |
3619 | return NULL; | |
3620 | } | |
3621 | ||
3622 | ||
3623 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3624 | PyObject *resultobj; | |
3625 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3626 | long arg2 = (long) -1 ; | |
423f194a | 3627 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3628 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3629 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3630 | wxToolBar *result; | |
423f194a | 3631 | bool temp4 = False ; |
d14a1e28 | 3632 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3633 | PyObject * obj1 = 0 ; |
3634 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3635 | PyObject * obj3 = 0 ; |
3636 | char *kwnames[] = { | |
3637 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3638 | }; | |
3639 | ||
8edf1c75 | 3640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
3641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3643 | if (obj1) { |
2f4c0a16 RD |
3644 | arg2 = (long) SWIG_AsLong(obj1); |
3645 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3646 | } |
3647 | if (obj2) { | |
2f4c0a16 RD |
3648 | arg3 = (int) SWIG_AsInt(obj2); |
3649 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3650 | } |
d14a1e28 RD |
3651 | if (obj3) { |
3652 | { | |
3653 | arg4 = wxString_in_helper(obj3); | |
3654 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3655 | temp4 = True; |
d14a1e28 RD |
3656 | } |
3657 | } | |
3658 | { | |
3659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3660 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3661 | ||
3662 | wxPyEndAllowThreads(__tstate); | |
3663 | if (PyErr_Occurred()) SWIG_fail; | |
3664 | } | |
3665 | { | |
3666 | resultobj = wxPyMake_wxObject(result); | |
3667 | } | |
3668 | { | |
3669 | if (temp4) | |
3670 | delete arg4; | |
3671 | } | |
3672 | return resultobj; | |
3673 | fail: | |
3674 | { | |
3675 | if (temp4) | |
3676 | delete arg4; | |
3677 | } | |
3678 | return NULL; | |
3679 | } | |
3680 | ||
3681 | ||
3682 | static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3683 | PyObject *resultobj; | |
3684 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3685 | wxToolBar *result; | |
3686 | PyObject * obj0 = 0 ; | |
3687 | char *kwnames[] = { | |
3688 | (char *) "self", NULL | |
3689 | }; | |
3690 | ||
3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3692 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3693 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3694 | { |
3695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3696 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3697 | ||
3698 | wxPyEndAllowThreads(__tstate); | |
3699 | if (PyErr_Occurred()) SWIG_fail; | |
3700 | } | |
3701 | { | |
3702 | resultobj = wxPyMake_wxObject(result); | |
3703 | } | |
3704 | return resultobj; | |
3705 | fail: | |
3706 | return NULL; | |
3707 | } | |
3708 | ||
3709 | ||
3710 | static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3711 | PyObject *resultobj; | |
3712 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3713 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3714 | PyObject * obj0 = 0 ; | |
3715 | PyObject * obj1 = 0 ; | |
3716 | char *kwnames[] = { | |
3717 | (char *) "self",(char *) "toolbar", NULL | |
3718 | }; | |
3719 | ||
3720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3723 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3725 | { |
3726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3727 | (arg1)->SetToolBar(arg2); | |
3728 | ||
3729 | wxPyEndAllowThreads(__tstate); | |
3730 | if (PyErr_Occurred()) SWIG_fail; | |
3731 | } | |
3732 | Py_INCREF(Py_None); resultobj = Py_None; | |
3733 | return resultobj; | |
3734 | fail: | |
3735 | return NULL; | |
3736 | } | |
3737 | ||
3738 | ||
3739 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3740 | PyObject *resultobj; | |
3741 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3742 | wxString *arg2 = 0 ; | |
3743 | bool arg3 ; | |
423f194a | 3744 | bool temp2 = False ; |
d14a1e28 RD |
3745 | PyObject * obj0 = 0 ; |
3746 | PyObject * obj1 = 0 ; | |
3747 | PyObject * obj2 = 0 ; | |
3748 | char *kwnames[] = { | |
3749 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3750 | }; | |
3751 | ||
3752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3755 | { |
3756 | arg2 = wxString_in_helper(obj1); | |
3757 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3758 | temp2 = True; |
d14a1e28 | 3759 | } |
2f4c0a16 RD |
3760 | arg3 = (bool) SWIG_AsBool(obj2); |
3761 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3762 | { |
3763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3764 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3765 | ||
3766 | wxPyEndAllowThreads(__tstate); | |
3767 | if (PyErr_Occurred()) SWIG_fail; | |
3768 | } | |
3769 | Py_INCREF(Py_None); resultobj = Py_None; | |
3770 | { | |
3771 | if (temp2) | |
3772 | delete arg2; | |
3773 | } | |
3774 | return resultobj; | |
3775 | fail: | |
3776 | { | |
3777 | if (temp2) | |
3778 | delete arg2; | |
3779 | } | |
3780 | return NULL; | |
3781 | } | |
3782 | ||
3783 | ||
3784 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3785 | PyObject *resultobj; | |
3786 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3787 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3788 | PyObject * obj0 = 0 ; | |
3789 | PyObject * obj1 = 0 ; | |
3790 | char *kwnames[] = { | |
3791 | (char *) "self",(char *) "menu", NULL | |
3792 | }; | |
3793 | ||
3794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3797 | if (obj1) { |
2f4c0a16 RD |
3798 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3799 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3800 | } |
3801 | { | |
3802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3803 | (arg1)->DoMenuUpdates(arg2); | |
3804 | ||
3805 | wxPyEndAllowThreads(__tstate); | |
3806 | if (PyErr_Occurred()) SWIG_fail; | |
3807 | } | |
3808 | Py_INCREF(Py_None); resultobj = Py_None; | |
3809 | return resultobj; | |
3810 | fail: | |
3811 | return NULL; | |
3812 | } | |
3813 | ||
3814 | ||
3815 | static PyObject * Frame_swigregister(PyObject *self, PyObject *args) { | |
3816 | PyObject *obj; | |
3817 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3818 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3819 | Py_INCREF(obj); | |
3820 | return Py_BuildValue((char *)""); | |
3821 | } | |
3822 | static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3823 | PyObject *resultobj; | |
3824 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 3825 | int arg2 ; |
d14a1e28 RD |
3826 | wxString *arg3 = 0 ; |
3827 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3828 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3829 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3830 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3831 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3832 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3833 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3834 | wxDialog *result; | |
423f194a | 3835 | bool temp3 = False ; |
d14a1e28 RD |
3836 | wxPoint temp4 ; |
3837 | wxSize temp5 ; | |
423f194a | 3838 | bool temp7 = False ; |
d14a1e28 | 3839 | PyObject * obj0 = 0 ; |
8edf1c75 | 3840 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3841 | PyObject * obj2 = 0 ; |
3842 | PyObject * obj3 = 0 ; | |
3843 | PyObject * obj4 = 0 ; | |
8edf1c75 | 3844 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3845 | PyObject * obj6 = 0 ; |
3846 | char *kwnames[] = { | |
3847 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3848 | }; | |
3849 | ||
8edf1c75 | 3850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
3851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3853 | arg2 = (int const) SWIG_AsInt(obj1); | |
3854 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3855 | { |
3856 | arg3 = wxString_in_helper(obj2); | |
3857 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 3858 | temp3 = True; |
d14a1e28 RD |
3859 | } |
3860 | if (obj3) { | |
3861 | { | |
3862 | arg4 = &temp4; | |
3863 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3864 | } | |
3865 | } | |
3866 | if (obj4) { | |
3867 | { | |
3868 | arg5 = &temp5; | |
3869 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3870 | } | |
3871 | } | |
8edf1c75 | 3872 | if (obj5) { |
2f4c0a16 RD |
3873 | arg6 = (long) SWIG_AsLong(obj5); |
3874 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3875 | } |
d14a1e28 RD |
3876 | if (obj6) { |
3877 | { | |
3878 | arg7 = wxString_in_helper(obj6); | |
3879 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 3880 | temp7 = True; |
d14a1e28 RD |
3881 | } |
3882 | } | |
3883 | { | |
3884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3885 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3886 | ||
3887 | wxPyEndAllowThreads(__tstate); | |
3888 | if (PyErr_Occurred()) SWIG_fail; | |
3889 | } | |
2f4c0a16 | 3890 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3891 | { |
3892 | if (temp3) | |
3893 | delete arg3; | |
3894 | } | |
3895 | { | |
3896 | if (temp7) | |
3897 | delete arg7; | |
3898 | } | |
3899 | return resultobj; | |
3900 | fail: | |
3901 | { | |
3902 | if (temp3) | |
3903 | delete arg3; | |
3904 | } | |
3905 | { | |
3906 | if (temp7) | |
3907 | delete arg7; | |
3908 | } | |
3909 | return NULL; | |
3910 | } | |
3911 | ||
3912 | ||
3913 | static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3914 | PyObject *resultobj; | |
3915 | wxDialog *result; | |
3916 | char *kwnames[] = { | |
3917 | NULL | |
3918 | }; | |
3919 | ||
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3921 | { | |
3922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3923 | result = (wxDialog *)new wxDialog(); | |
3924 | ||
3925 | wxPyEndAllowThreads(__tstate); | |
3926 | if (PyErr_Occurred()) SWIG_fail; | |
3927 | } | |
2f4c0a16 | 3928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3929 | return resultobj; |
3930 | fail: | |
3931 | return NULL; | |
3932 | } | |
3933 | ||
3934 | ||
3935 | static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3936 | PyObject *resultobj; | |
3937 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3938 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3939 | int arg3 ; |
d14a1e28 RD |
3940 | wxString *arg4 = 0 ; |
3941 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3942 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3943 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3944 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3945 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3946 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3947 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3948 | bool result; | |
423f194a | 3949 | bool temp4 = False ; |
d14a1e28 RD |
3950 | wxPoint temp5 ; |
3951 | wxSize temp6 ; | |
423f194a | 3952 | bool temp8 = False ; |
d14a1e28 RD |
3953 | PyObject * obj0 = 0 ; |
3954 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3955 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3956 | PyObject * obj3 = 0 ; |
3957 | PyObject * obj4 = 0 ; | |
3958 | PyObject * obj5 = 0 ; | |
8edf1c75 | 3959 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3960 | PyObject * obj7 = 0 ; |
3961 | char *kwnames[] = { | |
3962 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3963 | }; | |
3964 | ||
8edf1c75 | 3965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
3966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3968 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3970 | arg3 = (int const) SWIG_AsInt(obj2); | |
3971 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3972 | { |
3973 | arg4 = wxString_in_helper(obj3); | |
3974 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3975 | temp4 = True; |
d14a1e28 RD |
3976 | } |
3977 | if (obj4) { | |
3978 | { | |
3979 | arg5 = &temp5; | |
3980 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3981 | } | |
3982 | } | |
3983 | if (obj5) { | |
3984 | { | |
3985 | arg6 = &temp6; | |
3986 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3987 | } | |
3988 | } | |
8edf1c75 | 3989 | if (obj6) { |
2f4c0a16 RD |
3990 | arg7 = (long) SWIG_AsLong(obj6); |
3991 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3992 | } |
d14a1e28 RD |
3993 | if (obj7) { |
3994 | { | |
3995 | arg8 = wxString_in_helper(obj7); | |
3996 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3997 | temp8 = True; |
d14a1e28 RD |
3998 | } |
3999 | } | |
4000 | { | |
4001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4002 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4003 | ||
4004 | wxPyEndAllowThreads(__tstate); | |
4005 | if (PyErr_Occurred()) SWIG_fail; | |
4006 | } | |
4f89f6a3 RD |
4007 | { |
4008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4009 | } | |
d14a1e28 RD |
4010 | { |
4011 | if (temp4) | |
4012 | delete arg4; | |
4013 | } | |
4014 | { | |
4015 | if (temp8) | |
4016 | delete arg8; | |
4017 | } | |
4018 | return resultobj; | |
4019 | fail: | |
4020 | { | |
4021 | if (temp4) | |
4022 | delete arg4; | |
4023 | } | |
4024 | { | |
4025 | if (temp8) | |
4026 | delete arg8; | |
4027 | } | |
4028 | return NULL; | |
4029 | } | |
4030 | ||
4031 | ||
4032 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4033 | PyObject *resultobj; | |
4034 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4035 | int arg2 ; | |
4036 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4037 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4038 | char *kwnames[] = { |
4039 | (char *) "self",(char *) "returnCode", NULL | |
4040 | }; | |
4041 | ||
8edf1c75 | 4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4045 | arg2 = (int) SWIG_AsInt(obj1); | |
4046 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4047 | { |
4048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4049 | (arg1)->SetReturnCode(arg2); | |
4050 | ||
4051 | wxPyEndAllowThreads(__tstate); | |
4052 | if (PyErr_Occurred()) SWIG_fail; | |
4053 | } | |
4054 | Py_INCREF(Py_None); resultobj = Py_None; | |
4055 | return resultobj; | |
4056 | fail: | |
4057 | return NULL; | |
4058 | } | |
4059 | ||
4060 | ||
4061 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4062 | PyObject *resultobj; | |
4063 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4064 | int result; | |
4065 | PyObject * obj0 = 0 ; | |
4066 | char *kwnames[] = { | |
4067 | (char *) "self", NULL | |
4068 | }; | |
4069 | ||
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4073 | { |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) SWIG_fail; | |
4079 | } | |
2f4c0a16 | 4080 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4081 | return resultobj; |
4082 | fail: | |
4083 | return NULL; | |
4084 | } | |
4085 | ||
4086 | ||
4087 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4088 | PyObject *resultobj; | |
4089 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4090 | wxString *arg2 = 0 ; | |
4091 | wxSizer *result; | |
423f194a | 4092 | bool temp2 = False ; |
d14a1e28 RD |
4093 | PyObject * obj0 = 0 ; |
4094 | PyObject * obj1 = 0 ; | |
4095 | char *kwnames[] = { | |
4096 | (char *) "self",(char *) "message", NULL | |
4097 | }; | |
4098 | ||
4099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4102 | { |
4103 | arg2 = wxString_in_helper(obj1); | |
4104 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4105 | temp2 = True; |
d14a1e28 RD |
4106 | } |
4107 | { | |
4108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4109 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4110 | ||
4111 | wxPyEndAllowThreads(__tstate); | |
4112 | if (PyErr_Occurred()) SWIG_fail; | |
4113 | } | |
4114 | { | |
4115 | resultobj = wxPyMake_wxSizer(result); | |
4116 | } | |
4117 | { | |
4118 | if (temp2) | |
4119 | delete arg2; | |
4120 | } | |
4121 | return resultobj; | |
4122 | fail: | |
4123 | { | |
4124 | if (temp2) | |
4125 | delete arg2; | |
4126 | } | |
4127 | return NULL; | |
4128 | } | |
4129 | ||
4130 | ||
4131 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4132 | PyObject *resultobj; | |
4133 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4134 | long arg2 ; | |
4135 | wxSizer *result; | |
4136 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4137 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4138 | char *kwnames[] = { |
4139 | (char *) "self",(char *) "flags", NULL | |
4140 | }; | |
4141 | ||
8edf1c75 | 4142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4145 | arg2 = (long) SWIG_AsLong(obj1); | |
4146 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4147 | { |
4148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4149 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4150 | ||
4151 | wxPyEndAllowThreads(__tstate); | |
4152 | if (PyErr_Occurred()) SWIG_fail; | |
4153 | } | |
4154 | { | |
4155 | resultobj = wxPyMake_wxSizer(result); | |
4156 | } | |
4157 | return resultobj; | |
4158 | fail: | |
4159 | return NULL; | |
4160 | } | |
4161 | ||
4162 | ||
d14a1e28 RD |
4163 | static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) { |
4164 | PyObject *resultobj; | |
4165 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4166 | bool result; | |
4167 | PyObject * obj0 = 0 ; | |
4168 | char *kwnames[] = { | |
4169 | (char *) "self", NULL | |
4170 | }; | |
4171 | ||
4172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4175 | { |
4176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4177 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4178 | ||
4179 | wxPyEndAllowThreads(__tstate); | |
4180 | if (PyErr_Occurred()) SWIG_fail; | |
4181 | } | |
4f89f6a3 RD |
4182 | { |
4183 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4184 | } | |
d14a1e28 RD |
4185 | return resultobj; |
4186 | fail: | |
4187 | return NULL; | |
4188 | } | |
4189 | ||
4190 | ||
4191 | static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4192 | PyObject *resultobj; | |
4193 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4194 | int result; | |
4195 | PyObject * obj0 = 0 ; | |
4196 | char *kwnames[] = { | |
4197 | (char *) "self", NULL | |
4198 | }; | |
4199 | ||
4200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4203 | { |
4204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4205 | result = (int)(arg1)->ShowModal(); | |
4206 | ||
4207 | wxPyEndAllowThreads(__tstate); | |
4208 | if (PyErr_Occurred()) SWIG_fail; | |
4209 | } | |
2f4c0a16 | 4210 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4211 | return resultobj; |
4212 | fail: | |
4213 | return NULL; | |
4214 | } | |
4215 | ||
4216 | ||
4217 | static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4218 | PyObject *resultobj; | |
4219 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4220 | int arg2 ; | |
4221 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4222 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4223 | char *kwnames[] = { |
4224 | (char *) "self",(char *) "retCode", NULL | |
4225 | }; | |
4226 | ||
8edf1c75 | 4227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4230 | arg2 = (int) SWIG_AsInt(obj1); | |
4231 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4232 | { |
4233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4234 | (arg1)->EndModal(arg2); | |
4235 | ||
4236 | wxPyEndAllowThreads(__tstate); | |
4237 | if (PyErr_Occurred()) SWIG_fail; | |
4238 | } | |
4239 | Py_INCREF(Py_None); resultobj = Py_None; | |
4240 | return resultobj; | |
4241 | fail: | |
4242 | return NULL; | |
4243 | } | |
4244 | ||
4245 | ||
4246 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4247 | PyObject *resultobj; | |
4248 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4249 | bool result; | |
4250 | PyObject * obj0 = 0 ; | |
4251 | char *kwnames[] = { | |
4252 | (char *) "self", NULL | |
4253 | }; | |
4254 | ||
4255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4258 | { |
4259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4260 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4261 | ||
4262 | wxPyEndAllowThreads(__tstate); | |
4263 | if (PyErr_Occurred()) SWIG_fail; | |
4264 | } | |
4f89f6a3 RD |
4265 | { |
4266 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4267 | } | |
d14a1e28 RD |
4268 | return resultobj; |
4269 | fail: | |
4270 | return NULL; | |
4271 | } | |
4272 | ||
4273 | ||
4274 | static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) { | |
4275 | PyObject *obj; | |
4276 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4277 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4278 | Py_INCREF(obj); | |
4279 | return Py_BuildValue((char *)""); | |
4280 | } | |
4281 | static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4282 | PyObject *resultobj; | |
4283 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4284 | int arg2 ; |
d14a1e28 RD |
4285 | wxString *arg3 = 0 ; |
4286 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4287 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4288 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4289 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4290 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4291 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4292 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4293 | wxMiniFrame *result; | |
423f194a | 4294 | bool temp3 = False ; |
d14a1e28 RD |
4295 | wxPoint temp4 ; |
4296 | wxSize temp5 ; | |
423f194a | 4297 | bool temp7 = False ; |
d14a1e28 | 4298 | PyObject * obj0 = 0 ; |
8edf1c75 | 4299 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4300 | PyObject * obj2 = 0 ; |
4301 | PyObject * obj3 = 0 ; | |
4302 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4303 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4304 | PyObject * obj6 = 0 ; |
4305 | char *kwnames[] = { | |
4306 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4307 | }; | |
4308 | ||
8edf1c75 | 4309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
4310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4312 | arg2 = (int const) SWIG_AsInt(obj1); | |
4313 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4314 | { |
4315 | arg3 = wxString_in_helper(obj2); | |
4316 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 4317 | temp3 = True; |
d14a1e28 RD |
4318 | } |
4319 | if (obj3) { | |
4320 | { | |
4321 | arg4 = &temp4; | |
4322 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4323 | } | |
4324 | } | |
4325 | if (obj4) { | |
4326 | { | |
4327 | arg5 = &temp5; | |
4328 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4329 | } | |
4330 | } | |
8edf1c75 | 4331 | if (obj5) { |
2f4c0a16 RD |
4332 | arg6 = (long) SWIG_AsLong(obj5); |
4333 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4334 | } |
d14a1e28 RD |
4335 | if (obj6) { |
4336 | { | |
4337 | arg7 = wxString_in_helper(obj6); | |
4338 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 4339 | temp7 = True; |
d14a1e28 RD |
4340 | } |
4341 | } | |
4342 | { | |
4343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4344 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4345 | ||
4346 | wxPyEndAllowThreads(__tstate); | |
4347 | if (PyErr_Occurred()) SWIG_fail; | |
4348 | } | |
2f4c0a16 | 4349 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4350 | { |
4351 | if (temp3) | |
4352 | delete arg3; | |
4353 | } | |
4354 | { | |
4355 | if (temp7) | |
4356 | delete arg7; | |
4357 | } | |
4358 | return resultobj; | |
4359 | fail: | |
4360 | { | |
4361 | if (temp3) | |
4362 | delete arg3; | |
4363 | } | |
4364 | { | |
4365 | if (temp7) | |
4366 | delete arg7; | |
4367 | } | |
4368 | return NULL; | |
4369 | } | |
4370 | ||
4371 | ||
4372 | static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4373 | PyObject *resultobj; | |
4374 | wxMiniFrame *result; | |
4375 | char *kwnames[] = { | |
4376 | NULL | |
4377 | }; | |
4378 | ||
4379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4380 | { | |
4381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4382 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4383 | ||
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
2f4c0a16 | 4387 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4388 | return resultobj; |
4389 | fail: | |
4390 | return NULL; | |
4391 | } | |
4392 | ||
4393 | ||
4394 | static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4395 | PyObject *resultobj; | |
4396 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4397 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4398 | int arg3 ; |
d14a1e28 RD |
4399 | wxString *arg4 = 0 ; |
4400 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4401 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4402 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4403 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4404 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4405 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4406 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4407 | bool result; | |
423f194a | 4408 | bool temp4 = False ; |
d14a1e28 RD |
4409 | wxPoint temp5 ; |
4410 | wxSize temp6 ; | |
423f194a | 4411 | bool temp8 = False ; |
d14a1e28 RD |
4412 | PyObject * obj0 = 0 ; |
4413 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4414 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4415 | PyObject * obj3 = 0 ; |
4416 | PyObject * obj4 = 0 ; | |
4417 | PyObject * obj5 = 0 ; | |
8edf1c75 | 4418 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4419 | PyObject * obj7 = 0 ; |
4420 | char *kwnames[] = { | |
4421 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4422 | }; | |
4423 | ||
8edf1c75 | 4424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
4425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4427 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4429 | arg3 = (int const) SWIG_AsInt(obj2); | |
4430 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4431 | { |
4432 | arg4 = wxString_in_helper(obj3); | |
4433 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4434 | temp4 = True; |
d14a1e28 RD |
4435 | } |
4436 | if (obj4) { | |
4437 | { | |
4438 | arg5 = &temp5; | |
4439 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4440 | } | |
4441 | } | |
4442 | if (obj5) { | |
4443 | { | |
4444 | arg6 = &temp6; | |
4445 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4446 | } | |
4447 | } | |
8edf1c75 | 4448 | if (obj6) { |
2f4c0a16 RD |
4449 | arg7 = (long) SWIG_AsLong(obj6); |
4450 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4451 | } |
d14a1e28 RD |
4452 | if (obj7) { |
4453 | { | |
4454 | arg8 = wxString_in_helper(obj7); | |
4455 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 4456 | temp8 = True; |
d14a1e28 RD |
4457 | } |
4458 | } | |
4459 | { | |
4460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4461 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4462 | ||
4463 | wxPyEndAllowThreads(__tstate); | |
4464 | if (PyErr_Occurred()) SWIG_fail; | |
4465 | } | |
4f89f6a3 RD |
4466 | { |
4467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4468 | } | |
d14a1e28 RD |
4469 | { |
4470 | if (temp4) | |
4471 | delete arg4; | |
4472 | } | |
4473 | { | |
4474 | if (temp8) | |
4475 | delete arg8; | |
4476 | } | |
4477 | return resultobj; | |
4478 | fail: | |
4479 | { | |
4480 | if (temp4) | |
4481 | delete arg4; | |
4482 | } | |
4483 | { | |
4484 | if (temp8) | |
4485 | delete arg8; | |
4486 | } | |
4487 | return NULL; | |
4488 | } | |
4489 | ||
4490 | ||
4491 | static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) { | |
4492 | PyObject *obj; | |
4493 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4494 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4495 | Py_INCREF(obj); | |
4496 | return Py_BuildValue((char *)""); | |
4497 | } | |
4498 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4499 | PyObject *resultobj; | |
4500 | wxBitmap *arg1 = 0 ; | |
4501 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4502 | int arg3 ; |
d14a1e28 RD |
4503 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4504 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4505 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4506 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4507 | long arg6 = (long) wxNO_BORDER ; | |
4508 | wxSplashScreenWindow *result; | |
4509 | wxPoint temp4 ; | |
4510 | wxSize temp5 ; | |
4511 | PyObject * obj0 = 0 ; | |
4512 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4513 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4514 | PyObject * obj3 = 0 ; |
4515 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4516 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4517 | char *kwnames[] = { |
4518 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4519 | }; | |
4520 | ||
8edf1c75 | 4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
4522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4523 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4524 | SWIG_fail; | |
d14a1e28 | 4525 | if (arg1 == NULL) { |
2f4c0a16 RD |
4526 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4527 | SWIG_fail; | |
8edf1c75 | 4528 | } |
2f4c0a16 RD |
4529 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4530 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4531 | arg3 = (int) SWIG_AsInt(obj2); | |
4532 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4533 | if (obj3) { |
4534 | { | |
4535 | arg4 = &temp4; | |
4536 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4537 | } | |
4538 | } | |
4539 | if (obj4) { | |
4540 | { | |
4541 | arg5 = &temp5; | |
4542 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4543 | } | |
4544 | } | |
8edf1c75 | 4545 | if (obj5) { |
2f4c0a16 RD |
4546 | arg6 = (long) SWIG_AsLong(obj5); |
4547 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4548 | } |
d14a1e28 RD |
4549 | { |
4550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4551 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4552 | ||
4553 | wxPyEndAllowThreads(__tstate); | |
4554 | if (PyErr_Occurred()) SWIG_fail; | |
4555 | } | |
2f4c0a16 | 4556 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4557 | return resultobj; |
4558 | fail: | |
4559 | return NULL; | |
4560 | } | |
4561 | ||
4562 | ||
4563 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4564 | PyObject *resultobj; | |
4565 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4566 | wxBitmap *arg2 = 0 ; | |
4567 | PyObject * obj0 = 0 ; | |
4568 | PyObject * obj1 = 0 ; | |
4569 | char *kwnames[] = { | |
4570 | (char *) "self",(char *) "bitmap", NULL | |
4571 | }; | |
4572 | ||
4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4574 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4575 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4576 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4577 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4578 | SWIG_fail; | |
d14a1e28 | 4579 | if (arg2 == NULL) { |
2f4c0a16 RD |
4580 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4581 | SWIG_fail; | |
d14a1e28 RD |
4582 | } |
4583 | { | |
4584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4585 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4586 | ||
4587 | wxPyEndAllowThreads(__tstate); | |
4588 | if (PyErr_Occurred()) SWIG_fail; | |
4589 | } | |
4590 | Py_INCREF(Py_None); resultobj = Py_None; | |
4591 | return resultobj; | |
4592 | fail: | |
4593 | return NULL; | |
4594 | } | |
4595 | ||
4596 | ||
4597 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4598 | PyObject *resultobj; | |
4599 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4600 | wxBitmap *result; | |
4601 | PyObject * obj0 = 0 ; | |
4602 | char *kwnames[] = { | |
4603 | (char *) "self", NULL | |
4604 | }; | |
4605 | ||
4606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4607 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4608 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4609 | { |
4610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4611 | { | |
4612 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4613 | result = (wxBitmap *) &_result_ref; | |
4614 | } | |
4615 | ||
4616 | wxPyEndAllowThreads(__tstate); | |
4617 | if (PyErr_Occurred()) SWIG_fail; | |
4618 | } | |
fe763115 RD |
4619 | { |
4620 | wxBitmap* resultptr = new wxBitmap(*result); | |
4621 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4622 | } | |
d14a1e28 RD |
4623 | return resultobj; |
4624 | fail: | |
4625 | return NULL; | |
4626 | } | |
4627 | ||
4628 | ||
4629 | static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) { | |
4630 | PyObject *obj; | |
4631 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4632 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4633 | Py_INCREF(obj); | |
4634 | return Py_BuildValue((char *)""); | |
4635 | } | |
4636 | static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4637 | PyObject *resultobj; | |
4638 | wxBitmap *arg1 = 0 ; | |
4639 | long arg2 ; | |
4640 | int arg3 ; | |
4641 | wxWindow *arg4 = (wxWindow *) 0 ; | |
423f194a | 4642 | int arg5 ; |
d14a1e28 RD |
4643 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4644 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4645 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4646 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4647 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4648 | wxSplashScreen *result; | |
4649 | wxPoint temp6 ; | |
4650 | wxSize temp7 ; | |
4651 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4652 | PyObject * obj1 = 0 ; |
4653 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4654 | PyObject * obj3 = 0 ; |
8edf1c75 | 4655 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4656 | PyObject * obj5 = 0 ; |
4657 | PyObject * obj6 = 0 ; | |
8edf1c75 | 4658 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4659 | char *kwnames[] = { |
4660 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4661 | }; | |
4662 | ||
8edf1c75 | 4663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
4664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4665 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4666 | SWIG_fail; | |
d14a1e28 | 4667 | if (arg1 == NULL) { |
2f4c0a16 RD |
4668 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4669 | SWIG_fail; | |
4670 | } | |
4671 | arg2 = (long) SWIG_AsLong(obj1); | |
4672 | if (PyErr_Occurred()) SWIG_fail; | |
4673 | arg3 = (int) SWIG_AsInt(obj2); | |
4674 | if (PyErr_Occurred()) SWIG_fail; | |
4675 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4677 | arg5 = (int) SWIG_AsInt(obj4); | |
4678 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4679 | if (obj5) { |
4680 | { | |
4681 | arg6 = &temp6; | |
4682 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4683 | } | |
4684 | } | |
4685 | if (obj6) { | |
4686 | { | |
4687 | arg7 = &temp7; | |
4688 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4689 | } | |
4690 | } | |
8edf1c75 | 4691 | if (obj7) { |
2f4c0a16 RD |
4692 | arg8 = (long) SWIG_AsLong(obj7); |
4693 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4694 | } |
d14a1e28 RD |
4695 | { |
4696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4697 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4698 | ||
4699 | wxPyEndAllowThreads(__tstate); | |
4700 | if (PyErr_Occurred()) SWIG_fail; | |
4701 | } | |
2f4c0a16 | 4702 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4703 | return resultobj; |
4704 | fail: | |
4705 | return NULL; | |
4706 | } | |
4707 | ||
4708 | ||
4709 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4710 | PyObject *resultobj; | |
4711 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4712 | long result; | |
4713 | PyObject * obj0 = 0 ; | |
4714 | char *kwnames[] = { | |
4715 | (char *) "self", NULL | |
4716 | }; | |
4717 | ||
4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4719 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4720 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4721 | { |
4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4723 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4724 | ||
4725 | wxPyEndAllowThreads(__tstate); | |
4726 | if (PyErr_Occurred()) SWIG_fail; | |
4727 | } | |
2f4c0a16 | 4728 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4729 | return resultobj; |
4730 | fail: | |
4731 | return NULL; | |
4732 | } | |
4733 | ||
4734 | ||
4735 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4736 | PyObject *resultobj; | |
4737 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4738 | wxSplashScreenWindow *result; | |
4739 | PyObject * obj0 = 0 ; | |
4740 | char *kwnames[] = { | |
4741 | (char *) "self", NULL | |
4742 | }; | |
4743 | ||
4744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4747 | { |
4748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4749 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4750 | ||
4751 | wxPyEndAllowThreads(__tstate); | |
4752 | if (PyErr_Occurred()) SWIG_fail; | |
4753 | } | |
2f4c0a16 | 4754 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4755 | return resultobj; |
4756 | fail: | |
4757 | return NULL; | |
4758 | } | |
4759 | ||
4760 | ||
4761 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4762 | PyObject *resultobj; | |
4763 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4764 | int result; | |
4765 | PyObject * obj0 = 0 ; | |
4766 | char *kwnames[] = { | |
4767 | (char *) "self", NULL | |
4768 | }; | |
4769 | ||
4770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4773 | { |
4774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4775 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4776 | ||
4777 | wxPyEndAllowThreads(__tstate); | |
4778 | if (PyErr_Occurred()) SWIG_fail; | |
4779 | } | |
2f4c0a16 | 4780 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4781 | return resultobj; |
4782 | fail: | |
4783 | return NULL; | |
4784 | } | |
4785 | ||
4786 | ||
4787 | static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) { | |
4788 | PyObject *obj; | |
4789 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4790 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4791 | Py_INCREF(obj); | |
4792 | return Py_BuildValue((char *)""); | |
4793 | } | |
4794 | static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4795 | PyObject *resultobj; | |
4796 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4797 | int arg2 = (int) -1 ; |
d14a1e28 RD |
4798 | long arg3 = (long) wxST_SIZEGRIP ; |
4799 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4800 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4801 | wxStatusBar *result; | |
423f194a | 4802 | bool temp4 = False ; |
d14a1e28 | 4803 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
4804 | PyObject * obj1 = 0 ; |
4805 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4806 | PyObject * obj3 = 0 ; |
4807 | char *kwnames[] = { | |
4808 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4809 | }; | |
4810 | ||
8edf1c75 | 4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
4812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4814 | if (obj1) { |
2f4c0a16 RD |
4815 | arg2 = (int) SWIG_AsInt(obj1); |
4816 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
4817 | } |
4818 | if (obj2) { | |
2f4c0a16 RD |
4819 | arg3 = (long) SWIG_AsLong(obj2); |
4820 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4821 | } |
d14a1e28 RD |
4822 | if (obj3) { |
4823 | { | |
4824 | arg4 = wxString_in_helper(obj3); | |
4825 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4826 | temp4 = True; |
d14a1e28 RD |
4827 | } |
4828 | } | |
4829 | { | |
4830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4831 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4832 | ||
4833 | wxPyEndAllowThreads(__tstate); | |
4834 | if (PyErr_Occurred()) SWIG_fail; | |
4835 | } | |
4836 | { | |
4837 | resultobj = wxPyMake_wxObject(result); | |
4838 | } | |
4839 | { | |
4840 | if (temp4) | |
4841 | delete arg4; | |
4842 | } | |
4843 | return resultobj; | |
4844 | fail: | |
4845 | { | |
4846 | if (temp4) | |
4847 | delete arg4; | |
4848 | } | |
4849 | return NULL; | |
4850 | } | |
4851 | ||
4852 | ||
4853 | static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4854 | PyObject *resultobj; | |
4855 | wxStatusBar *result; | |
4856 | char *kwnames[] = { | |
4857 | NULL | |
4858 | }; | |
4859 | ||
4860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4861 | { | |
4862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4863 | result = (wxStatusBar *)new wxStatusBar(); | |
4864 | ||
4865 | wxPyEndAllowThreads(__tstate); | |
4866 | if (PyErr_Occurred()) SWIG_fail; | |
4867 | } | |
4868 | { | |
4869 | resultobj = wxPyMake_wxObject(result); | |
4870 | } | |
4871 | return resultobj; | |
4872 | fail: | |
4873 | return NULL; | |
4874 | } | |
4875 | ||
4876 | ||
4877 | static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4878 | PyObject *resultobj; | |
4879 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4880 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4881 | int arg3 ; |
d14a1e28 RD |
4882 | long arg4 = (long) wxST_SIZEGRIP ; |
4883 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4884 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4885 | bool result; | |
423f194a | 4886 | bool temp5 = False ; |
d14a1e28 RD |
4887 | PyObject * obj0 = 0 ; |
4888 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4889 | PyObject * obj2 = 0 ; |
4890 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4891 | PyObject * obj4 = 0 ; |
4892 | char *kwnames[] = { | |
4893 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4894 | }; | |
4895 | ||
8edf1c75 | 4896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
4897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4899 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4901 | arg3 = (int) SWIG_AsInt(obj2); | |
4902 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4903 | if (obj3) { |
2f4c0a16 RD |
4904 | arg4 = (long) SWIG_AsLong(obj3); |
4905 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4906 | } |
d14a1e28 RD |
4907 | if (obj4) { |
4908 | { | |
4909 | arg5 = wxString_in_helper(obj4); | |
4910 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 4911 | temp5 = True; |
d14a1e28 RD |
4912 | } |
4913 | } | |
4914 | { | |
4915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4916 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4917 | ||
4918 | wxPyEndAllowThreads(__tstate); | |
4919 | if (PyErr_Occurred()) SWIG_fail; | |
4920 | } | |
4f89f6a3 RD |
4921 | { |
4922 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4923 | } | |
d14a1e28 RD |
4924 | { |
4925 | if (temp5) | |
4926 | delete arg5; | |
4927 | } | |
4928 | return resultobj; | |
4929 | fail: | |
4930 | { | |
4931 | if (temp5) | |
4932 | delete arg5; | |
4933 | } | |
4934 | return NULL; | |
4935 | } | |
4936 | ||
4937 | ||
4938 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4939 | PyObject *resultobj; | |
4940 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4941 | int arg2 = (int) 1 ; | |
4942 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4943 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4944 | char *kwnames[] = { |
4945 | (char *) "self",(char *) "number", NULL | |
4946 | }; | |
4947 | ||
8edf1c75 | 4948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4951 | if (obj1) { |
2f4c0a16 RD |
4952 | arg2 = (int) SWIG_AsInt(obj1); |
4953 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4954 | } |
d14a1e28 RD |
4955 | { |
4956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4957 | (arg1)->SetFieldsCount(arg2); | |
4958 | ||
4959 | wxPyEndAllowThreads(__tstate); | |
4960 | if (PyErr_Occurred()) SWIG_fail; | |
4961 | } | |
4962 | Py_INCREF(Py_None); resultobj = Py_None; | |
4963 | return resultobj; | |
4964 | fail: | |
4965 | return NULL; | |
4966 | } | |
4967 | ||
4968 | ||
4969 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4970 | PyObject *resultobj; | |
4971 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4972 | int result; | |
4973 | PyObject * obj0 = 0 ; | |
4974 | char *kwnames[] = { | |
4975 | (char *) "self", NULL | |
4976 | }; | |
4977 | ||
4978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4979 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4980 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4981 | { |
4982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4983 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4984 | ||
4985 | wxPyEndAllowThreads(__tstate); | |
4986 | if (PyErr_Occurred()) SWIG_fail; | |
4987 | } | |
2f4c0a16 | 4988 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4989 | return resultobj; |
4990 | fail: | |
4991 | return NULL; | |
4992 | } | |
4993 | ||
4994 | ||
4995 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4996 | PyObject *resultobj; | |
4997 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4998 | wxString *arg2 = 0 ; | |
4999 | int arg3 = (int) 0 ; | |
423f194a | 5000 | bool temp2 = False ; |
d14a1e28 RD |
5001 | PyObject * obj0 = 0 ; |
5002 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5003 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5004 | char *kwnames[] = { |
5005 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5006 | }; | |
5007 | ||
8edf1c75 | 5008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5011 | { |
5012 | arg2 = wxString_in_helper(obj1); | |
5013 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5014 | temp2 = True; |
d14a1e28 | 5015 | } |
8edf1c75 | 5016 | if (obj2) { |
2f4c0a16 RD |
5017 | arg3 = (int) SWIG_AsInt(obj2); |
5018 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5019 | } |
d14a1e28 RD |
5020 | { |
5021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5022 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5023 | ||
5024 | wxPyEndAllowThreads(__tstate); | |
5025 | if (PyErr_Occurred()) SWIG_fail; | |
5026 | } | |
5027 | Py_INCREF(Py_None); resultobj = Py_None; | |
5028 | { | |
5029 | if (temp2) | |
5030 | delete arg2; | |
5031 | } | |
5032 | return resultobj; | |
5033 | fail: | |
5034 | { | |
5035 | if (temp2) | |
5036 | delete arg2; | |
5037 | } | |
5038 | return NULL; | |
5039 | } | |
5040 | ||
5041 | ||
5042 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5043 | PyObject *resultobj; | |
5044 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5045 | int arg2 = (int) 0 ; | |
5046 | wxString result; | |
5047 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5048 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5049 | char *kwnames[] = { |
5050 | (char *) "self",(char *) "number", NULL | |
5051 | }; | |
5052 | ||
8edf1c75 | 5053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5054 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5055 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5056 | if (obj1) { |
2f4c0a16 RD |
5057 | arg2 = (int) SWIG_AsInt(obj1); |
5058 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5059 | } |
d14a1e28 RD |
5060 | { |
5061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5062 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5063 | ||
5064 | wxPyEndAllowThreads(__tstate); | |
5065 | if (PyErr_Occurred()) SWIG_fail; | |
5066 | } | |
5067 | { | |
5068 | #if wxUSE_UNICODE | |
5069 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5070 | #else | |
5071 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5072 | #endif | |
5073 | } | |
5074 | return resultobj; | |
5075 | fail: | |
5076 | return NULL; | |
5077 | } | |
5078 | ||
5079 | ||
5080 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5081 | PyObject *resultobj; | |
5082 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5083 | wxString *arg2 = 0 ; | |
5084 | int arg3 = (int) 0 ; | |
423f194a | 5085 | bool temp2 = False ; |
d14a1e28 RD |
5086 | PyObject * obj0 = 0 ; |
5087 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5088 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5089 | char *kwnames[] = { |
5090 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5091 | }; | |
5092 | ||
8edf1c75 | 5093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5094 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5095 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5096 | { |
5097 | arg2 = wxString_in_helper(obj1); | |
5098 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5099 | temp2 = True; |
d14a1e28 | 5100 | } |
8edf1c75 | 5101 | if (obj2) { |
2f4c0a16 RD |
5102 | arg3 = (int) SWIG_AsInt(obj2); |
5103 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5104 | } |
d14a1e28 RD |
5105 | { |
5106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5107 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5108 | ||
5109 | wxPyEndAllowThreads(__tstate); | |
5110 | if (PyErr_Occurred()) SWIG_fail; | |
5111 | } | |
5112 | Py_INCREF(Py_None); resultobj = Py_None; | |
5113 | { | |
5114 | if (temp2) | |
5115 | delete arg2; | |
5116 | } | |
5117 | return resultobj; | |
5118 | fail: | |
5119 | { | |
5120 | if (temp2) | |
5121 | delete arg2; | |
5122 | } | |
5123 | return NULL; | |
5124 | } | |
5125 | ||
5126 | ||
5127 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5128 | PyObject *resultobj; | |
5129 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5130 | int arg2 = (int) 0 ; | |
5131 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5132 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5133 | char *kwnames[] = { |
5134 | (char *) "self",(char *) "number", NULL | |
5135 | }; | |
5136 | ||
8edf1c75 | 5137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5140 | if (obj1) { |
2f4c0a16 RD |
5141 | arg2 = (int) SWIG_AsInt(obj1); |
5142 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5143 | } |
d14a1e28 RD |
5144 | { |
5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5146 | (arg1)->PopStatusText(arg2); | |
5147 | ||
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
5151 | Py_INCREF(Py_None); resultobj = Py_None; | |
5152 | return resultobj; | |
5153 | fail: | |
5154 | return NULL; | |
5155 | } | |
5156 | ||
5157 | ||
5158 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5159 | PyObject *resultobj; | |
5160 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5161 | int arg2 ; | |
5162 | int *arg3 = (int *) 0 ; | |
5163 | PyObject * obj0 = 0 ; | |
5164 | PyObject * obj1 = 0 ; | |
5165 | char *kwnames[] = { | |
5166 | (char *) "self",(char *) "widths", NULL | |
5167 | }; | |
5168 | ||
5169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5172 | { |
5173 | arg2 = PyList_Size(obj1); | |
5174 | arg3 = int_LIST_helper(obj1); | |
5175 | if (arg3 == NULL) SWIG_fail; | |
5176 | } | |
5177 | { | |
5178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5179 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5180 | ||
5181 | wxPyEndAllowThreads(__tstate); | |
5182 | if (PyErr_Occurred()) SWIG_fail; | |
5183 | } | |
5184 | Py_INCREF(Py_None); resultobj = Py_None; | |
5185 | { | |
5186 | if (arg3) delete [] arg3; | |
5187 | } | |
5188 | return resultobj; | |
5189 | fail: | |
5190 | { | |
5191 | if (arg3) delete [] arg3; | |
5192 | } | |
5193 | return NULL; | |
5194 | } | |
5195 | ||
5196 | ||
5197 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5198 | PyObject *resultobj; | |
5199 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5200 | int arg2 ; | |
44127b65 | 5201 | wxRect result; |
d14a1e28 | 5202 | PyObject * obj0 = 0 ; |
8edf1c75 | 5203 | PyObject * obj1 = 0 ; |
d14a1e28 | 5204 | char *kwnames[] = { |
44127b65 | 5205 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5206 | }; |
5207 | ||
8edf1c75 | 5208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5211 | arg2 = (int) SWIG_AsInt(obj1); | |
5212 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5213 | { |
5214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 5215 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5216 | |
5217 | wxPyEndAllowThreads(__tstate); | |
5218 | if (PyErr_Occurred()) SWIG_fail; | |
5219 | } | |
44127b65 RD |
5220 | { |
5221 | wxRect * resultptr; | |
5222 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 5223 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
44127b65 | 5224 | } |
d14a1e28 RD |
5225 | return resultobj; |
5226 | fail: | |
5227 | return NULL; | |
5228 | } | |
5229 | ||
5230 | ||
5231 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5232 | PyObject *resultobj; | |
5233 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5234 | int arg2 ; | |
5235 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5237 | char *kwnames[] = { |
5238 | (char *) "self",(char *) "height", NULL | |
5239 | }; | |
5240 | ||
8edf1c75 | 5241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5244 | arg2 = (int) SWIG_AsInt(obj1); | |
5245 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5246 | { |
5247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5248 | (arg1)->SetMinHeight(arg2); | |
5249 | ||
5250 | wxPyEndAllowThreads(__tstate); | |
5251 | if (PyErr_Occurred()) SWIG_fail; | |
5252 | } | |
5253 | Py_INCREF(Py_None); resultobj = Py_None; | |
5254 | return resultobj; | |
5255 | fail: | |
5256 | return NULL; | |
5257 | } | |
5258 | ||
5259 | ||
5260 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5261 | PyObject *resultobj; | |
5262 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5263 | int result; | |
5264 | PyObject * obj0 = 0 ; | |
5265 | char *kwnames[] = { | |
5266 | (char *) "self", NULL | |
5267 | }; | |
5268 | ||
5269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5272 | { |
5273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5274 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5275 | ||
5276 | wxPyEndAllowThreads(__tstate); | |
5277 | if (PyErr_Occurred()) SWIG_fail; | |
5278 | } | |
2f4c0a16 | 5279 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5280 | return resultobj; |
5281 | fail: | |
5282 | return NULL; | |
5283 | } | |
5284 | ||
5285 | ||
5286 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5287 | PyObject *resultobj; | |
5288 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5289 | int result; | |
5290 | PyObject * obj0 = 0 ; | |
5291 | char *kwnames[] = { | |
5292 | (char *) "self", NULL | |
5293 | }; | |
5294 | ||
5295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5298 | { |
5299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5300 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5301 | ||
5302 | wxPyEndAllowThreads(__tstate); | |
5303 | if (PyErr_Occurred()) SWIG_fail; | |
5304 | } | |
2f4c0a16 | 5305 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5306 | return resultobj; |
5307 | fail: | |
5308 | return NULL; | |
5309 | } | |
5310 | ||
5311 | ||
5312 | static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) { | |
5313 | PyObject *obj; | |
5314 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5315 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5316 | Py_INCREF(obj); | |
5317 | return Py_BuildValue((char *)""); | |
5318 | } | |
2f4c0a16 | 5319 | static int _wrap_SplitterNameStr_set(PyObject *_val) { |
d03fd34d RD |
5320 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5321 | return 1; | |
5322 | } | |
5323 | ||
5324 | ||
5325 | static PyObject *_wrap_SplitterNameStr_get() { | |
5326 | PyObject *pyobj; | |
5327 | ||
5328 | { | |
5329 | #if wxUSE_UNICODE | |
5330 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5331 | #else | |
5332 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5333 | #endif | |
5334 | } | |
5335 | return pyobj; | |
5336 | } | |
5337 | ||
5338 | ||
d14a1e28 RD |
5339 | static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
5340 | PyObject *resultobj; | |
5341 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 5342 | int arg2 ; |
d14a1e28 RD |
5343 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5344 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5345 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5346 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5347 | long arg5 = (long) wxSP_3D ; | |
5348 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5349 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5350 | wxSplitterWindow *result; | |
5351 | wxPoint temp3 ; | |
5352 | wxSize temp4 ; | |
423f194a | 5353 | bool temp6 = False ; |
d14a1e28 | 5354 | PyObject * obj0 = 0 ; |
8edf1c75 | 5355 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5356 | PyObject * obj2 = 0 ; |
5357 | PyObject * obj3 = 0 ; | |
8edf1c75 | 5358 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5359 | PyObject * obj5 = 0 ; |
5360 | char *kwnames[] = { | |
8edf1c75 | 5361 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5362 | }; |
5363 | ||
8edf1c75 | 5364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
5365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5367 | arg2 = (int) SWIG_AsInt(obj1); | |
5368 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5369 | if (obj2) { |
5370 | { | |
5371 | arg3 = &temp3; | |
5372 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5373 | } | |
5374 | } | |
5375 | if (obj3) { | |
5376 | { | |
5377 | arg4 = &temp4; | |
5378 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5379 | } | |
5380 | } | |
2f4c0a16 RD |
5381 | if (obj4) { |
5382 | arg5 = (long) SWIG_AsLong(obj4); | |
5383 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5384 | } |
d14a1e28 RD |
5385 | if (obj5) { |
5386 | { | |
5387 | arg6 = wxString_in_helper(obj5); | |
5388 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5389 | temp6 = True; |
d14a1e28 RD |
5390 | } |
5391 | } | |
5392 | { | |
5393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5394 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5395 | ||
5396 | wxPyEndAllowThreads(__tstate); | |
5397 | if (PyErr_Occurred()) SWIG_fail; | |
5398 | } | |
2f4c0a16 | 5399 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5400 | { |
5401 | if (temp6) | |
5402 | delete arg6; | |
5403 | } | |
5404 | return resultobj; | |
5405 | fail: | |
5406 | { | |
5407 | if (temp6) | |
5408 | delete arg6; | |
5409 | } | |
5410 | return NULL; | |
5411 | } | |
5412 | ||
5413 | ||
5414 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5415 | PyObject *resultobj; | |
5416 | wxSplitterWindow *result; | |
5417 | char *kwnames[] = { | |
5418 | NULL | |
5419 | }; | |
5420 | ||
5421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5422 | { | |
5423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5424 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5425 | ||
5426 | wxPyEndAllowThreads(__tstate); | |
5427 | if (PyErr_Occurred()) SWIG_fail; | |
5428 | } | |
2f4c0a16 | 5429 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5430 | return resultobj; |
5431 | fail: | |
5432 | return NULL; | |
5433 | } | |
5434 | ||
5435 | ||
5436 | static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5437 | PyObject *resultobj; | |
5438 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5439 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 5440 | int arg3 ; |
d14a1e28 RD |
5441 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5442 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5443 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5444 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5445 | long arg6 = (long) wxSP_3D ; | |
5446 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5447 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5448 | bool result; | |
5449 | wxPoint temp4 ; | |
5450 | wxSize temp5 ; | |
423f194a | 5451 | bool temp7 = False ; |
d14a1e28 RD |
5452 | PyObject * obj0 = 0 ; |
5453 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5454 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5455 | PyObject * obj3 = 0 ; |
5456 | PyObject * obj4 = 0 ; | |
8edf1c75 | 5457 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5458 | PyObject * obj6 = 0 ; |
5459 | char *kwnames[] = { | |
8edf1c75 | 5460 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5461 | }; |
5462 | ||
8edf1c75 | 5463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
5464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5466 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5468 | arg3 = (int) SWIG_AsInt(obj2); | |
5469 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5470 | if (obj3) { |
5471 | { | |
5472 | arg4 = &temp4; | |
5473 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5474 | } | |
5475 | } | |
5476 | if (obj4) { | |
5477 | { | |
5478 | arg5 = &temp5; | |
5479 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5480 | } | |
5481 | } | |
8edf1c75 | 5482 | if (obj5) { |
2f4c0a16 RD |
5483 | arg6 = (long) SWIG_AsLong(obj5); |
5484 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5485 | } |
d14a1e28 RD |
5486 | if (obj6) { |
5487 | { | |
5488 | arg7 = wxString_in_helper(obj6); | |
5489 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 5490 | temp7 = True; |
d14a1e28 RD |
5491 | } |
5492 | } | |
5493 | { | |
5494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5495 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5496 | ||
5497 | wxPyEndAllowThreads(__tstate); | |
5498 | if (PyErr_Occurred()) SWIG_fail; | |
5499 | } | |
4f89f6a3 RD |
5500 | { |
5501 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5502 | } | |
d14a1e28 RD |
5503 | { |
5504 | if (temp7) | |
5505 | delete arg7; | |
5506 | } | |
5507 | return resultobj; | |
5508 | fail: | |
5509 | { | |
5510 | if (temp7) | |
5511 | delete arg7; | |
5512 | } | |
5513 | return NULL; | |
5514 | } | |
5515 | ||
5516 | ||
5517 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5518 | PyObject *resultobj; | |
5519 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5520 | wxWindow *result; | |
5521 | PyObject * obj0 = 0 ; | |
5522 | char *kwnames[] = { | |
5523 | (char *) "self", NULL | |
5524 | }; | |
5525 | ||
5526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5529 | { |
5530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5531 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5532 | ||
5533 | wxPyEndAllowThreads(__tstate); | |
5534 | if (PyErr_Occurred()) SWIG_fail; | |
5535 | } | |
5536 | { | |
5537 | resultobj = wxPyMake_wxObject(result); | |
5538 | } | |
5539 | return resultobj; | |
5540 | fail: | |
5541 | return NULL; | |
5542 | } | |
5543 | ||
5544 | ||
5545 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5546 | PyObject *resultobj; | |
5547 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5548 | wxWindow *result; | |
5549 | PyObject * obj0 = 0 ; | |
5550 | char *kwnames[] = { | |
5551 | (char *) "self", NULL | |
5552 | }; | |
5553 | ||
5554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5557 | { |
5558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5559 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5560 | ||
5561 | wxPyEndAllowThreads(__tstate); | |
5562 | if (PyErr_Occurred()) SWIG_fail; | |
5563 | } | |
5564 | { | |
5565 | resultobj = wxPyMake_wxObject(result); | |
5566 | } | |
5567 | return resultobj; | |
5568 | fail: | |
5569 | return NULL; | |
5570 | } | |
5571 | ||
5572 | ||
5573 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5574 | PyObject *resultobj; | |
5575 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5576 | int arg2 ; | |
5577 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5579 | char *kwnames[] = { |
5580 | (char *) "self",(char *) "mode", NULL | |
5581 | }; | |
5582 | ||
8edf1c75 | 5583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5586 | arg2 = (int) SWIG_AsInt(obj1); | |
5587 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5588 | { |
5589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5590 | (arg1)->SetSplitMode(arg2); | |
5591 | ||
5592 | wxPyEndAllowThreads(__tstate); | |
5593 | if (PyErr_Occurred()) SWIG_fail; | |
5594 | } | |
5595 | Py_INCREF(Py_None); resultobj = Py_None; | |
5596 | return resultobj; | |
5597 | fail: | |
5598 | return NULL; | |
5599 | } | |
5600 | ||
5601 | ||
5602 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5603 | PyObject *resultobj; | |
5604 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5605 | int result; | |
5606 | PyObject * obj0 = 0 ; | |
5607 | char *kwnames[] = { | |
5608 | (char *) "self", NULL | |
5609 | }; | |
5610 | ||
5611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5614 | { |
5615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5616 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5617 | ||
5618 | wxPyEndAllowThreads(__tstate); | |
5619 | if (PyErr_Occurred()) SWIG_fail; | |
5620 | } | |
2f4c0a16 | 5621 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5622 | return resultobj; |
5623 | fail: | |
5624 | return NULL; | |
5625 | } | |
5626 | ||
5627 | ||
5628 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5629 | PyObject *resultobj; | |
5630 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5631 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5632 | PyObject * obj0 = 0 ; | |
5633 | PyObject * obj1 = 0 ; | |
5634 | char *kwnames[] = { | |
5635 | (char *) "self",(char *) "window", NULL | |
5636 | }; | |
5637 | ||
5638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5641 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5643 | { |
5644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5645 | (arg1)->Initialize(arg2); | |
5646 | ||
5647 | wxPyEndAllowThreads(__tstate); | |
5648 | if (PyErr_Occurred()) SWIG_fail; | |
5649 | } | |
5650 | Py_INCREF(Py_None); resultobj = Py_None; | |
5651 | return resultobj; | |
5652 | fail: | |
5653 | return NULL; | |
5654 | } | |
5655 | ||
5656 | ||
5657 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5658 | PyObject *resultobj; | |
5659 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5660 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5661 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5662 | int arg4 = (int) 0 ; | |
5663 | bool result; | |
5664 | PyObject * obj0 = 0 ; | |
5665 | PyObject * obj1 = 0 ; | |
5666 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5667 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5668 | char *kwnames[] = { |
5669 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5670 | }; | |
5671 | ||
8edf1c75 | 5672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5675 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5677 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5679 | if (obj3) { |
2f4c0a16 RD |
5680 | arg4 = (int) SWIG_AsInt(obj3); |
5681 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5682 | } |
d14a1e28 RD |
5683 | { |
5684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5685 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5686 | ||
5687 | wxPyEndAllowThreads(__tstate); | |
5688 | if (PyErr_Occurred()) SWIG_fail; | |
5689 | } | |
4f89f6a3 RD |
5690 | { |
5691 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5692 | } | |
d14a1e28 RD |
5693 | return resultobj; |
5694 | fail: | |
5695 | return NULL; | |
5696 | } | |
5697 | ||
5698 | ||
5699 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5700 | PyObject *resultobj; | |
5701 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5702 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5703 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5704 | int arg4 = (int) 0 ; | |
5705 | bool result; | |
5706 | PyObject * obj0 = 0 ; | |
5707 | PyObject * obj1 = 0 ; | |
5708 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5709 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5710 | char *kwnames[] = { |
5711 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5712 | }; | |
5713 | ||
8edf1c75 | 5714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5717 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5719 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5720 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5721 | if (obj3) { |
2f4c0a16 RD |
5722 | arg4 = (int) SWIG_AsInt(obj3); |
5723 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5724 | } |
d14a1e28 RD |
5725 | { |
5726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5727 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5728 | ||
5729 | wxPyEndAllowThreads(__tstate); | |
5730 | if (PyErr_Occurred()) SWIG_fail; | |
5731 | } | |
4f89f6a3 RD |
5732 | { |
5733 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5734 | } | |
d14a1e28 RD |
5735 | return resultobj; |
5736 | fail: | |
5737 | return NULL; | |
5738 | } | |
5739 | ||
5740 | ||
5741 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5742 | PyObject *resultobj; | |
5743 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5744 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5745 | bool result; | |
5746 | PyObject * obj0 = 0 ; | |
5747 | PyObject * obj1 = 0 ; | |
5748 | char *kwnames[] = { | |
5749 | (char *) "self",(char *) "toRemove", NULL | |
5750 | }; | |
5751 | ||
5752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5755 | if (obj1) { |
2f4c0a16 RD |
5756 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5758 | } |
5759 | { | |
5760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5761 | result = (bool)(arg1)->Unsplit(arg2); | |
5762 | ||
5763 | wxPyEndAllowThreads(__tstate); | |
5764 | if (PyErr_Occurred()) SWIG_fail; | |
5765 | } | |
4f89f6a3 RD |
5766 | { |
5767 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5768 | } | |
d14a1e28 RD |
5769 | return resultobj; |
5770 | fail: | |
5771 | return NULL; | |
5772 | } | |
5773 | ||
5774 | ||
5775 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5776 | PyObject *resultobj; | |
5777 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5778 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5779 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5780 | bool result; | |
5781 | PyObject * obj0 = 0 ; | |
5782 | PyObject * obj1 = 0 ; | |
5783 | PyObject * obj2 = 0 ; | |
5784 | char *kwnames[] = { | |
5785 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5786 | }; | |
5787 | ||
5788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
5789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5791 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5793 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5795 | { |
5796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5797 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5798 | ||
5799 | wxPyEndAllowThreads(__tstate); | |
5800 | if (PyErr_Occurred()) SWIG_fail; | |
5801 | } | |
4f89f6a3 RD |
5802 | { |
5803 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5804 | } | |
d14a1e28 RD |
5805 | return resultobj; |
5806 | fail: | |
5807 | return NULL; | |
5808 | } | |
5809 | ||
5810 | ||
5811 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5812 | PyObject *resultobj; | |
5813 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5814 | bool result; | |
5815 | PyObject * obj0 = 0 ; | |
5816 | char *kwnames[] = { | |
5817 | (char *) "self", NULL | |
5818 | }; | |
5819 | ||
5820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5823 | { |
5824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5825 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5826 | ||
5827 | wxPyEndAllowThreads(__tstate); | |
5828 | if (PyErr_Occurred()) SWIG_fail; | |
5829 | } | |
4f89f6a3 RD |
5830 | { |
5831 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5832 | } | |
d14a1e28 RD |
5833 | return resultobj; |
5834 | fail: | |
5835 | return NULL; | |
5836 | } | |
5837 | ||
5838 | ||
5839 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5840 | PyObject *resultobj; | |
5841 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5842 | int arg2 ; | |
5843 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5844 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5845 | char *kwnames[] = { |
5846 | (char *) "self",(char *) "width", NULL | |
5847 | }; | |
5848 | ||
8edf1c75 | 5849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5852 | arg2 = (int) SWIG_AsInt(obj1); | |
5853 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5854 | { |
5855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5856 | (arg1)->SetSashSize(arg2); | |
5857 | ||
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | Py_INCREF(Py_None); resultobj = Py_None; | |
5862 | return resultobj; | |
5863 | fail: | |
5864 | return NULL; | |
5865 | } | |
5866 | ||
5867 | ||
5868 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5869 | PyObject *resultobj; | |
5870 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5871 | int arg2 ; | |
5872 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5873 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5874 | char *kwnames[] = { |
5875 | (char *) "self",(char *) "width", NULL | |
5876 | }; | |
5877 | ||
8edf1c75 | 5878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5881 | arg2 = (int) SWIG_AsInt(obj1); | |
5882 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5883 | { |
5884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5885 | (arg1)->SetBorderSize(arg2); | |
5886 | ||
5887 | wxPyEndAllowThreads(__tstate); | |
5888 | if (PyErr_Occurred()) SWIG_fail; | |
5889 | } | |
5890 | Py_INCREF(Py_None); resultobj = Py_None; | |
5891 | return resultobj; | |
5892 | fail: | |
5893 | return NULL; | |
5894 | } | |
5895 | ||
5896 | ||
5897 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5898 | PyObject *resultobj; | |
5899 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5900 | int result; | |
5901 | PyObject * obj0 = 0 ; | |
5902 | char *kwnames[] = { | |
5903 | (char *) "self", NULL | |
5904 | }; | |
5905 | ||
5906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5909 | { |
5910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5911 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5912 | ||
5913 | wxPyEndAllowThreads(__tstate); | |
5914 | if (PyErr_Occurred()) SWIG_fail; | |
5915 | } | |
2f4c0a16 | 5916 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5917 | return resultobj; |
5918 | fail: | |
5919 | return NULL; | |
5920 | } | |
5921 | ||
5922 | ||
5923 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5924 | PyObject *resultobj; | |
5925 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5926 | int result; | |
5927 | PyObject * obj0 = 0 ; | |
5928 | char *kwnames[] = { | |
5929 | (char *) "self", NULL | |
5930 | }; | |
5931 | ||
5932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5933 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5934 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5935 | { |
5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5937 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5938 | ||
5939 | wxPyEndAllowThreads(__tstate); | |
5940 | if (PyErr_Occurred()) SWIG_fail; | |
5941 | } | |
2f4c0a16 | 5942 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5943 | return resultobj; |
5944 | fail: | |
5945 | return NULL; | |
5946 | } | |
5947 | ||
5948 | ||
5949 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5950 | PyObject *resultobj; | |
5951 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5952 | int arg2 ; | |
423f194a | 5953 | bool arg3 = (bool) True ; |
d14a1e28 | 5954 | PyObject * obj0 = 0 ; |
8edf1c75 | 5955 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5956 | PyObject * obj2 = 0 ; |
5957 | char *kwnames[] = { | |
5958 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5959 | }; | |
5960 | ||
8edf1c75 | 5961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5964 | arg2 = (int) SWIG_AsInt(obj1); | |
5965 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 5966 | if (obj2) { |
2f4c0a16 RD |
5967 | arg3 = (bool) SWIG_AsBool(obj2); |
5968 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5969 | } |
5970 | { | |
5971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5972 | (arg1)->SetSashPosition(arg2,arg3); | |
5973 | ||
5974 | wxPyEndAllowThreads(__tstate); | |
5975 | if (PyErr_Occurred()) SWIG_fail; | |
5976 | } | |
5977 | Py_INCREF(Py_None); resultobj = Py_None; | |
5978 | return resultobj; | |
5979 | fail: | |
5980 | return NULL; | |
5981 | } | |
5982 | ||
5983 | ||
5984 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5985 | PyObject *resultobj; | |
5986 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5987 | int result; | |
5988 | PyObject * obj0 = 0 ; | |
5989 | char *kwnames[] = { | |
5990 | (char *) "self", NULL | |
5991 | }; | |
5992 | ||
5993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5996 | { |
5997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5998 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5999 | ||
6000 | wxPyEndAllowThreads(__tstate); | |
6001 | if (PyErr_Occurred()) SWIG_fail; | |
6002 | } | |
2f4c0a16 | 6003 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6004 | return resultobj; |
6005 | fail: | |
6006 | return NULL; | |
6007 | } | |
6008 | ||
6009 | ||
6010 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6011 | PyObject *resultobj; | |
6012 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6013 | int arg2 ; | |
6014 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6015 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6016 | char *kwnames[] = { |
6017 | (char *) "self",(char *) "min", NULL | |
6018 | }; | |
6019 | ||
8edf1c75 | 6020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6023 | arg2 = (int) SWIG_AsInt(obj1); | |
6024 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6025 | { |
6026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6027 | (arg1)->SetMinimumPaneSize(arg2); | |
6028 | ||
6029 | wxPyEndAllowThreads(__tstate); | |
6030 | if (PyErr_Occurred()) SWIG_fail; | |
6031 | } | |
6032 | Py_INCREF(Py_None); resultobj = Py_None; | |
6033 | return resultobj; | |
6034 | fail: | |
6035 | return NULL; | |
6036 | } | |
6037 | ||
6038 | ||
6039 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6040 | PyObject *resultobj; | |
6041 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6042 | int result; | |
6043 | PyObject * obj0 = 0 ; | |
6044 | char *kwnames[] = { | |
6045 | (char *) "self", NULL | |
6046 | }; | |
6047 | ||
6048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6051 | { |
6052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6053 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6054 | ||
6055 | wxPyEndAllowThreads(__tstate); | |
6056 | if (PyErr_Occurred()) SWIG_fail; | |
6057 | } | |
2f4c0a16 | 6058 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6059 | return resultobj; |
6060 | fail: | |
6061 | return NULL; | |
6062 | } | |
6063 | ||
6064 | ||
6065 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6066 | PyObject *resultobj; | |
6067 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6068 | int arg2 ; | |
6069 | int arg3 ; | |
6070 | int arg4 = (int) 5 ; | |
6071 | bool result; | |
6072 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
6073 | PyObject * obj1 = 0 ; |
6074 | PyObject * obj2 = 0 ; | |
6075 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6076 | char *kwnames[] = { |
6077 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6078 | }; | |
6079 | ||
8edf1c75 | 6080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
6081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6083 | arg2 = (int) SWIG_AsInt(obj1); | |
6084 | if (PyErr_Occurred()) SWIG_fail; | |
6085 | arg3 = (int) SWIG_AsInt(obj2); | |
6086 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6087 | if (obj3) { |
2f4c0a16 RD |
6088 | arg4 = (int) SWIG_AsInt(obj3); |
6089 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6090 | } |
d14a1e28 RD |
6091 | { |
6092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6093 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6094 | ||
6095 | wxPyEndAllowThreads(__tstate); | |
6096 | if (PyErr_Occurred()) SWIG_fail; | |
6097 | } | |
4f89f6a3 RD |
6098 | { |
6099 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6100 | } | |
d14a1e28 RD |
6101 | return resultobj; |
6102 | fail: | |
6103 | return NULL; | |
6104 | } | |
6105 | ||
6106 | ||
6107 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6108 | PyObject *resultobj; | |
6109 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6110 | PyObject * obj0 = 0 ; | |
6111 | char *kwnames[] = { | |
6112 | (char *) "self", NULL | |
6113 | }; | |
6114 | ||
6115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6118 | { |
6119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6120 | (arg1)->SizeWindows(); | |
6121 | ||
6122 | wxPyEndAllowThreads(__tstate); | |
6123 | if (PyErr_Occurred()) SWIG_fail; | |
6124 | } | |
6125 | Py_INCREF(Py_None); resultobj = Py_None; | |
6126 | return resultobj; | |
6127 | fail: | |
6128 | return NULL; | |
6129 | } | |
6130 | ||
6131 | ||
6132 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6133 | PyObject *resultobj; | |
6134 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6135 | bool arg2 ; | |
6136 | PyObject * obj0 = 0 ; | |
6137 | PyObject * obj1 = 0 ; | |
6138 | char *kwnames[] = { | |
6139 | (char *) "self",(char *) "needUpdating", NULL | |
6140 | }; | |
6141 | ||
6142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6145 | arg2 = (bool) SWIG_AsBool(obj1); | |
6146 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6147 | { |
6148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6149 | (arg1)->SetNeedUpdating(arg2); | |
6150 | ||
6151 | wxPyEndAllowThreads(__tstate); | |
6152 | if (PyErr_Occurred()) SWIG_fail; | |
6153 | } | |
6154 | Py_INCREF(Py_None); resultobj = Py_None; | |
6155 | return resultobj; | |
6156 | fail: | |
6157 | return NULL; | |
6158 | } | |
6159 | ||
6160 | ||
6161 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject *resultobj; | |
6163 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6164 | bool result; | |
6165 | PyObject * obj0 = 0 ; | |
6166 | char *kwnames[] = { | |
6167 | (char *) "self", NULL | |
6168 | }; | |
6169 | ||
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6173 | { |
6174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6175 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6176 | ||
6177 | wxPyEndAllowThreads(__tstate); | |
6178 | if (PyErr_Occurred()) SWIG_fail; | |
6179 | } | |
4f89f6a3 RD |
6180 | { |
6181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6182 | } | |
d14a1e28 RD |
6183 | return resultobj; |
6184 | fail: | |
6185 | return NULL; | |
6186 | } | |
6187 | ||
6188 | ||
6189 | static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
6190 | PyObject *obj; | |
6191 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6192 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6193 | Py_INCREF(obj); | |
6194 | return Py_BuildValue((char *)""); | |
6195 | } | |
6196 | static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6197 | PyObject *resultobj; | |
6198 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6199 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6200 | wxSplitterEvent *result; | |
8edf1c75 | 6201 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6202 | PyObject * obj1 = 0 ; |
6203 | char *kwnames[] = { | |
6204 | (char *) "type",(char *) "splitter", NULL | |
6205 | }; | |
6206 | ||
8edf1c75 RD |
6207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6208 | if (obj0) { | |
2f4c0a16 RD |
6209 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6210 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6211 | } |
d14a1e28 | 6212 | if (obj1) { |
2f4c0a16 RD |
6213 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6215 | } |
6216 | { | |
6217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6218 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6219 | ||
6220 | wxPyEndAllowThreads(__tstate); | |
6221 | if (PyErr_Occurred()) SWIG_fail; | |
6222 | } | |
2f4c0a16 | 6223 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6224 | return resultobj; |
6225 | fail: | |
6226 | return NULL; | |
6227 | } | |
6228 | ||
6229 | ||
6230 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6231 | PyObject *resultobj; | |
6232 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6233 | int arg2 ; | |
6234 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6235 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6236 | char *kwnames[] = { |
6237 | (char *) "self",(char *) "pos", NULL | |
6238 | }; | |
6239 | ||
8edf1c75 | 6240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6243 | arg2 = (int) SWIG_AsInt(obj1); | |
6244 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6245 | { |
6246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6247 | (arg1)->SetSashPosition(arg2); | |
6248 | ||
6249 | wxPyEndAllowThreads(__tstate); | |
6250 | if (PyErr_Occurred()) SWIG_fail; | |
6251 | } | |
6252 | Py_INCREF(Py_None); resultobj = Py_None; | |
6253 | return resultobj; | |
6254 | fail: | |
6255 | return NULL; | |
6256 | } | |
6257 | ||
6258 | ||
6259 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6260 | PyObject *resultobj; | |
6261 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6262 | int result; | |
6263 | PyObject * obj0 = 0 ; | |
6264 | char *kwnames[] = { | |
6265 | (char *) "self", NULL | |
6266 | }; | |
6267 | ||
6268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6269 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6270 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6271 | { |
6272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6273 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6274 | ||
6275 | wxPyEndAllowThreads(__tstate); | |
6276 | if (PyErr_Occurred()) SWIG_fail; | |
6277 | } | |
2f4c0a16 | 6278 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6279 | return resultobj; |
6280 | fail: | |
6281 | return NULL; | |
6282 | } | |
6283 | ||
6284 | ||
6285 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6286 | PyObject *resultobj; | |
6287 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6288 | wxWindow *result; | |
6289 | PyObject * obj0 = 0 ; | |
6290 | char *kwnames[] = { | |
6291 | (char *) "self", NULL | |
6292 | }; | |
6293 | ||
6294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6295 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6296 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6297 | { |
6298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6299 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6300 | ||
6301 | wxPyEndAllowThreads(__tstate); | |
6302 | if (PyErr_Occurred()) SWIG_fail; | |
6303 | } | |
6304 | { | |
6305 | resultobj = wxPyMake_wxObject(result); | |
6306 | } | |
6307 | return resultobj; | |
6308 | fail: | |
6309 | return NULL; | |
6310 | } | |
6311 | ||
6312 | ||
6313 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6314 | PyObject *resultobj; | |
6315 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6316 | int result; | |
6317 | PyObject * obj0 = 0 ; | |
6318 | char *kwnames[] = { | |
6319 | (char *) "self", NULL | |
6320 | }; | |
6321 | ||
6322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6323 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6324 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6325 | { |
6326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6327 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6328 | ||
6329 | wxPyEndAllowThreads(__tstate); | |
6330 | if (PyErr_Occurred()) SWIG_fail; | |
6331 | } | |
2f4c0a16 | 6332 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6333 | return resultobj; |
6334 | fail: | |
6335 | return NULL; | |
6336 | } | |
6337 | ||
6338 | ||
6339 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6340 | PyObject *resultobj; | |
6341 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6342 | int result; | |
6343 | PyObject * obj0 = 0 ; | |
6344 | char *kwnames[] = { | |
6345 | (char *) "self", NULL | |
6346 | }; | |
6347 | ||
6348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6351 | { |
6352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6353 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6354 | ||
6355 | wxPyEndAllowThreads(__tstate); | |
6356 | if (PyErr_Occurred()) SWIG_fail; | |
6357 | } | |
2f4c0a16 | 6358 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6359 | return resultobj; |
6360 | fail: | |
6361 | return NULL; | |
6362 | } | |
6363 | ||
6364 | ||
6365 | static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) { | |
6366 | PyObject *obj; | |
6367 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6368 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6369 | Py_INCREF(obj); | |
6370 | return Py_BuildValue((char *)""); | |
6371 | } | |
2f4c0a16 | 6372 | static int _wrap_SashNameStr_set(PyObject *_val) { |
d03fd34d RD |
6373 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
6374 | return 1; | |
6375 | } | |
6376 | ||
6377 | ||
6378 | static PyObject *_wrap_SashNameStr_get() { | |
6379 | PyObject *pyobj; | |
6380 | ||
6381 | { | |
6382 | #if wxUSE_UNICODE | |
6383 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6384 | #else | |
6385 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6386 | #endif | |
6387 | } | |
6388 | return pyobj; | |
6389 | } | |
6390 | ||
6391 | ||
2f4c0a16 | 6392 | static int _wrap_SashLayoutNameStr_set(PyObject *_val) { |
d03fd34d RD |
6393 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
6394 | return 1; | |
6395 | } | |
6396 | ||
6397 | ||
6398 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6399 | PyObject *pyobj; | |
6400 | ||
6401 | { | |
6402 | #if wxUSE_UNICODE | |
6403 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6404 | #else | |
6405 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6406 | #endif | |
6407 | } | |
6408 | return pyobj; | |
6409 | } | |
6410 | ||
6411 | ||
d14a1e28 RD |
6412 | static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { |
6413 | PyObject *resultobj; | |
6414 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 6415 | int arg2 ; |
d14a1e28 RD |
6416 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6417 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6418 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6419 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6420 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6421 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6422 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6423 | wxSashWindow *result; | |
6424 | wxPoint temp3 ; | |
6425 | wxSize temp4 ; | |
423f194a | 6426 | bool temp6 = False ; |
d14a1e28 | 6427 | PyObject * obj0 = 0 ; |
8edf1c75 | 6428 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6429 | PyObject * obj2 = 0 ; |
6430 | PyObject * obj3 = 0 ; | |
8edf1c75 | 6431 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6432 | PyObject * obj5 = 0 ; |
6433 | char *kwnames[] = { | |
6434 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6435 | }; | |
6436 | ||
8edf1c75 | 6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
6438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6440 | arg2 = (int) SWIG_AsInt(obj1); | |
6441 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6442 | if (obj2) { |
6443 | { | |
6444 | arg3 = &temp3; | |
6445 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6446 | } | |
6447 | } | |
6448 | if (obj3) { | |
6449 | { | |
6450 | arg4 = &temp4; | |
6451 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6452 | } | |
6453 | } | |
8edf1c75 | 6454 | if (obj4) { |
2f4c0a16 RD |
6455 | arg5 = (long) SWIG_AsLong(obj4); |
6456 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6457 | } |
d14a1e28 RD |
6458 | if (obj5) { |
6459 | { | |
6460 | arg6 = wxString_in_helper(obj5); | |
6461 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 6462 | temp6 = True; |
d14a1e28 RD |
6463 | } |
6464 | } | |
6465 | { | |
6466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6467 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6468 | ||
6469 | wxPyEndAllowThreads(__tstate); | |
6470 | if (PyErr_Occurred()) SWIG_fail; | |
6471 | } | |
2f4c0a16 | 6472 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6473 | { |
6474 | if (temp6) | |
6475 | delete arg6; | |
6476 | } | |
6477 | return resultobj; | |
6478 | fail: | |
6479 | { | |
6480 | if (temp6) | |
6481 | delete arg6; | |
6482 | } | |
6483 | return NULL; | |
6484 | } | |
6485 | ||
6486 | ||
6487 | static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6488 | PyObject *resultobj; | |
6489 | wxSashWindow *result; | |
6490 | char *kwnames[] = { | |
6491 | NULL | |
6492 | }; | |
6493 | ||
6494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6495 | { | |
6496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6497 | result = (wxSashWindow *)new wxSashWindow(); | |
6498 | ||
6499 | wxPyEndAllowThreads(__tstate); | |
6500 | if (PyErr_Occurred()) SWIG_fail; | |
6501 | } | |
2f4c0a16 | 6502 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6503 | return resultobj; |
6504 | fail: | |
6505 | return NULL; | |
6506 | } | |
6507 | ||
6508 | ||
6509 | static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6510 | PyObject *resultobj; | |
6511 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6512 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 6513 | int arg3 ; |
d14a1e28 RD |
6514 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6515 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6516 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6517 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6518 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6519 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6520 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6521 | bool result; | |
6522 | wxPoint temp4 ; | |
6523 | wxSize temp5 ; | |
423f194a | 6524 | bool temp7 = False ; |
d14a1e28 RD |
6525 | PyObject * obj0 = 0 ; |
6526 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6527 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6528 | PyObject * obj3 = 0 ; |
6529 | PyObject * obj4 = 0 ; | |
8edf1c75 | 6530 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6531 | PyObject * obj6 = 0 ; |
6532 | char *kwnames[] = { | |
6533 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6534 | }; | |
6535 | ||
8edf1c75 | 6536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
6537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6539 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6541 | arg3 = (int) SWIG_AsInt(obj2); | |
6542 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6543 | if (obj3) { |
6544 | { | |
6545 | arg4 = &temp4; | |
6546 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6547 | } | |
6548 | } | |
6549 | if (obj4) { | |
6550 | { | |
6551 | arg5 = &temp5; | |
6552 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6553 | } | |
6554 | } | |
8edf1c75 | 6555 | if (obj5) { |
2f4c0a16 RD |
6556 | arg6 = (long) SWIG_AsLong(obj5); |
6557 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6558 | } |
d14a1e28 RD |
6559 | if (obj6) { |
6560 | { | |
6561 | arg7 = wxString_in_helper(obj6); | |
6562 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 6563 | temp7 = True; |
d14a1e28 RD |
6564 | } |
6565 | } | |
6566 | { | |
6567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6568 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6569 | ||
6570 | wxPyEndAllowThreads(__tstate); | |
6571 | if (PyErr_Occurred()) SWIG_fail; | |
6572 | } | |
4f89f6a3 RD |
6573 | { |
6574 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6575 | } | |
d14a1e28 RD |
6576 | { |
6577 | if (temp7) | |
6578 | delete arg7; | |
6579 | } | |
6580 | return resultobj; | |
6581 | fail: | |
6582 | { | |
6583 | if (temp7) | |
6584 | delete arg7; | |
6585 | } | |
6586 | return NULL; | |
6587 | } | |
6588 | ||
6589 | ||
6590 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6591 | PyObject *resultobj; | |
6592 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6593 | int arg2 ; | |
6594 | bool arg3 ; | |
6595 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6596 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6597 | PyObject * obj2 = 0 ; |
6598 | char *kwnames[] = { | |
6599 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6600 | }; | |
6601 | ||
8edf1c75 | 6602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
6603 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6604 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6605 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6606 | if (PyErr_Occurred()) SWIG_fail; | |
6607 | arg3 = (bool) SWIG_AsBool(obj2); | |
6608 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6609 | { |
6610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6611 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6612 | ||
6613 | wxPyEndAllowThreads(__tstate); | |
6614 | if (PyErr_Occurred()) SWIG_fail; | |
6615 | } | |
6616 | Py_INCREF(Py_None); resultobj = Py_None; | |
6617 | return resultobj; | |
6618 | fail: | |
6619 | return NULL; | |
6620 | } | |
6621 | ||
6622 | ||
6623 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6624 | PyObject *resultobj; | |
6625 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6626 | int arg2 ; | |
6627 | bool result; | |
6628 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6629 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6630 | char *kwnames[] = { |
6631 | (char *) "self",(char *) "edge", NULL | |
6632 | }; | |
6633 | ||
8edf1c75 | 6634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6635 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6636 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6637 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6638 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6639 | { |
6640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6641 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6642 | ||
6643 | wxPyEndAllowThreads(__tstate); | |
6644 | if (PyErr_Occurred()) SWIG_fail; | |
6645 | } | |
4f89f6a3 RD |
6646 | { |
6647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6648 | } | |
d14a1e28 RD |
6649 | return resultobj; |
6650 | fail: | |
6651 | return NULL; | |
6652 | } | |
6653 | ||
6654 | ||
6655 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6656 | PyObject *resultobj; | |
6657 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6658 | int arg2 ; | |
6659 | bool arg3 ; | |
6660 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6661 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6662 | PyObject * obj2 = 0 ; |
6663 | char *kwnames[] = { | |
6664 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6665 | }; | |
6666 | ||
8edf1c75 | 6667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
6668 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6669 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6670 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6671 | if (PyErr_Occurred()) SWIG_fail; | |
6672 | arg3 = (bool) SWIG_AsBool(obj2); | |
6673 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6674 | { |
6675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6676 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6677 | ||
6678 | wxPyEndAllowThreads(__tstate); | |
6679 | if (PyErr_Occurred()) SWIG_fail; | |
6680 | } | |
6681 | Py_INCREF(Py_None); resultobj = Py_None; | |
6682 | return resultobj; | |
6683 | fail: | |
6684 | return NULL; | |
6685 | } | |
6686 | ||
6687 | ||
6688 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6689 | PyObject *resultobj; | |
6690 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6691 | int arg2 ; | |
6692 | bool result; | |
6693 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6694 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6695 | char *kwnames[] = { |
6696 | (char *) "self",(char *) "edge", NULL | |
6697 | }; | |
6698 | ||
8edf1c75 | 6699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6702 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6703 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6704 | { |
6705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6706 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6707 | ||
6708 | wxPyEndAllowThreads(__tstate); | |
6709 | if (PyErr_Occurred()) SWIG_fail; | |
6710 | } | |
4f89f6a3 RD |
6711 | { |
6712 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6713 | } | |
d14a1e28 RD |
6714 | return resultobj; |
6715 | fail: | |
6716 | return NULL; | |
6717 | } | |
6718 | ||
6719 | ||
6720 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6721 | PyObject *resultobj; | |
6722 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6723 | int arg2 ; | |
6724 | int result; | |
6725 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6726 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6727 | char *kwnames[] = { |
6728 | (char *) "self",(char *) "edge", NULL | |
6729 | }; | |
6730 | ||
8edf1c75 | 6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6732 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6733 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6734 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6735 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6736 | { |
6737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6738 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6739 | ||
6740 | wxPyEndAllowThreads(__tstate); | |
6741 | if (PyErr_Occurred()) SWIG_fail; | |
6742 | } | |
2f4c0a16 | 6743 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6744 | return resultobj; |
6745 | fail: | |
6746 | return NULL; | |
6747 | } | |
6748 | ||
6749 | ||
6750 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject *resultobj; | |
6752 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6753 | int arg2 ; | |
6754 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6755 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6756 | char *kwnames[] = { |
6757 | (char *) "self",(char *) "width", NULL | |
6758 | }; | |
6759 | ||
8edf1c75 | 6760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6761 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6763 | arg2 = (int) SWIG_AsInt(obj1); | |
6764 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6765 | { |
6766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6767 | (arg1)->SetDefaultBorderSize(arg2); | |
6768 | ||
6769 | wxPyEndAllowThreads(__tstate); | |
6770 | if (PyErr_Occurred()) SWIG_fail; | |
6771 | } | |
6772 | Py_INCREF(Py_None); resultobj = Py_None; | |
6773 | return resultobj; | |
6774 | fail: | |
6775 | return NULL; | |
6776 | } | |
6777 | ||
6778 | ||
6779 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6780 | PyObject *resultobj; | |
6781 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6782 | int result; | |
6783 | PyObject * obj0 = 0 ; | |
6784 | char *kwnames[] = { | |
6785 | (char *) "self", NULL | |
6786 | }; | |
6787 | ||
6788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6791 | { |
6792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6793 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
6794 | ||
6795 | wxPyEndAllowThreads(__tstate); | |
6796 | if (PyErr_Occurred()) SWIG_fail; | |
6797 | } | |
2f4c0a16 | 6798 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6799 | return resultobj; |
6800 | fail: | |
6801 | return NULL; | |
6802 | } | |
6803 | ||
6804 | ||
6805 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6806 | PyObject *resultobj; | |
6807 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6808 | int arg2 ; | |
6809 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6810 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6811 | char *kwnames[] = { |
6812 | (char *) "self",(char *) "width", NULL | |
6813 | }; | |
6814 | ||
8edf1c75 | 6815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6816 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6817 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6818 | arg2 = (int) SWIG_AsInt(obj1); | |
6819 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6820 | { |
6821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6822 | (arg1)->SetExtraBorderSize(arg2); | |
6823 | ||
6824 | wxPyEndAllowThreads(__tstate); | |
6825 | if (PyErr_Occurred()) SWIG_fail; | |
6826 | } | |
6827 | Py_INCREF(Py_None); resultobj = Py_None; | |
6828 | return resultobj; | |
6829 | fail: | |
6830 | return NULL; | |
6831 | } | |
6832 | ||
6833 | ||
6834 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6835 | PyObject *resultobj; | |
6836 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6837 | int result; | |
6838 | PyObject * obj0 = 0 ; | |
6839 | char *kwnames[] = { | |
6840 | (char *) "self", NULL | |
6841 | }; | |
6842 | ||
6843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6844 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6846 | { |
6847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6848 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
6849 | ||
6850 | wxPyEndAllowThreads(__tstate); | |
6851 | if (PyErr_Occurred()) SWIG_fail; | |
6852 | } | |
2f4c0a16 | 6853 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6854 | return resultobj; |
6855 | fail: | |
6856 | return NULL; | |
6857 | } | |
6858 | ||
6859 | ||
6860 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6861 | PyObject *resultobj; | |
6862 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6863 | int arg2 ; | |
6864 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6865 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6866 | char *kwnames[] = { |
6867 | (char *) "self",(char *) "min", NULL | |
6868 | }; | |
6869 | ||
8edf1c75 | 6870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6873 | arg2 = (int) SWIG_AsInt(obj1); | |
6874 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6875 | { |
6876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6877 | (arg1)->SetMinimumSizeX(arg2); | |
6878 | ||
6879 | wxPyEndAllowThreads(__tstate); | |
6880 | if (PyErr_Occurred()) SWIG_fail; | |
6881 | } | |
6882 | Py_INCREF(Py_None); resultobj = Py_None; | |
6883 | return resultobj; | |
6884 | fail: | |
6885 | return NULL; | |
6886 | } | |
6887 | ||
6888 | ||
6889 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6890 | PyObject *resultobj; | |
6891 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6892 | int arg2 ; | |
6893 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6894 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6895 | char *kwnames[] = { |
6896 | (char *) "self",(char *) "min", NULL | |
6897 | }; | |
6898 | ||
8edf1c75 | 6899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6902 | arg2 = (int) SWIG_AsInt(obj1); | |
6903 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6904 | { |
6905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6906 | (arg1)->SetMinimumSizeY(arg2); | |
6907 | ||
6908 | wxPyEndAllowThreads(__tstate); | |
6909 | if (PyErr_Occurred()) SWIG_fail; | |
6910 | } | |
6911 | Py_INCREF(Py_None); resultobj = Py_None; | |
6912 | return resultobj; | |
6913 | fail: | |
6914 | return NULL; | |
6915 | } | |
6916 | ||
6917 | ||
6918 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6919 | PyObject *resultobj; | |
6920 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6921 | int result; | |
6922 | PyObject * obj0 = 0 ; | |
6923 | char *kwnames[] = { | |
6924 | (char *) "self", NULL | |
6925 | }; | |
6926 | ||
6927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6930 | { |
6931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6932 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6933 | ||
6934 | wxPyEndAllowThreads(__tstate); | |
6935 | if (PyErr_Occurred()) SWIG_fail; | |
6936 | } | |
2f4c0a16 | 6937 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6938 | return resultobj; |
6939 | fail: | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
6944 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6945 | PyObject *resultobj; | |
6946 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6947 | int result; | |
6948 | PyObject * obj0 = 0 ; | |
6949 | char *kwnames[] = { | |
6950 | (char *) "self", NULL | |
6951 | }; | |
6952 | ||
6953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6956 | { |
6957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6958 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6959 | ||
6960 | wxPyEndAllowThreads(__tstate); | |
6961 | if (PyErr_Occurred()) SWIG_fail; | |
6962 | } | |
2f4c0a16 | 6963 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6964 | return resultobj; |
6965 | fail: | |
6966 | return NULL; | |
6967 | } | |
6968 | ||
6969 | ||
6970 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6971 | PyObject *resultobj; | |
6972 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6973 | int arg2 ; | |
6974 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6975 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6976 | char *kwnames[] = { |
6977 | (char *) "self",(char *) "max", NULL | |
6978 | }; | |
6979 | ||
8edf1c75 | 6980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6983 | arg2 = (int) SWIG_AsInt(obj1); | |
6984 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6985 | { |
6986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6987 | (arg1)->SetMaximumSizeX(arg2); | |
6988 | ||
6989 | wxPyEndAllowThreads(__tstate); | |
6990 | if (PyErr_Occurred()) SWIG_fail; | |
6991 | } | |
6992 | Py_INCREF(Py_None); resultobj = Py_None; | |
6993 | return resultobj; | |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
6999 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7000 | PyObject *resultobj; | |
7001 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7002 | int arg2 ; | |
7003 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7004 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7005 | char *kwnames[] = { |
7006 | (char *) "self",(char *) "max", NULL | |
7007 | }; | |
7008 | ||
8edf1c75 | 7009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7012 | arg2 = (int) SWIG_AsInt(obj1); | |
7013 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7014 | { |
7015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7016 | (arg1)->SetMaximumSizeY(arg2); | |
7017 | ||
7018 | wxPyEndAllowThreads(__tstate); | |
7019 | if (PyErr_Occurred()) SWIG_fail; | |
7020 | } | |
7021 | Py_INCREF(Py_None); resultobj = Py_None; | |
7022 | return resultobj; | |
7023 | fail: | |
7024 | return NULL; | |
7025 | } | |
7026 | ||
7027 | ||
7028 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7029 | PyObject *resultobj; | |
7030 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7031 | int result; | |
7032 | PyObject * obj0 = 0 ; | |
7033 | char *kwnames[] = { | |
7034 | (char *) "self", NULL | |
7035 | }; | |
7036 | ||
7037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7040 | { |
7041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7042 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7043 | ||
7044 | wxPyEndAllowThreads(__tstate); | |
7045 | if (PyErr_Occurred()) SWIG_fail; | |
7046 | } | |
2f4c0a16 | 7047 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7048 | return resultobj; |
7049 | fail: | |
7050 | return NULL; | |
7051 | } | |
7052 | ||
7053 | ||
7054 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7055 | PyObject *resultobj; | |
7056 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7057 | int result; | |
7058 | PyObject * obj0 = 0 ; | |
7059 | char *kwnames[] = { | |
7060 | (char *) "self", NULL | |
7061 | }; | |
7062 | ||
7063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7064 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7065 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7066 | { |
7067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7068 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7069 | ||
7070 | wxPyEndAllowThreads(__tstate); | |
7071 | if (PyErr_Occurred()) SWIG_fail; | |
7072 | } | |
2f4c0a16 | 7073 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7074 | return resultobj; |
7075 | fail: | |
7076 | return NULL; | |
7077 | } | |
7078 | ||
7079 | ||
7080 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7081 | PyObject *resultobj; | |
7082 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7083 | int arg2 ; | |
7084 | int arg3 ; | |
7085 | int arg4 = (int) 2 ; | |
7086 | int result; | |
7087 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7088 | PyObject * obj1 = 0 ; |
7089 | PyObject * obj2 = 0 ; | |
7090 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7091 | char *kwnames[] = { |
7092 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7093 | }; | |
7094 | ||
8edf1c75 | 7095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
7096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7098 | arg2 = (int) SWIG_AsInt(obj1); | |
7099 | if (PyErr_Occurred()) SWIG_fail; | |
7100 | arg3 = (int) SWIG_AsInt(obj2); | |
7101 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7102 | if (obj3) { |
2f4c0a16 RD |
7103 | arg4 = (int) SWIG_AsInt(obj3); |
7104 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7105 | } |
d14a1e28 RD |
7106 | { |
7107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7108 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7109 | ||
7110 | wxPyEndAllowThreads(__tstate); | |
7111 | if (PyErr_Occurred()) SWIG_fail; | |
7112 | } | |
2f4c0a16 | 7113 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7114 | return resultobj; |
7115 | fail: | |
7116 | return NULL; | |
7117 | } | |
7118 | ||
7119 | ||
7120 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7121 | PyObject *resultobj; | |
7122 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7123 | PyObject * obj0 = 0 ; | |
7124 | char *kwnames[] = { | |
7125 | (char *) "self", NULL | |
7126 | }; | |
7127 | ||
7128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7131 | { |
7132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7133 | (arg1)->SizeWindows(); | |
7134 | ||
7135 | wxPyEndAllowThreads(__tstate); | |
7136 | if (PyErr_Occurred()) SWIG_fail; | |
7137 | } | |
7138 | Py_INCREF(Py_None); resultobj = Py_None; | |
7139 | return resultobj; | |
7140 | fail: | |
7141 | return NULL; | |
7142 | } | |
7143 | ||
7144 | ||
7145 | static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) { | |
7146 | PyObject *obj; | |
7147 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7148 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7149 | Py_INCREF(obj); | |
7150 | return Py_BuildValue((char *)""); | |
7151 | } | |
7152 | static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7153 | PyObject *resultobj; | |
7154 | int arg1 = (int) 0 ; | |
7155 | int arg2 = (int) wxSASH_NONE ; | |
7156 | wxSashEvent *result; | |
8edf1c75 RD |
7157 | PyObject * obj0 = 0 ; |
7158 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7159 | char *kwnames[] = { |
7160 | (char *) "id",(char *) "edge", NULL | |
7161 | }; | |
7162 | ||
8edf1c75 RD |
7163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7164 | if (obj0) { | |
2f4c0a16 RD |
7165 | arg1 = (int) SWIG_AsInt(obj0); |
7166 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
7167 | } |
7168 | if (obj1) { | |
2f4c0a16 RD |
7169 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7170 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7171 | } |
d14a1e28 RD |
7172 | { |
7173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7174 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7175 | ||
7176 | wxPyEndAllowThreads(__tstate); | |
7177 | if (PyErr_Occurred()) SWIG_fail; | |
7178 | } | |
2f4c0a16 | 7179 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7180 | return resultobj; |
7181 | fail: | |
7182 | return NULL; | |
7183 | } | |
7184 | ||
7185 | ||
7186 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7187 | PyObject *resultobj; | |
7188 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7189 | int arg2 ; | |
7190 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7191 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7192 | char *kwnames[] = { |
7193 | (char *) "self",(char *) "edge", NULL | |
7194 | }; | |
7195 | ||
8edf1c75 | 7196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7199 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7200 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7201 | { |
7202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7203 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7204 | ||
7205 | wxPyEndAllowThreads(__tstate); | |
7206 | if (PyErr_Occurred()) SWIG_fail; | |
7207 | } | |
7208 | Py_INCREF(Py_None); resultobj = Py_None; | |
7209 | return resultobj; | |
7210 | fail: | |
7211 | return NULL; | |
7212 | } | |
7213 | ||
7214 | ||
7215 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7216 | PyObject *resultobj; | |
7217 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7218 | int result; | |
7219 | PyObject * obj0 = 0 ; | |
7220 | char *kwnames[] = { | |
7221 | (char *) "self", NULL | |
7222 | }; | |
7223 | ||
7224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7227 | { |
7228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7229 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7230 | ||
7231 | wxPyEndAllowThreads(__tstate); | |
7232 | if (PyErr_Occurred()) SWIG_fail; | |
7233 | } | |
2f4c0a16 | 7234 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7235 | return resultobj; |
7236 | fail: | |
7237 | return NULL; | |
7238 | } | |
7239 | ||
7240 | ||
7241 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7242 | PyObject *resultobj; | |
7243 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7244 | wxRect *arg2 = 0 ; | |
7245 | wxRect temp2 ; | |
7246 | PyObject * obj0 = 0 ; | |
7247 | PyObject * obj1 = 0 ; | |
7248 | char *kwnames[] = { | |
7249 | (char *) "self",(char *) "rect", NULL | |
7250 | }; | |
7251 | ||
7252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7255 | { |
7256 | arg2 = &temp2; | |
7257 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7258 | } | |
7259 | { | |
7260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7261 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7262 | ||
7263 | wxPyEndAllowThreads(__tstate); | |
7264 | if (PyErr_Occurred()) SWIG_fail; | |
7265 | } | |
7266 | Py_INCREF(Py_None); resultobj = Py_None; | |
7267 | return resultobj; | |
7268 | fail: | |
7269 | return NULL; | |
7270 | } | |
7271 | ||
7272 | ||
7273 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7274 | PyObject *resultobj; | |
7275 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7276 | wxRect result; | |
7277 | PyObject * obj0 = 0 ; | |
7278 | char *kwnames[] = { | |
7279 | (char *) "self", NULL | |
7280 | }; | |
7281 | ||
7282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7285 | { |
7286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7287 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7288 | ||
7289 | wxPyEndAllowThreads(__tstate); | |
7290 | if (PyErr_Occurred()) SWIG_fail; | |
7291 | } | |
7292 | { | |
7293 | wxRect * resultptr; | |
7294 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 7295 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7296 | } |
7297 | return resultobj; | |
7298 | fail: | |
7299 | return NULL; | |
7300 | } | |
7301 | ||
7302 | ||
7303 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7304 | PyObject *resultobj; | |
7305 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7306 | int arg2 ; | |
7307 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7308 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7309 | char *kwnames[] = { |
7310 | (char *) "self",(char *) "status", NULL | |
7311 | }; | |
7312 | ||
8edf1c75 | 7313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7316 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7317 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7318 | { |
7319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7320 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7321 | ||
7322 | wxPyEndAllowThreads(__tstate); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | } | |
7325 | Py_INCREF(Py_None); resultobj = Py_None; | |
7326 | return resultobj; | |
7327 | fail: | |
7328 | return NULL; | |
7329 | } | |
7330 | ||
7331 | ||
7332 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7333 | PyObject *resultobj; | |
7334 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7335 | int result; | |
7336 | PyObject * obj0 = 0 ; | |
7337 | char *kwnames[] = { | |
7338 | (char *) "self", NULL | |
7339 | }; | |
7340 | ||
7341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7344 | { |
7345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7346 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7347 | ||
7348 | wxPyEndAllowThreads(__tstate); | |
7349 | if (PyErr_Occurred()) SWIG_fail; | |
7350 | } | |
2f4c0a16 | 7351 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7352 | return resultobj; |
7353 | fail: | |
7354 | return NULL; | |
7355 | } | |
7356 | ||
7357 | ||
7358 | static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) { | |
7359 | PyObject *obj; | |
7360 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7361 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7362 | Py_INCREF(obj); | |
7363 | return Py_BuildValue((char *)""); | |
7364 | } | |
7365 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7366 | PyObject *resultobj; | |
423f194a | 7367 | int arg1 = (int) 0 ; |
d14a1e28 | 7368 | wxQueryLayoutInfoEvent *result; |
8edf1c75 | 7369 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7370 | char *kwnames[] = { |
7371 | (char *) "id", NULL | |
7372 | }; | |
7373 | ||
8edf1c75 RD |
7374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7375 | if (obj0) { | |
2f4c0a16 RD |
7376 | arg1 = (int) SWIG_AsInt(obj0); |
7377 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7378 | } |
d14a1e28 RD |
7379 | { |
7380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7381 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7382 | ||
7383 | wxPyEndAllowThreads(__tstate); | |
7384 | if (PyErr_Occurred()) SWIG_fail; | |
7385 | } | |
2f4c0a16 | 7386 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7387 | return resultobj; |
7388 | fail: | |
7389 | return NULL; | |
7390 | } | |
7391 | ||
7392 | ||
7393 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7394 | PyObject *resultobj; | |
7395 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7396 | int arg2 ; | |
7397 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7398 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7399 | char *kwnames[] = { |
7400 | (char *) "self",(char *) "length", NULL | |
7401 | }; | |
7402 | ||
8edf1c75 | 7403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7406 | arg2 = (int) SWIG_AsInt(obj1); | |
7407 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7408 | { |
7409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7410 | (arg1)->SetRequestedLength(arg2); | |
7411 | ||
7412 | wxPyEndAllowThreads(__tstate); | |
7413 | if (PyErr_Occurred()) SWIG_fail; | |
7414 | } | |
7415 | Py_INCREF(Py_None); resultobj = Py_None; | |
7416 | return resultobj; | |
7417 | fail: | |
7418 | return NULL; | |
7419 | } | |
7420 | ||
7421 | ||
7422 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7423 | PyObject *resultobj; | |
7424 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7425 | int result; | |
7426 | PyObject * obj0 = 0 ; | |
7427 | char *kwnames[] = { | |
7428 | (char *) "self", NULL | |
7429 | }; | |
7430 | ||
7431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7432 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7433 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7434 | { |
7435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7436 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7437 | ||
7438 | wxPyEndAllowThreads(__tstate); | |
7439 | if (PyErr_Occurred()) SWIG_fail; | |
7440 | } | |
2f4c0a16 | 7441 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7442 | return resultobj; |
7443 | fail: | |
7444 | return NULL; | |
7445 | } | |
7446 | ||
7447 | ||
7448 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7449 | PyObject *resultobj; | |
7450 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7451 | int arg2 ; | |
7452 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7453 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7454 | char *kwnames[] = { |
7455 | (char *) "self",(char *) "flags", NULL | |
7456 | }; | |
7457 | ||
8edf1c75 | 7458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7461 | arg2 = (int) SWIG_AsInt(obj1); | |
7462 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7463 | { |
7464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7465 | (arg1)->SetFlags(arg2); | |
7466 | ||
7467 | wxPyEndAllowThreads(__tstate); | |
7468 | if (PyErr_Occurred()) SWIG_fail; | |
7469 | } | |
7470 | Py_INCREF(Py_None); resultobj = Py_None; | |
7471 | return resultobj; | |
7472 | fail: | |
7473 | return NULL; | |
7474 | } | |
7475 | ||
7476 | ||
7477 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7478 | PyObject *resultobj; | |
7479 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7480 | int result; | |
7481 | PyObject * obj0 = 0 ; | |
7482 | char *kwnames[] = { | |
7483 | (char *) "self", NULL | |
7484 | }; | |
7485 | ||
7486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7489 | { |
7490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7491 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
7492 | ||
7493 | wxPyEndAllowThreads(__tstate); | |
7494 | if (PyErr_Occurred()) SWIG_fail; | |
7495 | } | |
2f4c0a16 | 7496 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7497 | return resultobj; |
7498 | fail: | |
7499 | return NULL; | |
7500 | } | |
7501 | ||
7502 | ||
7503 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7504 | PyObject *resultobj; | |
7505 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7506 | wxSize *arg2 = 0 ; | |
7507 | wxSize temp2 ; | |
7508 | PyObject * obj0 = 0 ; | |
7509 | PyObject * obj1 = 0 ; | |
7510 | char *kwnames[] = { | |
7511 | (char *) "self",(char *) "size", NULL | |
7512 | }; | |
7513 | ||
7514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7517 | { |
7518 | arg2 = &temp2; | |
7519 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7520 | } | |
7521 | { | |
7522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7523 | (arg1)->SetSize((wxSize const &)*arg2); | |
7524 | ||
7525 | wxPyEndAllowThreads(__tstate); | |
7526 | if (PyErr_Occurred()) SWIG_fail; | |
7527 | } | |
7528 | Py_INCREF(Py_None); resultobj = Py_None; | |
7529 | return resultobj; | |
7530 | fail: | |
7531 | return NULL; | |
7532 | } | |
7533 | ||
7534 | ||
7535 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7536 | PyObject *resultobj; | |
7537 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7538 | wxSize result; | |
7539 | PyObject * obj0 = 0 ; | |
7540 | char *kwnames[] = { | |
7541 | (char *) "self", NULL | |
7542 | }; | |
7543 | ||
7544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7545 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7546 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7547 | { |
7548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7549 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7550 | ||
7551 | wxPyEndAllowThreads(__tstate); | |
7552 | if (PyErr_Occurred()) SWIG_fail; | |
7553 | } | |
7554 | { | |
7555 | wxSize * resultptr; | |
7556 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 7557 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7558 | } |
7559 | return resultobj; | |
7560 | fail: | |
7561 | return NULL; | |
7562 | } | |
7563 | ||
7564 | ||
7565 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7566 | PyObject *resultobj; | |
7567 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7568 | int arg2 ; | |
7569 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7570 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7571 | char *kwnames[] = { |
7572 | (char *) "self",(char *) "orient", NULL | |
7573 | }; | |
7574 | ||
8edf1c75 | 7575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7578 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7580 | { |
7581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7582 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7583 | ||
7584 | wxPyEndAllowThreads(__tstate); | |
7585 | if (PyErr_Occurred()) SWIG_fail; | |
7586 | } | |
7587 | Py_INCREF(Py_None); resultobj = Py_None; | |
7588 | return resultobj; | |
7589 | fail: | |
7590 | return NULL; | |
7591 | } | |
7592 | ||
7593 | ||
7594 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7595 | PyObject *resultobj; | |
7596 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7597 | int result; | |
7598 | PyObject * obj0 = 0 ; | |
7599 | char *kwnames[] = { | |
7600 | (char *) "self", NULL | |
7601 | }; | |
7602 | ||
7603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7606 | { |
7607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7608 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7609 | ||
7610 | wxPyEndAllowThreads(__tstate); | |
7611 | if (PyErr_Occurred()) SWIG_fail; | |
7612 | } | |
2f4c0a16 | 7613 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7614 | return resultobj; |
7615 | fail: | |
7616 | return NULL; | |
7617 | } | |
7618 | ||
7619 | ||
7620 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7621 | PyObject *resultobj; | |
7622 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7623 | int arg2 ; | |
7624 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7625 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7626 | char *kwnames[] = { |
7627 | (char *) "self",(char *) "align", NULL | |
7628 | }; | |
7629 | ||
8edf1c75 | 7630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7633 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7634 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7635 | { |
7636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7637 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
7638 | ||
7639 | wxPyEndAllowThreads(__tstate); | |
7640 | if (PyErr_Occurred()) SWIG_fail; | |
7641 | } | |
7642 | Py_INCREF(Py_None); resultobj = Py_None; | |
7643 | return resultobj; | |
7644 | fail: | |
7645 | return NULL; | |
7646 | } | |
7647 | ||
7648 | ||
7649 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7650 | PyObject *resultobj; | |
7651 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7652 | int result; | |
7653 | PyObject * obj0 = 0 ; | |
7654 | char *kwnames[] = { | |
7655 | (char *) "self", NULL | |
7656 | }; | |
7657 | ||
7658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7661 | { |
7662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7663 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
7664 | ||
7665 | wxPyEndAllowThreads(__tstate); | |
7666 | if (PyErr_Occurred()) SWIG_fail; | |
7667 | } | |
2f4c0a16 | 7668 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7669 | return resultobj; |
7670 | fail: | |
7671 | return NULL; | |
7672 | } | |
7673 | ||
7674 | ||
7675 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) { | |
7676 | PyObject *obj; | |
7677 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7678 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7679 | Py_INCREF(obj); | |
7680 | return Py_BuildValue((char *)""); | |
7681 | } | |
7682 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7683 | PyObject *resultobj; | |
423f194a | 7684 | int arg1 = (int) 0 ; |
d14a1e28 | 7685 | wxCalculateLayoutEvent *result; |
8edf1c75 | 7686 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7687 | char *kwnames[] = { |
7688 | (char *) "id", NULL | |
7689 | }; | |
7690 | ||
8edf1c75 RD |
7691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7692 | if (obj0) { | |
2f4c0a16 RD |
7693 | arg1 = (int) SWIG_AsInt(obj0); |
7694 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7695 | } |
d14a1e28 RD |
7696 | { |
7697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7698 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7699 | ||
7700 | wxPyEndAllowThreads(__tstate); | |
7701 | if (PyErr_Occurred()) SWIG_fail; | |
7702 | } | |
2f4c0a16 | 7703 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7704 | return resultobj; |
7705 | fail: | |
7706 | return NULL; | |
7707 | } | |
7708 | ||
7709 | ||
7710 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7711 | PyObject *resultobj; | |
7712 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7713 | int arg2 ; | |
7714 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7715 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7716 | char *kwnames[] = { |
7717 | (char *) "self",(char *) "flags", NULL | |
7718 | }; | |
7719 | ||
8edf1c75 | 7720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7723 | arg2 = (int) SWIG_AsInt(obj1); | |
7724 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7725 | { |
7726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7727 | (arg1)->SetFlags(arg2); | |
7728 | ||
7729 | wxPyEndAllowThreads(__tstate); | |
7730 | if (PyErr_Occurred()) SWIG_fail; | |
7731 | } | |
7732 | Py_INCREF(Py_None); resultobj = Py_None; | |
7733 | return resultobj; | |
7734 | fail: | |
7735 | return NULL; | |
7736 | } | |
7737 | ||
7738 | ||
7739 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7740 | PyObject *resultobj; | |
7741 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7742 | int result; | |
7743 | PyObject * obj0 = 0 ; | |
7744 | char *kwnames[] = { | |
7745 | (char *) "self", NULL | |
7746 | }; | |
7747 | ||
7748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7751 | { |
7752 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7753 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7754 | ||
7755 | wxPyEndAllowThreads(__tstate); | |
7756 | if (PyErr_Occurred()) SWIG_fail; | |
7757 | } | |
2f4c0a16 | 7758 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7759 | return resultobj; |
7760 | fail: | |
7761 | return NULL; | |
7762 | } | |
7763 | ||
7764 | ||
7765 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7766 | PyObject *resultobj; | |
7767 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7768 | wxRect *arg2 = 0 ; | |
7769 | wxRect temp2 ; | |
7770 | PyObject * obj0 = 0 ; | |
7771 | PyObject * obj1 = 0 ; | |
7772 | char *kwnames[] = { | |
7773 | (char *) "self",(char *) "rect", NULL | |
7774 | }; | |
7775 | ||
7776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7777 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7778 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7779 | { |
7780 | arg2 = &temp2; | |
7781 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7782 | } | |
7783 | { | |
7784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7785 | (arg1)->SetRect((wxRect const &)*arg2); | |
7786 | ||
7787 | wxPyEndAllowThreads(__tstate); | |
7788 | if (PyErr_Occurred()) SWIG_fail; | |
7789 | } | |
7790 | Py_INCREF(Py_None); resultobj = Py_None; | |
7791 | return resultobj; | |
7792 | fail: | |
7793 | return NULL; | |
7794 | } | |
7795 | ||
7796 | ||
7797 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7798 | PyObject *resultobj; | |
7799 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7800 | wxRect result; | |
7801 | PyObject * obj0 = 0 ; | |
7802 | char *kwnames[] = { | |
7803 | (char *) "self", NULL | |
7804 | }; | |
7805 | ||
7806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7809 | { |
7810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7811 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7812 | ||
7813 | wxPyEndAllowThreads(__tstate); | |
7814 | if (PyErr_Occurred()) SWIG_fail; | |
7815 | } | |
7816 | { | |
7817 | wxRect * resultptr; | |
7818 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 7819 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7820 | } |
7821 | return resultobj; | |
7822 | fail: | |
7823 | return NULL; | |
7824 | } | |
7825 | ||
7826 | ||
7827 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) { | |
7828 | PyObject *obj; | |
7829 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7830 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7831 | Py_INCREF(obj); | |
7832 | return Py_BuildValue((char *)""); | |
7833 | } | |
7834 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7835 | PyObject *resultobj; | |
7836 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 7837 | int arg2 ; |
d14a1e28 RD |
7838 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7839 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7840 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7841 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7842 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7843 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7844 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7845 | wxSashLayoutWindow *result; | |
7846 | wxPoint temp3 ; | |
7847 | wxSize temp4 ; | |
423f194a | 7848 | bool temp6 = False ; |
d14a1e28 | 7849 | PyObject * obj0 = 0 ; |
8edf1c75 | 7850 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7851 | PyObject * obj2 = 0 ; |
7852 | PyObject * obj3 = 0 ; | |
8edf1c75 | 7853 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7854 | PyObject * obj5 = 0 ; |
7855 | char *kwnames[] = { | |
7856 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7857 | }; | |
7858 | ||
8edf1c75 | 7859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
7860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7862 | arg2 = (int) SWIG_AsInt(obj1); | |
7863 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7864 | if (obj2) { |
7865 | { | |
7866 | arg3 = &temp3; | |
7867 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7868 | } | |
7869 | } | |
7870 | if (obj3) { | |
7871 | { | |
7872 | arg4 = &temp4; | |
7873 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7874 | } | |
7875 | } | |
8edf1c75 | 7876 | if (obj4) { |
2f4c0a16 RD |
7877 | arg5 = (long) SWIG_AsLong(obj4); |
7878 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7879 | } |
d14a1e28 RD |
7880 | if (obj5) { |
7881 | { | |
7882 | arg6 = wxString_in_helper(obj5); | |
7883 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 7884 | temp6 = True; |
d14a1e28 RD |
7885 | } |
7886 | } | |
7887 | { | |
7888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7889 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7890 | ||
7891 | wxPyEndAllowThreads(__tstate); | |
7892 | if (PyErr_Occurred()) SWIG_fail; | |
7893 | } | |
2f4c0a16 | 7894 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7895 | { |
7896 | if (temp6) | |
7897 | delete arg6; | |
7898 | } | |
7899 | return resultobj; | |
7900 | fail: | |
7901 | { | |
7902 | if (temp6) | |
7903 | delete arg6; | |
7904 | } | |
7905 | return NULL; | |
7906 | } | |
7907 | ||
7908 | ||
7909 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7910 | PyObject *resultobj; | |
7911 | wxSashLayoutWindow *result; | |
7912 | char *kwnames[] = { | |
7913 | NULL | |
7914 | }; | |
7915 | ||
7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7917 | { | |
7918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7919 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7920 | ||
7921 | wxPyEndAllowThreads(__tstate); | |
7922 | if (PyErr_Occurred()) SWIG_fail; | |
7923 | } | |
2f4c0a16 | 7924 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7925 | return resultobj; |
7926 | fail: | |
7927 | return NULL; | |
7928 | } | |
7929 | ||
7930 | ||
7931 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7932 | PyObject *resultobj; | |
7933 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7934 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 7935 | int arg3 ; |
d14a1e28 RD |
7936 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7937 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7938 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7939 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7940 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7941 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7942 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7943 | bool result; | |
7944 | wxPoint temp4 ; | |
7945 | wxSize temp5 ; | |
423f194a | 7946 | bool temp7 = False ; |
d14a1e28 RD |
7947 | PyObject * obj0 = 0 ; |
7948 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7949 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7950 | PyObject * obj3 = 0 ; |
7951 | PyObject * obj4 = 0 ; | |
8edf1c75 | 7952 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7953 | PyObject * obj6 = 0 ; |
7954 | char *kwnames[] = { | |
7955 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7956 | }; | |
7957 | ||
8edf1c75 | 7958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
7959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7961 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7962 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7963 | arg3 = (int) SWIG_AsInt(obj2); | |
7964 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7965 | if (obj3) { |
7966 | { | |
7967 | arg4 = &temp4; | |
7968 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7969 | } | |
7970 | } | |
7971 | if (obj4) { | |
7972 | { | |
7973 | arg5 = &temp5; | |
7974 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7975 | } | |
7976 | } | |
8edf1c75 | 7977 | if (obj5) { |
2f4c0a16 RD |
7978 | arg6 = (long) SWIG_AsLong(obj5); |
7979 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7980 | } |
d14a1e28 RD |
7981 | if (obj6) { |
7982 | { | |
7983 | arg7 = wxString_in_helper(obj6); | |
7984 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 7985 | temp7 = True; |
d14a1e28 RD |
7986 | } |
7987 | } | |
7988 | { | |
7989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7990 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7991 | ||
7992 | wxPyEndAllowThreads(__tstate); | |
7993 | if (PyErr_Occurred()) SWIG_fail; | |
7994 | } | |
4f89f6a3 RD |
7995 | { |
7996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7997 | } | |
d14a1e28 RD |
7998 | { |
7999 | if (temp7) | |
8000 | delete arg7; | |
8001 | } | |
8002 | return resultobj; | |
8003 | fail: | |
8004 | { | |
8005 | if (temp7) | |
8006 | delete arg7; | |
8007 | } | |
8008 | return NULL; | |
8009 | } | |
8010 | ||
8011 | ||
8012 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8013 | PyObject *resultobj; | |
8014 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8015 | int result; | |
8016 | PyObject * obj0 = 0 ; | |
8017 | char *kwnames[] = { | |
8018 | (char *) "self", NULL | |
8019 | }; | |
8020 | ||
8021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8022 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8023 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8024 | { |
8025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8026 | result = (int)(arg1)->GetAlignment(); | |
8027 | ||
8028 | wxPyEndAllowThreads(__tstate); | |
8029 | if (PyErr_Occurred()) SWIG_fail; | |
8030 | } | |
2f4c0a16 | 8031 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8032 | return resultobj; |
8033 | fail: | |
8034 | return NULL; | |
8035 | } | |
8036 | ||
8037 | ||
8038 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8039 | PyObject *resultobj; | |
8040 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8041 | int result; | |
8042 | PyObject * obj0 = 0 ; | |
8043 | char *kwnames[] = { | |
8044 | (char *) "self", NULL | |
8045 | }; | |
8046 | ||
8047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8048 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8050 | { |
8051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8052 | result = (int)(arg1)->GetOrientation(); | |
8053 | ||
8054 | wxPyEndAllowThreads(__tstate); | |
8055 | if (PyErr_Occurred()) SWIG_fail; | |
8056 | } | |
2f4c0a16 | 8057 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8058 | return resultobj; |
8059 | fail: | |
8060 | return NULL; | |
8061 | } | |
8062 | ||
8063 | ||
8064 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8065 | PyObject *resultobj; | |
8066 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8067 | int arg2 ; | |
8068 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8069 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8070 | char *kwnames[] = { |
8071 | (char *) "self",(char *) "alignment", NULL | |
8072 | }; | |
8073 | ||
8edf1c75 | 8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8077 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8078 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8079 | { |
8080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8081 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8082 | ||
8083 | wxPyEndAllowThreads(__tstate); | |
8084 | if (PyErr_Occurred()) SWIG_fail; | |
8085 | } | |
8086 | Py_INCREF(Py_None); resultobj = Py_None; | |
8087 | return resultobj; | |
8088 | fail: | |
8089 | return NULL; | |
8090 | } | |
8091 | ||
8092 | ||
8093 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8094 | PyObject *resultobj; | |
8095 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8096 | wxSize *arg2 = 0 ; | |
8097 | wxSize temp2 ; | |
8098 | PyObject * obj0 = 0 ; | |
8099 | PyObject * obj1 = 0 ; | |
8100 | char *kwnames[] = { | |
8101 | (char *) "self",(char *) "size", NULL | |
8102 | }; | |
8103 | ||
8104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8107 | { |
8108 | arg2 = &temp2; | |
8109 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8110 | } | |
8111 | { | |
8112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8113 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8114 | ||
8115 | wxPyEndAllowThreads(__tstate); | |
8116 | if (PyErr_Occurred()) SWIG_fail; | |
8117 | } | |
8118 | Py_INCREF(Py_None); resultobj = Py_None; | |
8119 | return resultobj; | |
8120 | fail: | |
8121 | return NULL; | |
8122 | } | |
8123 | ||
8124 | ||
8125 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8126 | PyObject *resultobj; | |
8127 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8128 | int arg2 ; | |
8129 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8130 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8131 | char *kwnames[] = { |
8132 | (char *) "self",(char *) "orientation", NULL | |
8133 | }; | |
8134 | ||
8edf1c75 | 8135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8136 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8138 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8139 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8140 | { |
8141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8142 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8143 | ||
8144 | wxPyEndAllowThreads(__tstate); | |
8145 | if (PyErr_Occurred()) SWIG_fail; | |
8146 | } | |
8147 | Py_INCREF(Py_None); resultobj = Py_None; | |
8148 | return resultobj; | |
8149 | fail: | |
8150 | return NULL; | |
8151 | } | |
8152 | ||
8153 | ||
8154 | static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) { | |
8155 | PyObject *obj; | |
8156 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8157 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8158 | Py_INCREF(obj); | |
8159 | return Py_BuildValue((char *)""); | |
8160 | } | |
8161 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8162 | PyObject *resultobj; | |
8163 | wxLayoutAlgorithm *result; | |
8164 | char *kwnames[] = { | |
8165 | NULL | |
8166 | }; | |
8167 | ||
8168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8169 | { | |
8170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8171 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8172 | ||
8173 | wxPyEndAllowThreads(__tstate); | |
8174 | if (PyErr_Occurred()) SWIG_fail; | |
8175 | } | |
2f4c0a16 | 8176 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8177 | return resultobj; |
8178 | fail: | |
8179 | return NULL; | |
8180 | } | |
8181 | ||
8182 | ||
8183 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8184 | PyObject *resultobj; | |
8185 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8186 | PyObject * obj0 = 0 ; | |
8187 | char *kwnames[] = { | |
8188 | (char *) "self", NULL | |
8189 | }; | |
8190 | ||
8191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8194 | { |
8195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8196 | delete arg1; | |
8197 | ||
8198 | wxPyEndAllowThreads(__tstate); | |
8199 | if (PyErr_Occurred()) SWIG_fail; | |
8200 | } | |
8201 | Py_INCREF(Py_None); resultobj = Py_None; | |
8202 | return resultobj; | |
8203 | fail: | |
8204 | return NULL; | |
8205 | } | |
8206 | ||
8207 | ||
8208 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8209 | PyObject *resultobj; | |
8210 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8211 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8212 | wxRect *arg3 = (wxRect *) NULL ; | |
8213 | bool result; | |
8214 | PyObject * obj0 = 0 ; | |
8215 | PyObject * obj1 = 0 ; | |
8216 | PyObject * obj2 = 0 ; | |
8217 | char *kwnames[] = { | |
8218 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8219 | }; | |
8220 | ||
8221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8222 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8223 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8224 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8226 | if (obj2) { |
2f4c0a16 RD |
8227 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8229 | } |
8230 | { | |
8231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8232 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8233 | ||
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
4f89f6a3 RD |
8237 | { |
8238 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8239 | } | |
d14a1e28 RD |
8240 | return resultobj; |
8241 | fail: | |
8242 | return NULL; | |
8243 | } | |
8244 | ||
8245 | ||
8246 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8247 | PyObject *resultobj; | |
8248 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8249 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8250 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8251 | bool result; | |
8252 | PyObject * obj0 = 0 ; | |
8253 | PyObject * obj1 = 0 ; | |
8254 | PyObject * obj2 = 0 ; | |
8255 | char *kwnames[] = { | |
8256 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8257 | }; | |
8258 | ||
8259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8260 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8261 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8262 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8264 | if (obj2) { |
2f4c0a16 RD |
8265 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8266 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8267 | } |
8268 | { | |
8269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8270 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8271 | ||
8272 | wxPyEndAllowThreads(__tstate); | |
8273 | if (PyErr_Occurred()) SWIG_fail; | |
8274 | } | |
4f89f6a3 RD |
8275 | { |
8276 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8277 | } | |
d14a1e28 RD |
8278 | return resultobj; |
8279 | fail: | |
8280 | return NULL; | |
8281 | } | |
8282 | ||
8283 | ||
8284 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8285 | PyObject *resultobj; | |
8286 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8287 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8288 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8289 | bool result; | |
8290 | PyObject * obj0 = 0 ; | |
8291 | PyObject * obj1 = 0 ; | |
8292 | PyObject * obj2 = 0 ; | |
8293 | char *kwnames[] = { | |
8294 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8295 | }; | |
8296 | ||
8297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8300 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8302 | if (obj2) { |
2f4c0a16 RD |
8303 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8305 | } |
8306 | { | |
8307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8308 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8309 | ||
8310 | wxPyEndAllowThreads(__tstate); | |
8311 | if (PyErr_Occurred()) SWIG_fail; | |
8312 | } | |
4f89f6a3 RD |
8313 | { |
8314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8315 | } | |
d14a1e28 RD |
8316 | return resultobj; |
8317 | fail: | |
8318 | return NULL; | |
8319 | } | |
8320 | ||
8321 | ||
8322 | static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) { | |
8323 | PyObject *obj; | |
8324 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8325 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8326 | Py_INCREF(obj); | |
8327 | return Py_BuildValue((char *)""); | |
8328 | } | |
8329 | static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8330 | PyObject *resultobj; | |
8331 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8332 | int arg2 = (int) wxBORDER_NONE ; | |
8333 | wxPopupWindow *result; | |
8334 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8335 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8336 | char *kwnames[] = { |
8337 | (char *) "parent",(char *) "flags", NULL | |
8338 | }; | |
8339 | ||
8edf1c75 | 8340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8343 | if (obj1) { |
2f4c0a16 RD |
8344 | arg2 = (int) SWIG_AsInt(obj1); |
8345 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8346 | } |
d14a1e28 RD |
8347 | { |
8348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8349 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8350 | ||
8351 | wxPyEndAllowThreads(__tstate); | |
8352 | if (PyErr_Occurred()) SWIG_fail; | |
8353 | } | |
2f4c0a16 | 8354 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8355 | return resultobj; |
8356 | fail: | |
8357 | return NULL; | |
8358 | } | |
8359 | ||
8360 | ||
8361 | static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8362 | PyObject *resultobj; | |
8363 | wxPopupWindow *result; | |
8364 | char *kwnames[] = { | |
8365 | NULL | |
8366 | }; | |
8367 | ||
8368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8369 | { | |
8370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8371 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8372 | ||
8373 | wxPyEndAllowThreads(__tstate); | |
8374 | if (PyErr_Occurred()) SWIG_fail; | |
8375 | } | |
2f4c0a16 | 8376 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8377 | return resultobj; |
8378 | fail: | |
8379 | return NULL; | |
8380 | } | |
8381 | ||
8382 | ||
8383 | static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8384 | PyObject *resultobj; | |
8385 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8386 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8387 | int arg3 = (int) wxBORDER_NONE ; | |
8388 | bool result; | |
8389 | PyObject * obj0 = 0 ; | |
8390 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8391 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8392 | char *kwnames[] = { |
8393 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
8394 | }; | |
8395 | ||
8edf1c75 | 8396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8399 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8401 | if (obj2) { |
2f4c0a16 RD |
8402 | arg3 = (int) SWIG_AsInt(obj2); |
8403 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8404 | } |
d14a1e28 RD |
8405 | { |
8406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8407 | result = (bool)(arg1)->Create(arg2,arg3); | |
8408 | ||
8409 | wxPyEndAllowThreads(__tstate); | |
8410 | if (PyErr_Occurred()) SWIG_fail; | |
8411 | } | |
4f89f6a3 RD |
8412 | { |
8413 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8414 | } | |
d14a1e28 RD |
8415 | return resultobj; |
8416 | fail: | |
8417 | return NULL; | |
8418 | } | |
8419 | ||
8420 | ||
8421 | static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8422 | PyObject *resultobj; | |
8423 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
8424 | wxPoint *arg2 = 0 ; | |
8425 | wxSize *arg3 = 0 ; | |
8426 | wxPoint temp2 ; | |
8427 | wxSize temp3 ; | |
8428 | PyObject * obj0 = 0 ; | |
8429 | PyObject * obj1 = 0 ; | |
8430 | PyObject * obj2 = 0 ; | |
8431 | char *kwnames[] = { | |
8432 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
8433 | }; | |
8434 | ||
8435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
8437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8438 | { |
8439 | arg2 = &temp2; | |
8440 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8441 | } | |
8442 | { | |
8443 | arg3 = &temp3; | |
8444 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
8445 | } | |
8446 | { | |
8447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8448 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
8449 | ||
8450 | wxPyEndAllowThreads(__tstate); | |
8451 | if (PyErr_Occurred()) SWIG_fail; | |
8452 | } | |
8453 | Py_INCREF(Py_None); resultobj = Py_None; | |
8454 | return resultobj; | |
8455 | fail: | |
8456 | return NULL; | |
8457 | } | |
8458 | ||
8459 | ||
8460 | static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) { | |
8461 | PyObject *obj; | |
8462 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8463 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8464 | Py_INCREF(obj); | |
8465 | return Py_BuildValue((char *)""); | |
8466 | } | |
8467 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8468 | PyObject *resultobj; | |
8469 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8470 | int arg2 = (int) wxBORDER_NONE ; | |
8471 | wxPyPopupTransientWindow *result; | |
8472 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8473 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8474 | char *kwnames[] = { |
8475 | (char *) "parent",(char *) "style", NULL | |
8476 | }; | |
8477 | ||
8edf1c75 | 8478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8479 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8481 | if (obj1) { |
2f4c0a16 RD |
8482 | arg2 = (int) SWIG_AsInt(obj1); |
8483 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8484 | } |
d14a1e28 RD |
8485 | { |
8486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8487 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8488 | ||
8489 | wxPyEndAllowThreads(__tstate); | |
8490 | if (PyErr_Occurred()) SWIG_fail; | |
8491 | } | |
2f4c0a16 | 8492 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8493 | return resultobj; |
8494 | fail: | |
8495 | return NULL; | |
8496 | } | |
8497 | ||
8498 | ||
8499 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8500 | PyObject *resultobj; | |
8501 | wxPyPopupTransientWindow *result; | |
8502 | char *kwnames[] = { | |
8503 | NULL | |
8504 | }; | |
8505 | ||
8506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8507 | { | |
8508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8509 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8510 | ||
8511 | wxPyEndAllowThreads(__tstate); | |
8512 | if (PyErr_Occurred()) SWIG_fail; | |
8513 | } | |
2f4c0a16 | 8514 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8515 | return resultobj; |
8516 | fail: | |
8517 | return NULL; | |
8518 | } | |
8519 | ||
8520 | ||
8521 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8522 | PyObject *resultobj; | |
8523 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8524 | PyObject *arg2 = (PyObject *) 0 ; | |
8525 | PyObject *arg3 = (PyObject *) 0 ; | |
8526 | PyObject * obj0 = 0 ; | |
8527 | PyObject * obj1 = 0 ; | |
8528 | PyObject * obj2 = 0 ; | |
8529 | char *kwnames[] = { | |
8530 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8531 | }; | |
8532 | ||
8533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8536 | arg2 = obj1; |
8537 | arg3 = obj2; | |
8538 | { | |
8539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8540 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8541 | ||
8542 | wxPyEndAllowThreads(__tstate); | |
8543 | if (PyErr_Occurred()) SWIG_fail; | |
8544 | } | |
8545 | Py_INCREF(Py_None); resultobj = Py_None; | |
8546 | return resultobj; | |
8547 | fail: | |
8548 | return NULL; | |
8549 | } | |
8550 | ||
8551 | ||
8552 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8553 | PyObject *resultobj; | |
8554 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8555 | wxWindow *arg2 = (wxWindow *) NULL ; | |
8556 | PyObject * obj0 = 0 ; | |
8557 | PyObject * obj1 = 0 ; | |
8558 | char *kwnames[] = { | |
8559 | (char *) "self",(char *) "focus", NULL | |
8560 | }; | |
8561 | ||
8562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8565 | if (obj1) { |
2f4c0a16 RD |
8566 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
8567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8568 | } |
8569 | { | |
8570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8571 | (arg1)->Popup(arg2); | |
8572 | ||
8573 | wxPyEndAllowThreads(__tstate); | |
8574 | if (PyErr_Occurred()) SWIG_fail; | |
8575 | } | |
8576 | Py_INCREF(Py_None); resultobj = Py_None; | |
8577 | return resultobj; | |
8578 | fail: | |
8579 | return NULL; | |
8580 | } | |
8581 | ||
8582 | ||
8583 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8584 | PyObject *resultobj; | |
8585 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
8586 | PyObject * obj0 = 0 ; | |
8587 | char *kwnames[] = { | |
8588 | (char *) "self", NULL | |
8589 | }; | |
8590 | ||
8591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
8593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8594 | { |
8595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8596 | (arg1)->Dismiss(); | |
8597 | ||
8598 | wxPyEndAllowThreads(__tstate); | |
8599 | if (PyErr_Occurred()) SWIG_fail; | |
8600 | } | |
8601 | Py_INCREF(Py_None); resultobj = Py_None; | |
8602 | return resultobj; | |
8603 | fail: | |
8604 | return NULL; | |
8605 | } | |
8606 | ||
8607 | ||
8608 | static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) { | |
8609 | PyObject *obj; | |
8610 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8611 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8612 | Py_INCREF(obj); | |
8613 | return Py_BuildValue((char *)""); | |
8614 | } | |
8615 | static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8616 | PyObject *resultobj; | |
8617 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8a0b029b | 8618 | wxString *arg2 = 0 ; |
423f194a | 8619 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8620 | wxRect *arg4 = (wxRect *) NULL ; |
8621 | wxTipWindow *result; | |
8a0b029b | 8622 | bool temp2 = False ; |
d14a1e28 RD |
8623 | PyObject * obj0 = 0 ; |
8624 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8625 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8626 | PyObject * obj3 = 0 ; |
8627 | char *kwnames[] = { | |
8628 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8629 | }; | |
8630 | ||
8edf1c75 | 8631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
8632 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8a0b029b RD |
8634 | { |
8635 | arg2 = wxString_in_helper(obj1); | |
8636 | if (arg2 == NULL) SWIG_fail; | |
8637 | temp2 = True; | |
8638 | } | |
8edf1c75 | 8639 | if (obj2) { |
2f4c0a16 RD |
8640 | arg3 = (int) SWIG_AsInt(obj2); |
8641 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8642 | } |
d14a1e28 | 8643 | if (obj3) { |
2f4c0a16 RD |
8644 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8646 | } |
8647 | { | |
8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8a0b029b | 8649 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8650 | |
8651 | wxPyEndAllowThreads(__tstate); | |
8652 | if (PyErr_Occurred()) SWIG_fail; | |
8653 | } | |
2f4c0a16 | 8654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
8a0b029b RD |
8655 | { |
8656 | if (temp2) | |
8657 | delete arg2; | |
8658 | } | |
d14a1e28 RD |
8659 | return resultobj; |
8660 | fail: | |
8a0b029b RD |
8661 | { |
8662 | if (temp2) | |
8663 | delete arg2; | |
8664 | } | |
d14a1e28 RD |
8665 | return NULL; |
8666 | } | |
8667 | ||
8668 | ||
8669 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8670 | PyObject *resultobj; | |
8671 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8672 | wxRect *arg2 = 0 ; | |
8673 | wxRect temp2 ; | |
8674 | PyObject * obj0 = 0 ; | |
8675 | PyObject * obj1 = 0 ; | |
8676 | char *kwnames[] = { | |
8677 | (char *) "self",(char *) "rectBound", NULL | |
8678 | }; | |
8679 | ||
8680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8683 | { |
8684 | arg2 = &temp2; | |
8685 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8686 | } | |
8687 | { | |
8688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8689 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8690 | ||
8691 | wxPyEndAllowThreads(__tstate); | |
8692 | if (PyErr_Occurred()) SWIG_fail; | |
8693 | } | |
8694 | Py_INCREF(Py_None); resultobj = Py_None; | |
8695 | return resultobj; | |
8696 | fail: | |
8697 | return NULL; | |
8698 | } | |
8699 | ||
8700 | ||
8701 | static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8702 | PyObject *resultobj; | |
8703 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8704 | PyObject * obj0 = 0 ; | |
8705 | char *kwnames[] = { | |
8706 | (char *) "self", NULL | |
8707 | }; | |
8708 | ||
8709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8712 | { |
8713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8714 | (arg1)->Close(); | |
8715 | ||
8716 | wxPyEndAllowThreads(__tstate); | |
8717 | if (PyErr_Occurred()) SWIG_fail; | |
8718 | } | |
8719 | Py_INCREF(Py_None); resultobj = Py_None; | |
8720 | return resultobj; | |
8721 | fail: | |
8722 | return NULL; | |
8723 | } | |
8724 | ||
8725 | ||
8726 | static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) { | |
8727 | PyObject *obj; | |
8728 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8729 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8730 | Py_INCREF(obj); | |
8731 | return Py_BuildValue((char *)""); | |
8732 | } | |
8733 | static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8734 | PyObject *resultobj; | |
8735 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 8736 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8737 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8738 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8739 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8740 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8741 | long arg5 = (long) 0 ; | |
8742 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8743 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8744 | wxPyVScrolledWindow *result; | |
8745 | wxPoint temp3 ; | |
8746 | wxSize temp4 ; | |
423f194a | 8747 | bool temp6 = False ; |
d14a1e28 | 8748 | PyObject * obj0 = 0 ; |
8edf1c75 | 8749 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8750 | PyObject * obj2 = 0 ; |
8751 | PyObject * obj3 = 0 ; | |
8edf1c75 | 8752 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8753 | PyObject * obj5 = 0 ; |
8754 | char *kwnames[] = { | |
8755 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8756 | }; | |
8757 | ||
8edf1c75 | 8758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
8759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8761 | if (obj1) { |
2f4c0a16 RD |
8762 | arg2 = (int) SWIG_AsInt(obj1); |
8763 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8764 | } |
d14a1e28 RD |
8765 | if (obj2) { |
8766 | { | |
8767 | arg3 = &temp3; | |
8768 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8769 | } | |
8770 | } | |
8771 | if (obj3) { | |
8772 | { | |
8773 | arg4 = &temp4; | |
8774 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8775 | } | |
8776 | } | |
8edf1c75 | 8777 | if (obj4) { |
2f4c0a16 RD |
8778 | arg5 = (long) SWIG_AsLong(obj4); |
8779 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8780 | } |
d14a1e28 RD |
8781 | if (obj5) { |
8782 | { | |
8783 | arg6 = wxString_in_helper(obj5); | |
8784 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 8785 | temp6 = True; |
d14a1e28 RD |
8786 | } |
8787 | } | |
8788 | { | |
8789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8790 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8791 | ||
8792 | wxPyEndAllowThreads(__tstate); | |
8793 | if (PyErr_Occurred()) SWIG_fail; | |
8794 | } | |
2f4c0a16 | 8795 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8796 | { |
8797 | if (temp6) | |
8798 | delete arg6; | |
8799 | } | |
8800 | return resultobj; | |
8801 | fail: | |
8802 | { | |
8803 | if (temp6) | |
8804 | delete arg6; | |
8805 | } | |
8806 | return NULL; | |
8807 | } | |
8808 | ||
8809 | ||
8810 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8811 | PyObject *resultobj; | |
8812 | wxPyVScrolledWindow *result; | |
8813 | char *kwnames[] = { | |
8814 | NULL | |
8815 | }; | |
8816 | ||
8817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8818 | { | |
8819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8820 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8821 | ||
8822 | wxPyEndAllowThreads(__tstate); | |
8823 | if (PyErr_Occurred()) SWIG_fail; | |
8824 | } | |
2f4c0a16 | 8825 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8826 | return resultobj; |
8827 | fail: | |
8828 | return NULL; | |
8829 | } | |
8830 | ||
8831 | ||
8832 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8833 | PyObject *resultobj; | |
8834 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8835 | PyObject *arg2 = (PyObject *) 0 ; | |
8836 | PyObject *arg3 = (PyObject *) 0 ; | |
8837 | PyObject * obj0 = 0 ; | |
8838 | PyObject * obj1 = 0 ; | |
8839 | PyObject * obj2 = 0 ; | |
8840 | char *kwnames[] = { | |
8841 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8842 | }; | |
8843 | ||
8844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8847 | arg2 = obj1; |
8848 | arg3 = obj2; | |
8849 | { | |
8850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8851 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8852 | ||
8853 | wxPyEndAllowThreads(__tstate); | |
8854 | if (PyErr_Occurred()) SWIG_fail; | |
8855 | } | |
8856 | Py_INCREF(Py_None); resultobj = Py_None; | |
8857 | return resultobj; | |
8858 | fail: | |
8859 | return NULL; | |
8860 | } | |
8861 | ||
8862 | ||
8863 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8864 | PyObject *resultobj; | |
8865 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8866 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 8867 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8868 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8869 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8870 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8871 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8872 | long arg6 = (long) 0 ; | |
8873 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8874 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8875 | bool result; | |
8876 | wxPoint temp4 ; | |
8877 | wxSize temp5 ; | |
423f194a | 8878 | bool temp7 = False ; |
d14a1e28 RD |
8879 | PyObject * obj0 = 0 ; |
8880 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8881 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8882 | PyObject * obj3 = 0 ; |
8883 | PyObject * obj4 = 0 ; | |
8edf1c75 | 8884 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8885 | PyObject * obj6 = 0 ; |
8886 | char *kwnames[] = { | |
8887 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8888 | }; | |
8889 | ||
8edf1c75 | 8890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
8891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8893 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8895 | if (obj2) { |
2f4c0a16 RD |
8896 | arg3 = (int) SWIG_AsInt(obj2); |
8897 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8898 | } |
d14a1e28 RD |
8899 | if (obj3) { |
8900 | { | |
8901 | arg4 = &temp4; | |
8902 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8903 | } | |
8904 | } | |
8905 | if (obj4) { | |
8906 | { | |
8907 | arg5 = &temp5; | |
8908 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8909 | } | |
8910 | } | |
8edf1c75 | 8911 | if (obj5) { |
2f4c0a16 RD |
8912 | arg6 = (long) SWIG_AsLong(obj5); |
8913 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8914 | } |
d14a1e28 RD |
8915 | if (obj6) { |
8916 | { | |
8917 | arg7 = wxString_in_helper(obj6); | |
8918 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 8919 | temp7 = True; |
d14a1e28 RD |
8920 | } |
8921 | } | |
8922 | { | |
8923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8924 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8925 | ||
8926 | wxPyEndAllowThreads(__tstate); | |
8927 | if (PyErr_Occurred()) SWIG_fail; | |
8928 | } | |
4f89f6a3 RD |
8929 | { |
8930 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8931 | } | |
d14a1e28 RD |
8932 | { |
8933 | if (temp7) | |
8934 | delete arg7; | |
8935 | } | |
8936 | return resultobj; | |
8937 | fail: | |
8938 | { | |
8939 | if (temp7) | |
8940 | delete arg7; | |
8941 | } | |
8942 | return NULL; | |
8943 | } | |
8944 | ||
8945 | ||
8946 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8947 | PyObject *resultobj; | |
8948 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8949 | size_t arg2 ; | |
8950 | PyObject * obj0 = 0 ; | |
8951 | PyObject * obj1 = 0 ; | |
8952 | char *kwnames[] = { | |
8953 | (char *) "self",(char *) "count", NULL | |
8954 | }; | |
8955 | ||
8956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8959 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8960 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8961 | { |
8962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8963 | (arg1)->SetLineCount(arg2); | |
8964 | ||
8965 | wxPyEndAllowThreads(__tstate); | |
8966 | if (PyErr_Occurred()) SWIG_fail; | |
8967 | } | |
8968 | Py_INCREF(Py_None); resultobj = Py_None; | |
8969 | return resultobj; | |
8970 | fail: | |
8971 | return NULL; | |
8972 | } | |
8973 | ||
8974 | ||
8975 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8976 | PyObject *resultobj; | |
8977 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8978 | size_t arg2 ; | |
8979 | bool result; | |
8980 | PyObject * obj0 = 0 ; | |
8981 | PyObject * obj1 = 0 ; | |
8982 | char *kwnames[] = { | |
8983 | (char *) "self",(char *) "line", NULL | |
8984 | }; | |
8985 | ||
8986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8987 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8988 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8989 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8990 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8991 | { |
8992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8993 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8994 | ||
8995 | wxPyEndAllowThreads(__tstate); | |
8996 | if (PyErr_Occurred()) SWIG_fail; | |
8997 | } | |
4f89f6a3 RD |
8998 | { |
8999 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9000 | } | |
d14a1e28 RD |
9001 | return resultobj; |
9002 | fail: | |
9003 | return NULL; | |
9004 | } | |
9005 | ||
9006 | ||
9007 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9008 | PyObject *resultobj; | |
9009 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9010 | int arg2 ; | |
9011 | bool result; | |
9012 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9013 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9014 | char *kwnames[] = { |
9015 | (char *) "self",(char *) "lines", NULL | |
9016 | }; | |
9017 | ||
8edf1c75 | 9018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9019 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9020 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9021 | arg2 = (int) SWIG_AsInt(obj1); | |
9022 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9023 | { |
9024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9025 | result = (bool)(arg1)->ScrollLines(arg2); | |
9026 | ||
9027 | wxPyEndAllowThreads(__tstate); | |
9028 | if (PyErr_Occurred()) SWIG_fail; | |
9029 | } | |
4f89f6a3 RD |
9030 | { |
9031 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9032 | } | |
d14a1e28 RD |
9033 | return resultobj; |
9034 | fail: | |
9035 | return NULL; | |
9036 | } | |
9037 | ||
9038 | ||
9039 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9040 | PyObject *resultobj; | |
9041 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9042 | int arg2 ; | |
9043 | bool result; | |
9044 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9045 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9046 | char *kwnames[] = { |
9047 | (char *) "self",(char *) "pages", NULL | |
9048 | }; | |
9049 | ||
8edf1c75 | 9050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9053 | arg2 = (int) SWIG_AsInt(obj1); | |
9054 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9055 | { |
9056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9057 | result = (bool)(arg1)->ScrollPages(arg2); | |
9058 | ||
9059 | wxPyEndAllowThreads(__tstate); | |
9060 | if (PyErr_Occurred()) SWIG_fail; | |
9061 | } | |
4f89f6a3 RD |
9062 | { |
9063 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9064 | } | |
d14a1e28 RD |
9065 | return resultobj; |
9066 | fail: | |
9067 | return NULL; | |
9068 | } | |
9069 | ||
9070 | ||
9071 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9072 | PyObject *resultobj; | |
9073 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9074 | size_t arg2 ; | |
9075 | PyObject * obj0 = 0 ; | |
9076 | PyObject * obj1 = 0 ; | |
9077 | char *kwnames[] = { | |
9078 | (char *) "self",(char *) "line", NULL | |
9079 | }; | |
9080 | ||
9081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9084 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9085 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9086 | { |
9087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9088 | (arg1)->RefreshLine(arg2); | |
9089 | ||
9090 | wxPyEndAllowThreads(__tstate); | |
9091 | if (PyErr_Occurred()) SWIG_fail; | |
9092 | } | |
9093 | Py_INCREF(Py_None); resultobj = Py_None; | |
9094 | return resultobj; | |
9095 | fail: | |
9096 | return NULL; | |
9097 | } | |
9098 | ||
9099 | ||
9100 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9101 | PyObject *resultobj; | |
9102 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9103 | size_t arg2 ; | |
9104 | size_t arg3 ; | |
9105 | PyObject * obj0 = 0 ; | |
9106 | PyObject * obj1 = 0 ; | |
9107 | PyObject * obj2 = 0 ; | |
9108 | char *kwnames[] = { | |
9109 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9110 | }; | |
9111 | ||
9112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9115 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9116 | if (PyErr_Occurred()) SWIG_fail; | |
9117 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9118 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9119 | { |
9120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9121 | (arg1)->RefreshLines(arg2,arg3); | |
9122 | ||
9123 | wxPyEndAllowThreads(__tstate); | |
9124 | if (PyErr_Occurred()) SWIG_fail; | |
9125 | } | |
9126 | Py_INCREF(Py_None); resultobj = Py_None; | |
9127 | return resultobj; | |
9128 | fail: | |
9129 | return NULL; | |
9130 | } | |
9131 | ||
9132 | ||
9133 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9134 | PyObject *resultobj; | |
9135 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
423f194a RD |
9136 | int arg2 ; |
9137 | int arg3 ; | |
d14a1e28 RD |
9138 | int result; |
9139 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
9140 | PyObject * obj1 = 0 ; |
9141 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9142 | char *kwnames[] = { |
9143 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9144 | }; | |
9145 | ||
8edf1c75 | 9146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
9147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9149 | arg2 = (int) SWIG_AsInt(obj1); | |
9150 | if (PyErr_Occurred()) SWIG_fail; | |
9151 | arg3 = (int) SWIG_AsInt(obj2); | |
9152 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9153 | { |
9154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9155 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9156 | ||
9157 | wxPyEndAllowThreads(__tstate); | |
9158 | if (PyErr_Occurred()) SWIG_fail; | |
9159 | } | |
2f4c0a16 | 9160 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9161 | return resultobj; |
9162 | fail: | |
9163 | return NULL; | |
9164 | } | |
9165 | ||
9166 | ||
9167 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9168 | PyObject *resultobj; | |
9169 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9170 | wxPoint *arg2 = 0 ; | |
9171 | int result; | |
9172 | wxPoint temp2 ; | |
9173 | PyObject * obj0 = 0 ; | |
9174 | PyObject * obj1 = 0 ; | |
9175 | char *kwnames[] = { | |
9176 | (char *) "self",(char *) "pt", NULL | |
9177 | }; | |
9178 | ||
9179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9180 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9181 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9182 | { |
9183 | arg2 = &temp2; | |
9184 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9185 | } | |
9186 | { | |
9187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9188 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9189 | ||
9190 | wxPyEndAllowThreads(__tstate); | |
9191 | if (PyErr_Occurred()) SWIG_fail; | |
9192 | } | |
2f4c0a16 | 9193 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9194 | return resultobj; |
9195 | fail: | |
9196 | return NULL; | |
9197 | } | |
9198 | ||
9199 | ||
9200 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9201 | PyObject *resultobj; | |
9202 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9203 | PyObject * obj0 = 0 ; | |
9204 | char *kwnames[] = { | |
9205 | (char *) "self", NULL | |
9206 | }; | |
9207 | ||
9208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9211 | { |
9212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9213 | (arg1)->RefreshAll(); | |
9214 | ||
9215 | wxPyEndAllowThreads(__tstate); | |
9216 | if (PyErr_Occurred()) SWIG_fail; | |
9217 | } | |
9218 | Py_INCREF(Py_None); resultobj = Py_None; | |
9219 | return resultobj; | |
9220 | fail: | |
9221 | return NULL; | |
9222 | } | |
9223 | ||
9224 | ||
9225 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9226 | PyObject *resultobj; | |
9227 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9228 | size_t result; | |
9229 | PyObject * obj0 = 0 ; | |
9230 | char *kwnames[] = { | |
9231 | (char *) "self", NULL | |
9232 | }; | |
9233 | ||
9234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9237 | { |
9238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9239 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9240 | ||
9241 | wxPyEndAllowThreads(__tstate); | |
9242 | if (PyErr_Occurred()) SWIG_fail; | |
9243 | } | |
2f4c0a16 | 9244 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9245 | return resultobj; |
9246 | fail: | |
9247 | return NULL; | |
9248 | } | |
9249 | ||
9250 | ||
9251 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9252 | PyObject *resultobj; | |
9253 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9254 | size_t result; | |
9255 | PyObject * obj0 = 0 ; | |
9256 | char *kwnames[] = { | |
9257 | (char *) "self", NULL | |
9258 | }; | |
9259 | ||
9260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9263 | { |
9264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9265 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9266 | ||
9267 | wxPyEndAllowThreads(__tstate); | |
9268 | if (PyErr_Occurred()) SWIG_fail; | |
9269 | } | |
2f4c0a16 | 9270 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9271 | return resultobj; |
9272 | fail: | |
9273 | return NULL; | |
9274 | } | |
9275 | ||
9276 | ||
9277 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9278 | PyObject *resultobj; | |
9279 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9280 | size_t result; | |
9281 | PyObject * obj0 = 0 ; | |
9282 | char *kwnames[] = { | |
9283 | (char *) "self", NULL | |
9284 | }; | |
9285 | ||
9286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9289 | { |
9290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9291 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9292 | ||
9293 | wxPyEndAllowThreads(__tstate); | |
9294 | if (PyErr_Occurred()) SWIG_fail; | |
9295 | } | |
2f4c0a16 | 9296 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9297 | return resultobj; |
9298 | fail: | |
9299 | return NULL; | |
9300 | } | |
9301 | ||
9302 | ||
9303 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9304 | PyObject *resultobj; | |
9305 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9306 | size_t arg2 ; | |
9307 | bool result; | |
9308 | PyObject * obj0 = 0 ; | |
9309 | PyObject * obj1 = 0 ; | |
9310 | char *kwnames[] = { | |
9311 | (char *) "self",(char *) "line", NULL | |
9312 | }; | |
9313 | ||
9314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9317 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9318 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9319 | { |
9320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9321 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9322 | ||
9323 | wxPyEndAllowThreads(__tstate); | |
9324 | if (PyErr_Occurred()) SWIG_fail; | |
9325 | } | |
4f89f6a3 RD |
9326 | { |
9327 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9328 | } | |
d14a1e28 RD |
9329 | return resultobj; |
9330 | fail: | |
9331 | return NULL; | |
9332 | } | |
9333 | ||
9334 | ||
9335 | static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
9336 | PyObject *obj; | |
9337 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9338 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9339 | Py_INCREF(obj); | |
9340 | return Py_BuildValue((char *)""); | |
9341 | } | |
2f4c0a16 | 9342 | static int _wrap_VListBoxNameStr_set(PyObject *_val) { |
d03fd34d RD |
9343 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
9344 | return 1; | |
9345 | } | |
9346 | ||
9347 | ||
9348 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9349 | PyObject *pyobj; | |
9350 | ||
9351 | { | |
9352 | #if wxUSE_UNICODE | |
9353 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9354 | #else | |
9355 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9356 | #endif | |
9357 | } | |
9358 | return pyobj; | |
9359 | } | |
9360 | ||
9361 | ||
d14a1e28 RD |
9362 | static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) { |
9363 | PyObject *resultobj; | |
9364 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 9365 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9366 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9367 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9368 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9369 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9370 | long arg5 = (long) 0 ; | |
9371 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9372 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9373 | wxPyVListBox *result; | |
9374 | wxPoint temp3 ; | |
9375 | wxSize temp4 ; | |
423f194a | 9376 | bool temp6 = False ; |
d14a1e28 | 9377 | PyObject * obj0 = 0 ; |
8edf1c75 | 9378 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9379 | PyObject * obj2 = 0 ; |
9380 | PyObject * obj3 = 0 ; | |
8edf1c75 | 9381 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9382 | PyObject * obj5 = 0 ; |
9383 | char *kwnames[] = { | |
9384 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9385 | }; | |
9386 | ||
8edf1c75 | 9387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
9388 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9389 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 9390 | if (obj1) { |
2f4c0a16 RD |
9391 | arg2 = (int) SWIG_AsInt(obj1); |
9392 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9393 | } |
d14a1e28 RD |
9394 | if (obj2) { |
9395 | { | |
9396 | arg3 = &temp3; | |
9397 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9398 | } | |
9399 | } | |
9400 | if (obj3) { | |
9401 | { | |
9402 | arg4 = &temp4; | |
9403 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9404 | } | |
9405 | } | |
8edf1c75 | 9406 | if (obj4) { |
2f4c0a16 RD |
9407 | arg5 = (long) SWIG_AsLong(obj4); |
9408 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9409 | } |
d14a1e28 RD |
9410 | if (obj5) { |
9411 | { | |
9412 | arg6 = wxString_in_helper(obj5); | |
9413 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 9414 | temp6 = True; |
d14a1e28 RD |
9415 | } |
9416 | } | |
9417 | { | |
9418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9419 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9420 | ||
9421 | wxPyEndAllowThreads(__tstate); | |
9422 | if (PyErr_Occurred()) SWIG_fail; | |
9423 | } | |
2f4c0a16 | 9424 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9425 | { |
9426 | if (temp6) | |
9427 | delete arg6; | |
9428 | } | |
9429 | return resultobj; | |
9430 | fail: | |
9431 | { | |
9432 | if (temp6) | |
9433 | delete arg6; | |
9434 | } | |
9435 | return NULL; | |
9436 | } | |
9437 | ||
9438 | ||
9439 | static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9440 | PyObject *resultobj; | |
9441 | wxPyVListBox *result; | |
9442 | char *kwnames[] = { | |
9443 | NULL | |
9444 | }; | |
9445 | ||
9446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9447 | { | |
9448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9449 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9450 | ||
9451 | wxPyEndAllowThreads(__tstate); | |
9452 | if (PyErr_Occurred()) SWIG_fail; | |
9453 | } | |
2f4c0a16 | 9454 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9455 | return resultobj; |
9456 | fail: | |
9457 | return NULL; | |
9458 | } | |
9459 | ||
9460 | ||
9461 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9462 | PyObject *resultobj; | |
9463 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9464 | PyObject *arg2 = (PyObject *) 0 ; | |
9465 | PyObject *arg3 = (PyObject *) 0 ; | |
9466 | PyObject * obj0 = 0 ; | |
9467 | PyObject * obj1 = 0 ; | |
9468 | PyObject * obj2 = 0 ; | |
9469 | char *kwnames[] = { | |
9470 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9471 | }; | |
9472 | ||
9473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9476 | arg2 = obj1; |
9477 | arg3 = obj2; | |
9478 | { | |
9479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9480 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9481 | ||
9482 | wxPyEndAllowThreads(__tstate); | |
9483 | if (PyErr_Occurred()) SWIG_fail; | |
9484 | } | |
9485 | Py_INCREF(Py_None); resultobj = Py_None; | |
9486 | return resultobj; | |
9487 | fail: | |
9488 | return NULL; | |
9489 | } | |
9490 | ||
9491 | ||
9492 | static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9493 | PyObject *resultobj; | |
9494 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9495 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 9496 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9497 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9498 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9499 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9500 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9501 | long arg6 = (long) 0 ; | |
9502 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9503 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9504 | bool result; | |
9505 | wxPoint temp4 ; | |
9506 | wxSize temp5 ; | |
423f194a | 9507 | bool temp7 = False ; |
d14a1e28 RD |
9508 | PyObject * obj0 = 0 ; |
9509 | PyObject * obj1 = 0 ; | |
8edf1c75 | 9510 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9511 | PyObject * obj3 = 0 ; |
9512 | PyObject * obj4 = 0 ; | |
8edf1c75 | 9513 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9514 | PyObject * obj6 = 0 ; |
9515 | char *kwnames[] = { | |
9516 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9517 | }; | |
9518 | ||
8edf1c75 | 9519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
9520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9522 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 9524 | if (obj2) { |
2f4c0a16 RD |
9525 | arg3 = (int) SWIG_AsInt(obj2); |
9526 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9527 | } |
d14a1e28 RD |
9528 | if (obj3) { |
9529 | { | |
9530 | arg4 = &temp4; | |
9531 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9532 | } | |
9533 | } | |
9534 | if (obj4) { | |
9535 | { | |
9536 | arg5 = &temp5; | |
9537 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9538 | } | |
9539 | } | |
8edf1c75 | 9540 | if (obj5) { |
2f4c0a16 RD |
9541 | arg6 = (long) SWIG_AsLong(obj5); |
9542 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9543 | } |
d14a1e28 RD |
9544 | if (obj6) { |
9545 | { | |
9546 | arg7 = wxString_in_helper(obj6); | |
9547 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 9548 | temp7 = True; |
d14a1e28 RD |
9549 | } |
9550 | } | |
9551 | { | |
9552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9553 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
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 | { |
9562 | if (temp7) | |
9563 | delete arg7; | |
9564 | } | |
9565 | return resultobj; | |
9566 | fail: | |
9567 | { | |
9568 | if (temp7) | |
9569 | delete arg7; | |
9570 | } | |
9571 | return NULL; | |
9572 | } | |
9573 | ||
9574 | ||
9575 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9576 | PyObject *resultobj; | |
9577 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9578 | size_t result; | |
9579 | PyObject * obj0 = 0 ; | |
9580 | char *kwnames[] = { | |
9581 | (char *) "self", NULL | |
9582 | }; | |
9583 | ||
9584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9587 | { |
9588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9589 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9590 | ||
9591 | wxPyEndAllowThreads(__tstate); | |
9592 | if (PyErr_Occurred()) SWIG_fail; | |
9593 | } | |
2f4c0a16 | 9594 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9595 | return resultobj; |
9596 | fail: | |
9597 | return NULL; | |
9598 | } | |
9599 | ||
9600 | ||
9601 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9602 | PyObject *resultobj; | |
9603 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9604 | bool result; | |
9605 | PyObject * obj0 = 0 ; | |
9606 | char *kwnames[] = { | |
9607 | (char *) "self", NULL | |
9608 | }; | |
9609 | ||
9610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9613 | { |
9614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9615 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9616 | ||
9617 | wxPyEndAllowThreads(__tstate); | |
9618 | if (PyErr_Occurred()) SWIG_fail; | |
9619 | } | |
4f89f6a3 RD |
9620 | { |
9621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9622 | } | |
d14a1e28 RD |
9623 | return resultobj; |
9624 | fail: | |
9625 | return NULL; | |
9626 | } | |
9627 | ||
9628 | ||
9629 | static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9630 | PyObject *resultobj; | |
9631 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9632 | int result; | |
9633 | PyObject * obj0 = 0 ; | |
9634 | char *kwnames[] = { | |
9635 | (char *) "self", NULL | |
9636 | }; | |
9637 | ||
9638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9641 | { |
9642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9643 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9644 | ||
9645 | wxPyEndAllowThreads(__tstate); | |
9646 | if (PyErr_Occurred()) SWIG_fail; | |
9647 | } | |
2f4c0a16 | 9648 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9649 | return resultobj; |
9650 | fail: | |
9651 | return NULL; | |
9652 | } | |
9653 | ||
9654 | ||
9655 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9656 | PyObject *resultobj; | |
9657 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9658 | size_t arg2 ; | |
9659 | bool result; | |
9660 | PyObject * obj0 = 0 ; | |
9661 | PyObject * obj1 = 0 ; | |
9662 | char *kwnames[] = { | |
9663 | (char *) "self",(char *) "item", NULL | |
9664 | }; | |
9665 | ||
9666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9669 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9670 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9671 | { |
9672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9673 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9674 | ||
9675 | wxPyEndAllowThreads(__tstate); | |
9676 | if (PyErr_Occurred()) SWIG_fail; | |
9677 | } | |
4f89f6a3 RD |
9678 | { |
9679 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9680 | } | |
d14a1e28 RD |
9681 | return resultobj; |
9682 | fail: | |
9683 | return NULL; | |
9684 | } | |
9685 | ||
9686 | ||
9687 | static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9688 | PyObject *resultobj; | |
9689 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9690 | size_t arg2 ; | |
9691 | bool result; | |
9692 | PyObject * obj0 = 0 ; | |
9693 | PyObject * obj1 = 0 ; | |
9694 | char *kwnames[] = { | |
9695 | (char *) "self",(char *) "item", NULL | |
9696 | }; | |
9697 | ||
9698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9699 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9700 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9701 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9702 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9703 | { |
9704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9705 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9706 | ||
9707 | wxPyEndAllowThreads(__tstate); | |
9708 | if (PyErr_Occurred()) SWIG_fail; | |
9709 | } | |
4f89f6a3 RD |
9710 | { |
9711 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9712 | } | |
d14a1e28 RD |
9713 | return resultobj; |
9714 | fail: | |
9715 | return NULL; | |
9716 | } | |
9717 | ||
9718 | ||
9719 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9720 | PyObject *resultobj; | |
9721 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9722 | size_t result; | |
9723 | PyObject * obj0 = 0 ; | |
9724 | char *kwnames[] = { | |
9725 | (char *) "self", NULL | |
9726 | }; | |
9727 | ||
9728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9731 | { |
9732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9733 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9734 | ||
9735 | wxPyEndAllowThreads(__tstate); | |
9736 | if (PyErr_Occurred()) SWIG_fail; | |
9737 | } | |
2f4c0a16 | 9738 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9739 | return resultobj; |
9740 | fail: | |
9741 | return NULL; | |
9742 | } | |
9743 | ||
9744 | ||
9745 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9746 | PyObject *resultobj; | |
9747 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9748 | unsigned long *arg2 = 0 ; | |
9749 | int result; | |
9750 | PyObject * obj0 = 0 ; | |
9751 | PyObject * obj1 = 0 ; | |
9752 | char *kwnames[] = { | |
9753 | (char *) "self",(char *) "cookie", NULL | |
9754 | }; | |
9755 | ||
9756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9759 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9760 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9761 | SWIG_fail; | |
d14a1e28 | 9762 | if (arg2 == NULL) { |
2f4c0a16 RD |
9763 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9764 | SWIG_fail; | |
d14a1e28 RD |
9765 | } |
9766 | { | |
9767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9768 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9769 | ||
9770 | wxPyEndAllowThreads(__tstate); | |
9771 | if (PyErr_Occurred()) SWIG_fail; | |
9772 | } | |
2f4c0a16 | 9773 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9774 | return resultobj; |
9775 | fail: | |
9776 | return NULL; | |
9777 | } | |
9778 | ||
9779 | ||
9780 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9781 | PyObject *resultobj; | |
9782 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9783 | unsigned long *arg2 = 0 ; | |
9784 | int result; | |
9785 | PyObject * obj0 = 0 ; | |
9786 | PyObject * obj1 = 0 ; | |
9787 | char *kwnames[] = { | |
9788 | (char *) "self",(char *) "cookie", NULL | |
9789 | }; | |
9790 | ||
9791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9794 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9795 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9796 | SWIG_fail; | |
d14a1e28 | 9797 | if (arg2 == NULL) { |
2f4c0a16 RD |
9798 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9799 | SWIG_fail; | |
d14a1e28 RD |
9800 | } |
9801 | { | |
9802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9803 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9804 | ||
9805 | wxPyEndAllowThreads(__tstate); | |
9806 | if (PyErr_Occurred()) SWIG_fail; | |
9807 | } | |
2f4c0a16 | 9808 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9809 | return resultobj; |
9810 | fail: | |
9811 | return NULL; | |
9812 | } | |
9813 | ||
9814 | ||
9815 | static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9816 | PyObject *resultobj; | |
9817 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9818 | wxPoint result; | |
9819 | PyObject * obj0 = 0 ; | |
9820 | char *kwnames[] = { | |
9821 | (char *) "self", NULL | |
9822 | }; | |
9823 | ||
9824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9827 | { |
9828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9829 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9830 | ||
9831 | wxPyEndAllowThreads(__tstate); | |
9832 | if (PyErr_Occurred()) SWIG_fail; | |
9833 | } | |
9834 | { | |
9835 | wxPoint * resultptr; | |
9836 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 9837 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9838 | } |
9839 | return resultobj; | |
9840 | fail: | |
9841 | return NULL; | |
9842 | } | |
9843 | ||
9844 | ||
9845 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9846 | PyObject *resultobj; | |
9847 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9848 | wxColour *result; | |
9849 | PyObject * obj0 = 0 ; | |
9850 | char *kwnames[] = { | |
9851 | (char *) "self", NULL | |
9852 | }; | |
9853 | ||
9854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9857 | { |
9858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9859 | { | |
9860 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9861 | result = (wxColour *) &_result_ref; | |
9862 | } | |
9863 | ||
9864 | wxPyEndAllowThreads(__tstate); | |
9865 | if (PyErr_Occurred()) SWIG_fail; | |
9866 | } | |
2f4c0a16 | 9867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9868 | return resultobj; |
9869 | fail: | |
9870 | return NULL; | |
9871 | } | |
9872 | ||
9873 | ||
9874 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9875 | PyObject *resultobj; | |
9876 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9877 | size_t arg2 ; | |
9878 | PyObject * obj0 = 0 ; | |
9879 | PyObject * obj1 = 0 ; | |
9880 | char *kwnames[] = { | |
9881 | (char *) "self",(char *) "count", NULL | |
9882 | }; | |
9883 | ||
9884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9887 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9888 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9889 | { |
9890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9891 | (arg1)->SetItemCount(arg2); | |
9892 | ||
9893 | wxPyEndAllowThreads(__tstate); | |
9894 | if (PyErr_Occurred()) SWIG_fail; | |
9895 | } | |
9896 | Py_INCREF(Py_None); resultobj = Py_None; | |
9897 | return resultobj; | |
9898 | fail: | |
9899 | return NULL; | |
9900 | } | |
9901 | ||
9902 | ||
9903 | static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9904 | PyObject *resultobj; | |
9905 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9906 | PyObject * obj0 = 0 ; | |
9907 | char *kwnames[] = { | |
9908 | (char *) "self", NULL | |
9909 | }; | |
9910 | ||
9911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9914 | { |
9915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9916 | (arg1)->Clear(); | |
9917 | ||
9918 | wxPyEndAllowThreads(__tstate); | |
9919 | if (PyErr_Occurred()) SWIG_fail; | |
9920 | } | |
9921 | Py_INCREF(Py_None); resultobj = Py_None; | |
9922 | return resultobj; | |
9923 | fail: | |
9924 | return NULL; | |
9925 | } | |
9926 | ||
9927 | ||
9928 | static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9929 | PyObject *resultobj; | |
9930 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9931 | int arg2 ; | |
9932 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9933 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9934 | char *kwnames[] = { |
9935 | (char *) "self",(char *) "selection", NULL | |
9936 | }; | |
9937 | ||
8edf1c75 | 9938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9941 | arg2 = (int) SWIG_AsInt(obj1); | |
9942 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9943 | { |
9944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9945 | (arg1)->SetSelection(arg2); | |
9946 | ||
9947 | wxPyEndAllowThreads(__tstate); | |
9948 | if (PyErr_Occurred()) SWIG_fail; | |
9949 | } | |
9950 | Py_INCREF(Py_None); resultobj = Py_None; | |
9951 | return resultobj; | |
9952 | fail: | |
9953 | return NULL; | |
9954 | } | |
9955 | ||
9956 | ||
9957 | static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9958 | PyObject *resultobj; | |
9959 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9960 | size_t arg2 ; | |
423f194a | 9961 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9962 | bool result; |
9963 | PyObject * obj0 = 0 ; | |
9964 | PyObject * obj1 = 0 ; | |
9965 | PyObject * obj2 = 0 ; | |
9966 | char *kwnames[] = { | |
9967 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9968 | }; | |
9969 | ||
9970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9973 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9974 | if (PyErr_Occurred()) SWIG_fail; | |
83448d71 | 9975 | if (obj2) { |
2f4c0a16 RD |
9976 | arg3 = (bool) SWIG_AsBool(obj2); |
9977 | if (PyErr_Occurred()) SWIG_fail; | |
83448d71 | 9978 | } |
d14a1e28 RD |
9979 | { |
9980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9981 | result = (bool)(arg1)->Select(arg2,arg3); | |
9982 | ||
9983 | wxPyEndAllowThreads(__tstate); | |
9984 | if (PyErr_Occurred()) SWIG_fail; | |
9985 | } | |
4f89f6a3 RD |
9986 | { |
9987 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9988 | } | |
d14a1e28 RD |
9989 | return resultobj; |
9990 | fail: | |
9991 | return NULL; | |
9992 | } | |
9993 | ||
9994 | ||
9995 | static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9996 | PyObject *resultobj; | |
9997 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9998 | size_t arg2 ; | |
9999 | size_t arg3 ; | |
10000 | bool result; | |
10001 | PyObject * obj0 = 0 ; | |
10002 | PyObject * obj1 = 0 ; | |
10003 | PyObject * obj2 = 0 ; | |
2f4c0a16 RD |
10004 | char *kwnames[] = { |
10005 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10006 | }; | |
10007 | ||
10008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10011 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10012 | if (PyErr_Occurred()) SWIG_fail; | |
10013 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
10014 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10015 | { |
10016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10017 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10018 | ||
10019 | wxPyEndAllowThreads(__tstate); | |
10020 | if (PyErr_Occurred()) SWIG_fail; | |
10021 | } | |
4f89f6a3 RD |
10022 | { |
10023 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10024 | } | |
d14a1e28 RD |
10025 | return resultobj; |
10026 | fail: | |
10027 | return NULL; | |
10028 | } | |
10029 | ||
10030 | ||
10031 | static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10032 | PyObject *resultobj; | |
10033 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10034 | size_t arg2 ; | |
10035 | PyObject * obj0 = 0 ; | |
10036 | PyObject * obj1 = 0 ; | |
10037 | char *kwnames[] = { | |
10038 | (char *) "self",(char *) "item", NULL | |
10039 | }; | |
10040 | ||
10041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10044 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10045 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10046 | { |
10047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10048 | (arg1)->Toggle(arg2); | |
10049 | ||
10050 | wxPyEndAllowThreads(__tstate); | |
10051 | if (PyErr_Occurred()) SWIG_fail; | |
10052 | } | |
10053 | Py_INCREF(Py_None); resultobj = Py_None; | |
10054 | return resultobj; | |
10055 | fail: | |
10056 | return NULL; | |
10057 | } | |
10058 | ||
10059 | ||
10060 | static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10061 | PyObject *resultobj; | |
10062 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10063 | bool result; | |
10064 | PyObject * obj0 = 0 ; | |
10065 | char *kwnames[] = { | |
10066 | (char *) "self", NULL | |
10067 | }; | |
10068 | ||
10069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10072 | { |
10073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10074 | result = (bool)(arg1)->SelectAll(); | |
10075 | ||
10076 | wxPyEndAllowThreads(__tstate); | |
10077 | if (PyErr_Occurred()) SWIG_fail; | |
10078 | } | |
4f89f6a3 RD |
10079 | { |
10080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10081 | } | |
d14a1e28 RD |
10082 | return resultobj; |
10083 | fail: | |
10084 | return NULL; | |
10085 | } | |
10086 | ||
10087 | ||
10088 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10089 | PyObject *resultobj; | |
10090 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10091 | bool result; | |
10092 | PyObject * obj0 = 0 ; | |
10093 | char *kwnames[] = { | |
10094 | (char *) "self", NULL | |
10095 | }; | |
10096 | ||
10097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10100 | { |
10101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10102 | result = (bool)(arg1)->DeselectAll(); | |
10103 | ||
10104 | wxPyEndAllowThreads(__tstate); | |
10105 | if (PyErr_Occurred()) SWIG_fail; | |
10106 | } | |
4f89f6a3 RD |
10107 | { |
10108 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10109 | } | |
d14a1e28 RD |
10110 | return resultobj; |
10111 | fail: | |
10112 | return NULL; | |
10113 | } | |
10114 | ||
10115 | ||
10116 | static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10117 | PyObject *resultobj; | |
10118 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10119 | wxPoint *arg2 = 0 ; | |
10120 | wxPoint temp2 ; | |
10121 | PyObject * obj0 = 0 ; | |
10122 | PyObject * obj1 = 0 ; | |
10123 | char *kwnames[] = { | |
10124 | (char *) "self",(char *) "pt", NULL | |
10125 | }; | |
10126 | ||
10127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10128 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10129 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10130 | { |
10131 | arg2 = &temp2; | |
10132 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10133 | } | |
10134 | { | |
10135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10136 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10137 | ||
10138 | wxPyEndAllowThreads(__tstate); | |
10139 | if (PyErr_Occurred()) SWIG_fail; | |
10140 | } | |
10141 | Py_INCREF(Py_None); resultobj = Py_None; | |
10142 | return resultobj; | |
10143 | fail: | |
10144 | return NULL; | |
10145 | } | |
10146 | ||
10147 | ||
10148 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10149 | PyObject *resultobj; | |
10150 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
423f194a RD |
10151 | int arg2 ; |
10152 | int arg3 ; | |
d14a1e28 | 10153 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
10154 | PyObject * obj1 = 0 ; |
10155 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10156 | char *kwnames[] = { |
10157 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10158 | }; | |
10159 | ||
8edf1c75 | 10160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
10161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10163 | arg2 = (int) SWIG_AsInt(obj1); | |
10164 | if (PyErr_Occurred()) SWIG_fail; | |
10165 | arg3 = (int) SWIG_AsInt(obj2); | |
10166 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10167 | { |
10168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10169 | (arg1)->SetMargins(arg2,arg3); | |
10170 | ||
10171 | wxPyEndAllowThreads(__tstate); | |
10172 | if (PyErr_Occurred()) SWIG_fail; | |
10173 | } | |
10174 | Py_INCREF(Py_None); resultobj = Py_None; | |
10175 | return resultobj; | |
10176 | fail: | |
10177 | return NULL; | |
10178 | } | |
10179 | ||
10180 | ||
10181 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10182 | PyObject *resultobj; | |
10183 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10184 | wxColour *arg2 = 0 ; | |
10185 | wxColour temp2 ; | |
10186 | PyObject * obj0 = 0 ; | |
10187 | PyObject * obj1 = 0 ; | |
10188 | char *kwnames[] = { | |
10189 | (char *) "self",(char *) "col", NULL | |
10190 | }; | |
10191 | ||
10192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10195 | { |
10196 | arg2 = &temp2; | |
10197 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10198 | } | |
10199 | { | |
10200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10201 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10202 | ||
10203 | wxPyEndAllowThreads(__tstate); | |
10204 | if (PyErr_Occurred()) SWIG_fail; | |
10205 | } | |
10206 | Py_INCREF(Py_None); resultobj = Py_None; | |
10207 | return resultobj; | |
10208 | fail: | |
10209 | return NULL; | |
10210 | } | |
10211 | ||
10212 | ||
10213 | static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) { | |
10214 | PyObject *obj; | |
10215 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10216 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10217 | Py_INCREF(obj); | |
10218 | return Py_BuildValue((char *)""); | |
10219 | } | |
10220 | static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10221 | PyObject *resultobj; | |
10222 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 10223 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10224 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10225 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10226 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10227 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10228 | long arg5 = (long) 0 ; | |
10229 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10230 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10231 | wxPyHtmlListBox *result; | |
10232 | wxPoint temp3 ; | |
10233 | wxSize temp4 ; | |
423f194a | 10234 | bool temp6 = False ; |
d14a1e28 | 10235 | PyObject * obj0 = 0 ; |
8edf1c75 | 10236 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10237 | PyObject * obj2 = 0 ; |
10238 | PyObject * obj3 = 0 ; | |
8edf1c75 | 10239 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10240 | PyObject * obj5 = 0 ; |
10241 | char *kwnames[] = { | |
10242 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10243 | }; | |
10244 | ||
8edf1c75 | 10245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
10246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 10248 | if (obj1) { |
2f4c0a16 RD |
10249 | arg2 = (int) SWIG_AsInt(obj1); |
10250 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10251 | } |
d14a1e28 RD |
10252 | if (obj2) { |
10253 | { | |
10254 | arg3 = &temp3; | |
10255 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10256 | } | |
10257 | } | |
10258 | if (obj3) { | |
10259 | { | |
10260 | arg4 = &temp4; | |
10261 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10262 | } | |
10263 | } | |
8edf1c75 | 10264 | if (obj4) { |
2f4c0a16 RD |
10265 | arg5 = (long) SWIG_AsLong(obj4); |
10266 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10267 | } |
d14a1e28 RD |
10268 | if (obj5) { |
10269 | { | |
10270 | arg6 = wxString_in_helper(obj5); | |
10271 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 10272 | temp6 = True; |
d14a1e28 RD |
10273 | } |
10274 | } | |
10275 | { | |
10276 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10277 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10278 | ||
10279 | wxPyEndAllowThreads(__tstate); | |
10280 | if (PyErr_Occurred()) SWIG_fail; | |
10281 | } | |
2f4c0a16 | 10282 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10283 | { |
10284 | if (temp6) | |
10285 | delete arg6; | |
10286 | } | |
10287 | return resultobj; | |
10288 | fail: | |
10289 | { | |
10290 | if (temp6) | |
10291 | delete arg6; | |
10292 | } | |
10293 | return NULL; | |
10294 | } | |
10295 | ||
10296 | ||
10297 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10298 | PyObject *resultobj; | |
10299 | wxPyHtmlListBox *result; | |
10300 | char *kwnames[] = { | |
10301 | NULL | |
10302 | }; | |
10303 | ||
10304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10305 | { | |
10306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10307 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10308 | ||
10309 | wxPyEndAllowThreads(__tstate); | |
10310 | if (PyErr_Occurred()) SWIG_fail; | |
10311 | } | |
2f4c0a16 | 10312 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10313 | return resultobj; |
10314 | fail: | |
10315 | return NULL; | |
10316 | } | |
10317 | ||
10318 | ||
10319 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10320 | PyObject *resultobj; | |
10321 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10322 | PyObject *arg2 = (PyObject *) 0 ; | |
10323 | PyObject *arg3 = (PyObject *) 0 ; | |
10324 | PyObject * obj0 = 0 ; | |
10325 | PyObject * obj1 = 0 ; | |
10326 | PyObject * obj2 = 0 ; | |
10327 | char *kwnames[] = { | |
10328 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10329 | }; | |
10330 | ||
10331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10334 | arg2 = obj1; |
10335 | arg3 = obj2; | |
10336 | { | |
10337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10338 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10339 | ||
10340 | wxPyEndAllowThreads(__tstate); | |
10341 | if (PyErr_Occurred()) SWIG_fail; | |
10342 | } | |
10343 | Py_INCREF(Py_None); resultobj = Py_None; | |
10344 | return resultobj; | |
10345 | fail: | |
10346 | return NULL; | |
10347 | } | |
10348 | ||
10349 | ||
10350 | static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10351 | PyObject *resultobj; | |
10352 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10353 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 10354 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10355 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10356 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10357 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10358 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10359 | long arg6 = (long) 0 ; | |
10360 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10361 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10362 | bool result; | |
10363 | wxPoint temp4 ; | |
10364 | wxSize temp5 ; | |
423f194a | 10365 | bool temp7 = False ; |
d14a1e28 RD |
10366 | PyObject * obj0 = 0 ; |
10367 | PyObject * obj1 = 0 ; | |
8edf1c75 | 10368 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10369 | PyObject * obj3 = 0 ; |
10370 | PyObject * obj4 = 0 ; | |
8edf1c75 | 10371 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10372 | PyObject * obj6 = 0 ; |
10373 | char *kwnames[] = { | |
10374 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10375 | }; | |
10376 | ||
8edf1c75 | 10377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
10378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10380 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 10382 | if (obj2) { |
2f4c0a16 RD |
10383 | arg3 = (int) SWIG_AsInt(obj2); |
10384 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10385 | } |
d14a1e28 RD |
10386 | if (obj3) { |
10387 | { | |
10388 | arg4 = &temp4; | |
10389 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10390 | } | |
10391 | } | |
10392 | if (obj4) { | |
10393 | { | |
10394 | arg5 = &temp5; | |
10395 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10396 | } | |
10397 | } | |
8edf1c75 | 10398 | if (obj5) { |
2f4c0a16 RD |
10399 | arg6 = (long) SWIG_AsLong(obj5); |
10400 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10401 | } |
d14a1e28 RD |
10402 | if (obj6) { |
10403 | { | |
10404 | arg7 = wxString_in_helper(obj6); | |
10405 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 10406 | temp7 = True; |
d14a1e28 RD |
10407 | } |
10408 | } | |
10409 | { | |
10410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10411 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10412 | ||
10413 | wxPyEndAllowThreads(__tstate); | |
10414 | if (PyErr_Occurred()) SWIG_fail; | |
10415 | } | |
4f89f6a3 RD |
10416 | { |
10417 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10418 | } | |
d14a1e28 RD |
10419 | { |
10420 | if (temp7) | |
10421 | delete arg7; | |
10422 | } | |
10423 | return resultobj; | |
10424 | fail: | |
10425 | { | |
10426 | if (temp7) | |
10427 | delete arg7; | |
10428 | } | |
10429 | return NULL; | |
10430 | } | |
10431 | ||
10432 | ||
10433 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10434 | PyObject *resultobj; | |
10435 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10436 | PyObject * obj0 = 0 ; | |
10437 | char *kwnames[] = { | |
10438 | (char *) "self", NULL | |
10439 | }; | |
10440 | ||
10441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10444 | { |
10445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10446 | (arg1)->RefreshAll(); | |
10447 | ||
10448 | wxPyEndAllowThreads(__tstate); | |
10449 | if (PyErr_Occurred()) SWIG_fail; | |
10450 | } | |
10451 | Py_INCREF(Py_None); resultobj = Py_None; | |
10452 | return resultobj; | |
10453 | fail: | |
10454 | return NULL; | |
10455 | } | |
10456 | ||
10457 | ||
10458 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10459 | PyObject *resultobj; | |
10460 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10461 | size_t arg2 ; | |
10462 | PyObject * obj0 = 0 ; | |
10463 | PyObject * obj1 = 0 ; | |
10464 | char *kwnames[] = { | |
10465 | (char *) "self",(char *) "count", NULL | |
10466 | }; | |
10467 | ||
10468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10471 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10472 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10473 | { |
10474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10475 | (arg1)->SetItemCount(arg2); | |
10476 | ||
10477 | wxPyEndAllowThreads(__tstate); | |
10478 | if (PyErr_Occurred()) SWIG_fail; | |
10479 | } | |
10480 | Py_INCREF(Py_None); resultobj = Py_None; | |
10481 | return resultobj; | |
10482 | fail: | |
10483 | return NULL; | |
10484 | } | |
10485 | ||
10486 | ||
10487 | static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) { | |
10488 | PyObject *obj; | |
10489 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10490 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10491 | Py_INCREF(obj); | |
10492 | return Py_BuildValue((char *)""); | |
10493 | } | |
10494 | static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10495 | PyObject *resultobj; | |
10496 | wxTaskBarIcon *result; | |
10497 | char *kwnames[] = { | |
10498 | NULL | |
10499 | }; | |
10500 | ||
10501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10502 | { | |
10503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10504 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10505 | ||
10506 | wxPyEndAllowThreads(__tstate); | |
10507 | if (PyErr_Occurred()) SWIG_fail; | |
10508 | } | |
2f4c0a16 | 10509 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10510 | return resultobj; |
10511 | fail: | |
10512 | return NULL; | |
10513 | } | |
10514 | ||
10515 | ||
10516 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10517 | PyObject *resultobj; | |
10518 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10519 | PyObject * obj0 = 0 ; | |
10520 | char *kwnames[] = { | |
10521 | (char *) "self", NULL | |
10522 | }; | |
10523 | ||
10524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10527 | { |
10528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10529 | delete arg1; | |
10530 | ||
10531 | wxPyEndAllowThreads(__tstate); | |
10532 | if (PyErr_Occurred()) SWIG_fail; | |
10533 | } | |
10534 | Py_INCREF(Py_None); resultobj = Py_None; | |
10535 | return resultobj; | |
10536 | fail: | |
10537 | return NULL; | |
10538 | } | |
10539 | ||
10540 | ||
10541 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10542 | PyObject *resultobj; | |
10543 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10544 | bool result; | |
10545 | PyObject * obj0 = 0 ; | |
10546 | char *kwnames[] = { | |
10547 | (char *) "self", NULL | |
10548 | }; | |
10549 | ||
10550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10551 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10552 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10553 | { |
10554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10555 | result = (bool)((wxTaskBarIcon const *)arg1)->IsOk(); | |
10556 | ||
10557 | wxPyEndAllowThreads(__tstate); | |
10558 | if (PyErr_Occurred()) SWIG_fail; | |
10559 | } | |
4f89f6a3 RD |
10560 | { |
10561 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10562 | } | |
d14a1e28 RD |
10563 | return resultobj; |
10564 | fail: | |
10565 | return NULL; | |
10566 | } | |
10567 | ||
10568 | ||
10569 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10570 | PyObject *resultobj; | |
10571 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10572 | bool result; | |
10573 | PyObject * obj0 = 0 ; | |
10574 | char *kwnames[] = { | |
10575 | (char *) "self", NULL | |
10576 | }; | |
10577 | ||
10578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10581 | { |
10582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10583 | result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled(); | |
10584 | ||
10585 | wxPyEndAllowThreads(__tstate); | |
10586 | if (PyErr_Occurred()) SWIG_fail; | |
10587 | } | |
4f89f6a3 RD |
10588 | { |
10589 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10590 | } | |
d14a1e28 RD |
10591 | return resultobj; |
10592 | fail: | |
10593 | return NULL; | |
10594 | } | |
10595 | ||
10596 | ||
10597 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10598 | PyObject *resultobj; | |
10599 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10600 | wxIcon *arg2 = 0 ; | |
10601 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10602 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10603 | bool result; | |
423f194a | 10604 | bool temp3 = False ; |
d14a1e28 RD |
10605 | PyObject * obj0 = 0 ; |
10606 | PyObject * obj1 = 0 ; | |
10607 | PyObject * obj2 = 0 ; | |
10608 | char *kwnames[] = { | |
10609 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
10610 | }; | |
10611 | ||
10612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10615 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
10616 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
10617 | SWIG_fail; | |
d14a1e28 | 10618 | if (arg2 == NULL) { |
2f4c0a16 RD |
10619 | PyErr_SetString(PyExc_TypeError,"null reference"); |
10620 | SWIG_fail; | |
d14a1e28 RD |
10621 | } |
10622 | if (obj2) { | |
10623 | { | |
10624 | arg3 = wxString_in_helper(obj2); | |
10625 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10626 | temp3 = True; |
d14a1e28 RD |
10627 | } |
10628 | } | |
10629 | { | |
10630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10631 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
10632 | ||
10633 | wxPyEndAllowThreads(__tstate); | |
10634 | if (PyErr_Occurred()) SWIG_fail; | |
10635 | } | |
4f89f6a3 RD |
10636 | { |
10637 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10638 | } | |
d14a1e28 RD |
10639 | { |
10640 | if (temp3) | |
10641 | delete arg3; | |
10642 | } | |
10643 | return resultobj; | |
10644 | fail: | |
10645 | { | |
10646 | if (temp3) | |
10647 | delete arg3; | |
10648 | } | |
10649 | return NULL; | |
10650 | } | |
10651 | ||
10652 | ||
10653 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10654 | PyObject *resultobj; | |
10655 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10656 | bool result; | |
10657 | PyObject * obj0 = 0 ; | |
10658 | char *kwnames[] = { | |
10659 | (char *) "self", NULL | |
10660 | }; | |
10661 | ||
10662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10663 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10664 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10665 | { |
10666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10667 | result = (bool)(arg1)->RemoveIcon(); | |
10668 | ||
10669 | wxPyEndAllowThreads(__tstate); | |
10670 | if (PyErr_Occurred()) SWIG_fail; | |
10671 | } | |
4f89f6a3 RD |
10672 | { |
10673 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10674 | } | |
d14a1e28 RD |
10675 | return resultobj; |
10676 | fail: | |
10677 | return NULL; | |
10678 | } | |
10679 | ||
10680 | ||
10681 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10682 | PyObject *resultobj; | |
10683 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10684 | wxMenu *arg2 = (wxMenu *) 0 ; | |
10685 | bool result; | |
10686 | PyObject * obj0 = 0 ; | |
10687 | PyObject * obj1 = 0 ; | |
10688 | char *kwnames[] = { | |
10689 | (char *) "self",(char *) "menu", NULL | |
10690 | }; | |
10691 | ||
10692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10693 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10695 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
10696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10697 | { |
10698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10699 | result = (bool)(arg1)->PopupMenu(arg2); | |
10700 | ||
10701 | wxPyEndAllowThreads(__tstate); | |
10702 | if (PyErr_Occurred()) SWIG_fail; | |
10703 | } | |
4f89f6a3 RD |
10704 | { |
10705 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10706 | } | |
d14a1e28 RD |
10707 | return resultobj; |
10708 | fail: | |
10709 | return NULL; | |
10710 | } | |
10711 | ||
10712 | ||
10713 | static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) { | |
10714 | PyObject *obj; | |
10715 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10716 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10717 | Py_INCREF(obj); | |
10718 | return Py_BuildValue((char *)""); | |
10719 | } | |
10720 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10721 | PyObject *resultobj; | |
10722 | wxEventType arg1 ; | |
10723 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10724 | wxTaskBarIconEvent *result; | |
8edf1c75 | 10725 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10726 | PyObject * obj1 = 0 ; |
10727 | char *kwnames[] = { | |
10728 | (char *) "evtType",(char *) "tbIcon", NULL | |
10729 | }; | |
10730 | ||
8edf1c75 | 10731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10732 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10733 | if (PyErr_Occurred()) SWIG_fail; | |
10734 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10736 | { |
10737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10738 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10739 | ||
10740 | wxPyEndAllowThreads(__tstate); | |
10741 | if (PyErr_Occurred()) SWIG_fail; | |
10742 | } | |
2f4c0a16 | 10743 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10744 | return resultobj; |
10745 | fail: | |
10746 | return NULL; | |
10747 | } | |
10748 | ||
10749 | ||
10750 | static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) { | |
10751 | PyObject *obj; | |
10752 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10753 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10754 | Py_INCREF(obj); | |
10755 | return Py_BuildValue((char *)""); | |
10756 | } | |
2f4c0a16 | 10757 | static int _wrap_FileSelectorPromptStr_set(PyObject *_val) { |
d03fd34d RD |
10758 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
10759 | return 1; | |
10760 | } | |
10761 | ||
10762 | ||
10763 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10764 | PyObject *pyobj; | |
10765 | ||
10766 | { | |
10767 | #if wxUSE_UNICODE | |
10768 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10769 | #else | |
10770 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10771 | #endif | |
10772 | } | |
10773 | return pyobj; | |
10774 | } | |
10775 | ||
10776 | ||
2f4c0a16 | 10777 | static int _wrap_DirSelectorPromptStr_set(PyObject *_val) { |
d03fd34d RD |
10778 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
10779 | return 1; | |
10780 | } | |
10781 | ||
10782 | ||
10783 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10784 | PyObject *pyobj; | |
10785 | ||
10786 | { | |
10787 | #if wxUSE_UNICODE | |
10788 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10789 | #else | |
10790 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10791 | #endif | |
10792 | } | |
10793 | return pyobj; | |
10794 | } | |
10795 | ||
10796 | ||
2f4c0a16 | 10797 | static int _wrap_DirDialogNameStr_set(PyObject *_val) { |
d03fd34d RD |
10798 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
10799 | return 1; | |
10800 | } | |
10801 | ||
10802 | ||
10803 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10804 | PyObject *pyobj; | |
10805 | ||
10806 | { | |
10807 | #if wxUSE_UNICODE | |
10808 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10809 | #else | |
10810 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10811 | #endif | |
10812 | } | |
10813 | return pyobj; | |
10814 | } | |
10815 | ||
10816 | ||
2f4c0a16 | 10817 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) { |
d03fd34d RD |
10818 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
10819 | return 1; | |
10820 | } | |
10821 | ||
10822 | ||
10823 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10824 | PyObject *pyobj; | |
10825 | ||
10826 | { | |
10827 | #if wxUSE_UNICODE | |
10828 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10829 | #else | |
10830 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10831 | #endif | |
10832 | } | |
10833 | return pyobj; | |
10834 | } | |
10835 | ||
10836 | ||
2f4c0a16 | 10837 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) { |
d03fd34d RD |
10838 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
10839 | return 1; | |
10840 | } | |
10841 | ||
10842 | ||
10843 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10844 | PyObject *pyobj; | |
10845 | ||
10846 | { | |
10847 | #if wxUSE_UNICODE | |
10848 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10849 | #else | |
10850 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10851 | #endif | |
10852 | } | |
10853 | return pyobj; | |
10854 | } | |
10855 | ||
10856 | ||
2f4c0a16 | 10857 | static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) { |
d03fd34d RD |
10858 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
10859 | return 1; | |
10860 | } | |
10861 | ||
10862 | ||
10863 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10864 | PyObject *pyobj; | |
10865 | ||
10866 | { | |
10867 | #if wxUSE_UNICODE | |
10868 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10869 | #else | |
10870 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10871 | #endif | |
10872 | } | |
10873 | return pyobj; | |
10874 | } | |
10875 | ||
10876 | ||
d14a1e28 RD |
10877 | static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { |
10878 | PyObject *resultobj; | |
10879 | wxColourData *result; | |
10880 | char *kwnames[] = { | |
10881 | NULL | |
10882 | }; | |
10883 | ||
10884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10885 | { | |
10886 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10887 | result = (wxColourData *)new wxColourData(); | |
10888 | ||
10889 | wxPyEndAllowThreads(__tstate); | |
10890 | if (PyErr_Occurred()) SWIG_fail; | |
10891 | } | |
2f4c0a16 | 10892 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10893 | return resultobj; |
10894 | fail: | |
10895 | return NULL; | |
10896 | } | |
10897 | ||
10898 | ||
10899 | static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10900 | PyObject *resultobj; | |
10901 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10902 | PyObject * obj0 = 0 ; | |
10903 | char *kwnames[] = { | |
10904 | (char *) "self", NULL | |
10905 | }; | |
10906 | ||
10907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10910 | { |
10911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10912 | delete arg1; | |
10913 | ||
10914 | wxPyEndAllowThreads(__tstate); | |
10915 | if (PyErr_Occurred()) SWIG_fail; | |
10916 | } | |
10917 | Py_INCREF(Py_None); resultobj = Py_None; | |
10918 | return resultobj; | |
10919 | fail: | |
10920 | return NULL; | |
10921 | } | |
10922 | ||
10923 | ||
10924 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10925 | PyObject *resultobj; | |
10926 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10927 | bool result; | |
10928 | PyObject * obj0 = 0 ; | |
10929 | char *kwnames[] = { | |
10930 | (char *) "self", NULL | |
10931 | }; | |
10932 | ||
10933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10936 | { |
10937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10938 | result = (bool)(arg1)->GetChooseFull(); | |
10939 | ||
10940 | wxPyEndAllowThreads(__tstate); | |
10941 | if (PyErr_Occurred()) SWIG_fail; | |
10942 | } | |
4f89f6a3 RD |
10943 | { |
10944 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10945 | } | |
d14a1e28 RD |
10946 | return resultobj; |
10947 | fail: | |
10948 | return NULL; | |
10949 | } | |
10950 | ||
10951 | ||
10952 | static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10953 | PyObject *resultobj; | |
10954 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10955 | wxColour result; | |
10956 | PyObject * obj0 = 0 ; | |
10957 | char *kwnames[] = { | |
10958 | (char *) "self", NULL | |
10959 | }; | |
10960 | ||
10961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10964 | { |
10965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10966 | result = (arg1)->GetColour(); | |
10967 | ||
10968 | wxPyEndAllowThreads(__tstate); | |
10969 | if (PyErr_Occurred()) SWIG_fail; | |
10970 | } | |
10971 | { | |
10972 | wxColour * resultptr; | |
10973 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 10974 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10975 | } |
10976 | return resultobj; | |
10977 | fail: | |
10978 | return NULL; | |
10979 | } | |
10980 | ||
10981 | ||
10982 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10983 | PyObject *resultobj; | |
10984 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10985 | int arg2 ; | |
10986 | wxColour result; | |
10987 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10988 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10989 | char *kwnames[] = { |
10990 | (char *) "self",(char *) "i", NULL | |
10991 | }; | |
10992 | ||
8edf1c75 | 10993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10996 | arg2 = (int) SWIG_AsInt(obj1); | |
10997 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10998 | { |
10999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11000 | result = (arg1)->GetCustomColour(arg2); | |
11001 | ||
11002 | wxPyEndAllowThreads(__tstate); | |
11003 | if (PyErr_Occurred()) SWIG_fail; | |
11004 | } | |
11005 | { | |
11006 | wxColour * resultptr; | |
11007 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 11008 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11009 | } |
11010 | return resultobj; | |
11011 | fail: | |
11012 | return NULL; | |
11013 | } | |
11014 | ||
11015 | ||
11016 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11017 | PyObject *resultobj; | |
11018 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11019 | int arg2 ; | |
11020 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11021 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11022 | char *kwnames[] = { |
11023 | (char *) "self",(char *) "flag", NULL | |
11024 | }; | |
11025 | ||
8edf1c75 | 11026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
11027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11029 | arg2 = (int) SWIG_AsInt(obj1); | |
11030 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11031 | { |
11032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11033 | (arg1)->SetChooseFull(arg2); | |
11034 | ||
11035 | wxPyEndAllowThreads(__tstate); | |
11036 | if (PyErr_Occurred()) SWIG_fail; | |
11037 | } | |
11038 | Py_INCREF(Py_None); resultobj = Py_None; | |
11039 | return resultobj; | |
11040 | fail: | |
11041 | return NULL; | |
11042 | } | |
11043 | ||
11044 | ||
11045 | static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11046 | PyObject *resultobj; | |
11047 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11048 | wxColour *arg2 = 0 ; | |
11049 | wxColour temp2 ; | |
11050 | PyObject * obj0 = 0 ; | |
11051 | PyObject * obj1 = 0 ; | |
11052 | char *kwnames[] = { | |
11053 | (char *) "self",(char *) "colour", NULL | |
11054 | }; | |
11055 | ||
11056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11059 | { |
11060 | arg2 = &temp2; | |
11061 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11062 | } | |
11063 | { | |
11064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11065 | (arg1)->SetColour((wxColour const &)*arg2); | |
11066 | ||
11067 | wxPyEndAllowThreads(__tstate); | |
11068 | if (PyErr_Occurred()) SWIG_fail; | |
11069 | } | |
11070 | Py_INCREF(Py_None); resultobj = Py_None; | |
11071 | return resultobj; | |
11072 | fail: | |
11073 | return NULL; | |
11074 | } | |
11075 | ||
11076 | ||
11077 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11078 | PyObject *resultobj; | |
11079 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11080 | int arg2 ; | |
11081 | wxColour *arg3 = 0 ; | |
11082 | wxColour temp3 ; | |
11083 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11084 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11085 | PyObject * obj2 = 0 ; |
11086 | char *kwnames[] = { | |
11087 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11088 | }; | |
11089 | ||
8edf1c75 | 11090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
11091 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11092 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11093 | arg2 = (int) SWIG_AsInt(obj1); | |
11094 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11095 | { |
11096 | arg3 = &temp3; | |
11097 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11098 | } | |
11099 | { | |
11100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11101 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11102 | ||
11103 | wxPyEndAllowThreads(__tstate); | |
11104 | if (PyErr_Occurred()) SWIG_fail; | |
11105 | } | |
11106 | Py_INCREF(Py_None); resultobj = Py_None; | |
11107 | return resultobj; | |
11108 | fail: | |
11109 | return NULL; | |
11110 | } | |
11111 | ||
11112 | ||
11113 | static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) { | |
11114 | PyObject *obj; | |
11115 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11116 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11117 | Py_INCREF(obj); | |
11118 | return Py_BuildValue((char *)""); | |
11119 | } | |
11120 | static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11121 | PyObject *resultobj; | |
11122 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11123 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11124 | wxColourDialog *result; | |
11125 | PyObject * obj0 = 0 ; | |
11126 | PyObject * obj1 = 0 ; | |
11127 | char *kwnames[] = { | |
11128 | (char *) "parent",(char *) "data", NULL | |
11129 | }; | |
11130 | ||
11131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11134 | if (obj1) { |
2f4c0a16 RD |
11135 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11137 | } |
11138 | { | |
11139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11140 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11141 | ||
11142 | wxPyEndAllowThreads(__tstate); | |
11143 | if (PyErr_Occurred()) SWIG_fail; | |
11144 | } | |
2f4c0a16 | 11145 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11146 | return resultobj; |
11147 | fail: | |
11148 | return NULL; | |
11149 | } | |
11150 | ||
11151 | ||
11152 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11153 | PyObject *resultobj; | |
11154 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11155 | wxColourData *result; | |
11156 | PyObject * obj0 = 0 ; | |
11157 | char *kwnames[] = { | |
11158 | (char *) "self", NULL | |
11159 | }; | |
11160 | ||
11161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11162 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11163 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11164 | { |
11165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11166 | { | |
11167 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11168 | result = (wxColourData *) &_result_ref; | |
11169 | } | |
11170 | ||
11171 | wxPyEndAllowThreads(__tstate); | |
11172 | if (PyErr_Occurred()) SWIG_fail; | |
11173 | } | |
2f4c0a16 | 11174 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11175 | return resultobj; |
11176 | fail: | |
11177 | return NULL; | |
11178 | } | |
11179 | ||
11180 | ||
d14a1e28 RD |
11181 | static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) { |
11182 | PyObject *obj; | |
11183 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11184 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11185 | Py_INCREF(obj); | |
11186 | return Py_BuildValue((char *)""); | |
11187 | } | |
11188 | static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11189 | PyObject *resultobj; | |
11190 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11191 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
11192 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11193 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11194 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11195 | long arg4 = (long) 0 ; | |
11196 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
11197 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
11198 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
11199 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
11200 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
11201 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11202 | wxDirDialog *result; | |
423f194a RD |
11203 | bool temp2 = False ; |
11204 | bool temp3 = False ; | |
d14a1e28 RD |
11205 | wxPoint temp5 ; |
11206 | wxSize temp6 ; | |
423f194a | 11207 | bool temp7 = False ; |
d14a1e28 RD |
11208 | PyObject * obj0 = 0 ; |
11209 | PyObject * obj1 = 0 ; | |
11210 | PyObject * obj2 = 0 ; | |
8edf1c75 | 11211 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
11212 | PyObject * obj4 = 0 ; |
11213 | PyObject * obj5 = 0 ; | |
11214 | PyObject * obj6 = 0 ; | |
11215 | char *kwnames[] = { | |
11216 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
11217 | }; | |
11218 | ||
8edf1c75 | 11219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
11220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11222 | if (obj1) { |
11223 | { | |
11224 | arg2 = wxString_in_helper(obj1); | |
11225 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11226 | temp2 = True; |
d14a1e28 RD |
11227 | } |
11228 | } | |
11229 | if (obj2) { | |
11230 | { | |
11231 | arg3 = wxString_in_helper(obj2); | |
11232 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11233 | temp3 = True; |
d14a1e28 RD |
11234 | } |
11235 | } | |
8edf1c75 | 11236 | if (obj3) { |
2f4c0a16 RD |
11237 | arg4 = (long) SWIG_AsLong(obj3); |
11238 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 11239 | } |
d14a1e28 RD |
11240 | if (obj4) { |
11241 | { | |
11242 | arg5 = &temp5; | |
11243 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
11244 | } | |
11245 | } | |
11246 | if (obj5) { | |
11247 | { | |
11248 | arg6 = &temp6; | |
11249 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
11250 | } | |
11251 | } | |
11252 | if (obj6) { | |
11253 | { | |
11254 | arg7 = wxString_in_helper(obj6); | |
11255 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 11256 | temp7 = True; |
d14a1e28 RD |
11257 | } |
11258 | } | |
11259 | { | |
11260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11261 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
11262 | ||
11263 | wxPyEndAllowThreads(__tstate); | |
11264 | if (PyErr_Occurred()) SWIG_fail; | |
11265 | } | |
2f4c0a16 | 11266 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
11267 | { |
11268 | if (temp2) | |
11269 | delete arg2; | |
11270 | } | |
11271 | { | |
11272 | if (temp3) | |
11273 | delete arg3; | |
11274 | } | |
11275 | { | |
11276 | if (temp7) | |
11277 | delete arg7; | |
11278 | } | |
11279 | return resultobj; | |
11280 | fail: | |
11281 | { | |
11282 | if (temp2) | |
11283 | delete arg2; | |
11284 | } | |
11285 | { | |
11286 | if (temp3) | |
11287 | delete arg3; | |
11288 | } | |
11289 | { | |
11290 | if (temp7) | |
11291 | delete arg7; | |
11292 | } | |
11293 | return NULL; | |
11294 | } | |
11295 | ||
11296 | ||
11297 | static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11298 | PyObject *resultobj; | |
11299 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11300 | wxString result; | |
11301 | PyObject * obj0 = 0 ; | |
11302 | char *kwnames[] = { | |
11303 | (char *) "self", NULL | |
11304 | }; | |
11305 | ||
11306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11307 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11309 | { |
11310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11311 | result = (arg1)->GetPath(); | |
11312 | ||
11313 | wxPyEndAllowThreads(__tstate); | |
11314 | if (PyErr_Occurred()) SWIG_fail; | |
11315 | } | |
11316 | { | |
11317 | #if wxUSE_UNICODE | |
11318 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11319 | #else | |
11320 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11321 | #endif | |
11322 | } | |
11323 | return resultobj; | |
11324 | fail: | |
11325 | return NULL; | |
11326 | } | |
11327 | ||
11328 | ||
11329 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11330 | PyObject *resultobj; | |
11331 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11332 | wxString result; | |
11333 | PyObject * obj0 = 0 ; | |
11334 | char *kwnames[] = { | |
11335 | (char *) "self", NULL | |
11336 | }; | |
11337 | ||
11338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11341 | { |
11342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11343 | result = (arg1)->GetMessage(); | |
11344 | ||
11345 | wxPyEndAllowThreads(__tstate); | |
11346 | if (PyErr_Occurred()) SWIG_fail; | |
11347 | } | |
11348 | { | |
11349 | #if wxUSE_UNICODE | |
11350 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11351 | #else | |
11352 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11353 | #endif | |
11354 | } | |
11355 | return resultobj; | |
11356 | fail: | |
11357 | return NULL; | |
11358 | } | |
11359 | ||
11360 | ||
11361 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11362 | PyObject *resultobj; | |
11363 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11364 | long result; | |
11365 | PyObject * obj0 = 0 ; | |
11366 | char *kwnames[] = { | |
11367 | (char *) "self", NULL | |
11368 | }; | |
11369 | ||
11370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11373 | { |
11374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11375 | result = (long)(arg1)->GetStyle(); | |
11376 | ||
11377 | wxPyEndAllowThreads(__tstate); | |
11378 | if (PyErr_Occurred()) SWIG_fail; | |
11379 | } | |
2f4c0a16 | 11380 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11381 | return resultobj; |
11382 | fail: | |
11383 | return NULL; | |
11384 | } | |
11385 | ||
11386 | ||
11387 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11388 | PyObject *resultobj; | |
11389 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11390 | wxString *arg2 = 0 ; | |
423f194a | 11391 | bool temp2 = False ; |
d14a1e28 RD |
11392 | PyObject * obj0 = 0 ; |
11393 | PyObject * obj1 = 0 ; | |
11394 | char *kwnames[] = { | |
11395 | (char *) "self",(char *) "message", NULL | |
11396 | }; | |
11397 | ||
11398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11401 | { |
11402 | arg2 = wxString_in_helper(obj1); | |
11403 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11404 | temp2 = True; |
d14a1e28 RD |
11405 | } |
11406 | { | |
11407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11408 | (arg1)->SetMessage((wxString const &)*arg2); | |
11409 | ||
11410 | wxPyEndAllowThreads(__tstate); | |
11411 | if (PyErr_Occurred()) SWIG_fail; | |
11412 | } | |
11413 | Py_INCREF(Py_None); resultobj = Py_None; | |
11414 | { | |
11415 | if (temp2) | |
11416 | delete arg2; | |
11417 | } | |
11418 | return resultobj; | |
11419 | fail: | |
11420 | { | |
11421 | if (temp2) | |
11422 | delete arg2; | |
11423 | } | |
11424 | return NULL; | |
11425 | } | |
11426 | ||
11427 | ||
11428 | static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11429 | PyObject *resultobj; | |
11430 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11431 | wxString *arg2 = 0 ; | |
423f194a | 11432 | bool temp2 = False ; |
d14a1e28 RD |
11433 | PyObject * obj0 = 0 ; |
11434 | PyObject * obj1 = 0 ; | |
11435 | char *kwnames[] = { | |
11436 | (char *) "self",(char *) "path", NULL | |
11437 | }; | |
11438 | ||
11439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11442 | { |
11443 | arg2 = wxString_in_helper(obj1); | |
11444 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11445 | temp2 = True; |
d14a1e28 RD |
11446 | } |
11447 | { | |
11448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11449 | (arg1)->SetPath((wxString const &)*arg2); | |
11450 | ||
11451 | wxPyEndAllowThreads(__tstate); | |
11452 | if (PyErr_Occurred()) SWIG_fail; | |
11453 | } | |
11454 | Py_INCREF(Py_None); resultobj = Py_None; | |
11455 | { | |
11456 | if (temp2) | |
11457 | delete arg2; | |
11458 | } | |
11459 | return resultobj; | |
11460 | fail: | |
11461 | { | |
11462 | if (temp2) | |
11463 | delete arg2; | |
11464 | } | |
11465 | return NULL; | |
11466 | } | |
11467 | ||
11468 | ||
d14a1e28 RD |
11469 | static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) { |
11470 | PyObject *obj; | |
11471 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11472 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11473 | Py_INCREF(obj); | |
11474 | return Py_BuildValue((char *)""); | |
11475 | } | |
11476 | static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11477 | PyObject *resultobj; | |
11478 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11479 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11480 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11481 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11482 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11483 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11484 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11485 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11486 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11487 | long arg6 = (long) 0 ; | |
11488 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11489 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11490 | wxFileDialog *result; | |
423f194a RD |
11491 | bool temp2 = False ; |
11492 | bool temp3 = False ; | |
11493 | bool temp4 = False ; | |
11494 | bool temp5 = False ; | |
d14a1e28 RD |
11495 | wxPoint temp7 ; |
11496 | PyObject * obj0 = 0 ; | |
11497 | PyObject * obj1 = 0 ; | |
11498 | PyObject * obj2 = 0 ; | |
11499 | PyObject * obj3 = 0 ; | |
11500 | PyObject * obj4 = 0 ; | |
8edf1c75 | 11501 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11502 | PyObject * obj6 = 0 ; |
11503 | char *kwnames[] = { | |
11504 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11505 | }; | |
11506 | ||
8edf1c75 | 11507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
11508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11510 | if (obj1) { |
11511 | { | |
11512 | arg2 = wxString_in_helper(obj1); | |
11513 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11514 | temp2 = True; |
d14a1e28 RD |
11515 | } |
11516 | } | |
11517 | if (obj2) { | |
11518 | { | |
11519 | arg3 = wxString_in_helper(obj2); | |
11520 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11521 | temp3 = True; |
d14a1e28 RD |
11522 | } |
11523 | } | |
11524 | if (obj3) { | |
11525 | { | |
11526 | arg4 = wxString_in_helper(obj3); | |
11527 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 11528 | temp4 = True; |
d14a1e28 RD |
11529 | } |
11530 | } | |
11531 | if (obj4) { | |
11532 | { | |
11533 | arg5 = wxString_in_helper(obj4); | |
11534 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 11535 | temp5 = True; |
d14a1e28 RD |
11536 | } |
11537 | } | |
8edf1c75 | 11538 | if (obj5) { |
2f4c0a16 RD |
11539 | arg6 = (long) SWIG_AsLong(obj5); |
11540 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 11541 | } |
d14a1e28 RD |
11542 | if (obj6) { |
11543 | { | |
11544 | arg7 = &temp7; | |
11545 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11546 | } | |
11547 | } | |
11548 | { | |
11549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11550 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11551 | ||
11552 | wxPyEndAllowThreads(__tstate); | |
11553 | if (PyErr_Occurred()) SWIG_fail; | |
11554 | } | |
2f4c0a16 | 11555 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11556 | { |
11557 | if (temp2) | |
11558 | delete arg2; | |
11559 | } | |
11560 | { | |
11561 | if (temp3) | |
11562 | delete arg3; | |
11563 | } | |
11564 | { | |
11565 | if (temp4) | |
11566 | delete arg4; | |
11567 | } | |
11568 | { | |
11569 | if (temp5) | |
11570 | delete arg5; | |
11571 | } | |
11572 | return resultobj; | |
11573 | fail: | |
11574 | { | |
11575 | if (temp2) | |
11576 | delete arg2; | |
11577 | } | |
11578 | { | |
11579 | if (temp3) | |
11580 | delete arg3; | |
11581 | } | |
11582 | { | |
11583 | if (temp4) | |
11584 | delete arg4; | |
11585 | } | |
11586 | { | |
11587 | if (temp5) | |
11588 | delete arg5; | |
11589 | } | |
11590 | return NULL; | |
11591 | } | |
11592 | ||
11593 | ||
11594 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11595 | PyObject *resultobj; | |
11596 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11597 | wxString *arg2 = 0 ; | |
423f194a | 11598 | bool temp2 = False ; |
d14a1e28 RD |
11599 | PyObject * obj0 = 0 ; |
11600 | PyObject * obj1 = 0 ; | |
11601 | char *kwnames[] = { | |
11602 | (char *) "self",(char *) "message", NULL | |
11603 | }; | |
11604 | ||
11605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11606 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11608 | { |
11609 | arg2 = wxString_in_helper(obj1); | |
11610 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11611 | temp2 = True; |
d14a1e28 RD |
11612 | } |
11613 | { | |
11614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11615 | (arg1)->SetMessage((wxString const &)*arg2); | |
11616 | ||
11617 | wxPyEndAllowThreads(__tstate); | |
11618 | if (PyErr_Occurred()) SWIG_fail; | |
11619 | } | |
11620 | Py_INCREF(Py_None); resultobj = Py_None; | |
11621 | { | |
11622 | if (temp2) | |
11623 | delete arg2; | |
11624 | } | |
11625 | return resultobj; | |
11626 | fail: | |
11627 | { | |
11628 | if (temp2) | |
11629 | delete arg2; | |
11630 | } | |
11631 | return NULL; | |
11632 | } | |
11633 | ||
11634 | ||
11635 | static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11636 | PyObject *resultobj; | |
11637 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11638 | wxString *arg2 = 0 ; | |
423f194a | 11639 | bool temp2 = False ; |
d14a1e28 RD |
11640 | PyObject * obj0 = 0 ; |
11641 | PyObject * obj1 = 0 ; | |
11642 | char *kwnames[] = { | |
11643 | (char *) "self",(char *) "path", NULL | |
11644 | }; | |
11645 | ||
11646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11649 | { |
11650 | arg2 = wxString_in_helper(obj1); | |
11651 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11652 | temp2 = True; |
d14a1e28 RD |
11653 | } |
11654 | { | |
11655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11656 | (arg1)->SetPath((wxString const &)*arg2); | |
11657 | ||
11658 | wxPyEndAllowThreads(__tstate); | |
11659 | if (PyErr_Occurred()) SWIG_fail; | |
11660 | } | |
11661 | Py_INCREF(Py_None); resultobj = Py_None; | |
11662 | { | |
11663 | if (temp2) | |
11664 | delete arg2; | |
11665 | } | |
11666 | return resultobj; | |
11667 | fail: | |
11668 | { | |
11669 | if (temp2) | |
11670 | delete arg2; | |
11671 | } | |
11672 | return NULL; | |
11673 | } | |
11674 | ||
11675 | ||
11676 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11677 | PyObject *resultobj; | |
11678 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11679 | wxString *arg2 = 0 ; | |
423f194a | 11680 | bool temp2 = False ; |
d14a1e28 RD |
11681 | PyObject * obj0 = 0 ; |
11682 | PyObject * obj1 = 0 ; | |
11683 | char *kwnames[] = { | |
11684 | (char *) "self",(char *) "dir", NULL | |
11685 | }; | |
11686 | ||
11687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11690 | { |
11691 | arg2 = wxString_in_helper(obj1); | |
11692 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11693 | temp2 = True; |
d14a1e28 RD |
11694 | } |
11695 | { | |
11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11697 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11698 | ||
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
11702 | Py_INCREF(Py_None); resultobj = Py_None; | |
11703 | { | |
11704 | if (temp2) | |
11705 | delete arg2; | |
11706 | } | |
11707 | return resultobj; | |
11708 | fail: | |
11709 | { | |
11710 | if (temp2) | |
11711 | delete arg2; | |
11712 | } | |
11713 | return NULL; | |
11714 | } | |
11715 | ||
11716 | ||
11717 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11718 | PyObject *resultobj; | |
11719 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11720 | wxString *arg2 = 0 ; | |
423f194a | 11721 | bool temp2 = False ; |
d14a1e28 RD |
11722 | PyObject * obj0 = 0 ; |
11723 | PyObject * obj1 = 0 ; | |
11724 | char *kwnames[] = { | |
11725 | (char *) "self",(char *) "name", NULL | |
11726 | }; | |
11727 | ||
11728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11731 | { |
11732 | arg2 = wxString_in_helper(obj1); | |
11733 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11734 | temp2 = True; |
d14a1e28 RD |
11735 | } |
11736 | { | |
11737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11738 | (arg1)->SetFilename((wxString const &)*arg2); | |
11739 | ||
11740 | wxPyEndAllowThreads(__tstate); | |
11741 | if (PyErr_Occurred()) SWIG_fail; | |
11742 | } | |
11743 | Py_INCREF(Py_None); resultobj = Py_None; | |
11744 | { | |
11745 | if (temp2) | |
11746 | delete arg2; | |
11747 | } | |
11748 | return resultobj; | |
11749 | fail: | |
11750 | { | |
11751 | if (temp2) | |
11752 | delete arg2; | |
11753 | } | |
11754 | return NULL; | |
11755 | } | |
11756 | ||
11757 | ||
11758 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11759 | PyObject *resultobj; | |
11760 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11761 | wxString *arg2 = 0 ; | |
423f194a | 11762 | bool temp2 = False ; |
d14a1e28 RD |
11763 | PyObject * obj0 = 0 ; |
11764 | PyObject * obj1 = 0 ; | |
11765 | char *kwnames[] = { | |
11766 | (char *) "self",(char *) "wildCard", NULL | |
11767 | }; | |
11768 | ||
11769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11772 | { |
11773 | arg2 = wxString_in_helper(obj1); | |
11774 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11775 | temp2 = True; |
d14a1e28 RD |
11776 | } |
11777 | { | |
11778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11779 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11780 | ||
11781 | wxPyEndAllowThreads(__tstate); | |
11782 | if (PyErr_Occurred()) SWIG_fail; | |
11783 | } | |
11784 | Py_INCREF(Py_None); resultobj = Py_None; | |
11785 | { | |
11786 | if (temp2) | |
11787 | delete arg2; | |
11788 | } | |
11789 | return resultobj; | |
11790 | fail: | |
11791 | { | |
11792 | if (temp2) | |
11793 | delete arg2; | |
11794 | } | |
11795 | return NULL; | |
11796 | } | |
11797 | ||
11798 | ||
11799 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11800 | PyObject *resultobj; | |
11801 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11802 | long arg2 ; | |
11803 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11804 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11805 | char *kwnames[] = { |
11806 | (char *) "self",(char *) "style", NULL | |
11807 | }; | |
11808 | ||
8edf1c75 | 11809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
11810 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11812 | arg2 = (long) SWIG_AsLong(obj1); | |
11813 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11814 | { |
11815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11816 | (arg1)->SetStyle(arg2); | |
11817 | ||
11818 | wxPyEndAllowThreads(__tstate); | |
11819 | if (PyErr_Occurred()) SWIG_fail; | |
11820 | } | |
11821 | Py_INCREF(Py_None); resultobj = Py_None; | |
11822 | return resultobj; | |
11823 | fail: | |
11824 | return NULL; | |
11825 | } | |
11826 | ||
11827 | ||
11828 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11829 | PyObject *resultobj; | |
11830 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11831 | int arg2 ; | |
11832 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11833 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11834 | char *kwnames[] = { |
11835 | (char *) "self",(char *) "filterIndex", NULL | |
11836 | }; | |
11837 | ||
8edf1c75 | 11838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
11839 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11840 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11841 | arg2 = (int) SWIG_AsInt(obj1); | |
11842 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11843 | { |
11844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11845 | (arg1)->SetFilterIndex(arg2); | |
11846 | ||
11847 | wxPyEndAllowThreads(__tstate); | |
11848 | if (PyErr_Occurred()) SWIG_fail; | |
11849 | } | |
11850 | Py_INCREF(Py_None); resultobj = Py_None; | |
11851 | return resultobj; | |
11852 | fail: | |
11853 | return NULL; | |
11854 | } | |
11855 | ||
11856 | ||
11857 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11858 | PyObject *resultobj; | |
11859 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11860 | wxString result; | |
11861 | PyObject * obj0 = 0 ; | |
11862 | char *kwnames[] = { | |
11863 | (char *) "self", NULL | |
11864 | }; | |
11865 | ||
11866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11867 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11868 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11869 | { |
11870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11871 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11872 | ||
11873 | wxPyEndAllowThreads(__tstate); | |
11874 | if (PyErr_Occurred()) SWIG_fail; | |
11875 | } | |
11876 | { | |
11877 | #if wxUSE_UNICODE | |
11878 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11879 | #else | |
11880 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11881 | #endif | |
11882 | } | |
11883 | return resultobj; | |
11884 | fail: | |
11885 | return NULL; | |
11886 | } | |
11887 | ||
11888 | ||
11889 | static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11890 | PyObject *resultobj; | |
11891 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11892 | wxString result; | |
11893 | PyObject * obj0 = 0 ; | |
11894 | char *kwnames[] = { | |
11895 | (char *) "self", NULL | |
11896 | }; | |
11897 | ||
11898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11901 | { |
11902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11903 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11904 | ||
11905 | wxPyEndAllowThreads(__tstate); | |
11906 | if (PyErr_Occurred()) SWIG_fail; | |
11907 | } | |
11908 | { | |
11909 | #if wxUSE_UNICODE | |
11910 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11911 | #else | |
11912 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11913 | #endif | |
11914 | } | |
11915 | return resultobj; | |
11916 | fail: | |
11917 | return NULL; | |
11918 | } | |
11919 | ||
11920 | ||
11921 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11922 | PyObject *resultobj; | |
11923 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11924 | wxString result; | |
11925 | PyObject * obj0 = 0 ; | |
11926 | char *kwnames[] = { | |
11927 | (char *) "self", NULL | |
11928 | }; | |
11929 | ||
11930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11933 | { |
11934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11935 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11936 | ||
11937 | wxPyEndAllowThreads(__tstate); | |
11938 | if (PyErr_Occurred()) SWIG_fail; | |
11939 | } | |
11940 | { | |
11941 | #if wxUSE_UNICODE | |
11942 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11943 | #else | |
11944 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11945 | #endif | |
11946 | } | |
11947 | return resultobj; | |
11948 | fail: | |
11949 | return NULL; | |
11950 | } | |
11951 | ||
11952 | ||
11953 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11954 | PyObject *resultobj; | |
11955 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11956 | wxString result; | |
11957 | PyObject * obj0 = 0 ; | |
11958 | char *kwnames[] = { | |
11959 | (char *) "self", NULL | |
11960 | }; | |
11961 | ||
11962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11965 | { |
11966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11967 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11968 | ||
11969 | wxPyEndAllowThreads(__tstate); | |
11970 | if (PyErr_Occurred()) SWIG_fail; | |
11971 | } | |
11972 | { | |
11973 | #if wxUSE_UNICODE | |
11974 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11975 | #else | |
11976 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11977 | #endif | |
11978 | } | |
11979 | return resultobj; | |
11980 | fail: | |
11981 | return NULL; | |
11982 | } | |
11983 | ||
11984 | ||
11985 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11986 | PyObject *resultobj; | |
11987 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11988 | wxString result; | |
11989 | PyObject * obj0 = 0 ; | |
11990 | char *kwnames[] = { | |
11991 | (char *) "self", NULL | |
11992 | }; | |
11993 | ||
11994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11997 | { |
11998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11999 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12000 | ||
12001 | wxPyEndAllowThreads(__tstate); | |
12002 | if (PyErr_Occurred()) SWIG_fail; | |
12003 | } | |
12004 | { | |
12005 | #if wxUSE_UNICODE | |
12006 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12007 | #else | |
12008 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12009 | #endif | |
12010 | } | |
12011 | return resultobj; | |
12012 | fail: | |
12013 | return NULL; | |
12014 | } | |
12015 | ||
12016 | ||
12017 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12018 | PyObject *resultobj; | |
12019 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12020 | long result; | |
12021 | PyObject * obj0 = 0 ; | |
12022 | char *kwnames[] = { | |
12023 | (char *) "self", NULL | |
12024 | }; | |
12025 | ||
12026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12029 | { |
12030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12031 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12032 | ||
12033 | wxPyEndAllowThreads(__tstate); | |
12034 | if (PyErr_Occurred()) SWIG_fail; | |
12035 | } | |
2f4c0a16 | 12036 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
12037 | return resultobj; |
12038 | fail: | |
12039 | return NULL; | |
12040 | } | |
12041 | ||
12042 | ||
12043 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12044 | PyObject *resultobj; | |
12045 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12046 | int result; | |
12047 | PyObject * obj0 = 0 ; | |
12048 | char *kwnames[] = { | |
12049 | (char *) "self", NULL | |
12050 | }; | |
12051 | ||
12052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12055 | { |
12056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12057 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12058 | ||
12059 | wxPyEndAllowThreads(__tstate); | |
12060 | if (PyErr_Occurred()) SWIG_fail; | |
12061 | } | |
2f4c0a16 | 12062 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12063 | return resultobj; |
12064 | fail: | |
12065 | return NULL; | |
12066 | } | |
12067 | ||
12068 | ||
12069 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12070 | PyObject *resultobj; | |
12071 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12072 | PyObject *result; | |
12073 | PyObject * obj0 = 0 ; | |
12074 | char *kwnames[] = { | |
12075 | (char *) "self", NULL | |
12076 | }; | |
12077 | ||
12078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12081 | { |
12082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12083 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12084 | ||
12085 | wxPyEndAllowThreads(__tstate); | |
12086 | if (PyErr_Occurred()) SWIG_fail; | |
12087 | } | |
12088 | resultobj = result; | |
12089 | return resultobj; | |
12090 | fail: | |
12091 | return NULL; | |
12092 | } | |
12093 | ||
12094 | ||
12095 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12096 | PyObject *resultobj; | |
12097 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12098 | PyObject *result; | |
12099 | PyObject * obj0 = 0 ; | |
12100 | char *kwnames[] = { | |
12101 | (char *) "self", NULL | |
12102 | }; | |
12103 | ||
12104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12107 | { |
12108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12109 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12110 | ||
12111 | wxPyEndAllowThreads(__tstate); | |
12112 | if (PyErr_Occurred()) SWIG_fail; | |
12113 | } | |
12114 | resultobj = result; | |
12115 | return resultobj; | |
12116 | fail: | |
12117 | return NULL; | |
12118 | } | |
12119 | ||
12120 | ||
12121 | static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) { | |
12122 | PyObject *obj; | |
12123 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12124 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12125 | Py_INCREF(obj); | |
12126 | return Py_BuildValue((char *)""); | |
12127 | } | |
12128 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12129 | PyObject *resultobj; | |
12130 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12131 | wxString *arg2 = 0 ; | |
12132 | wxString *arg3 = 0 ; | |
4e760a36 | 12133 | int arg4 = (int) 0 ; |
d14a1e28 RD |
12134 | wxString *arg5 = (wxString *) 0 ; |
12135 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12136 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12137 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12138 | wxMultiChoiceDialog *result; | |
423f194a RD |
12139 | bool temp2 = False ; |
12140 | bool temp3 = False ; | |
4e760a36 | 12141 | wxPoint temp6 ; |
d14a1e28 RD |
12142 | PyObject * obj0 = 0 ; |
12143 | PyObject * obj1 = 0 ; | |
12144 | PyObject * obj2 = 0 ; | |
8edf1c75 | 12145 | PyObject * obj3 = 0 ; |
d14a1e28 | 12146 | PyObject * obj4 = 0 ; |
8edf1c75 | 12147 | PyObject * obj5 = 0 ; |
d14a1e28 | 12148 | char *kwnames[] = { |
4e760a36 | 12149 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12150 | }; |
12151 | ||
4e760a36 | 12152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
12153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12155 | { |
12156 | arg2 = wxString_in_helper(obj1); | |
12157 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12158 | temp2 = True; |
d14a1e28 RD |
12159 | } |
12160 | { | |
12161 | arg3 = wxString_in_helper(obj2); | |
12162 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12163 | temp3 = True; |
d14a1e28 | 12164 | } |
4e760a36 RD |
12165 | if (obj3) { |
12166 | { | |
12167 | arg4 = PyList_Size(obj3); | |
12168 | arg5 = wxString_LIST_helper(obj3); | |
12169 | if (arg5 == NULL) SWIG_fail; | |
12170 | } | |
f775c30d | 12171 | } |
4e760a36 | 12172 | if (obj4) { |
2f4c0a16 RD |
12173 | arg6 = (long) SWIG_AsLong(obj4); |
12174 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12175 | } |
4e760a36 | 12176 | if (obj5) { |
d14a1e28 | 12177 | { |
4e760a36 RD |
12178 | arg7 = &temp6; |
12179 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12180 | } |
12181 | } | |
12182 | { | |
12183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12184 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12185 | ||
12186 | wxPyEndAllowThreads(__tstate); | |
12187 | if (PyErr_Occurred()) SWIG_fail; | |
12188 | } | |
2f4c0a16 | 12189 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
12190 | { |
12191 | if (temp2) | |
12192 | delete arg2; | |
12193 | } | |
12194 | { | |
12195 | if (temp3) | |
12196 | delete arg3; | |
12197 | } | |
f775c30d | 12198 | { |
4e760a36 | 12199 | if (arg5) delete [] arg5; |
f775c30d | 12200 | } |
d14a1e28 RD |
12201 | return resultobj; |
12202 | fail: | |
12203 | { | |
12204 | if (temp2) | |
12205 | delete arg2; | |
12206 | } | |
12207 | { | |
12208 | if (temp3) | |
12209 | delete arg3; | |
12210 | } | |
f775c30d | 12211 | { |
4e760a36 | 12212 | if (arg5) delete [] arg5; |
f775c30d | 12213 | } |
d14a1e28 RD |
12214 | return NULL; |
12215 | } | |
12216 | ||
12217 | ||
12218 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12219 | PyObject *resultobj; | |
12220 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12221 | wxArrayInt *arg2 = 0 ; | |
db914595 | 12222 | bool temp2 = False ; |
d14a1e28 RD |
12223 | PyObject * obj0 = 0 ; |
12224 | PyObject * obj1 = 0 ; | |
12225 | char *kwnames[] = { | |
12226 | (char *) "self",(char *) "selections", NULL | |
12227 | }; | |
12228 | ||
12229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12232 | { |
12233 | if (! PySequence_Check(obj1)) { | |
12234 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
12235 | SWIG_fail; | |
12236 | } | |
12237 | arg2 = new wxArrayInt; | |
db914595 | 12238 | temp2 = True; |
d14a1e28 RD |
12239 | int i, len=PySequence_Length(obj1); |
12240 | for (i=0; i<len; i++) { | |
12241 | PyObject* item = PySequence_GetItem(obj1, i); | |
12242 | PyObject* number = PyNumber_Int(item); | |
12243 | arg2->Add(PyInt_AS_LONG(number)); | |
12244 | Py_DECREF(item); | |
12245 | Py_DECREF(number); | |
12246 | } | |
12247 | } | |
12248 | { | |
12249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12250 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
12251 | ||
12252 | wxPyEndAllowThreads(__tstate); | |
12253 | if (PyErr_Occurred()) SWIG_fail; | |
12254 | } | |
12255 | Py_INCREF(Py_None); resultobj = Py_None; | |
12256 | { | |
db914595 | 12257 | if (temp2) delete arg2; |
d14a1e28 RD |
12258 | } |
12259 | return resultobj; | |
12260 | fail: | |
12261 | { | |
db914595 | 12262 | if (temp2) delete arg2; |
d14a1e28 RD |
12263 | } |
12264 | return NULL; | |
12265 | } | |
12266 | ||
12267 | ||
12268 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12269 | PyObject *resultobj; | |
12270 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
12271 | PyObject *result; | |
12272 | PyObject * obj0 = 0 ; | |
12273 | char *kwnames[] = { | |
12274 | (char *) "self", NULL | |
12275 | }; | |
12276 | ||
12277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
12279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12280 | { |
12281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12282 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
12283 | ||
12284 | wxPyEndAllowThreads(__tstate); | |
12285 | if (PyErr_Occurred()) SWIG_fail; | |
12286 | } | |
12287 | resultobj = result; | |
12288 | return resultobj; | |
12289 | fail: | |
12290 | return NULL; | |
12291 | } | |
12292 | ||
12293 | ||
12294 | static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) { | |
12295 | PyObject *obj; | |
12296 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12297 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
12298 | Py_INCREF(obj); | |
12299 | return Py_BuildValue((char *)""); | |
12300 | } | |
12301 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12302 | PyObject *resultobj; | |
12303 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12304 | wxString *arg2 = 0 ; | |
12305 | wxString *arg3 = 0 ; | |
12306 | int arg4 ; | |
12307 | wxString *arg5 = (wxString *) 0 ; | |
12308 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
12309 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12310 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12311 | wxSingleChoiceDialog *result; | |
423f194a RD |
12312 | bool temp2 = False ; |
12313 | bool temp3 = False ; | |
d14a1e28 RD |
12314 | wxPoint temp6 ; |
12315 | PyObject * obj0 = 0 ; | |
12316 | PyObject * obj1 = 0 ; | |
12317 | PyObject * obj2 = 0 ; | |
12318 | PyObject * obj3 = 0 ; | |
8edf1c75 | 12319 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12320 | PyObject * obj5 = 0 ; |
12321 | char *kwnames[] = { | |
12322 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
12323 | }; | |
12324 | ||
8edf1c75 | 12325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
12326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12328 | { |
12329 | arg2 = wxString_in_helper(obj1); | |
12330 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12331 | temp2 = True; |
d14a1e28 RD |
12332 | } |
12333 | { | |
12334 | arg3 = wxString_in_helper(obj2); | |
12335 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12336 | temp3 = True; |
d14a1e28 RD |
12337 | } |
12338 | { | |
12339 | arg4 = PyList_Size(obj3); | |
12340 | arg5 = wxString_LIST_helper(obj3); | |
12341 | if (arg5 == NULL) SWIG_fail; | |
12342 | } | |
8edf1c75 | 12343 | if (obj4) { |
2f4c0a16 RD |
12344 | arg6 = (long) SWIG_AsLong(obj4); |
12345 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12346 | } |
d14a1e28 RD |
12347 | if (obj5) { |
12348 | { | |
12349 | arg7 = &temp6; | |
12350 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
12351 | } | |
12352 | } | |
12353 | { | |
12354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12355 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12356 | ||
12357 | wxPyEndAllowThreads(__tstate); | |
12358 | if (PyErr_Occurred()) SWIG_fail; | |
12359 | } | |
2f4c0a16 | 12360 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
12361 | { |
12362 | if (temp2) | |
12363 | delete arg2; | |
12364 | } | |
12365 | { | |
12366 | if (temp3) | |
12367 | delete arg3; | |
12368 | } | |
12369 | { | |
12370 | if (arg5) delete [] arg5; | |
12371 | } | |
12372 | return resultobj; | |
12373 | fail: | |
12374 | { | |
12375 | if (temp2) | |
12376 | delete arg2; | |
12377 | } | |
12378 | { | |
12379 | if (temp3) | |
12380 | delete arg3; | |
12381 | } | |
12382 | { | |
12383 | if (arg5) delete [] arg5; | |
12384 | } | |
12385 | return NULL; | |
12386 | } | |
12387 | ||
12388 | ||
12389 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12390 | PyObject *resultobj; | |
12391 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12392 | int result; | |
12393 | PyObject * obj0 = 0 ; | |
12394 | char *kwnames[] = { | |
12395 | (char *) "self", NULL | |
12396 | }; | |
12397 | ||
12398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12399 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12400 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12401 | { |
12402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12403 | result = (int)(arg1)->GetSelection(); | |
12404 | ||
12405 | wxPyEndAllowThreads(__tstate); | |
12406 | if (PyErr_Occurred()) SWIG_fail; | |
12407 | } | |
2f4c0a16 | 12408 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
12409 | return resultobj; |
12410 | fail: | |
12411 | return NULL; | |
12412 | } | |
12413 | ||
12414 | ||
12415 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12416 | PyObject *resultobj; | |
12417 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12418 | wxString result; | |
12419 | PyObject * obj0 = 0 ; | |
12420 | char *kwnames[] = { | |
12421 | (char *) "self", NULL | |
12422 | }; | |
12423 | ||
12424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12427 | { |
12428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12429 | result = (arg1)->GetStringSelection(); | |
12430 | ||
12431 | wxPyEndAllowThreads(__tstate); | |
12432 | if (PyErr_Occurred()) SWIG_fail; | |
12433 | } | |
12434 | { | |
12435 | #if wxUSE_UNICODE | |
12436 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12437 | #else | |
12438 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12439 | #endif | |
12440 | } | |
12441 | return resultobj; | |
12442 | fail: | |
12443 | return NULL; | |
12444 | } | |
12445 | ||
12446 | ||
12447 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12448 | PyObject *resultobj; | |
12449 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12450 | int arg2 ; | |
12451 | PyObject * obj0 = 0 ; | |
8edf1c75 | 12452 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12453 | char *kwnames[] = { |
12454 | (char *) "self",(char *) "sel", NULL | |
12455 | }; | |
12456 | ||
8edf1c75 | 12457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
12458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12460 | arg2 = (int) SWIG_AsInt(obj1); | |
12461 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12462 | { |
12463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12464 | (arg1)->SetSelection(arg2); | |
12465 | ||
12466 | wxPyEndAllowThreads(__tstate); | |
12467 | if (PyErr_Occurred()) SWIG_fail; | |
12468 | } | |
12469 | Py_INCREF(Py_None); resultobj = Py_None; | |
12470 | return resultobj; | |
12471 | fail: | |
12472 | return NULL; | |
12473 | } | |
12474 | ||
12475 | ||
d14a1e28 RD |
12476 | static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) { |
12477 | PyObject *obj; | |
12478 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12479 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12480 | Py_INCREF(obj); | |
12481 | return Py_BuildValue((char *)""); | |
12482 | } | |
12483 | static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12484 | PyObject *resultobj; | |
12485 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12486 | wxString *arg2 = 0 ; | |
12487 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12488 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12489 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12490 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12491 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12492 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12493 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12494 | wxTextEntryDialog *result; | |
423f194a RD |
12495 | bool temp2 = False ; |
12496 | bool temp3 = False ; | |
12497 | bool temp4 = False ; | |
d14a1e28 RD |
12498 | wxPoint temp6 ; |
12499 | PyObject * obj0 = 0 ; | |
12500 | PyObject * obj1 = 0 ; | |
12501 | PyObject * obj2 = 0 ; | |
12502 | PyObject * obj3 = 0 ; | |
8edf1c75 | 12503 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12504 | PyObject * obj5 = 0 ; |
12505 | char *kwnames[] = { | |
12506 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12507 | }; | |
12508 | ||
8edf1c75 | 12509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
12510 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12512 | { |
12513 | arg2 = wxString_in_helper(obj1); | |
12514 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12515 | temp2 = True; |
d14a1e28 RD |
12516 | } |
12517 | if (obj2) { | |
12518 | { | |
12519 | arg3 = wxString_in_helper(obj2); | |
12520 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12521 | temp3 = True; |
d14a1e28 RD |
12522 | } |
12523 | } | |
12524 | if (obj3) { | |
12525 | { | |
12526 | arg4 = wxString_in_helper(obj3); | |
12527 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 12528 | temp4 = True; |
d14a1e28 RD |
12529 | } |
12530 | } | |
8edf1c75 | 12531 | if (obj4) { |
2f4c0a16 RD |
12532 | arg5 = (long) SWIG_AsLong(obj4); |
12533 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12534 | } |
d14a1e28 RD |
12535 | if (obj5) { |
12536 | { | |
12537 | arg6 = &temp6; | |
12538 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12539 | } | |
12540 | } | |
12541 | { | |
12542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12543 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12544 | ||
12545 | wxPyEndAllowThreads(__tstate); | |
12546 | if (PyErr_Occurred()) SWIG_fail; | |
12547 | } | |
2f4c0a16 | 12548 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12549 | { |
12550 | if (temp2) | |
12551 | delete arg2; | |
12552 | } | |
12553 | { | |
12554 | if (temp3) | |
12555 | delete arg3; | |
12556 | } | |
12557 | { | |
12558 | if (temp4) | |
12559 | delete arg4; | |
12560 | } | |
12561 | return resultobj; | |
12562 | fail: | |
12563 | { | |
12564 | if (temp2) | |
12565 | delete arg2; | |
12566 | } | |
12567 | { | |
12568 | if (temp3) | |
12569 | delete arg3; | |
12570 | } | |
12571 | { | |
12572 | if (temp4) | |
12573 | delete arg4; | |
12574 | } | |
12575 | return NULL; | |
12576 | } | |
12577 | ||
12578 | ||
12579 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12580 | PyObject *resultobj; | |
12581 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12582 | wxString result; | |
12583 | PyObject * obj0 = 0 ; | |
12584 | char *kwnames[] = { | |
12585 | (char *) "self", NULL | |
12586 | }; | |
12587 | ||
12588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12591 | { |
12592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12593 | result = (arg1)->GetValue(); | |
12594 | ||
12595 | wxPyEndAllowThreads(__tstate); | |
12596 | if (PyErr_Occurred()) SWIG_fail; | |
12597 | } | |
12598 | { | |
12599 | #if wxUSE_UNICODE | |
12600 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12601 | #else | |
12602 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12603 | #endif | |
12604 | } | |
12605 | return resultobj; | |
12606 | fail: | |
12607 | return NULL; | |
12608 | } | |
12609 | ||
12610 | ||
12611 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12612 | PyObject *resultobj; | |
12613 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12614 | wxString *arg2 = 0 ; | |
423f194a | 12615 | bool temp2 = False ; |
d14a1e28 RD |
12616 | PyObject * obj0 = 0 ; |
12617 | PyObject * obj1 = 0 ; | |
12618 | char *kwnames[] = { | |
12619 | (char *) "self",(char *) "value", NULL | |
12620 | }; | |
12621 | ||
12622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12625 | { |
12626 | arg2 = wxString_in_helper(obj1); | |
12627 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12628 | temp2 = True; |
d14a1e28 RD |
12629 | } |
12630 | { | |
12631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12632 | (arg1)->SetValue((wxString const &)*arg2); | |
12633 | ||
12634 | wxPyEndAllowThreads(__tstate); | |
12635 | if (PyErr_Occurred()) SWIG_fail; | |
12636 | } | |
12637 | Py_INCREF(Py_None); resultobj = Py_None; | |
12638 | { | |
12639 | if (temp2) | |
12640 | delete arg2; | |
12641 | } | |
12642 | return resultobj; | |
12643 | fail: | |
12644 | { | |
12645 | if (temp2) | |
12646 | delete arg2; | |
12647 | } | |
12648 | return NULL; | |
12649 | } | |
12650 | ||
12651 | ||
d14a1e28 RD |
12652 | static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) { |
12653 | PyObject *obj; | |
12654 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12655 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12656 | Py_INCREF(obj); | |
12657 | return Py_BuildValue((char *)""); | |
12658 | } | |
12659 | static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12660 | PyObject *resultobj; | |
12661 | wxFontData *result; | |
12662 | char *kwnames[] = { | |
12663 | NULL | |
12664 | }; | |
12665 | ||
12666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12667 | { | |
12668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12669 | result = (wxFontData *)new wxFontData(); | |
12670 | ||
12671 | wxPyEndAllowThreads(__tstate); | |
12672 | if (PyErr_Occurred()) SWIG_fail; | |
12673 | } | |
2f4c0a16 | 12674 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12675 | return resultobj; |
12676 | fail: | |
12677 | return NULL; | |
12678 | } | |
12679 | ||
12680 | ||
12681 | static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12682 | PyObject *resultobj; | |
12683 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12684 | PyObject * obj0 = 0 ; | |
12685 | char *kwnames[] = { | |
12686 | (char *) "self", NULL | |
12687 | }; | |
12688 | ||
12689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12692 | { |
12693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12694 | delete arg1; | |
12695 | ||
12696 | wxPyEndAllowThreads(__tstate); | |
12697 | if (PyErr_Occurred()) SWIG_fail; | |
12698 | } | |
12699 | Py_INCREF(Py_None); resultobj = Py_None; | |
12700 | return resultobj; | |
12701 | fail: | |
12702 | return NULL; | |
12703 | } | |
12704 | ||
12705 | ||
12706 | static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12707 | PyObject *resultobj; | |
12708 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12709 | bool arg2 ; | |
12710 | PyObject * obj0 = 0 ; | |
12711 | PyObject * obj1 = 0 ; | |
12712 | char *kwnames[] = { | |
12713 | (char *) "self",(char *) "enable", NULL | |
12714 | }; | |
12715 | ||
12716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12719 | arg2 = (bool) SWIG_AsBool(obj1); | |
12720 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12721 | { |
12722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12723 | (arg1)->EnableEffects(arg2); | |
12724 | ||
12725 | wxPyEndAllowThreads(__tstate); | |
12726 | if (PyErr_Occurred()) SWIG_fail; | |
12727 | } | |
12728 | Py_INCREF(Py_None); resultobj = Py_None; | |
12729 | return resultobj; | |
12730 | fail: | |
12731 | return NULL; | |
12732 | } | |
12733 | ||
12734 | ||
12735 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12736 | PyObject *resultobj; | |
12737 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12738 | bool result; | |
12739 | PyObject * obj0 = 0 ; | |
12740 | char *kwnames[] = { | |
12741 | (char *) "self", NULL | |
12742 | }; | |
12743 | ||
12744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12745 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12746 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12747 | { |
12748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12749 | result = (bool)(arg1)->GetAllowSymbols(); | |
12750 | ||
12751 | wxPyEndAllowThreads(__tstate); | |
12752 | if (PyErr_Occurred()) SWIG_fail; | |
12753 | } | |
4f89f6a3 RD |
12754 | { |
12755 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12756 | } | |
d14a1e28 RD |
12757 | return resultobj; |
12758 | fail: | |
12759 | return NULL; | |
12760 | } | |
12761 | ||
12762 | ||
12763 | static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12764 | PyObject *resultobj; | |
12765 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12766 | wxColour result; | |
12767 | PyObject * obj0 = 0 ; | |
12768 | char *kwnames[] = { | |
12769 | (char *) "self", NULL | |
12770 | }; | |
12771 | ||
12772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12775 | { |
12776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12777 | result = (arg1)->GetColour(); | |
12778 | ||
12779 | wxPyEndAllowThreads(__tstate); | |
12780 | if (PyErr_Occurred()) SWIG_fail; | |
12781 | } | |
12782 | { | |
12783 | wxColour * resultptr; | |
12784 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 12785 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12786 | } |
12787 | return resultobj; | |
12788 | fail: | |
12789 | return NULL; | |
12790 | } | |
12791 | ||
12792 | ||
12793 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12794 | PyObject *resultobj; | |
12795 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12796 | wxFont result; | |
12797 | PyObject * obj0 = 0 ; | |
12798 | char *kwnames[] = { | |
12799 | (char *) "self", NULL | |
12800 | }; | |
12801 | ||
12802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12803 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12804 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12805 | { |
12806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12807 | result = (arg1)->GetChosenFont(); | |
12808 | ||
12809 | wxPyEndAllowThreads(__tstate); | |
12810 | if (PyErr_Occurred()) SWIG_fail; | |
12811 | } | |
12812 | { | |
12813 | wxFont * resultptr; | |
12814 | resultptr = new wxFont((wxFont &) result); | |
2f4c0a16 | 12815 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12816 | } |
12817 | return resultobj; | |
12818 | fail: | |
12819 | return NULL; | |
12820 | } | |
12821 | ||
12822 | ||
12823 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12824 | PyObject *resultobj; | |
12825 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12826 | bool result; | |
12827 | PyObject * obj0 = 0 ; | |
12828 | char *kwnames[] = { | |
12829 | (char *) "self", NULL | |
12830 | }; | |
12831 | ||
12832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12835 | { |
12836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12837 | result = (bool)(arg1)->GetEnableEffects(); | |
12838 | ||
12839 | wxPyEndAllowThreads(__tstate); | |
12840 | if (PyErr_Occurred()) SWIG_fail; | |
12841 | } | |
4f89f6a3 RD |
12842 | { |
12843 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12844 | } | |
d14a1e28 RD |
12845 | return resultobj; |
12846 | fail: | |
12847 | return NULL; | |
12848 | } | |
12849 | ||
12850 | ||
12851 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12852 | PyObject *resultobj; | |
12853 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12854 | wxFont result; | |
12855 | PyObject * obj0 = 0 ; | |
12856 | char *kwnames[] = { | |
12857 | (char *) "self", NULL | |
12858 | }; | |
12859 | ||
12860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12861 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12862 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12863 | { |
12864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12865 | result = (arg1)->GetInitialFont(); | |
12866 | ||
12867 | wxPyEndAllowThreads(__tstate); | |
12868 | if (PyErr_Occurred()) SWIG_fail; | |
12869 | } | |
12870 | { | |
12871 | wxFont * resultptr; | |
12872 | resultptr = new wxFont((wxFont &) result); | |
2f4c0a16 | 12873 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12874 | } |
12875 | return resultobj; | |
12876 | fail: | |
12877 | return NULL; | |
12878 | } | |
12879 | ||
12880 | ||
12881 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12882 | PyObject *resultobj; | |
12883 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12884 | bool result; | |
12885 | PyObject * obj0 = 0 ; | |
12886 | char *kwnames[] = { | |
12887 | (char *) "self", NULL | |
12888 | }; | |
12889 | ||
12890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12893 | { |
12894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12895 | result = (bool)(arg1)->GetShowHelp(); | |
12896 | ||
12897 | wxPyEndAllowThreads(__tstate); | |
12898 | if (PyErr_Occurred()) SWIG_fail; | |
12899 | } | |
4f89f6a3 RD |
12900 | { |
12901 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
12902 | } | |
d14a1e28 RD |
12903 | return resultobj; |
12904 | fail: | |
12905 | return NULL; | |
12906 | } | |
12907 | ||
12908 | ||
12909 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12910 | PyObject *resultobj; | |
12911 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12912 | bool arg2 ; | |
12913 | PyObject * obj0 = 0 ; | |
12914 | PyObject * obj1 = 0 ; | |
12915 | char *kwnames[] = { | |
12916 | (char *) "self",(char *) "allowSymbols", NULL | |
12917 | }; | |
12918 | ||
12919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12922 | arg2 = (bool) SWIG_AsBool(obj1); | |
12923 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12924 | { |
12925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12926 | (arg1)->SetAllowSymbols(arg2); | |
12927 | ||
12928 | wxPyEndAllowThreads(__tstate); | |
12929 | if (PyErr_Occurred()) SWIG_fail; | |
12930 | } | |
12931 | Py_INCREF(Py_None); resultobj = Py_None; | |
12932 | return resultobj; | |
12933 | fail: | |
12934 | return NULL; | |
12935 | } | |
12936 | ||
12937 | ||
12938 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12939 | PyObject *resultobj; | |
12940 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12941 | wxFont *arg2 = 0 ; | |
12942 | PyObject * obj0 = 0 ; | |
12943 | PyObject * obj1 = 0 ; | |
12944 | char *kwnames[] = { | |
12945 | (char *) "self",(char *) "font", NULL | |
12946 | }; | |
12947 | ||
12948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12951 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12952 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12953 | SWIG_fail; | |
d14a1e28 | 12954 | if (arg2 == NULL) { |
2f4c0a16 RD |
12955 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12956 | SWIG_fail; | |
d14a1e28 RD |
12957 | } |
12958 | { | |
12959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12960 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12961 | ||
12962 | wxPyEndAllowThreads(__tstate); | |
12963 | if (PyErr_Occurred()) SWIG_fail; | |
12964 | } | |
12965 | Py_INCREF(Py_None); resultobj = Py_None; | |
12966 | return resultobj; | |
12967 | fail: | |
12968 | return NULL; | |
12969 | } | |
12970 | ||
12971 | ||
12972 | static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12973 | PyObject *resultobj; | |
12974 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12975 | wxColour *arg2 = 0 ; | |
12976 | wxColour temp2 ; | |
12977 | PyObject * obj0 = 0 ; | |
12978 | PyObject * obj1 = 0 ; | |
12979 | char *kwnames[] = { | |
12980 | (char *) "self",(char *) "colour", NULL | |
12981 | }; | |
12982 | ||
12983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12986 | { |
12987 | arg2 = &temp2; | |
12988 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12989 | } | |
12990 | { | |
12991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12992 | (arg1)->SetColour((wxColour const &)*arg2); | |
12993 | ||
12994 | wxPyEndAllowThreads(__tstate); | |
12995 | if (PyErr_Occurred()) SWIG_fail; | |
12996 | } | |
12997 | Py_INCREF(Py_None); resultobj = Py_None; | |
12998 | return resultobj; | |
12999 | fail: | |
13000 | return NULL; | |
13001 | } | |
13002 | ||
13003 | ||
13004 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13005 | PyObject *resultobj; | |
13006 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13007 | wxFont *arg2 = 0 ; | |
13008 | PyObject * obj0 = 0 ; | |
13009 | PyObject * obj1 = 0 ; | |
13010 | char *kwnames[] = { | |
13011 | (char *) "self",(char *) "font", NULL | |
13012 | }; | |
13013 | ||
13014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13017 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13018 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13019 | SWIG_fail; | |
d14a1e28 | 13020 | if (arg2 == NULL) { |
2f4c0a16 RD |
13021 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13022 | SWIG_fail; | |
d14a1e28 RD |
13023 | } |
13024 | { | |
13025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13026 | (arg1)->SetInitialFont((wxFont const &)*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 *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13039 | PyObject *resultobj; | |
13040 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13041 | int arg2 ; | |
13042 | int arg3 ; | |
13043 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
13044 | PyObject * obj1 = 0 ; |
13045 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13046 | char *kwnames[] = { |
13047 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13048 | }; | |
13049 | ||
8edf1c75 | 13050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
13051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13053 | arg2 = (int) SWIG_AsInt(obj1); | |
13054 | if (PyErr_Occurred()) SWIG_fail; | |
13055 | arg3 = (int) SWIG_AsInt(obj2); | |
13056 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13057 | { |
13058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13059 | (arg1)->SetRange(arg2,arg3); | |
13060 | ||
13061 | wxPyEndAllowThreads(__tstate); | |
13062 | if (PyErr_Occurred()) SWIG_fail; | |
13063 | } | |
13064 | Py_INCREF(Py_None); resultobj = Py_None; | |
13065 | return resultobj; | |
13066 | fail: | |
13067 | return NULL; | |
13068 | } | |
13069 | ||
13070 | ||
13071 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13072 | PyObject *resultobj; | |
13073 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13074 | bool arg2 ; | |
13075 | PyObject * obj0 = 0 ; | |
13076 | PyObject * obj1 = 0 ; | |
13077 | char *kwnames[] = { | |
13078 | (char *) "self",(char *) "showHelp", NULL | |
13079 | }; | |
13080 | ||
13081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13084 | arg2 = (bool) SWIG_AsBool(obj1); | |
13085 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13086 | { |
13087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13088 | (arg1)->SetShowHelp(arg2); | |
13089 | ||
13090 | wxPyEndAllowThreads(__tstate); | |
13091 | if (PyErr_Occurred()) SWIG_fail; | |
13092 | } | |
13093 | Py_INCREF(Py_None); resultobj = Py_None; | |
13094 | return resultobj; | |
13095 | fail: | |
13096 | return NULL; | |
13097 | } | |
13098 | ||
13099 | ||
13100 | static PyObject * FontData_swigregister(PyObject *self, PyObject *args) { | |
13101 | PyObject *obj; | |
13102 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13103 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
13104 | Py_INCREF(obj); | |
13105 | return Py_BuildValue((char *)""); | |
13106 | } | |
2f4c0a16 | 13107 | static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 13108 | PyObject *resultobj; |
328fcd84 RD |
13109 | wxWindow *arg1 = (wxWindow *) 0 ; |
13110 | wxFontData *arg2 = 0 ; | |
13111 | wxFontDialog *result; | |
d14a1e28 | 13112 | PyObject * obj0 = 0 ; |
328fcd84 | 13113 | PyObject * obj1 = 0 ; |
2f4c0a16 RD |
13114 | char *kwnames[] = { |
13115 | (char *) "parent",(char *) "data", NULL | |
13116 | }; | |
d14a1e28 | 13117 | |
2f4c0a16 RD |
13118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
13119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13121 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
13122 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13123 | SWIG_fail; | |
328fcd84 | 13124 | if (arg2 == NULL) { |
2f4c0a16 RD |
13125 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13126 | SWIG_fail; | |
328fcd84 | 13127 | } |
d14a1e28 RD |
13128 | { |
13129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
328fcd84 | 13130 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
13131 | |
13132 | wxPyEndAllowThreads(__tstate); | |
13133 | if (PyErr_Occurred()) SWIG_fail; | |
13134 | } | |
2f4c0a16 | 13135 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
13136 | return resultobj; |
13137 | fail: | |
13138 | return NULL; | |
13139 | } | |
13140 | ||
13141 | ||
328fcd84 | 13142 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13143 | PyObject *resultobj; |
13144 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
328fcd84 | 13145 | wxFontData *result; |
d14a1e28 RD |
13146 | PyObject * obj0 = 0 ; |
13147 | char *kwnames[] = { | |
13148 | (char *) "self", NULL | |
13149 | }; | |
13150 | ||
328fcd84 | 13151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
2f4c0a16 RD |
13152 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
13153 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13154 | { |
13155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
328fcd84 RD |
13156 | { |
13157 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
13158 | result = (wxFontData *) &_result_ref; | |
13159 | } | |
d14a1e28 RD |
13160 | |
13161 | wxPyEndAllowThreads(__tstate); | |
13162 | if (PyErr_Occurred()) SWIG_fail; | |
13163 | } | |
2f4c0a16 | 13164 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
13165 | return resultobj; |
13166 | fail: | |
13167 | return NULL; | |
13168 | } | |
13169 | ||
13170 | ||
13171 | static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) { | |
13172 | PyObject *obj; | |
13173 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13174 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
13175 | Py_INCREF(obj); | |
13176 | return Py_BuildValue((char *)""); | |
13177 | } | |
13178 | static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13179 | PyObject *resultobj; | |
13180 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13181 | wxString *arg2 = 0 ; | |
13182 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
13183 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13184 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
13185 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13186 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13187 | wxMessageDialog *result; | |
423f194a RD |
13188 | bool temp2 = False ; |
13189 | bool temp3 = False ; | |
d14a1e28 RD |
13190 | wxPoint temp5 ; |
13191 | PyObject * obj0 = 0 ; | |
13192 | PyObject * obj1 = 0 ; | |
13193 | PyObject * obj2 = 0 ; | |
8edf1c75 | 13194 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13195 | PyObject * obj4 = 0 ; |
13196 | char *kwnames[] = { | |
13197 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
13198 | }; | |
13199 | ||
8edf1c75 | 13200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
13201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13203 | { |
13204 | arg2 = wxString_in_helper(obj1); | |
13205 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13206 | temp2 = True; |
d14a1e28 RD |
13207 | } |
13208 | if (obj2) { | |
13209 | { | |
13210 | arg3 = wxString_in_helper(obj2); | |
13211 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13212 | temp3 = True; |
d14a1e28 RD |
13213 | } |
13214 | } | |
8edf1c75 | 13215 | if (obj3) { |
2f4c0a16 RD |
13216 | arg4 = (long) SWIG_AsLong(obj3); |
13217 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13218 | } |
d14a1e28 RD |
13219 | if (obj4) { |
13220 | { | |
13221 | arg5 = &temp5; | |
13222 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13223 | } | |
13224 | } | |
13225 | { | |
13226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13227 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
13228 | ||
13229 | wxPyEndAllowThreads(__tstate); | |
13230 | if (PyErr_Occurred()) SWIG_fail; | |
13231 | } | |
2f4c0a16 | 13232 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
13233 | { |
13234 | if (temp2) | |
13235 | delete arg2; | |
13236 | } | |
13237 | { | |
13238 | if (temp3) | |
13239 | delete arg3; | |
13240 | } | |
13241 | return resultobj; | |
13242 | fail: | |
13243 | { | |
13244 | if (temp2) | |
13245 | delete arg2; | |
13246 | } | |
13247 | { | |
13248 | if (temp3) | |
13249 | delete arg3; | |
13250 | } | |
13251 | return NULL; | |
13252 | } | |
13253 | ||
13254 | ||
d14a1e28 RD |
13255 | static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) { |
13256 | PyObject *obj; | |
13257 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13258 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
13259 | Py_INCREF(obj); | |
13260 | return Py_BuildValue((char *)""); | |
13261 | } | |
13262 | static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13263 | PyObject *resultobj; | |
13264 | wxString *arg1 = 0 ; | |
13265 | wxString *arg2 = 0 ; | |
13266 | int arg3 = (int) 100 ; | |
13267 | wxWindow *arg4 = (wxWindow *) NULL ; | |
13268 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
13269 | wxProgressDialog *result; | |
423f194a RD |
13270 | bool temp1 = False ; |
13271 | bool temp2 = False ; | |
d14a1e28 RD |
13272 | PyObject * obj0 = 0 ; |
13273 | PyObject * obj1 = 0 ; | |
8edf1c75 | 13274 | PyObject * obj2 = 0 ; |
d14a1e28 | 13275 | PyObject * obj3 = 0 ; |
8edf1c75 | 13276 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13277 | char *kwnames[] = { |
13278 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
13279 | }; | |
13280 | ||
8edf1c75 | 13281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
13282 | { |
13283 | arg1 = wxString_in_helper(obj0); | |
13284 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 13285 | temp1 = True; |
d14a1e28 RD |
13286 | } |
13287 | { | |
13288 | arg2 = wxString_in_helper(obj1); | |
13289 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13290 | temp2 = True; |
d14a1e28 | 13291 | } |
8edf1c75 | 13292 | if (obj2) { |
2f4c0a16 RD |
13293 | arg3 = (int) SWIG_AsInt(obj2); |
13294 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13295 | } |
d14a1e28 | 13296 | if (obj3) { |
2f4c0a16 RD |
13297 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
13298 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 13299 | } |
8edf1c75 | 13300 | if (obj4) { |
2f4c0a16 RD |
13301 | arg5 = (int) SWIG_AsInt(obj4); |
13302 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13303 | } |
d14a1e28 RD |
13304 | { |
13305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13306 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
13307 | ||
13308 | wxPyEndAllowThreads(__tstate); | |
13309 | if (PyErr_Occurred()) SWIG_fail; | |
13310 | } | |
2f4c0a16 | 13311 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
13312 | { |
13313 | if (temp1) | |
13314 | delete arg1; | |
13315 | } | |
13316 | { | |
13317 | if (temp2) | |
13318 | delete arg2; | |
13319 | } | |
13320 | return resultobj; | |
13321 | fail: | |
13322 | { | |
13323 | if (temp1) | |
13324 | delete arg1; | |
13325 | } | |
13326 | { | |
13327 | if (temp2) | |
13328 | delete arg2; | |
13329 | } | |
13330 | return NULL; | |
13331 | } | |
13332 | ||
13333 | ||
13334 | static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13335 | PyObject *resultobj; | |
13336 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13337 | int arg2 ; | |
13338 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
13339 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13340 | bool result; | |
423f194a | 13341 | bool temp3 = False ; |
d14a1e28 | 13342 | PyObject * obj0 = 0 ; |
8edf1c75 | 13343 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13344 | PyObject * obj2 = 0 ; |
13345 | char *kwnames[] = { | |
13346 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
13347 | }; | |
13348 | ||
8edf1c75 | 13349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
13350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13352 | arg2 = (int) SWIG_AsInt(obj1); | |
13353 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13354 | if (obj2) { |
13355 | { | |
13356 | arg3 = wxString_in_helper(obj2); | |
13357 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13358 | temp3 = True; |
d14a1e28 RD |
13359 | } |
13360 | } | |
13361 | { | |
13362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13363 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
13364 | ||
13365 | wxPyEndAllowThreads(__tstate); | |
13366 | if (PyErr_Occurred()) SWIG_fail; | |
13367 | } | |
4f89f6a3 RD |
13368 | { |
13369 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13370 | } | |
d14a1e28 RD |
13371 | { |
13372 | if (temp3) | |
13373 | delete arg3; | |
13374 | } | |
13375 | return resultobj; | |
13376 | fail: | |
13377 | { | |
13378 | if (temp3) | |
13379 | delete arg3; | |
13380 | } | |
13381 | return NULL; | |
13382 | } | |
13383 | ||
13384 | ||
13385 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13386 | PyObject *resultobj; | |
13387 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
13388 | PyObject * obj0 = 0 ; | |
13389 | char *kwnames[] = { | |
13390 | (char *) "self", NULL | |
13391 | }; | |
13392 | ||
13393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13394 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
13395 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13396 | { |
13397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13398 | (arg1)->Resume(); | |
13399 | ||
13400 | wxPyEndAllowThreads(__tstate); | |
13401 | if (PyErr_Occurred()) SWIG_fail; | |
13402 | } | |
13403 | Py_INCREF(Py_None); resultobj = Py_None; | |
13404 | return resultobj; | |
13405 | fail: | |
13406 | return NULL; | |
13407 | } | |
13408 | ||
13409 | ||
13410 | static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) { | |
13411 | PyObject *obj; | |
13412 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13413 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
13414 | Py_INCREF(obj); | |
13415 | return Py_BuildValue((char *)""); | |
13416 | } | |
13417 | static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13418 | PyObject *resultobj; | |
13419 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
13420 | int arg2 = (int) 0 ; | |
13421 | wxFindDialogEvent *result; | |
8edf1c75 RD |
13422 | PyObject * obj0 = 0 ; |
13423 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
13424 | char *kwnames[] = { |
13425 | (char *) "commandType",(char *) "id", NULL | |
13426 | }; | |
13427 | ||
8edf1c75 RD |
13428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
13429 | if (obj0) { | |
2f4c0a16 RD |
13430 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
13431 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
13432 | } |
13433 | if (obj1) { | |
2f4c0a16 RD |
13434 | arg2 = (int) SWIG_AsInt(obj1); |
13435 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13436 | } |
d14a1e28 RD |
13437 | { |
13438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13439 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13440 | ||
13441 | wxPyEndAllowThreads(__tstate); | |
13442 | if (PyErr_Occurred()) SWIG_fail; | |
13443 | } | |
2f4c0a16 | 13444 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13445 | return resultobj; |
13446 | fail: | |
13447 | return NULL; | |
13448 | } | |
13449 | ||
13450 | ||
13451 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13452 | PyObject *resultobj; | |
13453 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13454 | int result; | |
13455 | PyObject * obj0 = 0 ; | |
13456 | char *kwnames[] = { | |
13457 | (char *) "self", NULL | |
13458 | }; | |
13459 | ||
13460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13463 | { |
13464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13465 | result = (int)(arg1)->GetFlags(); | |
13466 | ||
13467 | wxPyEndAllowThreads(__tstate); | |
13468 | if (PyErr_Occurred()) SWIG_fail; | |
13469 | } | |
2f4c0a16 | 13470 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13471 | return resultobj; |
13472 | fail: | |
13473 | return NULL; | |
13474 | } | |
13475 | ||
13476 | ||
13477 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13478 | PyObject *resultobj; | |
13479 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
f0983263 | 13480 | wxString *result; |
d14a1e28 RD |
13481 | PyObject * obj0 = 0 ; |
13482 | char *kwnames[] = { | |
13483 | (char *) "self", NULL | |
13484 | }; | |
13485 | ||
13486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13489 | { |
13490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
f0983263 RD |
13491 | { |
13492 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13493 | result = (wxString *) &_result_ref; | |
13494 | } | |
d14a1e28 RD |
13495 | |
13496 | wxPyEndAllowThreads(__tstate); | |
13497 | if (PyErr_Occurred()) SWIG_fail; | |
13498 | } | |
13499 | { | |
13500 | #if wxUSE_UNICODE | |
f0983263 | 13501 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13502 | #else |
f0983263 | 13503 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13504 | #endif |
13505 | } | |
13506 | return resultobj; | |
13507 | fail: | |
13508 | return NULL; | |
13509 | } | |
13510 | ||
13511 | ||
13512 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13513 | PyObject *resultobj; | |
13514 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13515 | wxString *result; | |
13516 | PyObject * obj0 = 0 ; | |
13517 | char *kwnames[] = { | |
13518 | (char *) "self", NULL | |
13519 | }; | |
13520 | ||
13521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13524 | { |
13525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13526 | { | |
13527 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13528 | result = (wxString *) &_result_ref; | |
13529 | } | |
13530 | ||
13531 | wxPyEndAllowThreads(__tstate); | |
13532 | if (PyErr_Occurred()) SWIG_fail; | |
13533 | } | |
f0983263 RD |
13534 | { |
13535 | #if wxUSE_UNICODE | |
13536 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13537 | #else | |
13538 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13539 | #endif | |
13540 | } | |
d14a1e28 RD |
13541 | return resultobj; |
13542 | fail: | |
13543 | return NULL; | |
13544 | } | |
13545 | ||
13546 | ||
13547 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13548 | PyObject *resultobj; | |
13549 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13550 | wxFindReplaceDialog *result; | |
13551 | PyObject * obj0 = 0 ; | |
13552 | char *kwnames[] = { | |
13553 | (char *) "self", NULL | |
13554 | }; | |
13555 | ||
13556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13557 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13558 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13559 | { |
13560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13561 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13562 | ||
13563 | wxPyEndAllowThreads(__tstate); | |
13564 | if (PyErr_Occurred()) SWIG_fail; | |
13565 | } | |
2f4c0a16 | 13566 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13567 | return resultobj; |
13568 | fail: | |
13569 | return NULL; | |
13570 | } | |
13571 | ||
13572 | ||
13573 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13574 | PyObject *resultobj; | |
13575 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13576 | int arg2 ; | |
13577 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13579 | char *kwnames[] = { |
13580 | (char *) "self",(char *) "flags", NULL | |
13581 | }; | |
13582 | ||
8edf1c75 | 13583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
13584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13586 | arg2 = (int) SWIG_AsInt(obj1); | |
13587 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13588 | { |
13589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13590 | (arg1)->SetFlags(arg2); | |
13591 | ||
13592 | wxPyEndAllowThreads(__tstate); | |
13593 | if (PyErr_Occurred()) SWIG_fail; | |
13594 | } | |
13595 | Py_INCREF(Py_None); resultobj = Py_None; | |
13596 | return resultobj; | |
13597 | fail: | |
13598 | return NULL; | |
13599 | } | |
13600 | ||
13601 | ||
13602 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13603 | PyObject *resultobj; | |
13604 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13605 | wxString *arg2 = 0 ; | |
423f194a | 13606 | bool temp2 = False ; |
d14a1e28 RD |
13607 | PyObject * obj0 = 0 ; |
13608 | PyObject * obj1 = 0 ; | |
13609 | char *kwnames[] = { | |
13610 | (char *) "self",(char *) "str", NULL | |
13611 | }; | |
13612 | ||
13613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13616 | { |
13617 | arg2 = wxString_in_helper(obj1); | |
13618 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13619 | temp2 = True; |
d14a1e28 RD |
13620 | } |
13621 | { | |
13622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13623 | (arg1)->SetFindString((wxString const &)*arg2); | |
13624 | ||
13625 | wxPyEndAllowThreads(__tstate); | |
13626 | if (PyErr_Occurred()) SWIG_fail; | |
13627 | } | |
13628 | Py_INCREF(Py_None); resultobj = Py_None; | |
13629 | { | |
13630 | if (temp2) | |
13631 | delete arg2; | |
13632 | } | |
13633 | return resultobj; | |
13634 | fail: | |
13635 | { | |
13636 | if (temp2) | |
13637 | delete arg2; | |
13638 | } | |
13639 | return NULL; | |
13640 | } | |
13641 | ||
13642 | ||
13643 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13644 | PyObject *resultobj; | |
13645 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13646 | wxString *arg2 = 0 ; | |
423f194a | 13647 | bool temp2 = False ; |
d14a1e28 RD |
13648 | PyObject * obj0 = 0 ; |
13649 | PyObject * obj1 = 0 ; | |
13650 | char *kwnames[] = { | |
13651 | (char *) "self",(char *) "str", NULL | |
13652 | }; | |
13653 | ||
13654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13657 | { |
13658 | arg2 = wxString_in_helper(obj1); | |
13659 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13660 | temp2 = True; |
d14a1e28 RD |
13661 | } |
13662 | { | |
13663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13664 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13665 | ||
13666 | wxPyEndAllowThreads(__tstate); | |
13667 | if (PyErr_Occurred()) SWIG_fail; | |
13668 | } | |
13669 | Py_INCREF(Py_None); resultobj = Py_None; | |
13670 | { | |
13671 | if (temp2) | |
13672 | delete arg2; | |
13673 | } | |
13674 | return resultobj; | |
13675 | fail: | |
13676 | { | |
13677 | if (temp2) | |
13678 | delete arg2; | |
13679 | } | |
13680 | return NULL; | |
13681 | } | |
13682 | ||
13683 | ||
13684 | static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) { | |
13685 | PyObject *obj; | |
13686 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13687 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13688 | Py_INCREF(obj); | |
13689 | return Py_BuildValue((char *)""); | |
13690 | } | |
13691 | static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13692 | PyObject *resultobj; | |
13693 | int arg1 = (int) 0 ; | |
13694 | wxFindReplaceData *result; | |
8edf1c75 | 13695 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13696 | char *kwnames[] = { |
13697 | (char *) "flags", NULL | |
13698 | }; | |
13699 | ||
8edf1c75 RD |
13700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13701 | if (obj0) { | |
2f4c0a16 RD |
13702 | arg1 = (int) SWIG_AsInt(obj0); |
13703 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13704 | } |
d14a1e28 RD |
13705 | { |
13706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13707 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13708 | ||
13709 | wxPyEndAllowThreads(__tstate); | |
13710 | if (PyErr_Occurred()) SWIG_fail; | |
13711 | } | |
2f4c0a16 | 13712 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13713 | return resultobj; |
13714 | fail: | |
13715 | return NULL; | |
13716 | } | |
13717 | ||
13718 | ||
13719 | static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13720 | PyObject *resultobj; | |
13721 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13722 | PyObject * obj0 = 0 ; | |
13723 | char *kwnames[] = { | |
13724 | (char *) "self", NULL | |
13725 | }; | |
13726 | ||
13727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13730 | { |
13731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13732 | delete arg1; | |
13733 | ||
13734 | wxPyEndAllowThreads(__tstate); | |
13735 | if (PyErr_Occurred()) SWIG_fail; | |
13736 | } | |
13737 | Py_INCREF(Py_None); resultobj = Py_None; | |
13738 | return resultobj; | |
13739 | fail: | |
13740 | return NULL; | |
13741 | } | |
13742 | ||
13743 | ||
13744 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13745 | PyObject *resultobj; | |
13746 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13747 | wxString *result; | |
13748 | PyObject * obj0 = 0 ; | |
13749 | char *kwnames[] = { | |
13750 | (char *) "self", NULL | |
13751 | }; | |
13752 | ||
13753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13756 | { |
13757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13758 | { | |
13759 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13760 | result = (wxString *) &_result_ref; | |
13761 | } | |
13762 | ||
13763 | wxPyEndAllowThreads(__tstate); | |
13764 | if (PyErr_Occurred()) SWIG_fail; | |
13765 | } | |
f0983263 RD |
13766 | { |
13767 | #if wxUSE_UNICODE | |
13768 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13769 | #else | |
13770 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13771 | #endif | |
13772 | } | |
d14a1e28 RD |
13773 | return resultobj; |
13774 | fail: | |
13775 | return NULL; | |
13776 | } | |
13777 | ||
13778 | ||
13779 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13780 | PyObject *resultobj; | |
13781 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13782 | wxString *result; | |
13783 | PyObject * obj0 = 0 ; | |
13784 | char *kwnames[] = { | |
13785 | (char *) "self", NULL | |
13786 | }; | |
13787 | ||
13788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13791 | { |
13792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13793 | { | |
13794 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13795 | result = (wxString *) &_result_ref; | |
13796 | } | |
13797 | ||
13798 | wxPyEndAllowThreads(__tstate); | |
13799 | if (PyErr_Occurred()) SWIG_fail; | |
13800 | } | |
f0983263 RD |
13801 | { |
13802 | #if wxUSE_UNICODE | |
13803 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13804 | #else | |
13805 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13806 | #endif | |
13807 | } | |
d14a1e28 RD |
13808 | return resultobj; |
13809 | fail: | |
13810 | return NULL; | |
13811 | } | |
13812 | ||
13813 | ||
13814 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13815 | PyObject *resultobj; | |
13816 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13817 | int result; | |
13818 | PyObject * obj0 = 0 ; | |
13819 | char *kwnames[] = { | |
13820 | (char *) "self", NULL | |
13821 | }; | |
13822 | ||
13823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13824 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13825 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13826 | { |
13827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13828 | result = (int)(arg1)->GetFlags(); | |
13829 | ||
13830 | wxPyEndAllowThreads(__tstate); | |
13831 | if (PyErr_Occurred()) SWIG_fail; | |
13832 | } | |
2f4c0a16 | 13833 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13834 | return resultobj; |
13835 | fail: | |
13836 | return NULL; | |
13837 | } | |
13838 | ||
13839 | ||
13840 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13841 | PyObject *resultobj; | |
13842 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13843 | int arg2 ; | |
13844 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13845 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13846 | char *kwnames[] = { |
13847 | (char *) "self",(char *) "flags", NULL | |
13848 | }; | |
13849 | ||
8edf1c75 | 13850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
13851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13853 | arg2 = (int) SWIG_AsInt(obj1); | |
13854 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13855 | { |
13856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13857 | (arg1)->SetFlags(arg2); | |
13858 | ||
13859 | wxPyEndAllowThreads(__tstate); | |
13860 | if (PyErr_Occurred()) SWIG_fail; | |
13861 | } | |
13862 | Py_INCREF(Py_None); resultobj = Py_None; | |
13863 | return resultobj; | |
13864 | fail: | |
13865 | return NULL; | |
13866 | } | |
13867 | ||
13868 | ||
13869 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13870 | PyObject *resultobj; | |
13871 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13872 | wxString *arg2 = 0 ; | |
423f194a | 13873 | bool temp2 = False ; |
d14a1e28 RD |
13874 | PyObject * obj0 = 0 ; |
13875 | PyObject * obj1 = 0 ; | |
13876 | char *kwnames[] = { | |
13877 | (char *) "self",(char *) "str", NULL | |
13878 | }; | |
13879 | ||
13880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13883 | { |
13884 | arg2 = wxString_in_helper(obj1); | |
13885 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13886 | temp2 = True; |
d14a1e28 RD |
13887 | } |
13888 | { | |
13889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13890 | (arg1)->SetFindString((wxString const &)*arg2); | |
13891 | ||
13892 | wxPyEndAllowThreads(__tstate); | |
13893 | if (PyErr_Occurred()) SWIG_fail; | |
13894 | } | |
13895 | Py_INCREF(Py_None); resultobj = Py_None; | |
13896 | { | |
13897 | if (temp2) | |
13898 | delete arg2; | |
13899 | } | |
13900 | return resultobj; | |
13901 | fail: | |
13902 | { | |
13903 | if (temp2) | |
13904 | delete arg2; | |
13905 | } | |
13906 | return NULL; | |
13907 | } | |
13908 | ||
13909 | ||
13910 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13911 | PyObject *resultobj; | |
13912 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13913 | wxString *arg2 = 0 ; | |
423f194a | 13914 | bool temp2 = False ; |
d14a1e28 RD |
13915 | PyObject * obj0 = 0 ; |
13916 | PyObject * obj1 = 0 ; | |
13917 | char *kwnames[] = { | |
13918 | (char *) "self",(char *) "str", NULL | |
13919 | }; | |
13920 | ||
13921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13924 | { |
13925 | arg2 = wxString_in_helper(obj1); | |
13926 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13927 | temp2 = True; |
d14a1e28 RD |
13928 | } |
13929 | { | |
13930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13931 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13932 | ||
13933 | wxPyEndAllowThreads(__tstate); | |
13934 | if (PyErr_Occurred()) SWIG_fail; | |
13935 | } | |
13936 | Py_INCREF(Py_None); resultobj = Py_None; | |
13937 | { | |
13938 | if (temp2) | |
13939 | delete arg2; | |
13940 | } | |
13941 | return resultobj; | |
13942 | fail: | |
13943 | { | |
13944 | if (temp2) | |
13945 | delete arg2; | |
13946 | } | |
13947 | return NULL; | |
13948 | } | |
13949 | ||
13950 | ||
13951 | static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) { | |
13952 | PyObject *obj; | |
13953 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13954 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13955 | Py_INCREF(obj); | |
13956 | return Py_BuildValue((char *)""); | |
13957 | } | |
13958 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
13959 | PyObject *resultobj; | |
13960 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13961 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13962 | wxString *arg3 = 0 ; | |
13963 | int arg4 = (int) 0 ; | |
13964 | wxFindReplaceDialog *result; | |
423f194a | 13965 | bool temp3 = False ; |
d14a1e28 RD |
13966 | PyObject * obj0 = 0 ; |
13967 | PyObject * obj1 = 0 ; | |
13968 | PyObject * obj2 = 0 ; | |
8edf1c75 | 13969 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13970 | char *kwnames[] = { |
13971 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13972 | }; | |
13973 | ||
8edf1c75 | 13974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
13975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13977 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13979 | { |
13980 | arg3 = wxString_in_helper(obj2); | |
13981 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13982 | temp3 = True; |
d14a1e28 | 13983 | } |
8edf1c75 | 13984 | if (obj3) { |
2f4c0a16 RD |
13985 | arg4 = (int) SWIG_AsInt(obj3); |
13986 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13987 | } |
d14a1e28 RD |
13988 | { |
13989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13990 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13991 | ||
13992 | wxPyEndAllowThreads(__tstate); | |
13993 | if (PyErr_Occurred()) SWIG_fail; | |
13994 | } | |
2f4c0a16 | 13995 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13996 | { |
13997 | if (temp3) | |
13998 | delete arg3; | |
13999 | } | |
14000 | return resultobj; | |
14001 | fail: | |
14002 | { | |
14003 | if (temp3) | |
14004 | delete arg3; | |
14005 | } | |
14006 | return NULL; | |
14007 | } | |
14008 | ||
14009 | ||
14010 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14011 | PyObject *resultobj; | |
14012 | wxFindReplaceDialog *result; | |
14013 | char *kwnames[] = { | |
14014 | NULL | |
14015 | }; | |
14016 | ||
14017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14018 | { | |
14019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14020 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14021 | ||
14022 | wxPyEndAllowThreads(__tstate); | |
14023 | if (PyErr_Occurred()) SWIG_fail; | |
14024 | } | |
2f4c0a16 | 14025 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14026 | return resultobj; |
14027 | fail: | |
14028 | return NULL; | |
14029 | } | |
14030 | ||
14031 | ||
14032 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14033 | PyObject *resultobj; | |
14034 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14035 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14036 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14037 | wxString *arg4 = 0 ; | |
14038 | int arg5 = (int) 0 ; | |
14039 | bool result; | |
423f194a | 14040 | bool temp4 = False ; |
d14a1e28 RD |
14041 | PyObject * obj0 = 0 ; |
14042 | PyObject * obj1 = 0 ; | |
14043 | PyObject * obj2 = 0 ; | |
14044 | PyObject * obj3 = 0 ; | |
8edf1c75 | 14045 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14046 | char *kwnames[] = { |
14047 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14048 | }; | |
14049 | ||
8edf1c75 | 14050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
14051 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14053 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14055 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
14056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14057 | { |
14058 | arg4 = wxString_in_helper(obj3); | |
14059 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14060 | temp4 = True; |
d14a1e28 | 14061 | } |
8edf1c75 | 14062 | if (obj4) { |
2f4c0a16 RD |
14063 | arg5 = (int) SWIG_AsInt(obj4); |
14064 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14065 | } |
d14a1e28 RD |
14066 | { |
14067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14068 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
14069 | ||
14070 | wxPyEndAllowThreads(__tstate); | |
14071 | if (PyErr_Occurred()) SWIG_fail; | |
14072 | } | |
4f89f6a3 RD |
14073 | { |
14074 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14075 | } | |
d14a1e28 RD |
14076 | { |
14077 | if (temp4) | |
14078 | delete arg4; | |
14079 | } | |
14080 | return resultobj; | |
14081 | fail: | |
14082 | { | |
14083 | if (temp4) | |
14084 | delete arg4; | |
14085 | } | |
14086 | return NULL; | |
14087 | } | |
14088 | ||
14089 | ||
14090 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14091 | PyObject *resultobj; | |
14092 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14093 | wxFindReplaceData *result; | |
14094 | PyObject * obj0 = 0 ; | |
14095 | char *kwnames[] = { | |
14096 | (char *) "self", NULL | |
14097 | }; | |
14098 | ||
14099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14100 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14101 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14102 | { |
14103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14104 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
14105 | ||
14106 | wxPyEndAllowThreads(__tstate); | |
14107 | if (PyErr_Occurred()) SWIG_fail; | |
14108 | } | |
2f4c0a16 | 14109 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
14110 | return resultobj; |
14111 | fail: | |
14112 | return NULL; | |
14113 | } | |
14114 | ||
14115 | ||
14116 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14117 | PyObject *resultobj; | |
14118 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14119 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14120 | PyObject * obj0 = 0 ; | |
14121 | PyObject * obj1 = 0 ; | |
14122 | char *kwnames[] = { | |
14123 | (char *) "self",(char *) "data", NULL | |
14124 | }; | |
14125 | ||
14126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
14127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14129 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14131 | { |
14132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14133 | (arg1)->SetData(arg2); | |
14134 | ||
14135 | wxPyEndAllowThreads(__tstate); | |
14136 | if (PyErr_Occurred()) SWIG_fail; | |
14137 | } | |
14138 | Py_INCREF(Py_None); resultobj = Py_None; | |
14139 | return resultobj; | |
14140 | fail: | |
14141 | return NULL; | |
14142 | } | |
14143 | ||
14144 | ||
14145 | static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) { | |
14146 | PyObject *obj; | |
14147 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14148 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
14149 | Py_INCREF(obj); | |
14150 | return Py_BuildValue((char *)""); | |
14151 | } | |
14152 | static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14153 | PyObject *resultobj; | |
14154 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 14155 | int arg2 ; |
d14a1e28 RD |
14156 | wxString *arg3 = 0 ; |
14157 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14158 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14159 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14160 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14161 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14162 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14163 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14164 | wxMDIParentFrame *result; | |
423f194a | 14165 | bool temp3 = False ; |
d14a1e28 RD |
14166 | wxPoint temp4 ; |
14167 | wxSize temp5 ; | |
423f194a | 14168 | bool temp7 = False ; |
d14a1e28 | 14169 | PyObject * obj0 = 0 ; |
8edf1c75 | 14170 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14171 | PyObject * obj2 = 0 ; |
14172 | PyObject * obj3 = 0 ; | |
14173 | PyObject * obj4 = 0 ; | |
8edf1c75 | 14174 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14175 | PyObject * obj6 = 0 ; |
14176 | char *kwnames[] = { | |
14177 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14178 | }; | |
14179 | ||
8edf1c75 | 14180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
14181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14183 | arg2 = (int const) SWIG_AsInt(obj1); | |
14184 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14185 | { |
14186 | arg3 = wxString_in_helper(obj2); | |
14187 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 14188 | temp3 = True; |
d14a1e28 RD |
14189 | } |
14190 | if (obj3) { | |
14191 | { | |
14192 | arg4 = &temp4; | |
14193 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14194 | } | |
14195 | } | |
14196 | if (obj4) { | |
14197 | { | |
14198 | arg5 = &temp5; | |
14199 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14200 | } | |
14201 | } | |
8edf1c75 | 14202 | if (obj5) { |
2f4c0a16 RD |
14203 | arg6 = (long) SWIG_AsLong(obj5); |
14204 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14205 | } |
d14a1e28 RD |
14206 | if (obj6) { |
14207 | { | |
14208 | arg7 = wxString_in_helper(obj6); | |
14209 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 14210 | temp7 = True; |
d14a1e28 RD |
14211 | } |
14212 | } | |
14213 | { | |
14214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14215 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14216 | ||
14217 | wxPyEndAllowThreads(__tstate); | |
14218 | if (PyErr_Occurred()) SWIG_fail; | |
14219 | } | |
2f4c0a16 | 14220 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14221 | { |
14222 | if (temp3) | |
14223 | delete arg3; | |
14224 | } | |
14225 | { | |
14226 | if (temp7) | |
14227 | delete arg7; | |
14228 | } | |
14229 | return resultobj; | |
14230 | fail: | |
14231 | { | |
14232 | if (temp3) | |
14233 | delete arg3; | |
14234 | } | |
14235 | { | |
14236 | if (temp7) | |
14237 | delete arg7; | |
14238 | } | |
14239 | return NULL; | |
14240 | } | |
14241 | ||
14242 | ||
14243 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14244 | PyObject *resultobj; | |
14245 | wxMDIParentFrame *result; | |
14246 | char *kwnames[] = { | |
14247 | NULL | |
14248 | }; | |
14249 | ||
14250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
14251 | { | |
14252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14253 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
14254 | ||
14255 | wxPyEndAllowThreads(__tstate); | |
14256 | if (PyErr_Occurred()) SWIG_fail; | |
14257 | } | |
2f4c0a16 | 14258 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
14259 | return resultobj; |
14260 | fail: | |
14261 | return NULL; | |
14262 | } | |
14263 | ||
14264 | ||
14265 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14266 | PyObject *resultobj; | |
14267 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14268 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 14269 | int arg3 ; |
d14a1e28 RD |
14270 | wxString *arg4 = 0 ; |
14271 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14272 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14273 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14274 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14275 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
14276 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14277 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14278 | bool result; | |
423f194a | 14279 | bool temp4 = False ; |
d14a1e28 RD |
14280 | wxPoint temp5 ; |
14281 | wxSize temp6 ; | |
423f194a | 14282 | bool temp8 = False ; |
d14a1e28 RD |
14283 | PyObject * obj0 = 0 ; |
14284 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14285 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14286 | PyObject * obj3 = 0 ; |
14287 | PyObject * obj4 = 0 ; | |
14288 | PyObject * obj5 = 0 ; | |
8edf1c75 | 14289 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14290 | PyObject * obj7 = 0 ; |
14291 | char *kwnames[] = { | |
14292 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14293 | }; | |
14294 | ||
8edf1c75 | 14295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
14296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14298 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14300 | arg3 = (int const) SWIG_AsInt(obj2); | |
14301 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14302 | { |
14303 | arg4 = wxString_in_helper(obj3); | |
14304 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14305 | temp4 = True; |
d14a1e28 RD |
14306 | } |
14307 | if (obj4) { | |
14308 | { | |
14309 | arg5 = &temp5; | |
14310 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14311 | } | |
14312 | } | |
14313 | if (obj5) { | |
14314 | { | |
14315 | arg6 = &temp6; | |
14316 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14317 | } | |
14318 | } | |
8edf1c75 | 14319 | if (obj6) { |
2f4c0a16 RD |
14320 | arg7 = (long) SWIG_AsLong(obj6); |
14321 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14322 | } |
d14a1e28 RD |
14323 | if (obj7) { |
14324 | { | |
14325 | arg8 = wxString_in_helper(obj7); | |
14326 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 14327 | temp8 = True; |
d14a1e28 RD |
14328 | } |
14329 | } | |
14330 | { | |
14331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14332 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14333 | ||
14334 | wxPyEndAllowThreads(__tstate); | |
14335 | if (PyErr_Occurred()) SWIG_fail; | |
14336 | } | |
4f89f6a3 RD |
14337 | { |
14338 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14339 | } | |
d14a1e28 RD |
14340 | { |
14341 | if (temp4) | |
14342 | delete arg4; | |
14343 | } | |
14344 | { | |
14345 | if (temp8) | |
14346 | delete arg8; | |
14347 | } | |
14348 | return resultobj; | |
14349 | fail: | |
14350 | { | |
14351 | if (temp4) | |
14352 | delete arg4; | |
14353 | } | |
14354 | { | |
14355 | if (temp8) | |
14356 | delete arg8; | |
14357 | } | |
14358 | return NULL; | |
14359 | } | |
14360 | ||
14361 | ||
14362 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14363 | PyObject *resultobj; | |
14364 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14365 | PyObject * obj0 = 0 ; | |
14366 | char *kwnames[] = { | |
14367 | (char *) "self", NULL | |
14368 | }; | |
14369 | ||
14370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14371 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14373 | { |
14374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14375 | (arg1)->ActivateNext(); | |
14376 | ||
14377 | wxPyEndAllowThreads(__tstate); | |
14378 | if (PyErr_Occurred()) SWIG_fail; | |
14379 | } | |
14380 | Py_INCREF(Py_None); resultobj = Py_None; | |
14381 | return resultobj; | |
14382 | fail: | |
14383 | return NULL; | |
14384 | } | |
14385 | ||
14386 | ||
14387 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14388 | PyObject *resultobj; | |
14389 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14390 | PyObject * obj0 = 0 ; | |
14391 | char *kwnames[] = { | |
14392 | (char *) "self", NULL | |
14393 | }; | |
14394 | ||
14395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14398 | { |
14399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14400 | (arg1)->ActivatePrevious(); | |
14401 | ||
14402 | wxPyEndAllowThreads(__tstate); | |
14403 | if (PyErr_Occurred()) SWIG_fail; | |
14404 | } | |
14405 | Py_INCREF(Py_None); resultobj = Py_None; | |
14406 | return resultobj; | |
14407 | fail: | |
14408 | return NULL; | |
14409 | } | |
14410 | ||
14411 | ||
14412 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14413 | PyObject *resultobj; | |
14414 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14415 | PyObject * obj0 = 0 ; | |
14416 | char *kwnames[] = { | |
14417 | (char *) "self", NULL | |
14418 | }; | |
14419 | ||
14420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14421 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14422 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14423 | { |
14424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14425 | (arg1)->ArrangeIcons(); | |
14426 | ||
14427 | wxPyEndAllowThreads(__tstate); | |
14428 | if (PyErr_Occurred()) SWIG_fail; | |
14429 | } | |
14430 | Py_INCREF(Py_None); resultobj = Py_None; | |
14431 | return resultobj; | |
14432 | fail: | |
14433 | return NULL; | |
14434 | } | |
14435 | ||
14436 | ||
14437 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14438 | PyObject *resultobj; | |
14439 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14440 | PyObject * obj0 = 0 ; | |
14441 | char *kwnames[] = { | |
14442 | (char *) "self", NULL | |
14443 | }; | |
14444 | ||
14445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14448 | { |
14449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14450 | (arg1)->Cascade(); | |
14451 | ||
14452 | wxPyEndAllowThreads(__tstate); | |
14453 | if (PyErr_Occurred()) SWIG_fail; | |
14454 | } | |
14455 | Py_INCREF(Py_None); resultobj = Py_None; | |
14456 | return resultobj; | |
14457 | fail: | |
14458 | return NULL; | |
14459 | } | |
14460 | ||
14461 | ||
14462 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14463 | PyObject *resultobj; | |
14464 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14465 | wxMDIChildFrame *result; | |
14466 | PyObject * obj0 = 0 ; | |
14467 | char *kwnames[] = { | |
14468 | (char *) "self", NULL | |
14469 | }; | |
14470 | ||
14471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14472 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14473 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14474 | { |
14475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14476 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14477 | ||
14478 | wxPyEndAllowThreads(__tstate); | |
14479 | if (PyErr_Occurred()) SWIG_fail; | |
14480 | } | |
14481 | { | |
14482 | resultobj = wxPyMake_wxObject(result); | |
14483 | } | |
14484 | return resultobj; | |
14485 | fail: | |
14486 | return NULL; | |
14487 | } | |
14488 | ||
14489 | ||
14490 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14491 | PyObject *resultobj; | |
14492 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14493 | wxMDIClientWindow *result; | |
14494 | PyObject * obj0 = 0 ; | |
14495 | char *kwnames[] = { | |
14496 | (char *) "self", NULL | |
14497 | }; | |
14498 | ||
14499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14500 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14501 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14502 | { |
14503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14504 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14505 | ||
14506 | wxPyEndAllowThreads(__tstate); | |
14507 | if (PyErr_Occurred()) SWIG_fail; | |
14508 | } | |
14509 | { | |
14510 | resultobj = wxPyMake_wxObject(result); | |
14511 | } | |
14512 | return resultobj; | |
14513 | fail: | |
14514 | return NULL; | |
14515 | } | |
14516 | ||
14517 | ||
14518 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14519 | PyObject *resultobj; | |
14520 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14521 | wxWindow *result; | |
14522 | PyObject * obj0 = 0 ; | |
14523 | char *kwnames[] = { | |
14524 | (char *) "self", NULL | |
14525 | }; | |
14526 | ||
14527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14529 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14530 | { |
14531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14532 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14533 | ||
14534 | wxPyEndAllowThreads(__tstate); | |
14535 | if (PyErr_Occurred()) SWIG_fail; | |
14536 | } | |
14537 | { | |
14538 | resultobj = wxPyMake_wxObject(result); | |
14539 | } | |
14540 | return resultobj; | |
14541 | fail: | |
14542 | return NULL; | |
14543 | } | |
14544 | ||
14545 | ||
14546 | static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14547 | PyObject *resultobj; | |
14548 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14549 | wxMenu *result; | |
14550 | PyObject * obj0 = 0 ; | |
14551 | char *kwnames[] = { | |
14552 | (char *) "self", NULL | |
14553 | }; | |
14554 | ||
14555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14558 | { |
14559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14560 | result = (wxMenu *)(arg1)->GetWindowMenu(); | |
14561 | ||
14562 | wxPyEndAllowThreads(__tstate); | |
14563 | if (PyErr_Occurred()) SWIG_fail; | |
14564 | } | |
14565 | { | |
14566 | resultobj = wxPyMake_wxObject(result); | |
14567 | } | |
14568 | return resultobj; | |
14569 | fail: | |
14570 | return NULL; | |
14571 | } | |
14572 | ||
14573 | ||
14574 | static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14575 | PyObject *resultobj; | |
14576 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14577 | wxMenu *arg2 = (wxMenu *) 0 ; | |
14578 | PyObject * obj0 = 0 ; | |
14579 | PyObject * obj1 = 0 ; | |
14580 | char *kwnames[] = { | |
14581 | (char *) "self",(char *) "menu", NULL | |
14582 | }; | |
14583 | ||
14584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
14585 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14586 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14587 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
14588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14589 | { |
14590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14591 | (arg1)->SetWindowMenu(arg2); | |
14592 | ||
14593 | wxPyEndAllowThreads(__tstate); | |
14594 | if (PyErr_Occurred()) SWIG_fail; | |
14595 | } | |
14596 | Py_INCREF(Py_None); resultobj = Py_None; | |
14597 | return resultobj; | |
14598 | fail: | |
14599 | return NULL; | |
14600 | } | |
14601 | ||
14602 | ||
14603 | static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14604 | PyObject *resultobj; | |
14605 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14606 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
14607 | PyObject * obj0 = 0 ; | |
14608 | PyObject * obj1 = 0 ; | |
14609 | char *kwnames[] = { | |
14610 | (char *) "self",(char *) "toolbar", NULL | |
14611 | }; | |
14612 | ||
14613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
14614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14616 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
14617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14618 | { |
14619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14620 | (arg1)->SetToolBar(arg2); | |
14621 | ||
14622 | wxPyEndAllowThreads(__tstate); | |
14623 | if (PyErr_Occurred()) SWIG_fail; | |
14624 | } | |
14625 | Py_INCREF(Py_None); resultobj = Py_None; | |
14626 | return resultobj; | |
14627 | fail: | |
14628 | return NULL; | |
14629 | } | |
14630 | ||
14631 | ||
14632 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14633 | PyObject *resultobj; | |
14634 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14635 | PyObject * obj0 = 0 ; | |
14636 | char *kwnames[] = { | |
14637 | (char *) "self", NULL | |
14638 | }; | |
14639 | ||
14640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14643 | { |
14644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14645 | (arg1)->Tile(); | |
14646 | ||
14647 | wxPyEndAllowThreads(__tstate); | |
14648 | if (PyErr_Occurred()) SWIG_fail; | |
14649 | } | |
14650 | Py_INCREF(Py_None); resultobj = Py_None; | |
14651 | return resultobj; | |
14652 | fail: | |
14653 | return NULL; | |
14654 | } | |
14655 | ||
14656 | ||
14657 | static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) { | |
14658 | PyObject *obj; | |
14659 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14660 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14661 | Py_INCREF(obj); | |
14662 | return Py_BuildValue((char *)""); | |
14663 | } | |
14664 | static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14665 | PyObject *resultobj; | |
14666 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14667 | int arg2 ; |
d14a1e28 RD |
14668 | wxString *arg3 = 0 ; |
14669 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14670 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14671 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14672 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14673 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14674 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14675 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14676 | wxMDIChildFrame *result; | |
423f194a | 14677 | bool temp3 = False ; |
d14a1e28 RD |
14678 | wxPoint temp4 ; |
14679 | wxSize temp5 ; | |
423f194a | 14680 | bool temp7 = False ; |
d14a1e28 | 14681 | PyObject * obj0 = 0 ; |
8edf1c75 | 14682 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14683 | PyObject * obj2 = 0 ; |
14684 | PyObject * obj3 = 0 ; | |
14685 | PyObject * obj4 = 0 ; | |
8edf1c75 | 14686 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14687 | PyObject * obj6 = 0 ; |
14688 | char *kwnames[] = { | |
14689 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14690 | }; | |
14691 | ||
8edf1c75 | 14692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
14693 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14694 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14695 | arg2 = (int const) SWIG_AsInt(obj1); | |
14696 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14697 | { |
14698 | arg3 = wxString_in_helper(obj2); | |
14699 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 14700 | temp3 = True; |
d14a1e28 RD |
14701 | } |
14702 | if (obj3) { | |
14703 | { | |
14704 | arg4 = &temp4; | |
14705 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14706 | } | |
14707 | } | |
14708 | if (obj4) { | |
14709 | { | |
14710 | arg5 = &temp5; | |
14711 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14712 | } | |
14713 | } | |
8edf1c75 | 14714 | if (obj5) { |
2f4c0a16 RD |
14715 | arg6 = (long) SWIG_AsLong(obj5); |
14716 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14717 | } |
d14a1e28 RD |
14718 | if (obj6) { |
14719 | { | |
14720 | arg7 = wxString_in_helper(obj6); | |
14721 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 14722 | temp7 = True; |
d14a1e28 RD |
14723 | } |
14724 | } | |
14725 | { | |
14726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14727 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14728 | ||
14729 | wxPyEndAllowThreads(__tstate); | |
14730 | if (PyErr_Occurred()) SWIG_fail; | |
14731 | } | |
14732 | { | |
14733 | resultobj = wxPyMake_wxObject(result); | |
14734 | } | |
14735 | { | |
14736 | if (temp3) | |
14737 | delete arg3; | |
14738 | } | |
14739 | { | |
14740 | if (temp7) | |
14741 | delete arg7; | |
14742 | } | |
14743 | return resultobj; | |
14744 | fail: | |
14745 | { | |
14746 | if (temp3) | |
14747 | delete arg3; | |
14748 | } | |
14749 | { | |
14750 | if (temp7) | |
14751 | delete arg7; | |
14752 | } | |
14753 | return NULL; | |
14754 | } | |
14755 | ||
14756 | ||
14757 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14758 | PyObject *resultobj; | |
14759 | wxMDIChildFrame *result; | |
14760 | char *kwnames[] = { | |
14761 | NULL | |
14762 | }; | |
14763 | ||
14764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14765 | { | |
14766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14767 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14768 | ||
14769 | wxPyEndAllowThreads(__tstate); | |
14770 | if (PyErr_Occurred()) SWIG_fail; | |
14771 | } | |
14772 | { | |
14773 | resultobj = wxPyMake_wxObject(result); | |
14774 | } | |
14775 | return resultobj; | |
14776 | fail: | |
14777 | return NULL; | |
14778 | } | |
14779 | ||
14780 | ||
14781 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14782 | PyObject *resultobj; | |
14783 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14784 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14785 | int arg3 ; |
d14a1e28 RD |
14786 | wxString *arg4 = 0 ; |
14787 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14788 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14789 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14790 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14791 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14792 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14793 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14794 | bool result; | |
423f194a | 14795 | bool temp4 = False ; |
d14a1e28 RD |
14796 | wxPoint temp5 ; |
14797 | wxSize temp6 ; | |
423f194a | 14798 | bool temp8 = False ; |
d14a1e28 RD |
14799 | PyObject * obj0 = 0 ; |
14800 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14801 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14802 | PyObject * obj3 = 0 ; |
14803 | PyObject * obj4 = 0 ; | |
14804 | PyObject * obj5 = 0 ; | |
8edf1c75 | 14805 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14806 | PyObject * obj7 = 0 ; |
14807 | char *kwnames[] = { | |
14808 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14809 | }; | |
14810 | ||
8edf1c75 | 14811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
14812 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14813 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14814 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14816 | arg3 = (int const) SWIG_AsInt(obj2); | |
14817 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14818 | { |
14819 | arg4 = wxString_in_helper(obj3); | |
14820 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14821 | temp4 = True; |
d14a1e28 RD |
14822 | } |
14823 | if (obj4) { | |
14824 | { | |
14825 | arg5 = &temp5; | |
14826 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14827 | } | |
14828 | } | |
14829 | if (obj5) { | |
14830 | { | |
14831 | arg6 = &temp6; | |
14832 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14833 | } | |
14834 | } | |
8edf1c75 | 14835 | if (obj6) { |
2f4c0a16 RD |
14836 | arg7 = (long) SWIG_AsLong(obj6); |
14837 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14838 | } |
d14a1e28 RD |
14839 | if (obj7) { |
14840 | { | |
14841 | arg8 = wxString_in_helper(obj7); | |
14842 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 14843 | temp8 = True; |
d14a1e28 RD |
14844 | } |
14845 | } | |
14846 | { | |
14847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14848 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14849 | ||
14850 | wxPyEndAllowThreads(__tstate); | |
14851 | if (PyErr_Occurred()) SWIG_fail; | |
14852 | } | |
4f89f6a3 RD |
14853 | { |
14854 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14855 | } | |
d14a1e28 RD |
14856 | { |
14857 | if (temp4) | |
14858 | delete arg4; | |
14859 | } | |
14860 | { | |
14861 | if (temp8) | |
14862 | delete arg8; | |
14863 | } | |
14864 | return resultobj; | |
14865 | fail: | |
14866 | { | |
14867 | if (temp4) | |
14868 | delete arg4; | |
14869 | } | |
14870 | { | |
14871 | if (temp8) | |
14872 | delete arg8; | |
14873 | } | |
14874 | return NULL; | |
14875 | } | |
14876 | ||
14877 | ||
14878 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14879 | PyObject *resultobj; | |
14880 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14881 | PyObject * obj0 = 0 ; | |
14882 | char *kwnames[] = { | |
14883 | (char *) "self", NULL | |
14884 | }; | |
14885 | ||
14886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14889 | { |
14890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14891 | (arg1)->Activate(); | |
14892 | ||
14893 | wxPyEndAllowThreads(__tstate); | |
14894 | if (PyErr_Occurred()) SWIG_fail; | |
14895 | } | |
14896 | Py_INCREF(Py_None); resultobj = Py_None; | |
14897 | return resultobj; | |
14898 | fail: | |
14899 | return NULL; | |
14900 | } | |
14901 | ||
14902 | ||
14903 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14904 | PyObject *resultobj; | |
14905 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14906 | bool arg2 ; | |
14907 | PyObject * obj0 = 0 ; | |
14908 | PyObject * obj1 = 0 ; | |
14909 | char *kwnames[] = { | |
14910 | (char *) "self",(char *) "maximize", NULL | |
14911 | }; | |
14912 | ||
14913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
14914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14916 | arg2 = (bool) SWIG_AsBool(obj1); | |
14917 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14918 | { |
14919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14920 | (arg1)->Maximize(arg2); | |
14921 | ||
14922 | wxPyEndAllowThreads(__tstate); | |
14923 | if (PyErr_Occurred()) SWIG_fail; | |
14924 | } | |
14925 | Py_INCREF(Py_None); resultobj = Py_None; | |
14926 | return resultobj; | |
14927 | fail: | |
14928 | return NULL; | |
14929 | } | |
14930 | ||
14931 | ||
14932 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14933 | PyObject *resultobj; | |
14934 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14935 | PyObject * obj0 = 0 ; | |
14936 | char *kwnames[] = { | |
14937 | (char *) "self", NULL | |
14938 | }; | |
14939 | ||
14940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14943 | { |
14944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14945 | (arg1)->Restore(); | |
14946 | ||
14947 | wxPyEndAllowThreads(__tstate); | |
14948 | if (PyErr_Occurred()) SWIG_fail; | |
14949 | } | |
14950 | Py_INCREF(Py_None); resultobj = Py_None; | |
14951 | return resultobj; | |
14952 | fail: | |
14953 | return NULL; | |
14954 | } | |
14955 | ||
14956 | ||
14957 | static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) { | |
14958 | PyObject *obj; | |
14959 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14960 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14961 | Py_INCREF(obj); | |
14962 | return Py_BuildValue((char *)""); | |
14963 | } | |
14964 | static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14965 | PyObject *resultobj; | |
14966 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14967 | long arg2 = (long) 0 ; | |
14968 | wxMDIClientWindow *result; | |
14969 | PyObject * obj0 = 0 ; | |
8edf1c75 | 14970 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14971 | char *kwnames[] = { |
14972 | (char *) "parent",(char *) "style", NULL | |
14973 | }; | |
14974 | ||
8edf1c75 | 14975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
14976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 14978 | if (obj1) { |
2f4c0a16 RD |
14979 | arg2 = (long) SWIG_AsLong(obj1); |
14980 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14981 | } |
d14a1e28 RD |
14982 | { |
14983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14984 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14985 | ||
14986 | wxPyEndAllowThreads(__tstate); | |
14987 | if (PyErr_Occurred()) SWIG_fail; | |
14988 | } | |
14989 | { | |
14990 | resultobj = wxPyMake_wxObject(result); | |
14991 | } | |
14992 | return resultobj; | |
14993 | fail: | |
14994 | return NULL; | |
14995 | } | |
14996 | ||
14997 | ||
14998 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
14999 | PyObject *resultobj; | |
15000 | wxMDIClientWindow *result; | |
15001 | char *kwnames[] = { | |
15002 | NULL | |
15003 | }; | |
15004 | ||
15005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15006 | { | |
15007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15008 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15009 | ||
15010 | wxPyEndAllowThreads(__tstate); | |
15011 | if (PyErr_Occurred()) SWIG_fail; | |
15012 | } | |
15013 | { | |
15014 | resultobj = wxPyMake_wxObject(result); | |
15015 | } | |
15016 | return resultobj; | |
15017 | fail: | |
15018 | return NULL; | |
15019 | } | |
15020 | ||
15021 | ||
15022 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15023 | PyObject *resultobj; | |
15024 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15025 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15026 | long arg3 = (long) 0 ; | |
15027 | bool result; | |
15028 | PyObject * obj0 = 0 ; | |
15029 | PyObject * obj1 = 0 ; | |
8edf1c75 | 15030 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15031 | char *kwnames[] = { |
15032 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15033 | }; | |
15034 | ||
8edf1c75 | 15035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
15036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
15037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15038 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 15040 | if (obj2) { |
2f4c0a16 RD |
15041 | arg3 = (long) SWIG_AsLong(obj2); |
15042 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15043 | } |
d14a1e28 RD |
15044 | { |
15045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15046 | result = (bool)(arg1)->Create(arg2,arg3); | |
15047 | ||
15048 | wxPyEndAllowThreads(__tstate); | |
15049 | if (PyErr_Occurred()) SWIG_fail; | |
15050 | } | |
4f89f6a3 RD |
15051 | { |
15052 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15053 | } | |
d14a1e28 RD |
15054 | return resultobj; |
15055 | fail: | |
15056 | return NULL; | |
15057 | } | |
15058 | ||
15059 | ||
15060 | static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) { | |
15061 | PyObject *obj; | |
15062 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15063 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15064 | Py_INCREF(obj); | |
15065 | return Py_BuildValue((char *)""); | |
15066 | } | |
15067 | static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15068 | PyObject *resultobj; | |
15069 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 15070 | int arg2 ; |
d14a1e28 RD |
15071 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15072 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15073 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15074 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15075 | long arg5 = (long) 0 ; | |
15076 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15077 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15078 | wxPyWindow *result; | |
15079 | wxPoint temp3 ; | |
15080 | wxSize temp4 ; | |
423f194a | 15081 | bool temp6 = False ; |
d14a1e28 | 15082 | PyObject * obj0 = 0 ; |
8edf1c75 | 15083 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15084 | PyObject * obj2 = 0 ; |
15085 | PyObject * obj3 = 0 ; | |
8edf1c75 | 15086 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15087 | PyObject * obj5 = 0 ; |
15088 | char *kwnames[] = { | |
15089 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15090 | }; | |
15091 | ||
8edf1c75 | 15092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15095 | arg2 = (int const) SWIG_AsInt(obj1); | |
15096 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15097 | if (obj2) { |
15098 | { | |
15099 | arg3 = &temp3; | |
15100 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15101 | } | |
15102 | } | |
15103 | if (obj3) { | |
15104 | { | |
15105 | arg4 = &temp4; | |
15106 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15107 | } | |
15108 | } | |
8edf1c75 | 15109 | if (obj4) { |
2f4c0a16 RD |
15110 | arg5 = (long) SWIG_AsLong(obj4); |
15111 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15112 | } |
d14a1e28 RD |
15113 | if (obj5) { |
15114 | { | |
15115 | arg6 = wxString_in_helper(obj5); | |
15116 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 15117 | temp6 = True; |
d14a1e28 RD |
15118 | } |
15119 | } | |
15120 | { | |
15121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15122 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15123 | ||
15124 | wxPyEndAllowThreads(__tstate); | |
15125 | if (PyErr_Occurred()) SWIG_fail; | |
15126 | } | |
2f4c0a16 | 15127 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
15128 | { |
15129 | if (temp6) | |
15130 | delete arg6; | |
15131 | } | |
15132 | return resultobj; | |
15133 | fail: | |
15134 | { | |
15135 | if (temp6) | |
15136 | delete arg6; | |
15137 | } | |
15138 | return NULL; | |
15139 | } | |
15140 | ||
15141 | ||
15142 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15143 | PyObject *resultobj; | |
15144 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15145 | PyObject *arg2 = (PyObject *) 0 ; | |
15146 | PyObject *arg3 = (PyObject *) 0 ; | |
15147 | PyObject * obj0 = 0 ; | |
15148 | PyObject * obj1 = 0 ; | |
15149 | PyObject * obj2 = 0 ; | |
15150 | char *kwnames[] = { | |
15151 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15152 | }; | |
15153 | ||
15154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
15155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15157 | arg2 = obj1; |
15158 | arg3 = obj2; | |
15159 | { | |
15160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15161 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15162 | ||
15163 | wxPyEndAllowThreads(__tstate); | |
15164 | if (PyErr_Occurred()) SWIG_fail; | |
15165 | } | |
15166 | Py_INCREF(Py_None); resultobj = Py_None; | |
15167 | return resultobj; | |
15168 | fail: | |
15169 | return NULL; | |
15170 | } | |
15171 | ||
15172 | ||
15173 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15174 | PyObject *resultobj; | |
15175 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15176 | int arg2 ; | |
15177 | int arg3 ; | |
15178 | int arg4 ; | |
15179 | int arg5 ; | |
15180 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15181 | PyObject * obj1 = 0 ; |
15182 | PyObject * obj2 = 0 ; | |
15183 | PyObject * obj3 = 0 ; | |
15184 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15185 | char *kwnames[] = { |
15186 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15187 | }; | |
15188 | ||
8edf1c75 | 15189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
15190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15192 | arg2 = (int) SWIG_AsInt(obj1); | |
15193 | if (PyErr_Occurred()) SWIG_fail; | |
15194 | arg3 = (int) SWIG_AsInt(obj2); | |
15195 | if (PyErr_Occurred()) SWIG_fail; | |
15196 | arg4 = (int) SWIG_AsInt(obj3); | |
15197 | if (PyErr_Occurred()) SWIG_fail; | |
15198 | arg5 = (int) SWIG_AsInt(obj4); | |
15199 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15200 | { |
15201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15202 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15203 | ||
15204 | wxPyEndAllowThreads(__tstate); | |
15205 | if (PyErr_Occurred()) SWIG_fail; | |
15206 | } | |
15207 | Py_INCREF(Py_None); resultobj = Py_None; | |
15208 | return resultobj; | |
15209 | fail: | |
15210 | return NULL; | |
15211 | } | |
15212 | ||
15213 | ||
15214 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15215 | PyObject *resultobj; | |
15216 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15217 | int arg2 ; | |
15218 | int arg3 ; | |
15219 | int arg4 ; | |
15220 | int arg5 ; | |
15221 | int arg6 = (int) wxSIZE_AUTO ; | |
15222 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15223 | PyObject * obj1 = 0 ; |
15224 | PyObject * obj2 = 0 ; | |
15225 | PyObject * obj3 = 0 ; | |
15226 | PyObject * obj4 = 0 ; | |
15227 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15228 | char *kwnames[] = { |
15229 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15230 | }; | |
15231 | ||
8edf1c75 | 15232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15235 | arg2 = (int) SWIG_AsInt(obj1); | |
15236 | if (PyErr_Occurred()) SWIG_fail; | |
15237 | arg3 = (int) SWIG_AsInt(obj2); | |
15238 | if (PyErr_Occurred()) SWIG_fail; | |
15239 | arg4 = (int) SWIG_AsInt(obj3); | |
15240 | if (PyErr_Occurred()) SWIG_fail; | |
15241 | arg5 = (int) SWIG_AsInt(obj4); | |
15242 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15243 | if (obj5) { |
2f4c0a16 RD |
15244 | arg6 = (int) SWIG_AsInt(obj5); |
15245 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15246 | } |
d14a1e28 RD |
15247 | { |
15248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15249 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15250 | ||
15251 | wxPyEndAllowThreads(__tstate); | |
15252 | if (PyErr_Occurred()) SWIG_fail; | |
15253 | } | |
15254 | Py_INCREF(Py_None); resultobj = Py_None; | |
15255 | return resultobj; | |
15256 | fail: | |
15257 | return NULL; | |
15258 | } | |
15259 | ||
15260 | ||
15261 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15262 | PyObject *resultobj; | |
15263 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15264 | int arg2 ; | |
15265 | int arg3 ; | |
15266 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15267 | PyObject * obj1 = 0 ; |
15268 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15269 | char *kwnames[] = { |
15270 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15271 | }; | |
15272 | ||
8edf1c75 | 15273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
15274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15276 | arg2 = (int) SWIG_AsInt(obj1); | |
15277 | if (PyErr_Occurred()) SWIG_fail; | |
15278 | arg3 = (int) SWIG_AsInt(obj2); | |
15279 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15280 | { |
15281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15282 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15283 | ||
15284 | wxPyEndAllowThreads(__tstate); | |
15285 | if (PyErr_Occurred()) SWIG_fail; | |
15286 | } | |
15287 | Py_INCREF(Py_None); resultobj = Py_None; | |
15288 | return resultobj; | |
15289 | fail: | |
15290 | return NULL; | |
15291 | } | |
15292 | ||
15293 | ||
15294 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15295 | PyObject *resultobj; | |
15296 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15297 | int arg2 ; | |
15298 | int arg3 ; | |
15299 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15300 | PyObject * obj1 = 0 ; |
15301 | PyObject * obj2 = 0 ; | |
d14a1e28 | 15302 | char *kwnames[] = { |
2f4c0a16 RD |
15303 | (char *) "self",(char *) "x",(char *) "y", NULL |
15304 | }; | |
15305 | ||
15306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15307 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
15308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15309 | arg2 = (int) SWIG_AsInt(obj1); | |
15310 | if (PyErr_Occurred()) SWIG_fail; | |
15311 | arg3 = (int) SWIG_AsInt(obj2); | |
15312 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15313 | { |
15314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15315 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15316 | ||
15317 | wxPyEndAllowThreads(__tstate); | |
15318 | if (PyErr_Occurred()) SWIG_fail; | |
15319 | } | |
15320 | Py_INCREF(Py_None); resultobj = Py_None; | |
15321 | return resultobj; | |
15322 | fail: | |
15323 | return NULL; | |
15324 | } | |
15325 | ||
15326 | ||
15327 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15328 | PyObject *resultobj; | |
15329 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15330 | int *arg2 = (int *) 0 ; | |
15331 | int *arg3 = (int *) 0 ; | |
15332 | int temp2 ; | |
15333 | int temp3 ; | |
15334 | PyObject * obj0 = 0 ; | |
15335 | char *kwnames[] = { | |
15336 | (char *) "self", NULL | |
15337 | }; | |
15338 | ||
15339 | arg2 = &temp2; | |
15340 | arg3 = &temp3; | |
15341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15344 | { |
15345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15346 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
15347 | ||
15348 | wxPyEndAllowThreads(__tstate); | |
15349 | if (PyErr_Occurred()) SWIG_fail; | |
15350 | } | |
15351 | Py_INCREF(Py_None); resultobj = Py_None; | |
15352 | { | |
15353 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15354 | resultobj = t_output_helper(resultobj,o); | |
15355 | } | |
15356 | { | |
15357 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15358 | resultobj = t_output_helper(resultobj,o); | |
15359 | } | |
15360 | return resultobj; | |
15361 | fail: | |
15362 | return NULL; | |
15363 | } | |
15364 | ||
15365 | ||
15366 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15367 | PyObject *resultobj; | |
15368 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15369 | int *arg2 = (int *) 0 ; | |
15370 | int *arg3 = (int *) 0 ; | |
15371 | int temp2 ; | |
15372 | int temp3 ; | |
15373 | PyObject * obj0 = 0 ; | |
15374 | char *kwnames[] = { | |
15375 | (char *) "self", NULL | |
15376 | }; | |
15377 | ||
15378 | arg2 = &temp2; | |
15379 | arg3 = &temp3; | |
15380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15383 | { |
15384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15385 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15386 | ||
15387 | wxPyEndAllowThreads(__tstate); | |
15388 | if (PyErr_Occurred()) SWIG_fail; | |
15389 | } | |
15390 | Py_INCREF(Py_None); resultobj = Py_None; | |
15391 | { | |
15392 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15393 | resultobj = t_output_helper(resultobj,o); | |
15394 | } | |
15395 | { | |
15396 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15397 | resultobj = t_output_helper(resultobj,o); | |
15398 | } | |
15399 | return resultobj; | |
15400 | fail: | |
15401 | return NULL; | |
15402 | } | |
15403 | ||
15404 | ||
15405 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15406 | PyObject *resultobj; | |
15407 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15408 | int *arg2 = (int *) 0 ; | |
15409 | int *arg3 = (int *) 0 ; | |
15410 | int temp2 ; | |
15411 | int temp3 ; | |
15412 | PyObject * obj0 = 0 ; | |
15413 | char *kwnames[] = { | |
15414 | (char *) "self", NULL | |
15415 | }; | |
15416 | ||
15417 | arg2 = &temp2; | |
15418 | arg3 = &temp3; | |
15419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15422 | { |
15423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15424 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15425 | ||
15426 | wxPyEndAllowThreads(__tstate); | |
15427 | if (PyErr_Occurred()) SWIG_fail; | |
15428 | } | |
15429 | Py_INCREF(Py_None); resultobj = Py_None; | |
15430 | { | |
15431 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15432 | resultobj = t_output_helper(resultobj,o); | |
15433 | } | |
15434 | { | |
15435 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15436 | resultobj = t_output_helper(resultobj,o); | |
15437 | } | |
15438 | return resultobj; | |
15439 | fail: | |
15440 | return NULL; | |
15441 | } | |
15442 | ||
15443 | ||
15444 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15445 | PyObject *resultobj; | |
15446 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15447 | wxSize result; | |
15448 | PyObject * obj0 = 0 ; | |
15449 | char *kwnames[] = { | |
15450 | (char *) "self", NULL | |
15451 | }; | |
15452 | ||
15453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15456 | { |
15457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15458 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
15459 | ||
15460 | wxPyEndAllowThreads(__tstate); | |
15461 | if (PyErr_Occurred()) SWIG_fail; | |
15462 | } | |
15463 | { | |
15464 | wxSize * resultptr; | |
15465 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15466 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15467 | } |
15468 | return resultobj; | |
15469 | fail: | |
15470 | return NULL; | |
15471 | } | |
15472 | ||
15473 | ||
15474 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15475 | PyObject *resultobj; | |
15476 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15477 | wxSize result; | |
15478 | PyObject * obj0 = 0 ; | |
15479 | char *kwnames[] = { | |
15480 | (char *) "self", NULL | |
15481 | }; | |
15482 | ||
15483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15486 | { |
15487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15488 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
15489 | ||
15490 | wxPyEndAllowThreads(__tstate); | |
15491 | if (PyErr_Occurred()) SWIG_fail; | |
15492 | } | |
15493 | { | |
15494 | wxSize * resultptr; | |
15495 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15496 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15497 | } |
15498 | return resultobj; | |
15499 | fail: | |
15500 | return NULL; | |
15501 | } | |
15502 | ||
15503 | ||
15504 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15505 | PyObject *resultobj; | |
15506 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15507 | PyObject * obj0 = 0 ; | |
15508 | char *kwnames[] = { | |
15509 | (char *) "self", NULL | |
15510 | }; | |
15511 | ||
15512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15513 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15514 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15515 | { |
15516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15517 | (arg1)->base_InitDialog(); | |
15518 | ||
15519 | wxPyEndAllowThreads(__tstate); | |
15520 | if (PyErr_Occurred()) SWIG_fail; | |
15521 | } | |
15522 | Py_INCREF(Py_None); resultobj = Py_None; | |
15523 | return resultobj; | |
15524 | fail: | |
15525 | return NULL; | |
15526 | } | |
15527 | ||
15528 | ||
15529 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15530 | PyObject *resultobj; | |
15531 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15532 | bool result; | |
15533 | PyObject * obj0 = 0 ; | |
15534 | char *kwnames[] = { | |
15535 | (char *) "self", NULL | |
15536 | }; | |
15537 | ||
15538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15541 | { |
15542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15543 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15544 | ||
15545 | wxPyEndAllowThreads(__tstate); | |
15546 | if (PyErr_Occurred()) SWIG_fail; | |
15547 | } | |
4f89f6a3 RD |
15548 | { |
15549 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15550 | } | |
d14a1e28 RD |
15551 | return resultobj; |
15552 | fail: | |
15553 | return NULL; | |
15554 | } | |
15555 | ||
15556 | ||
15557 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15558 | PyObject *resultobj; | |
15559 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15560 | bool result; | |
15561 | PyObject * obj0 = 0 ; | |
15562 | char *kwnames[] = { | |
15563 | (char *) "self", NULL | |
15564 | }; | |
15565 | ||
15566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15569 | { |
15570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15571 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15572 | ||
15573 | wxPyEndAllowThreads(__tstate); | |
15574 | if (PyErr_Occurred()) SWIG_fail; | |
15575 | } | |
4f89f6a3 RD |
15576 | { |
15577 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15578 | } | |
d14a1e28 RD |
15579 | return resultobj; |
15580 | fail: | |
15581 | return NULL; | |
15582 | } | |
15583 | ||
15584 | ||
15585 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15586 | PyObject *resultobj; | |
15587 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15588 | bool result; | |
15589 | PyObject * obj0 = 0 ; | |
15590 | char *kwnames[] = { | |
15591 | (char *) "self", NULL | |
15592 | }; | |
15593 | ||
15594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15597 | { |
15598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15599 | result = (bool)(arg1)->base_Validate(); | |
15600 | ||
15601 | wxPyEndAllowThreads(__tstate); | |
15602 | if (PyErr_Occurred()) SWIG_fail; | |
15603 | } | |
4f89f6a3 RD |
15604 | { |
15605 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15606 | } | |
d14a1e28 RD |
15607 | return resultobj; |
15608 | fail: | |
15609 | return NULL; | |
15610 | } | |
15611 | ||
15612 | ||
15613 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15614 | PyObject *resultobj; | |
15615 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15616 | bool result; | |
15617 | PyObject * obj0 = 0 ; | |
15618 | char *kwnames[] = { | |
15619 | (char *) "self", NULL | |
15620 | }; | |
15621 | ||
15622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15625 | { |
15626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15627 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15628 | ||
15629 | wxPyEndAllowThreads(__tstate); | |
15630 | if (PyErr_Occurred()) SWIG_fail; | |
15631 | } | |
4f89f6a3 RD |
15632 | { |
15633 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15634 | } | |
d14a1e28 RD |
15635 | return resultobj; |
15636 | fail: | |
15637 | return NULL; | |
15638 | } | |
15639 | ||
15640 | ||
15641 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15642 | PyObject *resultobj; | |
15643 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15644 | bool result; | |
15645 | PyObject * obj0 = 0 ; | |
15646 | char *kwnames[] = { | |
15647 | (char *) "self", NULL | |
15648 | }; | |
15649 | ||
15650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15653 | { |
15654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15655 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15656 | ||
15657 | wxPyEndAllowThreads(__tstate); | |
15658 | if (PyErr_Occurred()) SWIG_fail; | |
15659 | } | |
4f89f6a3 RD |
15660 | { |
15661 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15662 | } | |
d14a1e28 RD |
15663 | return resultobj; |
15664 | fail: | |
15665 | return NULL; | |
15666 | } | |
15667 | ||
15668 | ||
15669 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15670 | PyObject *resultobj; | |
15671 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15672 | wxSize result; | |
15673 | PyObject * obj0 = 0 ; | |
15674 | char *kwnames[] = { | |
15675 | (char *) "self", NULL | |
15676 | }; | |
15677 | ||
15678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15681 | { |
15682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15683 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15684 | ||
15685 | wxPyEndAllowThreads(__tstate); | |
15686 | if (PyErr_Occurred()) SWIG_fail; | |
15687 | } | |
15688 | { | |
15689 | wxSize * resultptr; | |
15690 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15691 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15692 | } |
15693 | return resultobj; | |
15694 | fail: | |
15695 | return NULL; | |
15696 | } | |
15697 | ||
15698 | ||
15699 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15700 | PyObject *resultobj; | |
15701 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15702 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15703 | PyObject * obj0 = 0 ; | |
15704 | PyObject * obj1 = 0 ; | |
15705 | char *kwnames[] = { | |
15706 | (char *) "self",(char *) "child", NULL | |
15707 | }; | |
15708 | ||
15709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15710 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15711 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15712 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15714 | { |
15715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15716 | (arg1)->base_AddChild(arg2); | |
15717 | ||
15718 | wxPyEndAllowThreads(__tstate); | |
15719 | if (PyErr_Occurred()) SWIG_fail; | |
15720 | } | |
15721 | Py_INCREF(Py_None); resultobj = Py_None; | |
15722 | return resultobj; | |
15723 | fail: | |
15724 | return NULL; | |
15725 | } | |
15726 | ||
15727 | ||
15728 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15729 | PyObject *resultobj; | |
15730 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15731 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15732 | PyObject * obj0 = 0 ; | |
15733 | PyObject * obj1 = 0 ; | |
15734 | char *kwnames[] = { | |
15735 | (char *) "self",(char *) "child", NULL | |
15736 | }; | |
15737 | ||
15738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15739 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15740 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15741 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15743 | { |
15744 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15745 | (arg1)->base_RemoveChild(arg2); | |
15746 | ||
15747 | wxPyEndAllowThreads(__tstate); | |
15748 | if (PyErr_Occurred()) SWIG_fail; | |
15749 | } | |
15750 | Py_INCREF(Py_None); resultobj = Py_None; | |
15751 | return resultobj; | |
15752 | fail: | |
15753 | return NULL; | |
15754 | } | |
15755 | ||
15756 | ||
15757 | static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) { | |
15758 | PyObject *obj; | |
15759 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15760 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15761 | Py_INCREF(obj); | |
15762 | return Py_BuildValue((char *)""); | |
15763 | } | |
15764 | static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15765 | PyObject *resultobj; | |
15766 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 15767 | int arg2 ; |
d14a1e28 RD |
15768 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15769 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15770 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15771 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15772 | long arg5 = (long) 0 ; | |
15773 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15774 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15775 | wxPyPanel *result; | |
15776 | wxPoint temp3 ; | |
15777 | wxSize temp4 ; | |
423f194a | 15778 | bool temp6 = False ; |
d14a1e28 | 15779 | PyObject * obj0 = 0 ; |
8edf1c75 | 15780 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15781 | PyObject * obj2 = 0 ; |
15782 | PyObject * obj3 = 0 ; | |
8edf1c75 | 15783 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15784 | PyObject * obj5 = 0 ; |
15785 | char *kwnames[] = { | |
15786 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15787 | }; | |
15788 | ||
8edf1c75 | 15789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15792 | arg2 = (int const) SWIG_AsInt(obj1); | |
15793 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15794 | if (obj2) { |
15795 | { | |
15796 | arg3 = &temp3; | |
15797 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15798 | } | |
15799 | } | |
15800 | if (obj3) { | |
15801 | { | |
15802 | arg4 = &temp4; | |
15803 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15804 | } | |
15805 | } | |
8edf1c75 | 15806 | if (obj4) { |
2f4c0a16 RD |
15807 | arg5 = (long) SWIG_AsLong(obj4); |
15808 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15809 | } |
d14a1e28 RD |
15810 | if (obj5) { |
15811 | { | |
15812 | arg6 = wxString_in_helper(obj5); | |
15813 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 15814 | temp6 = True; |
d14a1e28 RD |
15815 | } |
15816 | } | |
15817 | { | |
15818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15819 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15820 | ||
15821 | wxPyEndAllowThreads(__tstate); | |
15822 | if (PyErr_Occurred()) SWIG_fail; | |
15823 | } | |
2f4c0a16 | 15824 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15825 | { |
15826 | if (temp6) | |
15827 | delete arg6; | |
15828 | } | |
15829 | return resultobj; | |
15830 | fail: | |
15831 | { | |
15832 | if (temp6) | |
15833 | delete arg6; | |
15834 | } | |
15835 | return NULL; | |
15836 | } | |
15837 | ||
15838 | ||
15839 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15840 | PyObject *resultobj; | |
15841 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15842 | PyObject *arg2 = (PyObject *) 0 ; | |
15843 | PyObject *arg3 = (PyObject *) 0 ; | |
15844 | PyObject * obj0 = 0 ; | |
15845 | PyObject * obj1 = 0 ; | |
15846 | PyObject * obj2 = 0 ; | |
15847 | char *kwnames[] = { | |
15848 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15849 | }; | |
15850 | ||
15851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
15852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15854 | arg2 = obj1; |
15855 | arg3 = obj2; | |
15856 | { | |
15857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15858 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15859 | ||
15860 | wxPyEndAllowThreads(__tstate); | |
15861 | if (PyErr_Occurred()) SWIG_fail; | |
15862 | } | |
15863 | Py_INCREF(Py_None); resultobj = Py_None; | |
15864 | return resultobj; | |
15865 | fail: | |
15866 | return NULL; | |
15867 | } | |
15868 | ||
15869 | ||
15870 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15871 | PyObject *resultobj; | |
15872 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15873 | int arg2 ; | |
15874 | int arg3 ; | |
15875 | int arg4 ; | |
15876 | int arg5 ; | |
15877 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15878 | PyObject * obj1 = 0 ; |
15879 | PyObject * obj2 = 0 ; | |
15880 | PyObject * obj3 = 0 ; | |
15881 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15882 | char *kwnames[] = { |
15883 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15884 | }; | |
15885 | ||
8edf1c75 | 15886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
15887 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15889 | arg2 = (int) SWIG_AsInt(obj1); | |
15890 | if (PyErr_Occurred()) SWIG_fail; | |
15891 | arg3 = (int) SWIG_AsInt(obj2); | |
15892 | if (PyErr_Occurred()) SWIG_fail; | |
15893 | arg4 = (int) SWIG_AsInt(obj3); | |
15894 | if (PyErr_Occurred()) SWIG_fail; | |
15895 | arg5 = (int) SWIG_AsInt(obj4); | |
15896 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15897 | { |
15898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15899 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15900 | ||
15901 | wxPyEndAllowThreads(__tstate); | |
15902 | if (PyErr_Occurred()) SWIG_fail; | |
15903 | } | |
15904 | Py_INCREF(Py_None); resultobj = Py_None; | |
15905 | return resultobj; | |
15906 | fail: | |
15907 | return NULL; | |
15908 | } | |
15909 | ||
15910 | ||
15911 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15912 | PyObject *resultobj; | |
15913 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15914 | int arg2 ; | |
15915 | int arg3 ; | |
15916 | int arg4 ; | |
15917 | int arg5 ; | |
15918 | int arg6 = (int) wxSIZE_AUTO ; | |
15919 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15920 | PyObject * obj1 = 0 ; |
15921 | PyObject * obj2 = 0 ; | |
15922 | PyObject * obj3 = 0 ; | |
15923 | PyObject * obj4 = 0 ; | |
15924 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15925 | char *kwnames[] = { |
15926 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15927 | }; | |
15928 | ||
8edf1c75 | 15929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15932 | arg2 = (int) SWIG_AsInt(obj1); | |
15933 | if (PyErr_Occurred()) SWIG_fail; | |
15934 | arg3 = (int) SWIG_AsInt(obj2); | |
15935 | if (PyErr_Occurred()) SWIG_fail; | |
15936 | arg4 = (int) SWIG_AsInt(obj3); | |
15937 | if (PyErr_Occurred()) SWIG_fail; | |
15938 | arg5 = (int) SWIG_AsInt(obj4); | |
15939 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15940 | if (obj5) { |
2f4c0a16 RD |
15941 | arg6 = (int) SWIG_AsInt(obj5); |
15942 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15943 | } |
d14a1e28 RD |
15944 | { |
15945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15946 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15947 | ||
15948 | wxPyEndAllowThreads(__tstate); | |
15949 | if (PyErr_Occurred()) SWIG_fail; | |
15950 | } | |
15951 | Py_INCREF(Py_None); resultobj = Py_None; | |
15952 | return resultobj; | |
15953 | fail: | |
15954 | return NULL; | |
15955 | } | |
15956 | ||
15957 | ||
15958 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15959 | PyObject *resultobj; | |
15960 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15961 | int arg2 ; | |
15962 | int arg3 ; | |
15963 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15964 | PyObject * obj1 = 0 ; |
15965 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15966 | char *kwnames[] = { |
15967 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15968 | }; | |
15969 | ||
8edf1c75 | 15970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
15971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15973 | arg2 = (int) SWIG_AsInt(obj1); | |
15974 | if (PyErr_Occurred()) SWIG_fail; | |
15975 | arg3 = (int) SWIG_AsInt(obj2); | |
15976 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15977 | { |
15978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15979 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15980 | ||
15981 | wxPyEndAllowThreads(__tstate); | |
15982 | if (PyErr_Occurred()) SWIG_fail; | |
15983 | } | |
15984 | Py_INCREF(Py_None); resultobj = Py_None; | |
15985 | return resultobj; | |
15986 | fail: | |
15987 | return NULL; | |
15988 | } | |
15989 | ||
15990 | ||
15991 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
15992 | PyObject *resultobj; | |
15993 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15994 | int arg2 ; | |
15995 | int arg3 ; | |
15996 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15997 | PyObject * obj1 = 0 ; |
15998 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15999 | char *kwnames[] = { |
16000 | (char *) "self",(char *) "x",(char *) "y", NULL | |
16001 | }; | |
16002 | ||
8edf1c75 | 16003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
16004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16006 | arg2 = (int) SWIG_AsInt(obj1); | |
16007 | if (PyErr_Occurred()) SWIG_fail; | |
16008 | arg3 = (int) SWIG_AsInt(obj2); | |
16009 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16010 | { |
16011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16012 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16013 | ||
16014 | wxPyEndAllowThreads(__tstate); | |
16015 | if (PyErr_Occurred()) SWIG_fail; | |
16016 | } | |
16017 | Py_INCREF(Py_None); resultobj = Py_None; | |
16018 | return resultobj; | |
16019 | fail: | |
16020 | return NULL; | |
16021 | } | |
16022 | ||
16023 | ||
16024 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16025 | PyObject *resultobj; | |
16026 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16027 | int *arg2 = (int *) 0 ; | |
16028 | int *arg3 = (int *) 0 ; | |
16029 | int temp2 ; | |
16030 | int temp3 ; | |
16031 | PyObject * obj0 = 0 ; | |
16032 | char *kwnames[] = { | |
16033 | (char *) "self", NULL | |
16034 | }; | |
16035 | ||
16036 | arg2 = &temp2; | |
16037 | arg3 = &temp3; | |
16038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16041 | { |
16042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16043 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
16044 | ||
16045 | wxPyEndAllowThreads(__tstate); | |
16046 | if (PyErr_Occurred()) SWIG_fail; | |
16047 | } | |
16048 | Py_INCREF(Py_None); resultobj = Py_None; | |
16049 | { | |
16050 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16051 | resultobj = t_output_helper(resultobj,o); | |
16052 | } | |
16053 | { | |
16054 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16055 | resultobj = t_output_helper(resultobj,o); | |
16056 | } | |
16057 | return resultobj; | |
16058 | fail: | |
16059 | return NULL; | |
16060 | } | |
16061 | ||
16062 | ||
16063 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16064 | PyObject *resultobj; | |
16065 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16066 | int *arg2 = (int *) 0 ; | |
16067 | int *arg3 = (int *) 0 ; | |
16068 | int temp2 ; | |
16069 | int temp3 ; | |
16070 | PyObject * obj0 = 0 ; | |
16071 | char *kwnames[] = { | |
16072 | (char *) "self", NULL | |
16073 | }; | |
16074 | ||
16075 | arg2 = &temp2; | |
16076 | arg3 = &temp3; | |
16077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16078 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16080 | { |
16081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16082 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16083 | ||
16084 | wxPyEndAllowThreads(__tstate); | |
16085 | if (PyErr_Occurred()) SWIG_fail; | |
16086 | } | |
16087 | Py_INCREF(Py_None); resultobj = Py_None; | |
16088 | { | |
16089 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16090 | resultobj = t_output_helper(resultobj,o); | |
16091 | } | |
16092 | { | |
16093 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16094 | resultobj = t_output_helper(resultobj,o); | |
16095 | } | |
16096 | return resultobj; | |
16097 | fail: | |
16098 | return NULL; | |
16099 | } | |
16100 | ||
16101 | ||
16102 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16103 | PyObject *resultobj; | |
16104 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16105 | int *arg2 = (int *) 0 ; | |
16106 | int *arg3 = (int *) 0 ; | |
16107 | int temp2 ; | |
16108 | int temp3 ; | |
16109 | PyObject * obj0 = 0 ; | |
16110 | char *kwnames[] = { | |
16111 | (char *) "self", NULL | |
16112 | }; | |
16113 | ||
16114 | arg2 = &temp2; | |
16115 | arg3 = &temp3; | |
16116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16117 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16118 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16119 | { |
16120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16121 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16122 | ||
16123 | wxPyEndAllowThreads(__tstate); | |
16124 | if (PyErr_Occurred()) SWIG_fail; | |
16125 | } | |
16126 | Py_INCREF(Py_None); resultobj = Py_None; | |
16127 | { | |
16128 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
16129 | resultobj = t_output_helper(resultobj,o); | |
16130 | } | |
16131 | { | |
16132 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
16133 | resultobj = t_output_helper(resultobj,o); | |
16134 | } | |
16135 | return resultobj; | |
16136 | fail: | |
16137 | return NULL; | |
16138 | } | |
16139 | ||
16140 | ||
16141 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16142 | PyObject *resultobj; | |
16143 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16144 | wxSize result; | |
16145 | PyObject * obj0 = 0 ; | |
16146 | char *kwnames[] = { | |
16147 | (char *) "self", NULL | |
16148 | }; | |
16149 | ||
16150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16153 | { |
16154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16155 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
16156 | ||
16157 | wxPyEndAllowThreads(__tstate); | |
16158 | if (PyErr_Occurred()) SWIG_fail; | |
16159 | } | |
16160 | { | |
16161 | wxSize * resultptr; | |
16162 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 16163 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16164 | } |
16165 | return resultobj; | |
16166 | fail: | |
16167 | return NULL; | |
16168 | } | |
16169 | ||
16170 | ||
16171 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16172 | PyObject *resultobj; | |
16173 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16174 | wxSize result; | |
16175 | PyObject * obj0 = 0 ; | |
16176 | char *kwnames[] = { | |
16177 | (char *) "self", NULL | |
16178 | }; | |
16179 | ||
16180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16181 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16182 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16183 | { |
16184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16185 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
16186 | ||
16187 | wxPyEndAllowThreads(__tstate); | |
16188 | if (PyErr_Occurred()) SWIG_fail; | |
16189 | } | |
16190 | { | |
16191 | wxSize * resultptr; | |
16192 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 16193 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16194 | } |
16195 | return resultobj; | |
16196 | fail: | |
16197 | return NULL; | |
16198 | } | |
16199 | ||
16200 | ||
16201 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16202 | PyObject *resultobj; | |
16203 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16204 | PyObject * obj0 = 0 ; | |
16205 | char *kwnames[] = { | |
16206 | (char *) "self", NULL | |
16207 | }; | |
16208 | ||
16209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16212 | { |
16213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16214 | (arg1)->base_InitDialog(); | |
16215 | ||
16216 | wxPyEndAllowThreads(__tstate); | |
16217 | if (PyErr_Occurred()) SWIG_fail; | |
16218 | } | |
16219 | Py_INCREF(Py_None); resultobj = Py_None; | |
16220 | return resultobj; | |
16221 | fail: | |
16222 | return NULL; | |
16223 | } | |
16224 | ||
16225 | ||
16226 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16227 | PyObject *resultobj; | |
16228 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16229 | bool result; | |
16230 | PyObject * obj0 = 0 ; | |
16231 | char *kwnames[] = { | |
16232 | (char *) "self", NULL | |
16233 | }; | |
16234 | ||
16235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16236 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16238 | { |
16239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16240 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16241 | ||
16242 | wxPyEndAllowThreads(__tstate); | |
16243 | if (PyErr_Occurred()) SWIG_fail; | |
16244 | } | |
4f89f6a3 RD |
16245 | { |
16246 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16247 | } | |
d14a1e28 RD |
16248 | return resultobj; |
16249 | fail: | |
16250 | return NULL; | |
16251 | } | |
16252 | ||
16253 | ||
16254 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16255 | PyObject *resultobj; | |
16256 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16257 | bool result; | |
16258 | PyObject * obj0 = 0 ; | |
16259 | char *kwnames[] = { | |
16260 | (char *) "self", NULL | |
16261 | }; | |
16262 | ||
16263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16266 | { |
16267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16268 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16269 | ||
16270 | wxPyEndAllowThreads(__tstate); | |
16271 | if (PyErr_Occurred()) SWIG_fail; | |
16272 | } | |
4f89f6a3 RD |
16273 | { |
16274 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16275 | } | |
d14a1e28 RD |
16276 | return resultobj; |
16277 | fail: | |
16278 | return NULL; | |
16279 | } | |
16280 | ||
16281 | ||
16282 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16283 | PyObject *resultobj; | |
16284 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16285 | bool result; | |
16286 | PyObject * obj0 = 0 ; | |
16287 | char *kwnames[] = { | |
16288 | (char *) "self", NULL | |
16289 | }; | |
16290 | ||
16291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16294 | { |
16295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16296 | result = (bool)(arg1)->base_Validate(); | |
16297 | ||
16298 | wxPyEndAllowThreads(__tstate); | |
16299 | if (PyErr_Occurred()) SWIG_fail; | |
16300 | } | |
4f89f6a3 RD |
16301 | { |
16302 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16303 | } | |
d14a1e28 RD |
16304 | return resultobj; |
16305 | fail: | |
16306 | return NULL; | |
16307 | } | |
16308 | ||
16309 | ||
16310 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16311 | PyObject *resultobj; | |
16312 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16313 | bool result; | |
16314 | PyObject * obj0 = 0 ; | |
16315 | char *kwnames[] = { | |
16316 | (char *) "self", NULL | |
16317 | }; | |
16318 | ||
16319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16322 | { |
16323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16324 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
16325 | ||
16326 | wxPyEndAllowThreads(__tstate); | |
16327 | if (PyErr_Occurred()) SWIG_fail; | |
16328 | } | |
4f89f6a3 RD |
16329 | { |
16330 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16331 | } | |
d14a1e28 RD |
16332 | return resultobj; |
16333 | fail: | |
16334 | return NULL; | |
16335 | } | |
16336 | ||
16337 | ||
16338 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16339 | PyObject *resultobj; | |
16340 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16341 | bool result; | |
16342 | PyObject * obj0 = 0 ; | |
16343 | char *kwnames[] = { | |
16344 | (char *) "self", NULL | |
16345 | }; | |
16346 | ||
16347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16348 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16349 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16350 | { |
16351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16352 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16353 | ||
16354 | wxPyEndAllowThreads(__tstate); | |
16355 | if (PyErr_Occurred()) SWIG_fail; | |
16356 | } | |
4f89f6a3 RD |
16357 | { |
16358 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16359 | } | |
d14a1e28 RD |
16360 | return resultobj; |
16361 | fail: | |
16362 | return NULL; | |
16363 | } | |
16364 | ||
16365 | ||
16366 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16367 | PyObject *resultobj; | |
16368 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16369 | wxSize result; | |
16370 | PyObject * obj0 = 0 ; | |
16371 | char *kwnames[] = { | |
16372 | (char *) "self", NULL | |
16373 | }; | |
16374 | ||
16375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16378 | { |
16379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16380 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
16381 | ||
16382 | wxPyEndAllowThreads(__tstate); | |
16383 | if (PyErr_Occurred()) SWIG_fail; | |
16384 | } | |
16385 | { | |
16386 | wxSize * resultptr; | |
16387 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 16388 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16389 | } |
16390 | return resultobj; | |
16391 | fail: | |
16392 | return NULL; | |
16393 | } | |
16394 | ||
16395 | ||
16396 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16397 | PyObject *resultobj; | |
16398 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16399 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16400 | PyObject * obj0 = 0 ; | |
16401 | PyObject * obj1 = 0 ; | |
16402 | char *kwnames[] = { | |
16403 | (char *) "self",(char *) "child", NULL | |
16404 | }; | |
16405 | ||
16406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16407 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16408 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16409 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16411 | { |
16412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16413 | (arg1)->base_AddChild(arg2); | |
16414 | ||
16415 | wxPyEndAllowThreads(__tstate); | |
16416 | if (PyErr_Occurred()) SWIG_fail; | |
16417 | } | |
16418 | Py_INCREF(Py_None); resultobj = Py_None; | |
16419 | return resultobj; | |
16420 | fail: | |
16421 | return NULL; | |
16422 | } | |
16423 | ||
16424 | ||
16425 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16426 | PyObject *resultobj; | |
16427 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16428 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16429 | PyObject * obj0 = 0 ; | |
16430 | PyObject * obj1 = 0 ; | |
16431 | char *kwnames[] = { | |
16432 | (char *) "self",(char *) "child", NULL | |
16433 | }; | |
16434 | ||
16435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16438 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16440 | { |
16441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16442 | (arg1)->base_RemoveChild(arg2); | |
16443 | ||
16444 | wxPyEndAllowThreads(__tstate); | |
16445 | if (PyErr_Occurred()) SWIG_fail; | |
16446 | } | |
16447 | Py_INCREF(Py_None); resultobj = Py_None; | |
16448 | return resultobj; | |
16449 | fail: | |
16450 | return NULL; | |
16451 | } | |
16452 | ||
16453 | ||
16454 | static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) { | |
16455 | PyObject *obj; | |
16456 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16457 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
16458 | Py_INCREF(obj); | |
16459 | return Py_BuildValue((char *)""); | |
16460 | } | |
2f4c0a16 | 16461 | static int _wrap_PrintoutTitleStr_set(PyObject *_val) { |
d03fd34d RD |
16462 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
16463 | return 1; | |
16464 | } | |
16465 | ||
16466 | ||
16467 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
16468 | PyObject *pyobj; | |
16469 | ||
16470 | { | |
16471 | #if wxUSE_UNICODE | |
16472 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16473 | #else | |
16474 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
16475 | #endif | |
16476 | } | |
16477 | return pyobj; | |
16478 | } | |
16479 | ||
16480 | ||
2f4c0a16 | 16481 | static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) { |
d03fd34d RD |
16482 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
16483 | return 1; | |
16484 | } | |
16485 | ||
16486 | ||
16487 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
16488 | PyObject *pyobj; | |
16489 | ||
16490 | { | |
16491 | #if wxUSE_UNICODE | |
16492 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16493 | #else | |
16494 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
16495 | #endif | |
16496 | } | |
16497 | return pyobj; | |
16498 | } | |
16499 | ||
16500 | ||
d14a1e28 RD |
16501 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { |
16502 | PyObject *resultobj; | |
16503 | wxPrintData *result; | |
16504 | char *kwnames[] = { | |
16505 | NULL | |
16506 | }; | |
16507 | ||
16508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
16509 | { | |
16510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16511 | result = (wxPrintData *)new wxPrintData(); | |
16512 | ||
16513 | wxPyEndAllowThreads(__tstate); | |
16514 | if (PyErr_Occurred()) SWIG_fail; | |
16515 | } | |
2f4c0a16 | 16516 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); |
d14a1e28 RD |
16517 | return resultobj; |
16518 | fail: | |
16519 | return NULL; | |
16520 | } | |
16521 | ||
16522 | ||
16523 | static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16524 | PyObject *resultobj; | |
16525 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16526 | PyObject * obj0 = 0 ; | |
16527 | char *kwnames[] = { | |
16528 | (char *) "self", NULL | |
16529 | }; | |
16530 | ||
16531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16534 | { |
16535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16536 | delete arg1; | |
16537 | ||
16538 | wxPyEndAllowThreads(__tstate); | |
16539 | if (PyErr_Occurred()) SWIG_fail; | |
16540 | } | |
16541 | Py_INCREF(Py_None); resultobj = Py_None; | |
16542 | return resultobj; | |
16543 | fail: | |
16544 | return NULL; | |
16545 | } | |
16546 | ||
16547 | ||
16548 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16549 | PyObject *resultobj; | |
16550 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16551 | int result; | |
16552 | PyObject * obj0 = 0 ; | |
16553 | char *kwnames[] = { | |
16554 | (char *) "self", NULL | |
16555 | }; | |
16556 | ||
16557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16560 | { |
16561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16562 | result = (int)(arg1)->GetNoCopies(); | |
16563 | ||
16564 | wxPyEndAllowThreads(__tstate); | |
16565 | if (PyErr_Occurred()) SWIG_fail; | |
16566 | } | |
2f4c0a16 | 16567 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16568 | return resultobj; |
16569 | fail: | |
16570 | return NULL; | |
16571 | } | |
16572 | ||
16573 | ||
16574 | static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16575 | PyObject *resultobj; | |
16576 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16577 | bool result; | |
16578 | PyObject * obj0 = 0 ; | |
16579 | char *kwnames[] = { | |
16580 | (char *) "self", NULL | |
16581 | }; | |
16582 | ||
16583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16586 | { |
16587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16588 | result = (bool)(arg1)->GetCollate(); | |
16589 | ||
16590 | wxPyEndAllowThreads(__tstate); | |
16591 | if (PyErr_Occurred()) SWIG_fail; | |
16592 | } | |
4f89f6a3 RD |
16593 | { |
16594 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16595 | } | |
d14a1e28 RD |
16596 | return resultobj; |
16597 | fail: | |
16598 | return NULL; | |
16599 | } | |
16600 | ||
16601 | ||
16602 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16603 | PyObject *resultobj; | |
16604 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16605 | int result; | |
16606 | PyObject * obj0 = 0 ; | |
16607 | char *kwnames[] = { | |
16608 | (char *) "self", NULL | |
16609 | }; | |
16610 | ||
16611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16614 | { |
16615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16616 | result = (int)(arg1)->GetOrientation(); | |
16617 | ||
16618 | wxPyEndAllowThreads(__tstate); | |
16619 | if (PyErr_Occurred()) SWIG_fail; | |
16620 | } | |
2f4c0a16 | 16621 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16622 | return resultobj; |
16623 | fail: | |
16624 | return NULL; | |
16625 | } | |
16626 | ||
16627 | ||
16628 | static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16629 | PyObject *resultobj; | |
16630 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16631 | bool result; | |
16632 | PyObject * obj0 = 0 ; | |
16633 | char *kwnames[] = { | |
16634 | (char *) "self", NULL | |
16635 | }; | |
16636 | ||
16637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16640 | { |
16641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16642 | result = (bool)(arg1)->Ok(); | |
16643 | ||
16644 | wxPyEndAllowThreads(__tstate); | |
16645 | if (PyErr_Occurred()) SWIG_fail; | |
16646 | } | |
4f89f6a3 RD |
16647 | { |
16648 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16649 | } | |
d14a1e28 RD |
16650 | return resultobj; |
16651 | fail: | |
16652 | return NULL; | |
16653 | } | |
16654 | ||
16655 | ||
16656 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16657 | PyObject *resultobj; | |
16658 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16659 | wxString *result; | |
16660 | PyObject * obj0 = 0 ; | |
16661 | char *kwnames[] = { | |
16662 | (char *) "self", NULL | |
16663 | }; | |
16664 | ||
16665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16668 | { |
16669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16670 | { | |
16671 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16672 | result = (wxString *) &_result_ref; | |
16673 | } | |
16674 | ||
16675 | wxPyEndAllowThreads(__tstate); | |
16676 | if (PyErr_Occurred()) SWIG_fail; | |
16677 | } | |
f0983263 RD |
16678 | { |
16679 | #if wxUSE_UNICODE | |
16680 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16681 | #else | |
16682 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16683 | #endif | |
16684 | } | |
d14a1e28 RD |
16685 | return resultobj; |
16686 | fail: | |
16687 | return NULL; | |
16688 | } | |
16689 | ||
16690 | ||
16691 | static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16692 | PyObject *resultobj; | |
16693 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16694 | bool result; | |
16695 | PyObject * obj0 = 0 ; | |
16696 | char *kwnames[] = { | |
16697 | (char *) "self", NULL | |
16698 | }; | |
16699 | ||
16700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16701 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16702 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16703 | { |
16704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16705 | result = (bool)(arg1)->GetColour(); | |
16706 | ||
16707 | wxPyEndAllowThreads(__tstate); | |
16708 | if (PyErr_Occurred()) SWIG_fail; | |
16709 | } | |
4f89f6a3 RD |
16710 | { |
16711 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16712 | } | |
d14a1e28 RD |
16713 | return resultobj; |
16714 | fail: | |
16715 | return NULL; | |
16716 | } | |
16717 | ||
16718 | ||
16719 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16720 | PyObject *resultobj; | |
16721 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16722 | int result; | |
16723 | PyObject * obj0 = 0 ; | |
16724 | char *kwnames[] = { | |
16725 | (char *) "self", NULL | |
16726 | }; | |
16727 | ||
16728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16729 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16730 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16731 | { |
16732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16733 | result = (int)(arg1)->GetDuplex(); | |
16734 | ||
16735 | wxPyEndAllowThreads(__tstate); | |
16736 | if (PyErr_Occurred()) SWIG_fail; | |
16737 | } | |
2f4c0a16 | 16738 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16739 | return resultobj; |
16740 | fail: | |
16741 | return NULL; | |
16742 | } | |
16743 | ||
16744 | ||
16745 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16746 | PyObject *resultobj; | |
16747 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16748 | int result; | |
16749 | PyObject * obj0 = 0 ; | |
16750 | char *kwnames[] = { | |
16751 | (char *) "self", NULL | |
16752 | }; | |
16753 | ||
16754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16757 | { |
16758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16759 | result = (int)(arg1)->GetPaperId(); | |
16760 | ||
16761 | wxPyEndAllowThreads(__tstate); | |
16762 | if (PyErr_Occurred()) SWIG_fail; | |
16763 | } | |
2f4c0a16 | 16764 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16765 | return resultobj; |
16766 | fail: | |
16767 | return NULL; | |
16768 | } | |
16769 | ||
16770 | ||
16771 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16772 | PyObject *resultobj; | |
16773 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16774 | wxSize *result; | |
16775 | PyObject * obj0 = 0 ; | |
16776 | char *kwnames[] = { | |
16777 | (char *) "self", NULL | |
16778 | }; | |
16779 | ||
16780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16783 | { |
16784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16785 | { | |
16786 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16787 | result = (wxSize *) &_result_ref; | |
16788 | } | |
16789 | ||
16790 | wxPyEndAllowThreads(__tstate); | |
16791 | if (PyErr_Occurred()) SWIG_fail; | |
16792 | } | |
2f4c0a16 | 16793 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
16794 | return resultobj; |
16795 | fail: | |
16796 | return NULL; | |
16797 | } | |
16798 | ||
16799 | ||
16800 | static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16801 | PyObject *resultobj; | |
16802 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d03fd34d | 16803 | int result; |
d14a1e28 RD |
16804 | PyObject * obj0 = 0 ; |
16805 | char *kwnames[] = { | |
16806 | (char *) "self", NULL | |
16807 | }; | |
16808 | ||
16809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16810 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16812 | { |
16813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d03fd34d | 16814 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16815 | |
16816 | wxPyEndAllowThreads(__tstate); | |
16817 | if (PyErr_Occurred()) SWIG_fail; | |
16818 | } | |
2f4c0a16 | 16819 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16820 | return resultobj; |
16821 | fail: | |
16822 | return NULL; | |
16823 | } | |
16824 | ||
16825 | ||
16826 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16827 | PyObject *resultobj; | |
16828 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16829 | int arg2 ; | |
16830 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16831 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16832 | char *kwnames[] = { |
16833 | (char *) "self",(char *) "v", NULL | |
16834 | }; | |
16835 | ||
8edf1c75 | 16836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16839 | arg2 = (int) SWIG_AsInt(obj1); | |
16840 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16841 | { |
16842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16843 | (arg1)->SetNoCopies(arg2); | |
16844 | ||
16845 | wxPyEndAllowThreads(__tstate); | |
16846 | if (PyErr_Occurred()) SWIG_fail; | |
16847 | } | |
16848 | Py_INCREF(Py_None); resultobj = Py_None; | |
16849 | return resultobj; | |
16850 | fail: | |
16851 | return NULL; | |
16852 | } | |
16853 | ||
16854 | ||
16855 | static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16856 | PyObject *resultobj; | |
16857 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16858 | bool arg2 ; | |
16859 | PyObject * obj0 = 0 ; | |
16860 | PyObject * obj1 = 0 ; | |
16861 | char *kwnames[] = { | |
16862 | (char *) "self",(char *) "flag", NULL | |
16863 | }; | |
16864 | ||
16865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16868 | arg2 = (bool) SWIG_AsBool(obj1); | |
16869 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16870 | { |
16871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16872 | (arg1)->SetCollate(arg2); | |
16873 | ||
16874 | wxPyEndAllowThreads(__tstate); | |
16875 | if (PyErr_Occurred()) SWIG_fail; | |
16876 | } | |
16877 | Py_INCREF(Py_None); resultobj = Py_None; | |
16878 | return resultobj; | |
16879 | fail: | |
16880 | return NULL; | |
16881 | } | |
16882 | ||
16883 | ||
16884 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16885 | PyObject *resultobj; | |
16886 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16887 | int arg2 ; | |
16888 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16889 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16890 | char *kwnames[] = { |
16891 | (char *) "self",(char *) "orient", NULL | |
16892 | }; | |
16893 | ||
8edf1c75 | 16894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16897 | arg2 = (int) SWIG_AsInt(obj1); | |
16898 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16899 | { |
16900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16901 | (arg1)->SetOrientation(arg2); | |
16902 | ||
16903 | wxPyEndAllowThreads(__tstate); | |
16904 | if (PyErr_Occurred()) SWIG_fail; | |
16905 | } | |
16906 | Py_INCREF(Py_None); resultobj = Py_None; | |
16907 | return resultobj; | |
16908 | fail: | |
16909 | return NULL; | |
16910 | } | |
16911 | ||
16912 | ||
16913 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16914 | PyObject *resultobj; | |
16915 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16916 | wxString *arg2 = 0 ; | |
423f194a | 16917 | bool temp2 = False ; |
d14a1e28 RD |
16918 | PyObject * obj0 = 0 ; |
16919 | PyObject * obj1 = 0 ; | |
16920 | char *kwnames[] = { | |
16921 | (char *) "self",(char *) "name", NULL | |
16922 | }; | |
16923 | ||
16924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16925 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16926 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16927 | { |
16928 | arg2 = wxString_in_helper(obj1); | |
16929 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16930 | temp2 = True; |
d14a1e28 RD |
16931 | } |
16932 | { | |
16933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16934 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16935 | ||
16936 | wxPyEndAllowThreads(__tstate); | |
16937 | if (PyErr_Occurred()) SWIG_fail; | |
16938 | } | |
16939 | Py_INCREF(Py_None); resultobj = Py_None; | |
16940 | { | |
16941 | if (temp2) | |
16942 | delete arg2; | |
16943 | } | |
16944 | return resultobj; | |
16945 | fail: | |
16946 | { | |
16947 | if (temp2) | |
16948 | delete arg2; | |
16949 | } | |
16950 | return NULL; | |
16951 | } | |
16952 | ||
16953 | ||
16954 | static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16955 | PyObject *resultobj; | |
16956 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16957 | bool arg2 ; | |
16958 | PyObject * obj0 = 0 ; | |
16959 | PyObject * obj1 = 0 ; | |
16960 | char *kwnames[] = { | |
16961 | (char *) "self",(char *) "colour", NULL | |
16962 | }; | |
16963 | ||
16964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16967 | arg2 = (bool) SWIG_AsBool(obj1); | |
16968 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16969 | { |
16970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16971 | (arg1)->SetColour(arg2); | |
16972 | ||
16973 | wxPyEndAllowThreads(__tstate); | |
16974 | if (PyErr_Occurred()) SWIG_fail; | |
16975 | } | |
16976 | Py_INCREF(Py_None); resultobj = Py_None; | |
16977 | return resultobj; | |
16978 | fail: | |
16979 | return NULL; | |
16980 | } | |
16981 | ||
16982 | ||
16983 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
16984 | PyObject *resultobj; | |
16985 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16986 | int arg2 ; | |
16987 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16988 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16989 | char *kwnames[] = { |
16990 | (char *) "self",(char *) "duplex", NULL | |
16991 | }; | |
16992 | ||
8edf1c75 | 16993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16994 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16995 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16996 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
16997 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16998 | { |
16999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17000 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
17001 | ||
17002 | wxPyEndAllowThreads(__tstate); | |
17003 | if (PyErr_Occurred()) SWIG_fail; | |
17004 | } | |
17005 | Py_INCREF(Py_None); resultobj = Py_None; | |
17006 | return resultobj; | |
17007 | fail: | |
17008 | return NULL; | |
17009 | } | |
17010 | ||
17011 | ||
17012 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17013 | PyObject *resultobj; | |
17014 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17015 | int arg2 ; | |
17016 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17017 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17018 | char *kwnames[] = { |
17019 | (char *) "self",(char *) "sizeId", NULL | |
17020 | }; | |
17021 | ||
8edf1c75 | 17022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17025 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
17026 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17027 | { |
17028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17029 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
17030 | ||
17031 | wxPyEndAllowThreads(__tstate); | |
17032 | if (PyErr_Occurred()) SWIG_fail; | |
17033 | } | |
17034 | Py_INCREF(Py_None); resultobj = Py_None; | |
17035 | return resultobj; | |
17036 | fail: | |
17037 | return NULL; | |
17038 | } | |
17039 | ||
17040 | ||
17041 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17042 | PyObject *resultobj; | |
17043 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17044 | wxSize *arg2 = 0 ; | |
17045 | wxSize temp2 ; | |
17046 | PyObject * obj0 = 0 ; | |
17047 | PyObject * obj1 = 0 ; | |
17048 | char *kwnames[] = { | |
17049 | (char *) "self",(char *) "sz", NULL | |
17050 | }; | |
17051 | ||
17052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17055 | { |
17056 | arg2 = &temp2; | |
17057 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17058 | } | |
17059 | { | |
17060 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17061 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
17062 | ||
17063 | wxPyEndAllowThreads(__tstate); | |
17064 | if (PyErr_Occurred()) SWIG_fail; | |
17065 | } | |
17066 | Py_INCREF(Py_None); resultobj = Py_None; | |
17067 | return resultobj; | |
17068 | fail: | |
17069 | return NULL; | |
17070 | } | |
17071 | ||
17072 | ||
17073 | static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17074 | PyObject *resultobj; | |
17075 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d03fd34d | 17076 | int arg2 ; |
d14a1e28 | 17077 | PyObject * obj0 = 0 ; |
8edf1c75 | 17078 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17079 | char *kwnames[] = { |
17080 | (char *) "self",(char *) "quality", NULL | |
17081 | }; | |
17082 | ||
8edf1c75 | 17083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17086 | arg2 = (int) SWIG_AsInt(obj1); | |
17087 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17088 | { |
17089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17090 | (arg1)->SetQuality(arg2); | |
17091 | ||
17092 | wxPyEndAllowThreads(__tstate); | |
17093 | if (PyErr_Occurred()) SWIG_fail; | |
17094 | } | |
17095 | Py_INCREF(Py_None); resultobj = Py_None; | |
17096 | return resultobj; | |
17097 | fail: | |
17098 | return NULL; | |
17099 | } | |
17100 | ||
17101 | ||
17102 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17103 | PyObject *resultobj; | |
17104 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17105 | wxString *result; | |
17106 | PyObject * obj0 = 0 ; | |
17107 | char *kwnames[] = { | |
17108 | (char *) "self", NULL | |
17109 | }; | |
17110 | ||
17111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17114 | { |
17115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17116 | { | |
17117 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
17118 | result = (wxString *) &_result_ref; | |
17119 | } | |
17120 | ||
17121 | wxPyEndAllowThreads(__tstate); | |
17122 | if (PyErr_Occurred()) SWIG_fail; | |
17123 | } | |
f0983263 RD |
17124 | { |
17125 | #if wxUSE_UNICODE | |
17126 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17127 | #else | |
17128 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17129 | #endif | |
17130 | } | |
d14a1e28 RD |
17131 | return resultobj; |
17132 | fail: | |
17133 | return NULL; | |
17134 | } | |
17135 | ||
17136 | ||
17137 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17138 | PyObject *resultobj; | |
17139 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17140 | wxString *result; | |
17141 | PyObject * obj0 = 0 ; | |
17142 | char *kwnames[] = { | |
17143 | (char *) "self", NULL | |
17144 | }; | |
17145 | ||
17146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17149 | { |
17150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17151 | { | |
17152 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
17153 | result = (wxString *) &_result_ref; | |
17154 | } | |
17155 | ||
17156 | wxPyEndAllowThreads(__tstate); | |
17157 | if (PyErr_Occurred()) SWIG_fail; | |
17158 | } | |
f0983263 RD |
17159 | { |
17160 | #if wxUSE_UNICODE | |
17161 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17162 | #else | |
17163 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17164 | #endif | |
17165 | } | |
d14a1e28 RD |
17166 | return resultobj; |
17167 | fail: | |
17168 | return NULL; | |
17169 | } | |
17170 | ||
17171 | ||
17172 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17173 | PyObject *resultobj; | |
17174 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17175 | wxString *result; | |
17176 | PyObject * obj0 = 0 ; | |
17177 | char *kwnames[] = { | |
17178 | (char *) "self", NULL | |
17179 | }; | |
17180 | ||
17181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17184 | { |
17185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17186 | { | |
17187 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
17188 | result = (wxString *) &_result_ref; | |
17189 | } | |
17190 | ||
17191 | wxPyEndAllowThreads(__tstate); | |
17192 | if (PyErr_Occurred()) SWIG_fail; | |
17193 | } | |
f0983263 RD |
17194 | { |
17195 | #if wxUSE_UNICODE | |
17196 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17197 | #else | |
17198 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17199 | #endif | |
17200 | } | |
d14a1e28 RD |
17201 | return resultobj; |
17202 | fail: | |
17203 | return NULL; | |
17204 | } | |
17205 | ||
17206 | ||
17207 | static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17208 | PyObject *resultobj; | |
17209 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17210 | wxString *result; | |
17211 | PyObject * obj0 = 0 ; | |
17212 | char *kwnames[] = { | |
17213 | (char *) "self", NULL | |
17214 | }; | |
17215 | ||
17216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
2f4c0a16 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 | { | |
17222 | wxString const &_result_ref = (arg1)->GetFilename(); | |
17223 | result = (wxString *) &_result_ref; | |
17224 | } | |
17225 | ||
17226 | wxPyEndAllowThreads(__tstate); | |
17227 | if (PyErr_Occurred()) SWIG_fail; | |
17228 | } | |
f0983263 RD |
17229 | { |
17230 | #if wxUSE_UNICODE | |
17231 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17232 | #else | |
17233 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17234 | #endif | |
17235 | } | |
d14a1e28 RD |
17236 | return resultobj; |
17237 | fail: | |
17238 | return NULL; | |
17239 | } | |
17240 | ||
17241 | ||
17242 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17243 | PyObject *resultobj; | |
17244 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17245 | wxString *result; | |
17246 | PyObject * obj0 = 0 ; | |
17247 | char *kwnames[] = { | |
17248 | (char *) "self", NULL | |
17249 | }; | |
17250 | ||
17251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17254 | { |
17255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17256 | { | |
17257 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
17258 | result = (wxString *) &_result_ref; | |
17259 | } | |
17260 | ||
17261 | wxPyEndAllowThreads(__tstate); | |
17262 | if (PyErr_Occurred()) SWIG_fail; | |
17263 | } | |
f0983263 RD |
17264 | { |
17265 | #if wxUSE_UNICODE | |
17266 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
17267 | #else | |
17268 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
17269 | #endif | |
17270 | } | |
d14a1e28 RD |
17271 | return resultobj; |
17272 | fail: | |
17273 | return NULL; | |
17274 | } | |
17275 | ||
17276 | ||
17277 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17278 | PyObject *resultobj; | |
17279 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17280 | double result; | |
17281 | PyObject * obj0 = 0 ; | |
17282 | char *kwnames[] = { | |
17283 | (char *) "self", NULL | |
17284 | }; | |
17285 | ||
17286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17289 | { |
17290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17291 | result = (double)(arg1)->GetPrinterScaleX(); | |
17292 | ||
17293 | wxPyEndAllowThreads(__tstate); | |
17294 | if (PyErr_Occurred()) SWIG_fail; | |
17295 | } | |
2f4c0a16 | 17296 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17297 | return resultobj; |
17298 | fail: | |
17299 | return NULL; | |
17300 | } | |
17301 | ||
17302 | ||
17303 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17304 | PyObject *resultobj; | |
17305 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17306 | double result; | |
17307 | PyObject * obj0 = 0 ; | |
17308 | char *kwnames[] = { | |
17309 | (char *) "self", NULL | |
17310 | }; | |
17311 | ||
17312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17315 | { |
17316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17317 | result = (double)(arg1)->GetPrinterScaleY(); | |
17318 | ||
17319 | wxPyEndAllowThreads(__tstate); | |
17320 | if (PyErr_Occurred()) SWIG_fail; | |
17321 | } | |
2f4c0a16 | 17322 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
17323 | return resultobj; |
17324 | fail: | |
17325 | return NULL; | |
17326 | } | |
17327 | ||
17328 | ||
17329 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17330 | PyObject *resultobj; | |
17331 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17332 | long result; | |
17333 | PyObject * obj0 = 0 ; | |
17334 | char *kwnames[] = { | |
17335 | (char *) "self", NULL | |
17336 | }; | |
17337 | ||
17338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17341 | { |
17342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17343 | result = (long)(arg1)->GetPrinterTranslateX(); | |
17344 | ||
17345 | wxPyEndAllowThreads(__tstate); | |
17346 | if (PyErr_Occurred()) SWIG_fail; | |
17347 | } | |
2f4c0a16 | 17348 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17349 | return resultobj; |
17350 | fail: | |
17351 | return NULL; | |
17352 | } | |
17353 | ||
17354 | ||
17355 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17356 | PyObject *resultobj; | |
17357 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17358 | long result; | |
17359 | PyObject * obj0 = 0 ; | |
17360 | char *kwnames[] = { | |
17361 | (char *) "self", NULL | |
17362 | }; | |
17363 | ||
17364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17365 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17367 | { |
17368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17369 | result = (long)(arg1)->GetPrinterTranslateY(); | |
17370 | ||
17371 | wxPyEndAllowThreads(__tstate); | |
17372 | if (PyErr_Occurred()) SWIG_fail; | |
17373 | } | |
2f4c0a16 | 17374 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
17375 | return resultobj; |
17376 | fail: | |
17377 | return NULL; | |
17378 | } | |
17379 | ||
17380 | ||
17381 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17382 | PyObject *resultobj; | |
17383 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17384 | int result; | |
17385 | PyObject * obj0 = 0 ; | |
17386 | char *kwnames[] = { | |
17387 | (char *) "self", NULL | |
17388 | }; | |
17389 | ||
17390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17393 | { |
17394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17395 | result = (int)(arg1)->GetPrintMode(); | |
17396 | ||
17397 | wxPyEndAllowThreads(__tstate); | |
17398 | if (PyErr_Occurred()) SWIG_fail; | |
17399 | } | |
2f4c0a16 | 17400 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17401 | return resultobj; |
17402 | fail: | |
17403 | return NULL; | |
17404 | } | |
17405 | ||
17406 | ||
17407 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17408 | PyObject *resultobj; | |
17409 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17410 | wxString *arg2 = 0 ; | |
423f194a | 17411 | bool temp2 = False ; |
d14a1e28 RD |
17412 | PyObject * obj0 = 0 ; |
17413 | PyObject * obj1 = 0 ; | |
17414 | char *kwnames[] = { | |
17415 | (char *) "self",(char *) "command", NULL | |
17416 | }; | |
17417 | ||
17418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17421 | { |
17422 | arg2 = wxString_in_helper(obj1); | |
17423 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17424 | temp2 = True; |
d14a1e28 RD |
17425 | } |
17426 | { | |
17427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17428 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
17429 | ||
17430 | wxPyEndAllowThreads(__tstate); | |
17431 | if (PyErr_Occurred()) SWIG_fail; | |
17432 | } | |
17433 | Py_INCREF(Py_None); resultobj = Py_None; | |
17434 | { | |
17435 | if (temp2) | |
17436 | delete arg2; | |
17437 | } | |
17438 | return resultobj; | |
17439 | fail: | |
17440 | { | |
17441 | if (temp2) | |
17442 | delete arg2; | |
17443 | } | |
17444 | return NULL; | |
17445 | } | |
17446 | ||
17447 | ||
17448 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17449 | PyObject *resultobj; | |
17450 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17451 | wxString *arg2 = 0 ; | |
423f194a | 17452 | bool temp2 = False ; |
d14a1e28 RD |
17453 | PyObject * obj0 = 0 ; |
17454 | PyObject * obj1 = 0 ; | |
17455 | char *kwnames[] = { | |
17456 | (char *) "self",(char *) "options", NULL | |
17457 | }; | |
17458 | ||
17459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17462 | { |
17463 | arg2 = wxString_in_helper(obj1); | |
17464 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17465 | temp2 = True; |
d14a1e28 RD |
17466 | } |
17467 | { | |
17468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17469 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
17470 | ||
17471 | wxPyEndAllowThreads(__tstate); | |
17472 | if (PyErr_Occurred()) SWIG_fail; | |
17473 | } | |
17474 | Py_INCREF(Py_None); resultobj = Py_None; | |
17475 | { | |
17476 | if (temp2) | |
17477 | delete arg2; | |
17478 | } | |
17479 | return resultobj; | |
17480 | fail: | |
17481 | { | |
17482 | if (temp2) | |
17483 | delete arg2; | |
17484 | } | |
17485 | return NULL; | |
17486 | } | |
17487 | ||
17488 | ||
17489 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17490 | PyObject *resultobj; | |
17491 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17492 | wxString *arg2 = 0 ; | |
423f194a | 17493 | bool temp2 = False ; |
d14a1e28 RD |
17494 | PyObject * obj0 = 0 ; |
17495 | PyObject * obj1 = 0 ; | |
17496 | char *kwnames[] = { | |
17497 | (char *) "self",(char *) "command", NULL | |
17498 | }; | |
17499 | ||
17500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17503 | { |
17504 | arg2 = wxString_in_helper(obj1); | |
17505 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17506 | temp2 = True; |
d14a1e28 RD |
17507 | } |
17508 | { | |
17509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17510 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
17511 | ||
17512 | wxPyEndAllowThreads(__tstate); | |
17513 | if (PyErr_Occurred()) SWIG_fail; | |
17514 | } | |
17515 | Py_INCREF(Py_None); resultobj = Py_None; | |
17516 | { | |
17517 | if (temp2) | |
17518 | delete arg2; | |
17519 | } | |
17520 | return resultobj; | |
17521 | fail: | |
17522 | { | |
17523 | if (temp2) | |
17524 | delete arg2; | |
17525 | } | |
17526 | return NULL; | |
17527 | } | |
17528 | ||
17529 | ||
17530 | static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17531 | PyObject *resultobj; | |
17532 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17533 | wxString *arg2 = 0 ; | |
423f194a | 17534 | bool temp2 = False ; |
d14a1e28 RD |
17535 | PyObject * obj0 = 0 ; |
17536 | PyObject * obj1 = 0 ; | |
17537 | char *kwnames[] = { | |
17538 | (char *) "self",(char *) "filename", NULL | |
17539 | }; | |
17540 | ||
17541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17544 | { |
17545 | arg2 = wxString_in_helper(obj1); | |
17546 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17547 | temp2 = True; |
d14a1e28 RD |
17548 | } |
17549 | { | |
17550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17551 | (arg1)->SetFilename((wxString const &)*arg2); | |
17552 | ||
17553 | wxPyEndAllowThreads(__tstate); | |
17554 | if (PyErr_Occurred()) SWIG_fail; | |
17555 | } | |
17556 | Py_INCREF(Py_None); resultobj = Py_None; | |
17557 | { | |
17558 | if (temp2) | |
17559 | delete arg2; | |
17560 | } | |
17561 | return resultobj; | |
17562 | fail: | |
17563 | { | |
17564 | if (temp2) | |
17565 | delete arg2; | |
17566 | } | |
17567 | return NULL; | |
17568 | } | |
17569 | ||
17570 | ||
17571 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17572 | PyObject *resultobj; | |
17573 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17574 | wxString *arg2 = 0 ; | |
423f194a | 17575 | bool temp2 = False ; |
d14a1e28 RD |
17576 | PyObject * obj0 = 0 ; |
17577 | PyObject * obj1 = 0 ; | |
17578 | char *kwnames[] = { | |
17579 | (char *) "self",(char *) "path", NULL | |
17580 | }; | |
17581 | ||
17582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17585 | { |
17586 | arg2 = wxString_in_helper(obj1); | |
17587 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17588 | temp2 = True; |
d14a1e28 RD |
17589 | } |
17590 | { | |
17591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17592 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17593 | ||
17594 | wxPyEndAllowThreads(__tstate); | |
17595 | if (PyErr_Occurred()) SWIG_fail; | |
17596 | } | |
17597 | Py_INCREF(Py_None); resultobj = Py_None; | |
17598 | { | |
17599 | if (temp2) | |
17600 | delete arg2; | |
17601 | } | |
17602 | return resultobj; | |
17603 | fail: | |
17604 | { | |
17605 | if (temp2) | |
17606 | delete arg2; | |
17607 | } | |
17608 | return NULL; | |
17609 | } | |
17610 | ||
17611 | ||
17612 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17613 | PyObject *resultobj; | |
17614 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17615 | double arg2 ; | |
17616 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17617 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17618 | char *kwnames[] = { |
17619 | (char *) "self",(char *) "x", NULL | |
17620 | }; | |
17621 | ||
8edf1c75 | 17622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17625 | arg2 = (double) SWIG_AsDouble(obj1); | |
17626 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17627 | { |
17628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17629 | (arg1)->SetPrinterScaleX(arg2); | |
17630 | ||
17631 | wxPyEndAllowThreads(__tstate); | |
17632 | if (PyErr_Occurred()) SWIG_fail; | |
17633 | } | |
17634 | Py_INCREF(Py_None); resultobj = Py_None; | |
17635 | return resultobj; | |
17636 | fail: | |
17637 | return NULL; | |
17638 | } | |
17639 | ||
17640 | ||
17641 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17642 | PyObject *resultobj; | |
17643 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17644 | double arg2 ; | |
17645 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17646 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17647 | char *kwnames[] = { |
17648 | (char *) "self",(char *) "y", NULL | |
17649 | }; | |
17650 | ||
8edf1c75 | 17651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17654 | arg2 = (double) SWIG_AsDouble(obj1); | |
17655 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17656 | { |
17657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17658 | (arg1)->SetPrinterScaleY(arg2); | |
17659 | ||
17660 | wxPyEndAllowThreads(__tstate); | |
17661 | if (PyErr_Occurred()) SWIG_fail; | |
17662 | } | |
17663 | Py_INCREF(Py_None); resultobj = Py_None; | |
17664 | return resultobj; | |
17665 | fail: | |
17666 | return NULL; | |
17667 | } | |
17668 | ||
17669 | ||
17670 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17671 | PyObject *resultobj; | |
17672 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17673 | double arg2 ; | |
17674 | double arg3 ; | |
17675 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17676 | PyObject * obj1 = 0 ; |
17677 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17678 | char *kwnames[] = { |
17679 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17680 | }; | |
17681 | ||
8edf1c75 | 17682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
17683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17685 | arg2 = (double) SWIG_AsDouble(obj1); | |
17686 | if (PyErr_Occurred()) SWIG_fail; | |
17687 | arg3 = (double) SWIG_AsDouble(obj2); | |
17688 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17689 | { |
17690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17691 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17692 | ||
17693 | wxPyEndAllowThreads(__tstate); | |
17694 | if (PyErr_Occurred()) SWIG_fail; | |
17695 | } | |
17696 | Py_INCREF(Py_None); resultobj = Py_None; | |
17697 | return resultobj; | |
17698 | fail: | |
17699 | return NULL; | |
17700 | } | |
17701 | ||
17702 | ||
17703 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17704 | PyObject *resultobj; | |
17705 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17706 | long arg2 ; | |
17707 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17708 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17709 | char *kwnames[] = { |
17710 | (char *) "self",(char *) "x", NULL | |
17711 | }; | |
17712 | ||
8edf1c75 | 17713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17716 | arg2 = (long) SWIG_AsLong(obj1); | |
17717 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17718 | { |
17719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17720 | (arg1)->SetPrinterTranslateX(arg2); | |
17721 | ||
17722 | wxPyEndAllowThreads(__tstate); | |
17723 | if (PyErr_Occurred()) SWIG_fail; | |
17724 | } | |
17725 | Py_INCREF(Py_None); resultobj = Py_None; | |
17726 | return resultobj; | |
17727 | fail: | |
17728 | return NULL; | |
17729 | } | |
17730 | ||
17731 | ||
17732 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17733 | PyObject *resultobj; | |
17734 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17735 | long arg2 ; | |
17736 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17737 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17738 | char *kwnames[] = { |
17739 | (char *) "self",(char *) "y", NULL | |
17740 | }; | |
17741 | ||
8edf1c75 | 17742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17745 | arg2 = (long) SWIG_AsLong(obj1); | |
17746 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17747 | { |
17748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17749 | (arg1)->SetPrinterTranslateY(arg2); | |
17750 | ||
17751 | wxPyEndAllowThreads(__tstate); | |
17752 | if (PyErr_Occurred()) SWIG_fail; | |
17753 | } | |
17754 | Py_INCREF(Py_None); resultobj = Py_None; | |
17755 | return resultobj; | |
17756 | fail: | |
17757 | return NULL; | |
17758 | } | |
17759 | ||
17760 | ||
17761 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17762 | PyObject *resultobj; | |
17763 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17764 | long arg2 ; | |
17765 | long arg3 ; | |
17766 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17767 | PyObject * obj1 = 0 ; |
17768 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17769 | char *kwnames[] = { |
17770 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17771 | }; | |
17772 | ||
8edf1c75 | 17773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
17774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17776 | arg2 = (long) SWIG_AsLong(obj1); | |
17777 | if (PyErr_Occurred()) SWIG_fail; | |
17778 | arg3 = (long) SWIG_AsLong(obj2); | |
17779 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17780 | { |
17781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17782 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17783 | ||
17784 | wxPyEndAllowThreads(__tstate); | |
17785 | if (PyErr_Occurred()) SWIG_fail; | |
17786 | } | |
17787 | Py_INCREF(Py_None); resultobj = Py_None; | |
17788 | return resultobj; | |
17789 | fail: | |
17790 | return NULL; | |
17791 | } | |
17792 | ||
17793 | ||
17794 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17795 | PyObject *resultobj; | |
17796 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17797 | int arg2 ; | |
17798 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17799 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17800 | char *kwnames[] = { |
17801 | (char *) "self",(char *) "printMode", NULL | |
17802 | }; | |
17803 | ||
8edf1c75 | 17804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17807 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
17808 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17809 | { |
17810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17811 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17812 | ||
17813 | wxPyEndAllowThreads(__tstate); | |
17814 | if (PyErr_Occurred()) SWIG_fail; | |
17815 | } | |
17816 | Py_INCREF(Py_None); resultobj = Py_None; | |
17817 | return resultobj; | |
17818 | fail: | |
17819 | return NULL; | |
17820 | } | |
17821 | ||
17822 | ||
db914595 RD |
17823 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { |
17824 | PyObject *resultobj; | |
17825 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17826 | wxOutputStream *result; | |
17827 | PyObject * obj0 = 0 ; | |
17828 | char *kwnames[] = { | |
17829 | (char *) "self", NULL | |
17830 | }; | |
17831 | ||
17832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17833 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17834 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17835 | { |
17836 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17837 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
17838 | ||
17839 | wxPyEndAllowThreads(__tstate); | |
17840 | if (PyErr_Occurred()) SWIG_fail; | |
17841 | } | |
2f4c0a16 | 17842 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
db914595 RD |
17843 | return resultobj; |
17844 | fail: | |
17845 | return NULL; | |
17846 | } | |
17847 | ||
17848 | ||
17849 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17850 | PyObject *resultobj; | |
17851 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17852 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
17853 | PyObject * obj0 = 0 ; | |
17854 | PyObject * obj1 = 0 ; | |
17855 | char *kwnames[] = { | |
17856 | (char *) "self",(char *) "outputstream", NULL | |
17857 | }; | |
17858 | ||
17859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17862 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
17863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
db914595 RD |
17864 | { |
17865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17866 | (arg1)->SetOutputStream(arg2); | |
17867 | ||
17868 | wxPyEndAllowThreads(__tstate); | |
17869 | if (PyErr_Occurred()) SWIG_fail; | |
17870 | } | |
17871 | Py_INCREF(Py_None); resultobj = Py_None; | |
17872 | return resultobj; | |
17873 | fail: | |
17874 | return NULL; | |
17875 | } | |
17876 | ||
17877 | ||
d14a1e28 RD |
17878 | static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) { |
17879 | PyObject *obj; | |
17880 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17881 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17882 | Py_INCREF(obj); | |
17883 | return Py_BuildValue((char *)""); | |
17884 | } | |
17885 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17886 | PyObject *resultobj; | |
17887 | wxPageSetupDialogData *result; | |
17888 | char *kwnames[] = { | |
17889 | NULL | |
17890 | }; | |
17891 | ||
17892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17893 | { | |
17894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17895 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17896 | ||
17897 | wxPyEndAllowThreads(__tstate); | |
17898 | if (PyErr_Occurred()) SWIG_fail; | |
17899 | } | |
2f4c0a16 | 17900 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
17901 | return resultobj; |
17902 | fail: | |
17903 | return NULL; | |
17904 | } | |
17905 | ||
17906 | ||
17907 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17908 | PyObject *resultobj; | |
17909 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17910 | PyObject * obj0 = 0 ; | |
17911 | char *kwnames[] = { | |
17912 | (char *) "self", NULL | |
17913 | }; | |
17914 | ||
17915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17918 | { |
17919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17920 | delete arg1; | |
17921 | ||
17922 | wxPyEndAllowThreads(__tstate); | |
17923 | if (PyErr_Occurred()) SWIG_fail; | |
17924 | } | |
17925 | Py_INCREF(Py_None); resultobj = Py_None; | |
17926 | return resultobj; | |
17927 | fail: | |
17928 | return NULL; | |
17929 | } | |
17930 | ||
17931 | ||
17932 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17933 | PyObject *resultobj; | |
17934 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17935 | bool arg2 ; | |
17936 | PyObject * obj0 = 0 ; | |
17937 | PyObject * obj1 = 0 ; | |
17938 | char *kwnames[] = { | |
17939 | (char *) "self",(char *) "flag", NULL | |
17940 | }; | |
17941 | ||
17942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17945 | arg2 = (bool) SWIG_AsBool(obj1); | |
17946 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17947 | { |
17948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17949 | (arg1)->EnableHelp(arg2); | |
17950 | ||
17951 | wxPyEndAllowThreads(__tstate); | |
17952 | if (PyErr_Occurred()) SWIG_fail; | |
17953 | } | |
17954 | Py_INCREF(Py_None); resultobj = Py_None; | |
17955 | return resultobj; | |
17956 | fail: | |
17957 | return NULL; | |
17958 | } | |
17959 | ||
17960 | ||
17961 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17962 | PyObject *resultobj; | |
17963 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17964 | bool arg2 ; | |
17965 | PyObject * obj0 = 0 ; | |
17966 | PyObject * obj1 = 0 ; | |
17967 | char *kwnames[] = { | |
17968 | (char *) "self",(char *) "flag", NULL | |
17969 | }; | |
17970 | ||
17971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17972 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17974 | arg2 = (bool) SWIG_AsBool(obj1); | |
17975 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17976 | { |
17977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17978 | (arg1)->EnableMargins(arg2); | |
17979 | ||
17980 | wxPyEndAllowThreads(__tstate); | |
17981 | if (PyErr_Occurred()) SWIG_fail; | |
17982 | } | |
17983 | Py_INCREF(Py_None); resultobj = Py_None; | |
17984 | return resultobj; | |
17985 | fail: | |
17986 | return NULL; | |
17987 | } | |
17988 | ||
17989 | ||
17990 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
17991 | PyObject *resultobj; | |
17992 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17993 | bool arg2 ; | |
17994 | PyObject * obj0 = 0 ; | |
17995 | PyObject * obj1 = 0 ; | |
17996 | char *kwnames[] = { | |
17997 | (char *) "self",(char *) "flag", NULL | |
17998 | }; | |
17999 | ||
18000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18001 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18002 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18003 | arg2 = (bool) SWIG_AsBool(obj1); | |
18004 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18005 | { |
18006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18007 | (arg1)->EnableOrientation(arg2); | |
18008 | ||
18009 | wxPyEndAllowThreads(__tstate); | |
18010 | if (PyErr_Occurred()) SWIG_fail; | |
18011 | } | |
18012 | Py_INCREF(Py_None); resultobj = Py_None; | |
18013 | return resultobj; | |
18014 | fail: | |
18015 | return NULL; | |
18016 | } | |
18017 | ||
18018 | ||
18019 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18020 | PyObject *resultobj; | |
18021 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18022 | bool arg2 ; | |
18023 | PyObject * obj0 = 0 ; | |
18024 | PyObject * obj1 = 0 ; | |
18025 | char *kwnames[] = { | |
18026 | (char *) "self",(char *) "flag", NULL | |
18027 | }; | |
18028 | ||
18029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18032 | arg2 = (bool) SWIG_AsBool(obj1); | |
18033 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18034 | { |
18035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18036 | (arg1)->EnablePaper(arg2); | |
18037 | ||
18038 | wxPyEndAllowThreads(__tstate); | |
18039 | if (PyErr_Occurred()) SWIG_fail; | |
18040 | } | |
18041 | Py_INCREF(Py_None); resultobj = Py_None; | |
18042 | return resultobj; | |
18043 | fail: | |
18044 | return NULL; | |
18045 | } | |
18046 | ||
18047 | ||
18048 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18049 | PyObject *resultobj; | |
18050 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18051 | bool arg2 ; | |
18052 | PyObject * obj0 = 0 ; | |
18053 | PyObject * obj1 = 0 ; | |
18054 | char *kwnames[] = { | |
18055 | (char *) "self",(char *) "flag", NULL | |
18056 | }; | |
18057 | ||
18058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18061 | arg2 = (bool) SWIG_AsBool(obj1); | |
18062 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18063 | { |
18064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18065 | (arg1)->EnablePrinter(arg2); | |
18066 | ||
18067 | wxPyEndAllowThreads(__tstate); | |
18068 | if (PyErr_Occurred()) SWIG_fail; | |
18069 | } | |
18070 | Py_INCREF(Py_None); resultobj = Py_None; | |
18071 | return resultobj; | |
18072 | fail: | |
18073 | return NULL; | |
18074 | } | |
18075 | ||
18076 | ||
18077 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18078 | PyObject *resultobj; | |
18079 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18080 | bool result; | |
18081 | PyObject * obj0 = 0 ; | |
18082 | char *kwnames[] = { | |
18083 | (char *) "self", NULL | |
18084 | }; | |
18085 | ||
18086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18089 | { |
18090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18091 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
18092 | ||
18093 | wxPyEndAllowThreads(__tstate); | |
18094 | if (PyErr_Occurred()) SWIG_fail; | |
18095 | } | |
4f89f6a3 RD |
18096 | { |
18097 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18098 | } | |
d14a1e28 RD |
18099 | return resultobj; |
18100 | fail: | |
18101 | return NULL; | |
18102 | } | |
18103 | ||
18104 | ||
18105 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18106 | PyObject *resultobj; | |
18107 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18108 | bool result; | |
18109 | PyObject * obj0 = 0 ; | |
18110 | char *kwnames[] = { | |
18111 | (char *) "self", NULL | |
18112 | }; | |
18113 | ||
18114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18117 | { |
18118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18119 | result = (bool)(arg1)->GetEnableMargins(); | |
18120 | ||
18121 | wxPyEndAllowThreads(__tstate); | |
18122 | if (PyErr_Occurred()) SWIG_fail; | |
18123 | } | |
4f89f6a3 RD |
18124 | { |
18125 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18126 | } | |
d14a1e28 RD |
18127 | return resultobj; |
18128 | fail: | |
18129 | return NULL; | |
18130 | } | |
18131 | ||
18132 | ||
18133 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18134 | PyObject *resultobj; | |
18135 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18136 | bool result; | |
18137 | PyObject * obj0 = 0 ; | |
18138 | char *kwnames[] = { | |
18139 | (char *) "self", NULL | |
18140 | }; | |
18141 | ||
18142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18145 | { |
18146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18147 | result = (bool)(arg1)->GetEnableOrientation(); | |
18148 | ||
18149 | wxPyEndAllowThreads(__tstate); | |
18150 | if (PyErr_Occurred()) SWIG_fail; | |
18151 | } | |
4f89f6a3 RD |
18152 | { |
18153 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18154 | } | |
d14a1e28 RD |
18155 | return resultobj; |
18156 | fail: | |
18157 | return NULL; | |
18158 | } | |
18159 | ||
18160 | ||
18161 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18162 | PyObject *resultobj; | |
18163 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18164 | bool result; | |
18165 | PyObject * obj0 = 0 ; | |
18166 | char *kwnames[] = { | |
18167 | (char *) "self", NULL | |
18168 | }; | |
18169 | ||
18170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18173 | { |
18174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18175 | result = (bool)(arg1)->GetEnablePaper(); | |
18176 | ||
18177 | wxPyEndAllowThreads(__tstate); | |
18178 | if (PyErr_Occurred()) SWIG_fail; | |
18179 | } | |
4f89f6a3 RD |
18180 | { |
18181 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18182 | } | |
d14a1e28 RD |
18183 | return resultobj; |
18184 | fail: | |
18185 | return NULL; | |
18186 | } | |
18187 | ||
18188 | ||
18189 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18190 | PyObject *resultobj; | |
18191 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18192 | bool result; | |
18193 | PyObject * obj0 = 0 ; | |
18194 | char *kwnames[] = { | |
18195 | (char *) "self", NULL | |
18196 | }; | |
18197 | ||
18198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18201 | { |
18202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18203 | result = (bool)(arg1)->GetEnablePrinter(); | |
18204 | ||
18205 | wxPyEndAllowThreads(__tstate); | |
18206 | if (PyErr_Occurred()) SWIG_fail; | |
18207 | } | |
4f89f6a3 RD |
18208 | { |
18209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18210 | } | |
d14a1e28 RD |
18211 | return resultobj; |
18212 | fail: | |
18213 | return NULL; | |
18214 | } | |
18215 | ||
18216 | ||
18217 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18218 | PyObject *resultobj; | |
18219 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18220 | bool result; | |
18221 | PyObject * obj0 = 0 ; | |
18222 | char *kwnames[] = { | |
18223 | (char *) "self", NULL | |
18224 | }; | |
18225 | ||
18226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18229 | { |
18230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18231 | result = (bool)(arg1)->GetEnableHelp(); | |
18232 | ||
18233 | wxPyEndAllowThreads(__tstate); | |
18234 | if (PyErr_Occurred()) SWIG_fail; | |
18235 | } | |
4f89f6a3 RD |
18236 | { |
18237 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18238 | } | |
d14a1e28 RD |
18239 | return resultobj; |
18240 | fail: | |
18241 | return NULL; | |
18242 | } | |
18243 | ||
18244 | ||
18245 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18246 | PyObject *resultobj; | |
18247 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18248 | bool result; | |
18249 | PyObject * obj0 = 0 ; | |
18250 | char *kwnames[] = { | |
18251 | (char *) "self", NULL | |
18252 | }; | |
18253 | ||
18254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 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 = (bool)(arg1)->GetDefaultInfo(); | |
18260 | ||
18261 | wxPyEndAllowThreads(__tstate); | |
18262 | if (PyErr_Occurred()) SWIG_fail; | |
18263 | } | |
4f89f6a3 RD |
18264 | { |
18265 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18266 | } | |
d14a1e28 RD |
18267 | return resultobj; |
18268 | fail: | |
18269 | return NULL; | |
18270 | } | |
18271 | ||
18272 | ||
18273 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18274 | PyObject *resultobj; | |
18275 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18276 | wxPoint result; | |
18277 | PyObject * obj0 = 0 ; | |
18278 | char *kwnames[] = { | |
18279 | (char *) "self", NULL | |
18280 | }; | |
18281 | ||
18282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18285 | { |
18286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18287 | result = (arg1)->GetMarginTopLeft(); | |
18288 | ||
18289 | wxPyEndAllowThreads(__tstate); | |
18290 | if (PyErr_Occurred()) SWIG_fail; | |
18291 | } | |
18292 | { | |
18293 | wxPoint * resultptr; | |
18294 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 18295 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18296 | } |
18297 | return resultobj; | |
18298 | fail: | |
18299 | return NULL; | |
18300 | } | |
18301 | ||
18302 | ||
18303 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18304 | PyObject *resultobj; | |
18305 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18306 | wxPoint result; | |
18307 | PyObject * obj0 = 0 ; | |
18308 | char *kwnames[] = { | |
18309 | (char *) "self", NULL | |
18310 | }; | |
18311 | ||
18312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18315 | { |
18316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18317 | result = (arg1)->GetMarginBottomRight(); | |
18318 | ||
18319 | wxPyEndAllowThreads(__tstate); | |
18320 | if (PyErr_Occurred()) SWIG_fail; | |
18321 | } | |
18322 | { | |
18323 | wxPoint * resultptr; | |
18324 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 18325 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18326 | } |
18327 | return resultobj; | |
18328 | fail: | |
18329 | return NULL; | |
18330 | } | |
18331 | ||
18332 | ||
18333 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18334 | PyObject *resultobj; | |
18335 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18336 | wxPoint result; | |
18337 | PyObject * obj0 = 0 ; | |
18338 | char *kwnames[] = { | |
18339 | (char *) "self", NULL | |
18340 | }; | |
18341 | ||
18342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18345 | { |
18346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18347 | result = (arg1)->GetMinMarginTopLeft(); | |
18348 | ||
18349 | wxPyEndAllowThreads(__tstate); | |
18350 | if (PyErr_Occurred()) SWIG_fail; | |
18351 | } | |
18352 | { | |
18353 | wxPoint * resultptr; | |
18354 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 18355 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18356 | } |
18357 | return resultobj; | |
18358 | fail: | |
18359 | return NULL; | |
18360 | } | |
18361 | ||
18362 | ||
18363 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18364 | PyObject *resultobj; | |
18365 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18366 | wxPoint result; | |
18367 | PyObject * obj0 = 0 ; | |
18368 | char *kwnames[] = { | |
18369 | (char *) "self", NULL | |
18370 | }; | |
18371 | ||
18372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18375 | { |
18376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18377 | result = (arg1)->GetMinMarginBottomRight(); | |
18378 | ||
18379 | wxPyEndAllowThreads(__tstate); | |
18380 | if (PyErr_Occurred()) SWIG_fail; | |
18381 | } | |
18382 | { | |
18383 | wxPoint * resultptr; | |
18384 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 18385 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
18386 | } |
18387 | return resultobj; | |
18388 | fail: | |
18389 | return NULL; | |
18390 | } | |
18391 | ||
18392 | ||
18393 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18394 | PyObject *resultobj; | |
18395 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18396 | int result; | |
18397 | PyObject * obj0 = 0 ; | |
18398 | char *kwnames[] = { | |
18399 | (char *) "self", NULL | |
18400 | }; | |
18401 | ||
18402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18405 | { |
18406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18407 | result = (int)(arg1)->GetPaperId(); | |
18408 | ||
18409 | wxPyEndAllowThreads(__tstate); | |
18410 | if (PyErr_Occurred()) SWIG_fail; | |
18411 | } | |
2f4c0a16 | 18412 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18413 | return resultobj; |
18414 | fail: | |
18415 | return NULL; | |
18416 | } | |
18417 | ||
18418 | ||
18419 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18420 | PyObject *resultobj; | |
18421 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18422 | wxSize result; | |
18423 | PyObject * obj0 = 0 ; | |
18424 | char *kwnames[] = { | |
18425 | (char *) "self", NULL | |
18426 | }; | |
18427 | ||
18428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18431 | { |
18432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18433 | result = (arg1)->GetPaperSize(); | |
18434 | ||
18435 | wxPyEndAllowThreads(__tstate); | |
18436 | if (PyErr_Occurred()) SWIG_fail; | |
18437 | } | |
18438 | { | |
18439 | wxSize * resultptr; | |
18440 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 18441 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
18442 | } |
18443 | return resultobj; | |
18444 | fail: | |
18445 | return NULL; | |
18446 | } | |
18447 | ||
18448 | ||
18449 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18450 | PyObject *resultobj; | |
18451 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18452 | wxPrintData *result; | |
18453 | PyObject * obj0 = 0 ; | |
18454 | char *kwnames[] = { | |
18455 | (char *) "self", NULL | |
18456 | }; | |
18457 | ||
18458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18461 | { |
18462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18463 | { | |
18464 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
18465 | result = (wxPrintData *) &_result_ref; | |
18466 | } | |
18467 | ||
18468 | wxPyEndAllowThreads(__tstate); | |
18469 | if (PyErr_Occurred()) SWIG_fail; | |
18470 | } | |
2f4c0a16 | 18471 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
18472 | return resultobj; |
18473 | fail: | |
18474 | return NULL; | |
18475 | } | |
18476 | ||
18477 | ||
18478 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18479 | PyObject *resultobj; | |
18480 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18481 | bool result; | |
18482 | PyObject * obj0 = 0 ; | |
18483 | char *kwnames[] = { | |
18484 | (char *) "self", NULL | |
18485 | }; | |
18486 | ||
18487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18490 | { |
18491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18492 | result = (bool)(arg1)->Ok(); | |
18493 | ||
18494 | wxPyEndAllowThreads(__tstate); | |
18495 | if (PyErr_Occurred()) SWIG_fail; | |
18496 | } | |
4f89f6a3 RD |
18497 | { |
18498 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18499 | } | |
d14a1e28 RD |
18500 | return resultobj; |
18501 | fail: | |
18502 | return NULL; | |
18503 | } | |
18504 | ||
18505 | ||
18506 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18507 | PyObject *resultobj; | |
18508 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18509 | bool arg2 ; | |
18510 | PyObject * obj0 = 0 ; | |
18511 | PyObject * obj1 = 0 ; | |
18512 | char *kwnames[] = { | |
18513 | (char *) "self",(char *) "flag", NULL | |
18514 | }; | |
18515 | ||
18516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18519 | arg2 = (bool) SWIG_AsBool(obj1); | |
18520 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18521 | { |
18522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18523 | (arg1)->SetDefaultInfo(arg2); | |
18524 | ||
18525 | wxPyEndAllowThreads(__tstate); | |
18526 | if (PyErr_Occurred()) SWIG_fail; | |
18527 | } | |
18528 | Py_INCREF(Py_None); resultobj = Py_None; | |
18529 | return resultobj; | |
18530 | fail: | |
18531 | return NULL; | |
18532 | } | |
18533 | ||
18534 | ||
18535 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18536 | PyObject *resultobj; | |
18537 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18538 | bool arg2 ; | |
18539 | PyObject * obj0 = 0 ; | |
18540 | PyObject * obj1 = 0 ; | |
18541 | char *kwnames[] = { | |
18542 | (char *) "self",(char *) "flag", NULL | |
18543 | }; | |
18544 | ||
18545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18548 | arg2 = (bool) SWIG_AsBool(obj1); | |
18549 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18550 | { |
18551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18552 | (arg1)->SetDefaultMinMargins(arg2); | |
18553 | ||
18554 | wxPyEndAllowThreads(__tstate); | |
18555 | if (PyErr_Occurred()) SWIG_fail; | |
18556 | } | |
18557 | Py_INCREF(Py_None); resultobj = Py_None; | |
18558 | return resultobj; | |
18559 | fail: | |
18560 | return NULL; | |
18561 | } | |
18562 | ||
18563 | ||
18564 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18565 | PyObject *resultobj; | |
18566 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18567 | wxPoint *arg2 = 0 ; | |
18568 | wxPoint temp2 ; | |
18569 | PyObject * obj0 = 0 ; | |
18570 | PyObject * obj1 = 0 ; | |
18571 | char *kwnames[] = { | |
18572 | (char *) "self",(char *) "pt", NULL | |
18573 | }; | |
18574 | ||
18575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18578 | { |
18579 | arg2 = &temp2; | |
18580 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18581 | } | |
18582 | { | |
18583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18584 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18585 | ||
18586 | wxPyEndAllowThreads(__tstate); | |
18587 | if (PyErr_Occurred()) SWIG_fail; | |
18588 | } | |
18589 | Py_INCREF(Py_None); resultobj = Py_None; | |
18590 | return resultobj; | |
18591 | fail: | |
18592 | return NULL; | |
18593 | } | |
18594 | ||
18595 | ||
18596 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18597 | PyObject *resultobj; | |
18598 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18599 | wxPoint *arg2 = 0 ; | |
18600 | wxPoint temp2 ; | |
18601 | PyObject * obj0 = 0 ; | |
18602 | PyObject * obj1 = 0 ; | |
18603 | char *kwnames[] = { | |
18604 | (char *) "self",(char *) "pt", NULL | |
18605 | }; | |
18606 | ||
18607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18610 | { |
18611 | arg2 = &temp2; | |
18612 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18613 | } | |
18614 | { | |
18615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18616 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18617 | ||
18618 | wxPyEndAllowThreads(__tstate); | |
18619 | if (PyErr_Occurred()) SWIG_fail; | |
18620 | } | |
18621 | Py_INCREF(Py_None); resultobj = Py_None; | |
18622 | return resultobj; | |
18623 | fail: | |
18624 | return NULL; | |
18625 | } | |
18626 | ||
18627 | ||
18628 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18629 | PyObject *resultobj; | |
18630 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18631 | wxPoint *arg2 = 0 ; | |
18632 | wxPoint temp2 ; | |
18633 | PyObject * obj0 = 0 ; | |
18634 | PyObject * obj1 = 0 ; | |
18635 | char *kwnames[] = { | |
18636 | (char *) "self",(char *) "pt", NULL | |
18637 | }; | |
18638 | ||
18639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18642 | { |
18643 | arg2 = &temp2; | |
18644 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18645 | } | |
18646 | { | |
18647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18648 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18649 | ||
18650 | wxPyEndAllowThreads(__tstate); | |
18651 | if (PyErr_Occurred()) SWIG_fail; | |
18652 | } | |
18653 | Py_INCREF(Py_None); resultobj = Py_None; | |
18654 | return resultobj; | |
18655 | fail: | |
18656 | return NULL; | |
18657 | } | |
18658 | ||
18659 | ||
18660 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18661 | PyObject *resultobj; | |
18662 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18663 | wxPoint *arg2 = 0 ; | |
18664 | wxPoint temp2 ; | |
18665 | PyObject * obj0 = 0 ; | |
18666 | PyObject * obj1 = 0 ; | |
18667 | char *kwnames[] = { | |
18668 | (char *) "self",(char *) "pt", NULL | |
18669 | }; | |
18670 | ||
18671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18674 | { |
18675 | arg2 = &temp2; | |
18676 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18677 | } | |
18678 | { | |
18679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18680 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18681 | ||
18682 | wxPyEndAllowThreads(__tstate); | |
18683 | if (PyErr_Occurred()) SWIG_fail; | |
18684 | } | |
18685 | Py_INCREF(Py_None); resultobj = Py_None; | |
18686 | return resultobj; | |
18687 | fail: | |
18688 | return NULL; | |
18689 | } | |
18690 | ||
18691 | ||
18692 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18693 | PyObject *resultobj; | |
18694 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18695 | int arg2 ; | |
18696 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18697 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18698 | char *kwnames[] = { |
18699 | (char *) "self",(char *) "id", NULL | |
18700 | }; | |
18701 | ||
8edf1c75 | 18702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18705 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18706 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18707 | { |
18708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18709 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18710 | ||
18711 | wxPyEndAllowThreads(__tstate); | |
18712 | if (PyErr_Occurred()) SWIG_fail; | |
18713 | } | |
18714 | Py_INCREF(Py_None); resultobj = Py_None; | |
18715 | return resultobj; | |
18716 | fail: | |
18717 | return NULL; | |
18718 | } | |
18719 | ||
18720 | ||
18721 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18722 | PyObject *resultobj; | |
18723 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18724 | wxSize *arg2 = 0 ; | |
18725 | wxSize temp2 ; | |
18726 | PyObject * obj0 = 0 ; | |
18727 | PyObject * obj1 = 0 ; | |
18728 | char *kwnames[] = { | |
18729 | (char *) "self",(char *) "size", NULL | |
18730 | }; | |
18731 | ||
18732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18735 | { |
18736 | arg2 = &temp2; | |
18737 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18738 | } | |
18739 | { | |
18740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18741 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18742 | ||
18743 | wxPyEndAllowThreads(__tstate); | |
18744 | if (PyErr_Occurred()) SWIG_fail; | |
18745 | } | |
18746 | Py_INCREF(Py_None); resultobj = Py_None; | |
18747 | return resultobj; | |
18748 | fail: | |
18749 | return NULL; | |
18750 | } | |
18751 | ||
18752 | ||
18753 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18754 | PyObject *resultobj; | |
18755 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18756 | wxPrintData *arg2 = 0 ; | |
18757 | PyObject * obj0 = 0 ; | |
18758 | PyObject * obj1 = 0 ; | |
18759 | char *kwnames[] = { | |
18760 | (char *) "self",(char *) "printData", NULL | |
18761 | }; | |
18762 | ||
18763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18764 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18765 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18766 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
18767 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18768 | SWIG_fail; | |
d14a1e28 | 18769 | if (arg2 == NULL) { |
2f4c0a16 RD |
18770 | PyErr_SetString(PyExc_TypeError,"null reference"); |
18771 | SWIG_fail; | |
d14a1e28 RD |
18772 | } |
18773 | { | |
18774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18775 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18776 | ||
18777 | wxPyEndAllowThreads(__tstate); | |
18778 | if (PyErr_Occurred()) SWIG_fail; | |
18779 | } | |
18780 | Py_INCREF(Py_None); resultobj = Py_None; | |
18781 | return resultobj; | |
18782 | fail: | |
18783 | return NULL; | |
18784 | } | |
18785 | ||
18786 | ||
18787 | static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) { | |
18788 | PyObject *obj; | |
18789 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18790 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18791 | Py_INCREF(obj); | |
18792 | return Py_BuildValue((char *)""); | |
18793 | } | |
18794 | static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18795 | PyObject *resultobj; | |
18796 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18797 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18798 | wxPageSetupDialog *result; | |
18799 | PyObject * obj0 = 0 ; | |
18800 | PyObject * obj1 = 0 ; | |
18801 | char *kwnames[] = { | |
18802 | (char *) "parent",(char *) "data", NULL | |
18803 | }; | |
18804 | ||
18805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
18807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 18808 | if (obj1) { |
2f4c0a16 RD |
18809 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
18810 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18811 | } |
18812 | { | |
18813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18814 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18815 | ||
18816 | wxPyEndAllowThreads(__tstate); | |
18817 | if (PyErr_Occurred()) SWIG_fail; | |
18818 | } | |
2f4c0a16 | 18819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
18820 | return resultobj; |
18821 | fail: | |
18822 | return NULL; | |
18823 | } | |
18824 | ||
18825 | ||
18826 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18827 | PyObject *resultobj; | |
18828 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18829 | wxPageSetupDialogData *result; | |
18830 | PyObject * obj0 = 0 ; | |
18831 | char *kwnames[] = { | |
18832 | (char *) "self", NULL | |
18833 | }; | |
18834 | ||
18835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18838 | { |
18839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18840 | { | |
18841 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18842 | result = (wxPageSetupDialogData *) &_result_ref; | |
18843 | } | |
18844 | ||
18845 | wxPyEndAllowThreads(__tstate); | |
18846 | if (PyErr_Occurred()) SWIG_fail; | |
18847 | } | |
2f4c0a16 | 18848 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
18849 | return resultobj; |
18850 | fail: | |
18851 | return NULL; | |
18852 | } | |
18853 | ||
18854 | ||
18855 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18856 | PyObject *resultobj; | |
18857 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18858 | int result; | |
18859 | PyObject * obj0 = 0 ; | |
18860 | char *kwnames[] = { | |
18861 | (char *) "self", NULL | |
18862 | }; | |
18863 | ||
18864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18867 | { |
18868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18869 | result = (int)(arg1)->ShowModal(); | |
18870 | ||
18871 | wxPyEndAllowThreads(__tstate); | |
18872 | if (PyErr_Occurred()) SWIG_fail; | |
18873 | } | |
2f4c0a16 | 18874 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18875 | return resultobj; |
18876 | fail: | |
18877 | return NULL; | |
18878 | } | |
18879 | ||
18880 | ||
18881 | static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) { | |
18882 | PyObject *obj; | |
18883 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18884 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18885 | Py_INCREF(obj); | |
18886 | return Py_BuildValue((char *)""); | |
18887 | } | |
fe763115 | 18888 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
18889 | PyObject *resultobj; |
18890 | wxPrintDialogData *result; | |
d14a1e28 | 18891 | |
fe763115 | 18892 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
18893 | { |
18894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18895 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18896 | ||
18897 | wxPyEndAllowThreads(__tstate); | |
18898 | if (PyErr_Occurred()) SWIG_fail; | |
18899 | } | |
2f4c0a16 | 18900 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
18901 | return resultobj; |
18902 | fail: | |
18903 | return NULL; | |
18904 | } | |
18905 | ||
18906 | ||
fe763115 RD |
18907 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *self, PyObject *args) { |
18908 | PyObject *resultobj; | |
18909 | wxPrintData *arg1 = 0 ; | |
18910 | wxPrintDialogData *result; | |
18911 | PyObject * obj0 = 0 ; | |
18912 | ||
18913 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
18914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18915 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18916 | SWIG_fail; | |
18917 | if (arg1 == NULL) { | |
18918 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18919 | SWIG_fail; | |
18920 | } | |
18921 | { | |
18922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18923 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
18924 | ||
18925 | wxPyEndAllowThreads(__tstate); | |
18926 | if (PyErr_Occurred()) SWIG_fail; | |
18927 | } | |
18928 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
18929 | return resultobj; | |
18930 | fail: | |
18931 | return NULL; | |
18932 | } | |
18933 | ||
18934 | ||
18935 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
18936 | int argc; | |
18937 | PyObject *argv[2]; | |
18938 | int ii; | |
18939 | ||
18940 | argc = PyObject_Length(args); | |
18941 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18942 | argv[ii] = PyTuple_GetItem(args,ii); | |
18943 | } | |
18944 | if (argc == 0) { | |
18945 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
18946 | } | |
18947 | if (argc == 1) { | |
18948 | int _v; | |
18949 | { | |
18950 | void *ptr; | |
18951 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18952 | _v = 0; | |
18953 | PyErr_Clear(); | |
18954 | } else { | |
18955 | _v = 1; | |
18956 | } | |
18957 | } | |
18958 | if (_v) { | |
18959 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
18960 | } | |
18961 | } | |
18962 | ||
18963 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
18964 | return NULL; | |
18965 | } | |
18966 | ||
18967 | ||
d14a1e28 RD |
18968 | static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { |
18969 | PyObject *resultobj; | |
18970 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18971 | PyObject * obj0 = 0 ; | |
18972 | char *kwnames[] = { | |
18973 | (char *) "self", NULL | |
18974 | }; | |
18975 | ||
18976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18979 | { |
18980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18981 | delete arg1; | |
18982 | ||
18983 | wxPyEndAllowThreads(__tstate); | |
18984 | if (PyErr_Occurred()) SWIG_fail; | |
18985 | } | |
18986 | Py_INCREF(Py_None); resultobj = Py_None; | |
18987 | return resultobj; | |
18988 | fail: | |
18989 | return NULL; | |
18990 | } | |
18991 | ||
18992 | ||
18993 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
18994 | PyObject *resultobj; | |
18995 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18996 | int result; | |
18997 | PyObject * obj0 = 0 ; | |
18998 | char *kwnames[] = { | |
18999 | (char *) "self", NULL | |
19000 | }; | |
19001 | ||
19002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19005 | { |
19006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19007 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
19008 | ||
19009 | wxPyEndAllowThreads(__tstate); | |
19010 | if (PyErr_Occurred()) SWIG_fail; | |
19011 | } | |
2f4c0a16 | 19012 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19013 | return resultobj; |
19014 | fail: | |
19015 | return NULL; | |
19016 | } | |
19017 | ||
19018 | ||
19019 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19020 | PyObject *resultobj; | |
19021 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19022 | int result; | |
19023 | PyObject * obj0 = 0 ; | |
19024 | char *kwnames[] = { | |
19025 | (char *) "self", NULL | |
19026 | }; | |
19027 | ||
19028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19031 | { |
19032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19033 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
19034 | ||
19035 | wxPyEndAllowThreads(__tstate); | |
19036 | if (PyErr_Occurred()) SWIG_fail; | |
19037 | } | |
2f4c0a16 | 19038 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19039 | return resultobj; |
19040 | fail: | |
19041 | return NULL; | |
19042 | } | |
19043 | ||
19044 | ||
19045 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19046 | PyObject *resultobj; | |
19047 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19048 | int result; | |
19049 | PyObject * obj0 = 0 ; | |
19050 | char *kwnames[] = { | |
19051 | (char *) "self", NULL | |
19052 | }; | |
19053 | ||
19054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19055 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19057 | { |
19058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19059 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
19060 | ||
19061 | wxPyEndAllowThreads(__tstate); | |
19062 | if (PyErr_Occurred()) SWIG_fail; | |
19063 | } | |
2f4c0a16 | 19064 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19065 | return resultobj; |
19066 | fail: | |
19067 | return NULL; | |
19068 | } | |
19069 | ||
19070 | ||
19071 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19072 | PyObject *resultobj; | |
19073 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19074 | int result; | |
19075 | PyObject * obj0 = 0 ; | |
19076 | char *kwnames[] = { | |
19077 | (char *) "self", NULL | |
19078 | }; | |
19079 | ||
19080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19083 | { |
19084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19085 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
19086 | ||
19087 | wxPyEndAllowThreads(__tstate); | |
19088 | if (PyErr_Occurred()) SWIG_fail; | |
19089 | } | |
2f4c0a16 | 19090 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19091 | return resultobj; |
19092 | fail: | |
19093 | return NULL; | |
19094 | } | |
19095 | ||
19096 | ||
19097 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19098 | PyObject *resultobj; | |
19099 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19100 | int result; | |
19101 | PyObject * obj0 = 0 ; | |
19102 | char *kwnames[] = { | |
19103 | (char *) "self", NULL | |
19104 | }; | |
19105 | ||
19106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19107 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19108 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19109 | { |
19110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19111 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
19112 | ||
19113 | wxPyEndAllowThreads(__tstate); | |
19114 | if (PyErr_Occurred()) SWIG_fail; | |
19115 | } | |
2f4c0a16 | 19116 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19117 | return resultobj; |
19118 | fail: | |
19119 | return NULL; | |
19120 | } | |
19121 | ||
19122 | ||
19123 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19124 | PyObject *resultobj; | |
19125 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19126 | bool result; | |
19127 | PyObject * obj0 = 0 ; | |
19128 | char *kwnames[] = { | |
19129 | (char *) "self", NULL | |
19130 | }; | |
19131 | ||
19132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19133 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19134 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19135 | { |
19136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19137 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
19138 | ||
19139 | wxPyEndAllowThreads(__tstate); | |
19140 | if (PyErr_Occurred()) SWIG_fail; | |
19141 | } | |
4f89f6a3 RD |
19142 | { |
19143 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19144 | } | |
d14a1e28 RD |
19145 | return resultobj; |
19146 | fail: | |
19147 | return NULL; | |
19148 | } | |
19149 | ||
19150 | ||
19151 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19152 | PyObject *resultobj; | |
19153 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19154 | bool result; | |
19155 | PyObject * obj0 = 0 ; | |
19156 | char *kwnames[] = { | |
19157 | (char *) "self", NULL | |
19158 | }; | |
19159 | ||
19160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19161 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19162 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19163 | { |
19164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19165 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
19166 | ||
19167 | wxPyEndAllowThreads(__tstate); | |
19168 | if (PyErr_Occurred()) SWIG_fail; | |
19169 | } | |
4f89f6a3 RD |
19170 | { |
19171 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19172 | } | |
d14a1e28 RD |
19173 | return resultobj; |
19174 | fail: | |
19175 | return NULL; | |
19176 | } | |
19177 | ||
19178 | ||
19179 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19180 | PyObject *resultobj; | |
19181 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19182 | bool result; | |
19183 | PyObject * obj0 = 0 ; | |
19184 | char *kwnames[] = { | |
19185 | (char *) "self", NULL | |
19186 | }; | |
19187 | ||
19188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19189 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19190 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19191 | { |
19192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19193 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
19194 | ||
19195 | wxPyEndAllowThreads(__tstate); | |
19196 | if (PyErr_Occurred()) SWIG_fail; | |
19197 | } | |
4f89f6a3 RD |
19198 | { |
19199 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19200 | } | |
d14a1e28 RD |
19201 | return resultobj; |
19202 | fail: | |
19203 | return NULL; | |
19204 | } | |
19205 | ||
19206 | ||
19207 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19208 | PyObject *resultobj; | |
19209 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19210 | bool result; | |
19211 | PyObject * obj0 = 0 ; | |
19212 | char *kwnames[] = { | |
19213 | (char *) "self", NULL | |
19214 | }; | |
19215 | ||
19216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19219 | { |
19220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19221 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
19222 | ||
19223 | wxPyEndAllowThreads(__tstate); | |
19224 | if (PyErr_Occurred()) SWIG_fail; | |
19225 | } | |
4f89f6a3 RD |
19226 | { |
19227 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19228 | } | |
d14a1e28 RD |
19229 | return resultobj; |
19230 | fail: | |
19231 | return NULL; | |
19232 | } | |
19233 | ||
19234 | ||
19235 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19236 | PyObject *resultobj; | |
19237 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19238 | bool result; | |
19239 | PyObject * obj0 = 0 ; | |
19240 | char *kwnames[] = { | |
19241 | (char *) "self", NULL | |
19242 | }; | |
19243 | ||
19244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19245 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19247 | { |
19248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19249 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
19250 | ||
19251 | wxPyEndAllowThreads(__tstate); | |
19252 | if (PyErr_Occurred()) SWIG_fail; | |
19253 | } | |
4f89f6a3 RD |
19254 | { |
19255 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19256 | } | |
d14a1e28 RD |
19257 | return resultobj; |
19258 | fail: | |
19259 | return NULL; | |
19260 | } | |
19261 | ||
19262 | ||
19263 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19264 | PyObject *resultobj; | |
19265 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19266 | int arg2 ; | |
19267 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19268 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19269 | char *kwnames[] = { |
19270 | (char *) "self",(char *) "v", NULL | |
19271 | }; | |
19272 | ||
8edf1c75 | 19273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
19274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19276 | arg2 = (int) SWIG_AsInt(obj1); | |
19277 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19278 | { |
19279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19280 | (arg1)->SetFromPage(arg2); | |
19281 | ||
19282 | wxPyEndAllowThreads(__tstate); | |
19283 | if (PyErr_Occurred()) SWIG_fail; | |
19284 | } | |
19285 | Py_INCREF(Py_None); resultobj = Py_None; | |
19286 | return resultobj; | |
19287 | fail: | |
19288 | return NULL; | |
19289 | } | |
19290 | ||
19291 | ||
19292 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19293 | PyObject *resultobj; | |
19294 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19295 | int arg2 ; | |
19296 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19297 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19298 | char *kwnames[] = { |
19299 | (char *) "self",(char *) "v", NULL | |
19300 | }; | |
19301 | ||
8edf1c75 | 19302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
19303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19305 | arg2 = (int) SWIG_AsInt(obj1); | |
19306 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19307 | { |
19308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19309 | (arg1)->SetToPage(arg2); | |
19310 | ||
19311 | wxPyEndAllowThreads(__tstate); | |
19312 | if (PyErr_Occurred()) SWIG_fail; | |
19313 | } | |
19314 | Py_INCREF(Py_None); resultobj = Py_None; | |
19315 | return resultobj; | |
19316 | fail: | |
19317 | return NULL; | |
19318 | } | |
19319 | ||
19320 | ||
19321 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19322 | PyObject *resultobj; | |
19323 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19324 | int arg2 ; | |
19325 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19326 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19327 | char *kwnames[] = { |
19328 | (char *) "self",(char *) "v", NULL | |
19329 | }; | |
19330 | ||
8edf1c75 | 19331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
19332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19334 | arg2 = (int) SWIG_AsInt(obj1); | |
19335 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19336 | { |
19337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19338 | (arg1)->SetMinPage(arg2); | |
19339 | ||
19340 | wxPyEndAllowThreads(__tstate); | |
19341 | if (PyErr_Occurred()) SWIG_fail; | |
19342 | } | |
19343 | Py_INCREF(Py_None); resultobj = Py_None; | |
19344 | return resultobj; | |
19345 | fail: | |
19346 | return NULL; | |
19347 | } | |
19348 | ||
19349 | ||
19350 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19351 | PyObject *resultobj; | |
19352 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19353 | int arg2 ; | |
19354 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19355 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19356 | char *kwnames[] = { |
19357 | (char *) "self",(char *) "v", NULL | |
19358 | }; | |
19359 | ||
8edf1c75 | 19360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
19361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19363 | arg2 = (int) SWIG_AsInt(obj1); | |
19364 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19365 | { |
19366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19367 | (arg1)->SetMaxPage(arg2); | |
19368 | ||
19369 | wxPyEndAllowThreads(__tstate); | |
19370 | if (PyErr_Occurred()) SWIG_fail; | |
19371 | } | |
19372 | Py_INCREF(Py_None); resultobj = Py_None; | |
19373 | return resultobj; | |
19374 | fail: | |
19375 | return NULL; | |
19376 | } | |
19377 | ||
19378 | ||
19379 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19380 | PyObject *resultobj; | |
19381 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19382 | int arg2 ; | |
19383 | PyObject * obj0 = 0 ; | |
8edf1c75 | 19384 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19385 | char *kwnames[] = { |
19386 | (char *) "self",(char *) "v", NULL | |
19387 | }; | |
19388 | ||
8edf1c75 | 19389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
19390 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19391 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19392 | arg2 = (int) SWIG_AsInt(obj1); | |
19393 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19394 | { |
19395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19396 | (arg1)->SetNoCopies(arg2); | |
19397 | ||
19398 | wxPyEndAllowThreads(__tstate); | |
19399 | if (PyErr_Occurred()) SWIG_fail; | |
19400 | } | |
19401 | Py_INCREF(Py_None); resultobj = Py_None; | |
19402 | return resultobj; | |
19403 | fail: | |
19404 | return NULL; | |
19405 | } | |
19406 | ||
19407 | ||
19408 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19409 | PyObject *resultobj; | |
19410 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19411 | bool arg2 ; | |
19412 | PyObject * obj0 = 0 ; | |
19413 | PyObject * obj1 = 0 ; | |
19414 | char *kwnames[] = { | |
19415 | (char *) "self",(char *) "flag", NULL | |
19416 | }; | |
19417 | ||
19418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19421 | arg2 = (bool) SWIG_AsBool(obj1); | |
19422 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19423 | { |
19424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19425 | (arg1)->SetAllPages(arg2); | |
19426 | ||
19427 | wxPyEndAllowThreads(__tstate); | |
19428 | if (PyErr_Occurred()) SWIG_fail; | |
19429 | } | |
19430 | Py_INCREF(Py_None); resultobj = Py_None; | |
19431 | return resultobj; | |
19432 | fail: | |
19433 | return NULL; | |
19434 | } | |
19435 | ||
19436 | ||
19437 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19438 | PyObject *resultobj; | |
19439 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19440 | bool arg2 ; | |
19441 | PyObject * obj0 = 0 ; | |
19442 | PyObject * obj1 = 0 ; | |
19443 | char *kwnames[] = { | |
19444 | (char *) "self",(char *) "flag", NULL | |
19445 | }; | |
19446 | ||
19447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19450 | arg2 = (bool) SWIG_AsBool(obj1); | |
19451 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19452 | { |
19453 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19454 | (arg1)->SetSelection(arg2); | |
19455 | ||
19456 | wxPyEndAllowThreads(__tstate); | |
19457 | if (PyErr_Occurred()) SWIG_fail; | |
19458 | } | |
19459 | Py_INCREF(Py_None); resultobj = Py_None; | |
19460 | return resultobj; | |
19461 | fail: | |
19462 | return NULL; | |
19463 | } | |
19464 | ||
19465 | ||
19466 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19467 | PyObject *resultobj; | |
19468 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19469 | bool arg2 ; | |
19470 | PyObject * obj0 = 0 ; | |
19471 | PyObject * obj1 = 0 ; | |
19472 | char *kwnames[] = { | |
19473 | (char *) "self",(char *) "flag", NULL | |
19474 | }; | |
19475 | ||
19476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19477 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19478 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19479 | arg2 = (bool) SWIG_AsBool(obj1); | |
19480 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19481 | { |
19482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19483 | (arg1)->SetCollate(arg2); | |
19484 | ||
19485 | wxPyEndAllowThreads(__tstate); | |
19486 | if (PyErr_Occurred()) SWIG_fail; | |
19487 | } | |
19488 | Py_INCREF(Py_None); resultobj = Py_None; | |
19489 | return resultobj; | |
19490 | fail: | |
19491 | return NULL; | |
19492 | } | |
19493 | ||
19494 | ||
19495 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19496 | PyObject *resultobj; | |
19497 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19498 | bool arg2 ; | |
19499 | PyObject * obj0 = 0 ; | |
19500 | PyObject * obj1 = 0 ; | |
19501 | char *kwnames[] = { | |
19502 | (char *) "self",(char *) "flag", NULL | |
19503 | }; | |
19504 | ||
19505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19506 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19507 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19508 | arg2 = (bool) SWIG_AsBool(obj1); | |
19509 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19510 | { |
19511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19512 | (arg1)->SetPrintToFile(arg2); | |
19513 | ||
19514 | wxPyEndAllowThreads(__tstate); | |
19515 | if (PyErr_Occurred()) SWIG_fail; | |
19516 | } | |
19517 | Py_INCREF(Py_None); resultobj = Py_None; | |
19518 | return resultobj; | |
19519 | fail: | |
19520 | return NULL; | |
19521 | } | |
19522 | ||
19523 | ||
19524 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19525 | PyObject *resultobj; | |
19526 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19527 | bool arg2 ; | |
19528 | PyObject * obj0 = 0 ; | |
19529 | PyObject * obj1 = 0 ; | |
19530 | char *kwnames[] = { | |
19531 | (char *) "self",(char *) "flag", NULL | |
19532 | }; | |
19533 | ||
19534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19535 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19537 | arg2 = (bool) SWIG_AsBool(obj1); | |
19538 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19539 | { |
19540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19541 | (arg1)->SetSetupDialog(arg2); | |
19542 | ||
19543 | wxPyEndAllowThreads(__tstate); | |
19544 | if (PyErr_Occurred()) SWIG_fail; | |
19545 | } | |
19546 | Py_INCREF(Py_None); resultobj = Py_None; | |
19547 | return resultobj; | |
19548 | fail: | |
19549 | return NULL; | |
19550 | } | |
19551 | ||
19552 | ||
19553 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19554 | PyObject *resultobj; | |
19555 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19556 | bool arg2 ; | |
19557 | PyObject * obj0 = 0 ; | |
19558 | PyObject * obj1 = 0 ; | |
19559 | char *kwnames[] = { | |
19560 | (char *) "self",(char *) "flag", NULL | |
19561 | }; | |
19562 | ||
19563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19566 | arg2 = (bool) SWIG_AsBool(obj1); | |
19567 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19568 | { |
19569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19570 | (arg1)->EnablePrintToFile(arg2); | |
19571 | ||
19572 | wxPyEndAllowThreads(__tstate); | |
19573 | if (PyErr_Occurred()) SWIG_fail; | |
19574 | } | |
19575 | Py_INCREF(Py_None); resultobj = Py_None; | |
19576 | return resultobj; | |
19577 | fail: | |
19578 | return NULL; | |
19579 | } | |
19580 | ||
19581 | ||
19582 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19583 | PyObject *resultobj; | |
19584 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19585 | bool arg2 ; | |
19586 | PyObject * obj0 = 0 ; | |
19587 | PyObject * obj1 = 0 ; | |
19588 | char *kwnames[] = { | |
19589 | (char *) "self",(char *) "flag", NULL | |
19590 | }; | |
19591 | ||
19592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19595 | arg2 = (bool) SWIG_AsBool(obj1); | |
19596 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19597 | { |
19598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19599 | (arg1)->EnableSelection(arg2); | |
19600 | ||
19601 | wxPyEndAllowThreads(__tstate); | |
19602 | if (PyErr_Occurred()) SWIG_fail; | |
19603 | } | |
19604 | Py_INCREF(Py_None); resultobj = Py_None; | |
19605 | return resultobj; | |
19606 | fail: | |
19607 | return NULL; | |
19608 | } | |
19609 | ||
19610 | ||
19611 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19612 | PyObject *resultobj; | |
19613 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19614 | bool arg2 ; | |
19615 | PyObject * obj0 = 0 ; | |
19616 | PyObject * obj1 = 0 ; | |
19617 | char *kwnames[] = { | |
19618 | (char *) "self",(char *) "flag", NULL | |
19619 | }; | |
19620 | ||
19621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19622 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19623 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19624 | arg2 = (bool) SWIG_AsBool(obj1); | |
19625 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19626 | { |
19627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19628 | (arg1)->EnablePageNumbers(arg2); | |
19629 | ||
19630 | wxPyEndAllowThreads(__tstate); | |
19631 | if (PyErr_Occurred()) SWIG_fail; | |
19632 | } | |
19633 | Py_INCREF(Py_None); resultobj = Py_None; | |
19634 | return resultobj; | |
19635 | fail: | |
19636 | return NULL; | |
19637 | } | |
19638 | ||
19639 | ||
19640 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19641 | PyObject *resultobj; | |
19642 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19643 | bool arg2 ; | |
19644 | PyObject * obj0 = 0 ; | |
19645 | PyObject * obj1 = 0 ; | |
19646 | char *kwnames[] = { | |
19647 | (char *) "self",(char *) "flag", NULL | |
19648 | }; | |
19649 | ||
19650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19651 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19652 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19653 | arg2 = (bool) SWIG_AsBool(obj1); | |
19654 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19655 | { |
19656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19657 | (arg1)->EnableHelp(arg2); | |
19658 | ||
19659 | wxPyEndAllowThreads(__tstate); | |
19660 | if (PyErr_Occurred()) SWIG_fail; | |
19661 | } | |
19662 | Py_INCREF(Py_None); resultobj = Py_None; | |
19663 | return resultobj; | |
19664 | fail: | |
19665 | return NULL; | |
19666 | } | |
19667 | ||
19668 | ||
19669 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19670 | PyObject *resultobj; | |
19671 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19672 | bool result; | |
19673 | PyObject * obj0 = 0 ; | |
19674 | char *kwnames[] = { | |
19675 | (char *) "self", NULL | |
19676 | }; | |
19677 | ||
19678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19681 | { |
19682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19683 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19684 | ||
19685 | wxPyEndAllowThreads(__tstate); | |
19686 | if (PyErr_Occurred()) SWIG_fail; | |
19687 | } | |
4f89f6a3 RD |
19688 | { |
19689 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19690 | } | |
d14a1e28 RD |
19691 | return resultobj; |
19692 | fail: | |
19693 | return NULL; | |
19694 | } | |
19695 | ||
19696 | ||
19697 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19698 | PyObject *resultobj; | |
19699 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19700 | bool result; | |
19701 | PyObject * obj0 = 0 ; | |
19702 | char *kwnames[] = { | |
19703 | (char *) "self", NULL | |
19704 | }; | |
19705 | ||
19706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19707 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19709 | { |
19710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19711 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19712 | ||
19713 | wxPyEndAllowThreads(__tstate); | |
19714 | if (PyErr_Occurred()) SWIG_fail; | |
19715 | } | |
4f89f6a3 RD |
19716 | { |
19717 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19718 | } | |
d14a1e28 RD |
19719 | return resultobj; |
19720 | fail: | |
19721 | return NULL; | |
19722 | } | |
19723 | ||
19724 | ||
19725 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19726 | PyObject *resultobj; | |
19727 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19728 | bool result; | |
19729 | PyObject * obj0 = 0 ; | |
19730 | char *kwnames[] = { | |
19731 | (char *) "self", NULL | |
19732 | }; | |
19733 | ||
19734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19737 | { |
19738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19739 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19740 | ||
19741 | wxPyEndAllowThreads(__tstate); | |
19742 | if (PyErr_Occurred()) SWIG_fail; | |
19743 | } | |
4f89f6a3 RD |
19744 | { |
19745 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19746 | } | |
d14a1e28 RD |
19747 | return resultobj; |
19748 | fail: | |
19749 | return NULL; | |
19750 | } | |
19751 | ||
19752 | ||
19753 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19754 | PyObject *resultobj; | |
19755 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19756 | bool result; | |
19757 | PyObject * obj0 = 0 ; | |
19758 | char *kwnames[] = { | |
19759 | (char *) "self", NULL | |
19760 | }; | |
19761 | ||
19762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19765 | { |
19766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19767 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19768 | ||
19769 | wxPyEndAllowThreads(__tstate); | |
19770 | if (PyErr_Occurred()) SWIG_fail; | |
19771 | } | |
4f89f6a3 RD |
19772 | { |
19773 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19774 | } | |
d14a1e28 RD |
19775 | return resultobj; |
19776 | fail: | |
19777 | return NULL; | |
19778 | } | |
19779 | ||
19780 | ||
19781 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19782 | PyObject *resultobj; | |
19783 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19784 | bool result; | |
19785 | PyObject * obj0 = 0 ; | |
19786 | char *kwnames[] = { | |
19787 | (char *) "self", NULL | |
19788 | }; | |
19789 | ||
19790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19793 | { |
19794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19795 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19796 | ||
19797 | wxPyEndAllowThreads(__tstate); | |
19798 | if (PyErr_Occurred()) SWIG_fail; | |
19799 | } | |
4f89f6a3 RD |
19800 | { |
19801 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
19802 | } | |
d14a1e28 RD |
19803 | return resultobj; |
19804 | fail: | |
19805 | return NULL; | |
19806 | } | |
19807 | ||
19808 | ||
19809 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19810 | PyObject *resultobj; | |
19811 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19812 | wxPrintData *result; | |
19813 | PyObject * obj0 = 0 ; | |
19814 | char *kwnames[] = { | |
19815 | (char *) "self", NULL | |
19816 | }; | |
19817 | ||
19818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19821 | { |
19822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19823 | { | |
19824 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19825 | result = (wxPrintData *) &_result_ref; | |
19826 | } | |
19827 | ||
19828 | wxPyEndAllowThreads(__tstate); | |
19829 | if (PyErr_Occurred()) SWIG_fail; | |
19830 | } | |
2f4c0a16 | 19831 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19832 | return resultobj; |
19833 | fail: | |
19834 | return NULL; | |
19835 | } | |
19836 | ||
19837 | ||
19838 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19839 | PyObject *resultobj; | |
19840 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19841 | wxPrintData *arg2 = 0 ; | |
19842 | PyObject * obj0 = 0 ; | |
19843 | PyObject * obj1 = 0 ; | |
19844 | char *kwnames[] = { | |
19845 | (char *) "self",(char *) "printData", NULL | |
19846 | }; | |
19847 | ||
19848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19851 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19852 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19853 | SWIG_fail; | |
d14a1e28 | 19854 | if (arg2 == NULL) { |
2f4c0a16 RD |
19855 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19856 | SWIG_fail; | |
d14a1e28 RD |
19857 | } |
19858 | { | |
19859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19860 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19861 | ||
19862 | wxPyEndAllowThreads(__tstate); | |
19863 | if (PyErr_Occurred()) SWIG_fail; | |
19864 | } | |
19865 | Py_INCREF(Py_None); resultobj = Py_None; | |
19866 | return resultobj; | |
19867 | fail: | |
19868 | return NULL; | |
19869 | } | |
19870 | ||
19871 | ||
19872 | static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) { | |
19873 | PyObject *obj; | |
19874 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19875 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19876 | Py_INCREF(obj); | |
19877 | return Py_BuildValue((char *)""); | |
19878 | } | |
19879 | static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19880 | PyObject *resultobj; | |
19881 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19882 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19883 | wxPrintDialog *result; | |
19884 | PyObject * obj0 = 0 ; | |
19885 | PyObject * obj1 = 0 ; | |
19886 | char *kwnames[] = { | |
19887 | (char *) "parent",(char *) "data", NULL | |
19888 | }; | |
19889 | ||
19890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19891 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19892 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19893 | if (obj1) { |
2f4c0a16 RD |
19894 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
19895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19896 | } |
19897 | { | |
19898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19899 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19900 | ||
19901 | wxPyEndAllowThreads(__tstate); | |
19902 | if (PyErr_Occurred()) SWIG_fail; | |
19903 | } | |
2f4c0a16 | 19904 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
19905 | return resultobj; |
19906 | fail: | |
19907 | return NULL; | |
19908 | } | |
19909 | ||
19910 | ||
19911 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19912 | PyObject *resultobj; | |
19913 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19914 | wxPrintDialogData *result; | |
19915 | PyObject * obj0 = 0 ; | |
19916 | char *kwnames[] = { | |
19917 | (char *) "self", NULL | |
19918 | }; | |
19919 | ||
19920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19923 | { |
19924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19925 | { | |
19926 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19927 | result = (wxPrintDialogData *) &_result_ref; | |
19928 | } | |
19929 | ||
19930 | wxPyEndAllowThreads(__tstate); | |
19931 | if (PyErr_Occurred()) SWIG_fail; | |
19932 | } | |
2f4c0a16 | 19933 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19934 | return resultobj; |
19935 | fail: | |
19936 | return NULL; | |
19937 | } | |
19938 | ||
19939 | ||
19940 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19941 | PyObject *resultobj; | |
19942 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19943 | wxDC *result; | |
19944 | PyObject * obj0 = 0 ; | |
19945 | char *kwnames[] = { | |
19946 | (char *) "self", NULL | |
19947 | }; | |
19948 | ||
19949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19950 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19951 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19952 | { |
19953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19954 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19955 | ||
19956 | wxPyEndAllowThreads(__tstate); | |
19957 | if (PyErr_Occurred()) SWIG_fail; | |
19958 | } | |
19959 | { | |
19960 | resultobj = wxPyMake_wxObject(result); | |
19961 | } | |
19962 | return resultobj; | |
19963 | fail: | |
19964 | return NULL; | |
19965 | } | |
19966 | ||
19967 | ||
19968 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) { | |
19969 | PyObject *resultobj; | |
19970 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19971 | int result; | |
19972 | PyObject * obj0 = 0 ; | |
19973 | char *kwnames[] = { | |
19974 | (char *) "self", NULL | |
19975 | }; | |
19976 | ||
19977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19980 | { |
19981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19982 | result = (int)(arg1)->ShowModal(); | |
19983 | ||
19984 | wxPyEndAllowThreads(__tstate); | |
19985 | if (PyErr_Occurred()) SWIG_fail; | |
19986 | } | |
2f4c0a16 | 19987 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19988 | return resultobj; |
19989 | fail: | |
19990 | return NULL; | |
19991 | } | |
19992 | ||
19993 | ||
19994 | static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) { | |
19995 | PyObject *obj; | |
19996 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19997 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19998 | Py_INCREF(obj); | |
19999 | return Py_BuildValue((char *)""); | |
20000 | } | |
20001 | static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20002 | PyObject *resultobj; | |
20003 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
20004 | wxPrinter *result; | |
20005 | PyObject * obj0 = 0 ; | |
20006 | char *kwnames[] = { | |
20007 | (char *) "data", NULL | |
20008 | }; | |
20009 | ||
20010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
20011 | if (obj0) { | |
2f4c0a16 RD |
20012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
20013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20014 | } |
20015 | { | |
20016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20017 | result = (wxPrinter *)new wxPrinter(arg1); | |
20018 | ||
20019 | wxPyEndAllowThreads(__tstate); | |
20020 | if (PyErr_Occurred()) SWIG_fail; | |
20021 | } | |
2f4c0a16 | 20022 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
20023 | return resultobj; |
20024 | fail: | |
20025 | return NULL; | |
20026 | } | |
20027 | ||
20028 | ||
20029 | static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20030 | PyObject *resultobj; | |
20031 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20032 | PyObject * obj0 = 0 ; | |
20033 | char *kwnames[] = { | |
20034 | (char *) "self", NULL | |
20035 | }; | |
20036 | ||
20037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20038 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20040 | { |
20041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20042 | delete arg1; | |
20043 | ||
20044 | wxPyEndAllowThreads(__tstate); | |
20045 | if (PyErr_Occurred()) SWIG_fail; | |
20046 | } | |
20047 | Py_INCREF(Py_None); resultobj = Py_None; | |
20048 | return resultobj; | |
20049 | fail: | |
20050 | return NULL; | |
20051 | } | |
20052 | ||
20053 | ||
20054 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20055 | PyObject *resultobj; | |
20056 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20057 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20058 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
20059 | PyObject * obj0 = 0 ; | |
20060 | PyObject * obj1 = 0 ; | |
20061 | PyObject * obj2 = 0 ; | |
20062 | char *kwnames[] = { | |
20063 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
20064 | }; | |
20065 | ||
20066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
20067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20069 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20071 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
20072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20073 | { |
20074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20075 | (arg1)->CreateAbortWindow(arg2,arg3); | |
20076 | ||
20077 | wxPyEndAllowThreads(__tstate); | |
20078 | if (PyErr_Occurred()) SWIG_fail; | |
20079 | } | |
20080 | Py_INCREF(Py_None); resultobj = Py_None; | |
20081 | return resultobj; | |
20082 | fail: | |
20083 | return NULL; | |
20084 | } | |
20085 | ||
20086 | ||
20087 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20088 | PyObject *resultobj; | |
20089 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20090 | wxPrintDialogData *result; | |
20091 | PyObject * obj0 = 0 ; | |
20092 | char *kwnames[] = { | |
20093 | (char *) "self", NULL | |
20094 | }; | |
20095 | ||
20096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20097 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20098 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20099 | { |
20100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20101 | { | |
20102 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
20103 | result = (wxPrintDialogData *) &_result_ref; | |
20104 | } | |
20105 | ||
20106 | wxPyEndAllowThreads(__tstate); | |
20107 | if (PyErr_Occurred()) SWIG_fail; | |
20108 | } | |
2f4c0a16 | 20109 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
20110 | return resultobj; |
20111 | fail: | |
20112 | return NULL; | |
20113 | } | |
20114 | ||
20115 | ||
20116 | static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20117 | PyObject *resultobj; | |
20118 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20119 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20120 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
423f194a | 20121 | int arg4 = (int) True ; |
d14a1e28 RD |
20122 | bool result; |
20123 | PyObject * obj0 = 0 ; | |
20124 | PyObject * obj1 = 0 ; | |
20125 | PyObject * obj2 = 0 ; | |
8edf1c75 | 20126 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
20127 | char *kwnames[] = { |
20128 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
20129 | }; | |
20130 | ||
8edf1c75 | 20131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
20132 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20133 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20134 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20136 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
20137 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 20138 | if (obj3) { |
2f4c0a16 RD |
20139 | arg4 = (int) SWIG_AsInt(obj3); |
20140 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 20141 | } |
d14a1e28 RD |
20142 | { |
20143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20144 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
20145 | ||
20146 | wxPyEndAllowThreads(__tstate); | |
20147 | if (PyErr_Occurred()) SWIG_fail; | |
20148 | } | |
4f89f6a3 RD |
20149 | { |
20150 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20151 | } | |
d14a1e28 RD |
20152 | return resultobj; |
20153 | fail: | |
20154 | return NULL; | |
20155 | } | |
20156 | ||
20157 | ||
20158 | static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20159 | PyObject *resultobj; | |
20160 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20161 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20162 | wxDC *result; | |
20163 | PyObject * obj0 = 0 ; | |
20164 | PyObject * obj1 = 0 ; | |
20165 | char *kwnames[] = { | |
20166 | (char *) "self",(char *) "parent", NULL | |
20167 | }; | |
20168 | ||
20169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
20170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20172 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20174 | { |
20175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20176 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
20177 | ||
20178 | wxPyEndAllowThreads(__tstate); | |
20179 | if (PyErr_Occurred()) SWIG_fail; | |
20180 | } | |
20181 | { | |
20182 | resultobj = wxPyMake_wxObject(result); | |
20183 | } | |
20184 | return resultobj; | |
20185 | fail: | |
20186 | return NULL; | |
20187 | } | |
20188 | ||
20189 | ||
20190 | static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20191 | PyObject *resultobj; | |
20192 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20193 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20194 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
20195 | wxString *arg4 = 0 ; | |
423f194a | 20196 | bool temp4 = False ; |
d14a1e28 RD |
20197 | PyObject * obj0 = 0 ; |
20198 | PyObject * obj1 = 0 ; | |
20199 | PyObject * obj2 = 0 ; | |
20200 | PyObject * obj3 = 0 ; | |
20201 | char *kwnames[] = { | |
20202 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
20203 | }; | |
20204 | ||
20205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
20206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20208 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20209 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20210 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
20211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20212 | { |
20213 | arg4 = wxString_in_helper(obj3); | |
20214 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 20215 | temp4 = True; |
d14a1e28 RD |
20216 | } |
20217 | { | |
20218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20219 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
20220 | ||
20221 | wxPyEndAllowThreads(__tstate); | |
20222 | if (PyErr_Occurred()) SWIG_fail; | |
20223 | } | |
20224 | Py_INCREF(Py_None); resultobj = Py_None; | |
20225 | { | |
20226 | if (temp4) | |
20227 | delete arg4; | |
20228 | } | |
20229 | return resultobj; | |
20230 | fail: | |
20231 | { | |
20232 | if (temp4) | |
20233 | delete arg4; | |
20234 | } | |
20235 | return NULL; | |
20236 | } | |
20237 | ||
20238 | ||
20239 | static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20240 | PyObject *resultobj; | |
20241 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20242 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20243 | bool result; | |
20244 | PyObject * obj0 = 0 ; | |
20245 | PyObject * obj1 = 0 ; | |
20246 | char *kwnames[] = { | |
20247 | (char *) "self",(char *) "parent", NULL | |
20248 | }; | |
20249 | ||
20250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
20251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20253 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20255 | { |
20256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20257 | result = (bool)(arg1)->Setup(arg2); | |
20258 | ||
20259 | wxPyEndAllowThreads(__tstate); | |
20260 | if (PyErr_Occurred()) SWIG_fail; | |
20261 | } | |
4f89f6a3 RD |
20262 | { |
20263 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20264 | } | |
d14a1e28 RD |
20265 | return resultobj; |
20266 | fail: | |
20267 | return NULL; | |
20268 | } | |
20269 | ||
20270 | ||
20271 | static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20272 | PyObject *resultobj; | |
20273 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
20274 | bool result; | |
20275 | PyObject * obj0 = 0 ; | |
20276 | char *kwnames[] = { | |
20277 | (char *) "self", NULL | |
20278 | }; | |
20279 | ||
20280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
20282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20283 | { |
20284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20285 | result = (bool)(arg1)->GetAbort(); | |
20286 | ||
20287 | wxPyEndAllowThreads(__tstate); | |
20288 | if (PyErr_Occurred()) SWIG_fail; | |
20289 | } | |
4f89f6a3 RD |
20290 | { |
20291 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20292 | } | |
d14a1e28 RD |
20293 | return resultobj; |
20294 | fail: | |
20295 | return NULL; | |
20296 | } | |
20297 | ||
20298 | ||
20299 | static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20300 | PyObject *resultobj; | |
20301 | int result; | |
20302 | char *kwnames[] = { | |
20303 | NULL | |
20304 | }; | |
20305 | ||
20306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
20307 | { | |
20308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20309 | result = (int)wxPrinter::GetLastError(); | |
20310 | ||
20311 | wxPyEndAllowThreads(__tstate); | |
20312 | if (PyErr_Occurred()) SWIG_fail; | |
20313 | } | |
2f4c0a16 | 20314 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20315 | return resultobj; |
20316 | fail: | |
20317 | return NULL; | |
20318 | } | |
20319 | ||
20320 | ||
20321 | static PyObject * Printer_swigregister(PyObject *self, PyObject *args) { | |
20322 | PyObject *obj; | |
20323 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20324 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
20325 | Py_INCREF(obj); | |
20326 | return Py_BuildValue((char *)""); | |
20327 | } | |
20328 | static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20329 | PyObject *resultobj; | |
20330 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
20331 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
20332 | wxPyPrintout *result; | |
423f194a | 20333 | bool temp1 = False ; |
d14a1e28 RD |
20334 | PyObject * obj0 = 0 ; |
20335 | char *kwnames[] = { | |
20336 | (char *) "title", NULL | |
20337 | }; | |
20338 | ||
20339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
20340 | if (obj0) { | |
20341 | { | |
20342 | arg1 = wxString_in_helper(obj0); | |
20343 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 20344 | temp1 = True; |
d14a1e28 RD |
20345 | } |
20346 | } | |
20347 | { | |
20348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20349 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
20350 | ||
20351 | wxPyEndAllowThreads(__tstate); | |
20352 | if (PyErr_Occurred()) SWIG_fail; | |
20353 | } | |
20354 | { | |
20355 | resultobj = wxPyMake_wxObject(result); | |
20356 | } | |
20357 | { | |
20358 | if (temp1) | |
20359 | delete arg1; | |
20360 | } | |
20361 | return resultobj; | |
20362 | fail: | |
20363 | { | |
20364 | if (temp1) | |
20365 | delete arg1; | |
20366 | } | |
20367 | return NULL; | |
20368 | } | |
20369 | ||
20370 | ||
20371 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20372 | PyObject *resultobj; | |
20373 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20374 | PyObject *arg2 = (PyObject *) 0 ; | |
20375 | PyObject *arg3 = (PyObject *) 0 ; | |
20376 | PyObject * obj0 = 0 ; | |
20377 | PyObject * obj1 = 0 ; | |
20378 | PyObject * obj2 = 0 ; | |
20379 | char *kwnames[] = { | |
20380 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
20381 | }; | |
20382 | ||
20383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
20384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20386 | arg2 = obj1; |
20387 | arg3 = obj2; | |
20388 | { | |
20389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20390 | (arg1)->_setCallbackInfo(arg2,arg3); | |
20391 | ||
20392 | wxPyEndAllowThreads(__tstate); | |
20393 | if (PyErr_Occurred()) SWIG_fail; | |
20394 | } | |
20395 | Py_INCREF(Py_None); resultobj = Py_None; | |
20396 | return resultobj; | |
20397 | fail: | |
20398 | return NULL; | |
20399 | } | |
20400 | ||
20401 | ||
20402 | static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20403 | PyObject *resultobj; | |
20404 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20405 | wxString result; | |
20406 | PyObject * obj0 = 0 ; | |
20407 | char *kwnames[] = { | |
20408 | (char *) "self", NULL | |
20409 | }; | |
20410 | ||
20411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20414 | { |
20415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20416 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
20417 | ||
20418 | wxPyEndAllowThreads(__tstate); | |
20419 | if (PyErr_Occurred()) SWIG_fail; | |
20420 | } | |
20421 | { | |
20422 | #if wxUSE_UNICODE | |
20423 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
20424 | #else | |
20425 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
20426 | #endif | |
20427 | } | |
20428 | return resultobj; | |
20429 | fail: | |
20430 | return NULL; | |
20431 | } | |
20432 | ||
20433 | ||
20434 | static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20435 | PyObject *resultobj; | |
20436 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20437 | wxDC *result; | |
20438 | PyObject * obj0 = 0 ; | |
20439 | char *kwnames[] = { | |
20440 | (char *) "self", NULL | |
20441 | }; | |
20442 | ||
20443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20446 | { |
20447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20448 | result = (wxDC *)(arg1)->GetDC(); | |
20449 | ||
20450 | wxPyEndAllowThreads(__tstate); | |
20451 | if (PyErr_Occurred()) SWIG_fail; | |
20452 | } | |
20453 | { | |
20454 | resultobj = wxPyMake_wxObject(result); | |
20455 | } | |
20456 | return resultobj; | |
20457 | fail: | |
20458 | return NULL; | |
20459 | } | |
20460 | ||
20461 | ||
20462 | static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20463 | PyObject *resultobj; | |
20464 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20465 | wxDC *arg2 = (wxDC *) 0 ; | |
20466 | PyObject * obj0 = 0 ; | |
20467 | PyObject * obj1 = 0 ; | |
20468 | char *kwnames[] = { | |
20469 | (char *) "self",(char *) "dc", NULL | |
20470 | }; | |
20471 | ||
20472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
20473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20475 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
20476 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20477 | { |
20478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20479 | (arg1)->SetDC(arg2); | |
20480 | ||
20481 | wxPyEndAllowThreads(__tstate); | |
20482 | if (PyErr_Occurred()) SWIG_fail; | |
20483 | } | |
20484 | Py_INCREF(Py_None); resultobj = Py_None; | |
20485 | return resultobj; | |
20486 | fail: | |
20487 | return NULL; | |
20488 | } | |
20489 | ||
20490 | ||
44127b65 | 20491 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20492 | PyObject *resultobj; |
20493 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
20494 | int arg2 ; |
20495 | int arg3 ; | |
d14a1e28 | 20496 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
20497 | PyObject * obj1 = 0 ; |
20498 | PyObject * obj2 = 0 ; | |
d14a1e28 | 20499 | char *kwnames[] = { |
44127b65 | 20500 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
20501 | }; |
20502 | ||
8edf1c75 | 20503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20506 | arg2 = (int) SWIG_AsInt(obj1); | |
20507 | if (PyErr_Occurred()) SWIG_fail; | |
20508 | arg3 = (int) SWIG_AsInt(obj2); | |
20509 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20510 | { |
20511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 20512 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20513 | |
20514 | wxPyEndAllowThreads(__tstate); | |
20515 | if (PyErr_Occurred()) SWIG_fail; | |
20516 | } | |
20517 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
20518 | return resultobj; |
20519 | fail: | |
20520 | return NULL; | |
20521 | } | |
20522 | ||
20523 | ||
44127b65 | 20524 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20525 | PyObject *resultobj; |
20526 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
20527 | int *arg2 = (int *) 0 ; |
20528 | int *arg3 = (int *) 0 ; | |
20529 | int temp2 ; | |
20530 | int temp3 ; | |
d14a1e28 RD |
20531 | PyObject * obj0 = 0 ; |
20532 | char *kwnames[] = { | |
44127b65 | 20533 | (char *) "self", NULL |
d14a1e28 RD |
20534 | }; |
20535 | ||
44127b65 RD |
20536 | arg2 = &temp2; |
20537 | arg3 = &temp3; | |
20538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20541 | { |
20542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 20543 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
20544 | |
20545 | wxPyEndAllowThreads(__tstate); | |
20546 | if (PyErr_Occurred()) SWIG_fail; | |
20547 | } | |
20548 | Py_INCREF(Py_None); resultobj = Py_None; | |
44127b65 RD |
20549 | { |
20550 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20551 | resultobj = t_output_helper(resultobj,o); | |
20552 | } | |
20553 | { | |
20554 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20555 | resultobj = t_output_helper(resultobj,o); | |
20556 | } | |
d14a1e28 RD |
20557 | return resultobj; |
20558 | fail: | |
20559 | return NULL; | |
20560 | } | |
20561 | ||
20562 | ||
20563 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20564 | PyObject *resultobj; | |
20565 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20566 | int arg2 ; | |
20567 | int arg3 ; | |
20568 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20569 | PyObject * obj1 = 0 ; |
20570 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20571 | char *kwnames[] = { |
20572 | (char *) "self",(char *) "w",(char *) "h", NULL | |
20573 | }; | |
20574 | ||
8edf1c75 | 20575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20578 | arg2 = (int) SWIG_AsInt(obj1); | |
20579 | if (PyErr_Occurred()) SWIG_fail; | |
20580 | arg3 = (int) SWIG_AsInt(obj2); | |
20581 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20582 | { |
20583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20584 | (arg1)->SetPageSizeMM(arg2,arg3); | |
20585 | ||
20586 | wxPyEndAllowThreads(__tstate); | |
20587 | if (PyErr_Occurred()) SWIG_fail; | |
20588 | } | |
20589 | Py_INCREF(Py_None); resultobj = Py_None; | |
20590 | return resultobj; | |
20591 | fail: | |
20592 | return NULL; | |
20593 | } | |
20594 | ||
20595 | ||
20596 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20597 | PyObject *resultobj; | |
20598 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20599 | int *arg2 = (int *) 0 ; | |
20600 | int *arg3 = (int *) 0 ; | |
20601 | int temp2 ; | |
20602 | int temp3 ; | |
20603 | PyObject * obj0 = 0 ; | |
20604 | char *kwnames[] = { | |
20605 | (char *) "self", NULL | |
20606 | }; | |
20607 | ||
20608 | arg2 = &temp2; | |
20609 | arg3 = &temp3; | |
20610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20613 | { |
20614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20615 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20616 | ||
20617 | wxPyEndAllowThreads(__tstate); | |
20618 | if (PyErr_Occurred()) SWIG_fail; | |
20619 | } | |
20620 | Py_INCREF(Py_None); resultobj = Py_None; | |
20621 | { | |
20622 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20623 | resultobj = t_output_helper(resultobj,o); | |
20624 | } | |
20625 | { | |
20626 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20627 | resultobj = t_output_helper(resultobj,o); | |
20628 | } | |
20629 | return resultobj; | |
20630 | fail: | |
20631 | return NULL; | |
20632 | } | |
20633 | ||
20634 | ||
20635 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20636 | PyObject *resultobj; | |
20637 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20638 | int arg2 ; | |
20639 | int arg3 ; | |
20640 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20641 | PyObject * obj1 = 0 ; |
20642 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20643 | char *kwnames[] = { |
20644 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20645 | }; | |
20646 | ||
8edf1c75 | 20647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20650 | arg2 = (int) SWIG_AsInt(obj1); | |
20651 | if (PyErr_Occurred()) SWIG_fail; | |
20652 | arg3 = (int) SWIG_AsInt(obj2); | |
20653 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20654 | { |
20655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20656 | (arg1)->SetPPIScreen(arg2,arg3); | |
20657 | ||
20658 | wxPyEndAllowThreads(__tstate); | |
20659 | if (PyErr_Occurred()) SWIG_fail; | |
20660 | } | |
20661 | Py_INCREF(Py_None); resultobj = Py_None; | |
20662 | return resultobj; | |
20663 | fail: | |
20664 | return NULL; | |
20665 | } | |
20666 | ||
20667 | ||
20668 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20669 | PyObject *resultobj; | |
20670 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20671 | int *arg2 = (int *) 0 ; | |
20672 | int *arg3 = (int *) 0 ; | |
20673 | int temp2 ; | |
20674 | int temp3 ; | |
20675 | PyObject * obj0 = 0 ; | |
20676 | char *kwnames[] = { | |
20677 | (char *) "self", NULL | |
20678 | }; | |
20679 | ||
20680 | arg2 = &temp2; | |
20681 | arg3 = &temp3; | |
20682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20685 | { |
20686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20687 | (arg1)->GetPPIScreen(arg2,arg3); | |
20688 | ||
20689 | wxPyEndAllowThreads(__tstate); | |
20690 | if (PyErr_Occurred()) SWIG_fail; | |
20691 | } | |
20692 | Py_INCREF(Py_None); resultobj = Py_None; | |
20693 | { | |
20694 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20695 | resultobj = t_output_helper(resultobj,o); | |
20696 | } | |
20697 | { | |
20698 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20699 | resultobj = t_output_helper(resultobj,o); | |
20700 | } | |
20701 | return resultobj; | |
20702 | fail: | |
20703 | return NULL; | |
20704 | } | |
20705 | ||
20706 | ||
20707 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20708 | PyObject *resultobj; | |
20709 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20710 | int arg2 ; | |
20711 | int arg3 ; | |
20712 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20713 | PyObject * obj1 = 0 ; |
20714 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20715 | char *kwnames[] = { |
20716 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20717 | }; | |
20718 | ||
8edf1c75 | 20719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20722 | arg2 = (int) SWIG_AsInt(obj1); | |
20723 | if (PyErr_Occurred()) SWIG_fail; | |
20724 | arg3 = (int) SWIG_AsInt(obj2); | |
20725 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20726 | { |
20727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20728 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20729 | ||
20730 | wxPyEndAllowThreads(__tstate); | |
20731 | if (PyErr_Occurred()) SWIG_fail; | |
20732 | } | |
20733 | Py_INCREF(Py_None); resultobj = Py_None; | |
20734 | return resultobj; | |
20735 | fail: | |
20736 | return NULL; | |
20737 | } | |
20738 | ||
20739 | ||
20740 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20741 | PyObject *resultobj; | |
20742 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20743 | int *arg2 = (int *) 0 ; | |
20744 | int *arg3 = (int *) 0 ; | |
20745 | int temp2 ; | |
20746 | int temp3 ; | |
20747 | PyObject * obj0 = 0 ; | |
20748 | char *kwnames[] = { | |
20749 | (char *) "self", NULL | |
20750 | }; | |
20751 | ||
20752 | arg2 = &temp2; | |
20753 | arg3 = &temp3; | |
20754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20755 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20756 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20757 | { |
20758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20759 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20760 | ||
20761 | wxPyEndAllowThreads(__tstate); | |
20762 | if (PyErr_Occurred()) SWIG_fail; | |
20763 | } | |
20764 | Py_INCREF(Py_None); resultobj = Py_None; | |
20765 | { | |
20766 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20767 | resultobj = t_output_helper(resultobj,o); | |
20768 | } | |
20769 | { | |
20770 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20771 | resultobj = t_output_helper(resultobj,o); | |
20772 | } | |
20773 | return resultobj; | |
20774 | fail: | |
20775 | return NULL; | |
20776 | } | |
20777 | ||
20778 | ||
20779 | static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20780 | PyObject *resultobj; | |
20781 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20782 | bool result; | |
20783 | PyObject * obj0 = 0 ; | |
20784 | char *kwnames[] = { | |
20785 | (char *) "self", NULL | |
20786 | }; | |
20787 | ||
20788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20789 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20790 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20791 | { |
20792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20793 | result = (bool)(arg1)->IsPreview(); | |
20794 | ||
20795 | wxPyEndAllowThreads(__tstate); | |
20796 | if (PyErr_Occurred()) SWIG_fail; | |
20797 | } | |
4f89f6a3 RD |
20798 | { |
20799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20800 | } | |
d14a1e28 RD |
20801 | return resultobj; |
20802 | fail: | |
20803 | return NULL; | |
20804 | } | |
20805 | ||
20806 | ||
20807 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20808 | PyObject *resultobj; | |
20809 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20810 | bool arg2 ; | |
20811 | PyObject * obj0 = 0 ; | |
20812 | PyObject * obj1 = 0 ; | |
20813 | char *kwnames[] = { | |
20814 | (char *) "self",(char *) "p", NULL | |
20815 | }; | |
20816 | ||
20817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
20818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20820 | arg2 = (bool) SWIG_AsBool(obj1); | |
20821 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20822 | { |
20823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20824 | (arg1)->SetIsPreview(arg2); | |
20825 | ||
20826 | wxPyEndAllowThreads(__tstate); | |
20827 | if (PyErr_Occurred()) SWIG_fail; | |
20828 | } | |
20829 | Py_INCREF(Py_None); resultobj = Py_None; | |
20830 | return resultobj; | |
20831 | fail: | |
20832 | return NULL; | |
20833 | } | |
20834 | ||
20835 | ||
20836 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20837 | PyObject *resultobj; | |
20838 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20839 | int arg2 ; | |
20840 | int arg3 ; | |
20841 | bool result; | |
20842 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20843 | PyObject * obj1 = 0 ; |
20844 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20845 | char *kwnames[] = { |
20846 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20847 | }; | |
20848 | ||
8edf1c75 | 20849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20852 | arg2 = (int) SWIG_AsInt(obj1); | |
20853 | if (PyErr_Occurred()) SWIG_fail; | |
20854 | arg3 = (int) SWIG_AsInt(obj2); | |
20855 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20856 | { |
20857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20858 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20859 | ||
20860 | wxPyEndAllowThreads(__tstate); | |
20861 | if (PyErr_Occurred()) SWIG_fail; | |
20862 | } | |
4f89f6a3 RD |
20863 | { |
20864 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20865 | } | |
d14a1e28 RD |
20866 | return resultobj; |
20867 | fail: | |
20868 | return NULL; | |
20869 | } | |
20870 | ||
20871 | ||
20872 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20873 | PyObject *resultobj; | |
20874 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20875 | PyObject * obj0 = 0 ; | |
20876 | char *kwnames[] = { | |
20877 | (char *) "self", NULL | |
20878 | }; | |
20879 | ||
20880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20881 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20882 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20883 | { |
20884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20885 | (arg1)->base_OnEndDocument(); | |
20886 | ||
20887 | wxPyEndAllowThreads(__tstate); | |
20888 | if (PyErr_Occurred()) SWIG_fail; | |
20889 | } | |
20890 | Py_INCREF(Py_None); resultobj = Py_None; | |
20891 | return resultobj; | |
20892 | fail: | |
20893 | return NULL; | |
20894 | } | |
20895 | ||
20896 | ||
20897 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20898 | PyObject *resultobj; | |
20899 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20900 | PyObject * obj0 = 0 ; | |
20901 | char *kwnames[] = { | |
20902 | (char *) "self", NULL | |
20903 | }; | |
20904 | ||
20905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20906 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20908 | { |
20909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20910 | (arg1)->base_OnBeginPrinting(); | |
20911 | ||
20912 | wxPyEndAllowThreads(__tstate); | |
20913 | if (PyErr_Occurred()) SWIG_fail; | |
20914 | } | |
20915 | Py_INCREF(Py_None); resultobj = Py_None; | |
20916 | return resultobj; | |
20917 | fail: | |
20918 | return NULL; | |
20919 | } | |
20920 | ||
20921 | ||
20922 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20923 | PyObject *resultobj; | |
20924 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20925 | PyObject * obj0 = 0 ; | |
20926 | char *kwnames[] = { | |
20927 | (char *) "self", NULL | |
20928 | }; | |
20929 | ||
20930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20931 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20932 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20933 | { |
20934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20935 | (arg1)->base_OnEndPrinting(); | |
20936 | ||
20937 | wxPyEndAllowThreads(__tstate); | |
20938 | if (PyErr_Occurred()) SWIG_fail; | |
20939 | } | |
20940 | Py_INCREF(Py_None); resultobj = Py_None; | |
20941 | return resultobj; | |
20942 | fail: | |
20943 | return NULL; | |
20944 | } | |
20945 | ||
20946 | ||
20947 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
20948 | PyObject *resultobj; | |
20949 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20950 | PyObject * obj0 = 0 ; | |
20951 | char *kwnames[] = { | |
20952 | (char *) "self", NULL | |
20953 | }; | |
20954 | ||
20955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20958 | { |
20959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20960 | (arg1)->base_OnPreparePrinting(); | |
20961 | ||
20962 | wxPyEndAllowThreads(__tstate); | |
20963 | if (PyErr_Occurred()) SWIG_fail; | |
20964 | } | |
20965 | Py_INCREF(Py_None); resultobj = Py_None; | |
20966 | return resultobj; | |
20967 | fail: | |
20968 | return NULL; | |
20969 | } | |
20970 | ||
20971 | ||
44127b65 RD |
20972 | static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
20973 | PyObject *resultobj; | |
20974 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20975 | int arg2 ; | |
20976 | bool result; | |
20977 | PyObject * obj0 = 0 ; | |
8edf1c75 | 20978 | PyObject * obj1 = 0 ; |
44127b65 RD |
20979 | char *kwnames[] = { |
20980 | (char *) "self",(char *) "page", NULL | |
20981 | }; | |
20982 | ||
8edf1c75 | 20983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
20984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20986 | arg2 = (int) SWIG_AsInt(obj1); | |
20987 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
20988 | { |
20989 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20990 | result = (bool)(arg1)->base_HasPage(arg2); | |
20991 | ||
20992 | wxPyEndAllowThreads(__tstate); | |
20993 | if (PyErr_Occurred()) SWIG_fail; | |
20994 | } | |
4f89f6a3 RD |
20995 | { |
20996 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20997 | } | |
44127b65 RD |
20998 | return resultobj; |
20999 | fail: | |
21000 | return NULL; | |
21001 | } | |
21002 | ||
21003 | ||
d14a1e28 RD |
21004 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
21005 | PyObject *resultobj; | |
21006 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21007 | int *arg2 = (int *) 0 ; | |
21008 | int *arg3 = (int *) 0 ; | |
21009 | int *arg4 = (int *) 0 ; | |
21010 | int *arg5 = (int *) 0 ; | |
21011 | int temp2 ; | |
21012 | int temp3 ; | |
21013 | int temp4 ; | |
21014 | int temp5 ; | |
21015 | PyObject * obj0 = 0 ; | |
21016 | char *kwnames[] = { | |
21017 | (char *) "self", NULL | |
21018 | }; | |
21019 | ||
21020 | arg2 = &temp2; | |
21021 | arg3 = &temp3; | |
21022 | arg4 = &temp4; | |
21023 | arg5 = &temp5; | |
21024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21027 | { |
21028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21029 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
21030 | ||
21031 | wxPyEndAllowThreads(__tstate); | |
21032 | if (PyErr_Occurred()) SWIG_fail; | |
21033 | } | |
21034 | Py_INCREF(Py_None); resultobj = Py_None; | |
21035 | { | |
21036 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
21037 | resultobj = t_output_helper(resultobj,o); | |
21038 | } | |
21039 | { | |
21040 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
21041 | resultobj = t_output_helper(resultobj,o); | |
21042 | } | |
21043 | { | |
21044 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
21045 | resultobj = t_output_helper(resultobj,o); | |
21046 | } | |
21047 | { | |
21048 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
21049 | resultobj = t_output_helper(resultobj,o); | |
21050 | } | |
21051 | return resultobj; | |
21052 | fail: | |
21053 | return NULL; | |
21054 | } | |
21055 | ||
21056 | ||
d14a1e28 RD |
21057 | static PyObject * Printout_swigregister(PyObject *self, PyObject *args) { |
21058 | PyObject *obj; | |
21059 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21060 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
21061 | Py_INCREF(obj); | |
21062 | return Py_BuildValue((char *)""); | |
21063 | } | |
21064 | static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21065 | PyObject *resultobj; | |
21066 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21067 | wxWindow *arg2 = (wxWindow *) 0 ; | |
21068 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
21069 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
21070 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
21071 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
21072 | long arg5 = (long) 0 ; | |
21073 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
21074 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
21075 | wxPreviewCanvas *result; | |
21076 | wxPoint temp3 ; | |
21077 | wxSize temp4 ; | |
423f194a | 21078 | bool temp6 = False ; |
d14a1e28 RD |
21079 | PyObject * obj0 = 0 ; |
21080 | PyObject * obj1 = 0 ; | |
21081 | PyObject * obj2 = 0 ; | |
21082 | PyObject * obj3 = 0 ; | |
8edf1c75 | 21083 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
21084 | PyObject * obj5 = 0 ; |
21085 | char *kwnames[] = { | |
21086 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21087 | }; | |
21088 | ||
8edf1c75 | 21089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
21090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21092 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
21093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21094 | if (obj2) { |
21095 | { | |
21096 | arg3 = &temp3; | |
21097 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
21098 | } | |
21099 | } | |
21100 | if (obj3) { | |
21101 | { | |
21102 | arg4 = &temp4; | |
21103 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
21104 | } | |
21105 | } | |
8edf1c75 | 21106 | if (obj4) { |
2f4c0a16 RD |
21107 | arg5 = (long) SWIG_AsLong(obj4); |
21108 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 21109 | } |
d14a1e28 RD |
21110 | if (obj5) { |
21111 | { | |
21112 | arg6 = wxString_in_helper(obj5); | |
21113 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 21114 | temp6 = True; |
d14a1e28 RD |
21115 | } |
21116 | } | |
21117 | { | |
21118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21119 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
21120 | ||
21121 | wxPyEndAllowThreads(__tstate); | |
21122 | if (PyErr_Occurred()) SWIG_fail; | |
21123 | } | |
2f4c0a16 | 21124 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
21125 | { |
21126 | if (temp6) | |
21127 | delete arg6; | |
21128 | } | |
21129 | return resultobj; | |
21130 | fail: | |
21131 | { | |
21132 | if (temp6) | |
21133 | delete arg6; | |
21134 | } | |
21135 | return NULL; | |
21136 | } | |
21137 | ||
21138 | ||
21139 | static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) { | |
21140 | PyObject *obj; | |
21141 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21142 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
21143 | Py_INCREF(obj); | |
21144 | return Py_BuildValue((char *)""); | |
21145 | } | |
21146 | static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21147 | PyObject *resultobj; | |
21148 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21149 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21150 | wxString *arg3 = 0 ; | |
21151 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21152 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21153 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21154 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21155 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
21156 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
21157 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21158 | wxPreviewFrame *result; | |
423f194a | 21159 | bool temp3 = False ; |
d14a1e28 RD |
21160 | wxPoint temp4 ; |
21161 | wxSize temp5 ; | |
423f194a | 21162 | bool temp7 = False ; |
d14a1e28 RD |
21163 | PyObject * obj0 = 0 ; |
21164 | PyObject * obj1 = 0 ; | |
21165 | PyObject * obj2 = 0 ; | |
21166 | PyObject * obj3 = 0 ; | |
21167 | PyObject * obj4 = 0 ; | |
8edf1c75 | 21168 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21169 | PyObject * obj6 = 0 ; |
21170 | char *kwnames[] = { | |
21171 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21172 | }; | |
21173 | ||
8edf1c75 | 21174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
21175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21177 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21179 | { |
21180 | arg3 = wxString_in_helper(obj2); | |
21181 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 21182 | temp3 = True; |
d14a1e28 RD |
21183 | } |
21184 | if (obj3) { | |
21185 | { | |
21186 | arg4 = &temp4; | |
21187 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21188 | } | |
21189 | } | |
21190 | if (obj4) { | |
21191 | { | |
21192 | arg5 = &temp5; | |
21193 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21194 | } | |
21195 | } | |
8edf1c75 | 21196 | if (obj5) { |
2f4c0a16 RD |
21197 | arg6 = (long) SWIG_AsLong(obj5); |
21198 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 21199 | } |
d14a1e28 RD |
21200 | if (obj6) { |
21201 | { | |
21202 | arg7 = wxString_in_helper(obj6); | |
21203 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 21204 | temp7 = True; |
d14a1e28 RD |
21205 | } |
21206 | } | |
21207 | { | |
21208 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21209 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21210 | ||
21211 | wxPyEndAllowThreads(__tstate); | |
21212 | if (PyErr_Occurred()) SWIG_fail; | |
21213 | } | |
2f4c0a16 | 21214 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
21215 | { |
21216 | if (temp3) | |
21217 | delete arg3; | |
21218 | } | |
21219 | { | |
21220 | if (temp7) | |
21221 | delete arg7; | |
21222 | } | |
21223 | return resultobj; | |
21224 | fail: | |
21225 | { | |
21226 | if (temp3) | |
21227 | delete arg3; | |
21228 | } | |
21229 | { | |
21230 | if (temp7) | |
21231 | delete arg7; | |
21232 | } | |
21233 | return NULL; | |
21234 | } | |
21235 | ||
21236 | ||
21237 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21238 | PyObject *resultobj; | |
21239 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21240 | PyObject * obj0 = 0 ; | |
21241 | char *kwnames[] = { | |
21242 | (char *) "self", NULL | |
21243 | }; | |
21244 | ||
21245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21248 | { |
21249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21250 | (arg1)->Initialize(); | |
21251 | ||
21252 | wxPyEndAllowThreads(__tstate); | |
21253 | if (PyErr_Occurred()) SWIG_fail; | |
21254 | } | |
21255 | Py_INCREF(Py_None); resultobj = Py_None; | |
21256 | return resultobj; | |
21257 | fail: | |
21258 | return NULL; | |
21259 | } | |
21260 | ||
21261 | ||
21262 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21263 | PyObject *resultobj; | |
21264 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21265 | PyObject * obj0 = 0 ; | |
21266 | char *kwnames[] = { | |
21267 | (char *) "self", NULL | |
21268 | }; | |
21269 | ||
21270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21271 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21272 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21273 | { |
21274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21275 | (arg1)->CreateControlBar(); | |
21276 | ||
21277 | wxPyEndAllowThreads(__tstate); | |
21278 | if (PyErr_Occurred()) SWIG_fail; | |
21279 | } | |
21280 | Py_INCREF(Py_None); resultobj = Py_None; | |
21281 | return resultobj; | |
21282 | fail: | |
21283 | return NULL; | |
21284 | } | |
21285 | ||
21286 | ||
21287 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21288 | PyObject *resultobj; | |
21289 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21290 | PyObject * obj0 = 0 ; | |
21291 | char *kwnames[] = { | |
21292 | (char *) "self", NULL | |
21293 | }; | |
21294 | ||
21295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21298 | { |
21299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21300 | (arg1)->CreateCanvas(); | |
21301 | ||
21302 | wxPyEndAllowThreads(__tstate); | |
21303 | if (PyErr_Occurred()) SWIG_fail; | |
21304 | } | |
21305 | Py_INCREF(Py_None); resultobj = Py_None; | |
21306 | return resultobj; | |
21307 | fail: | |
21308 | return NULL; | |
21309 | } | |
21310 | ||
21311 | ||
21312 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21313 | PyObject *resultobj; | |
21314 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
21315 | wxPreviewControlBar *result; | |
21316 | PyObject * obj0 = 0 ; | |
21317 | char *kwnames[] = { | |
21318 | (char *) "self", NULL | |
21319 | }; | |
21320 | ||
21321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
21323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21324 | { |
21325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21326 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
21327 | ||
21328 | wxPyEndAllowThreads(__tstate); | |
21329 | if (PyErr_Occurred()) SWIG_fail; | |
21330 | } | |
2f4c0a16 | 21331 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
21332 | return resultobj; |
21333 | fail: | |
21334 | return NULL; | |
21335 | } | |
21336 | ||
21337 | ||
21338 | static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
21339 | PyObject *obj; | |
21340 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21341 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
21342 | Py_INCREF(obj); | |
21343 | return Py_BuildValue((char *)""); | |
21344 | } | |
21345 | static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21346 | PyObject *resultobj; | |
21347 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21348 | long arg2 ; | |
21349 | wxWindow *arg3 = (wxWindow *) 0 ; | |
21350 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
21351 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
21352 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
21353 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
21354 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
21355 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
21356 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
21357 | wxPreviewControlBar *result; | |
21358 | wxPoint temp4 ; | |
21359 | wxSize temp5 ; | |
423f194a | 21360 | bool temp7 = False ; |
d14a1e28 | 21361 | PyObject * obj0 = 0 ; |
8edf1c75 | 21362 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21363 | PyObject * obj2 = 0 ; |
21364 | PyObject * obj3 = 0 ; | |
21365 | PyObject * obj4 = 0 ; | |
8edf1c75 | 21366 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
21367 | PyObject * obj6 = 0 ; |
21368 | char *kwnames[] = { | |
21369 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
21370 | }; | |
21371 | ||
8edf1c75 | 21372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
21373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21375 | arg2 = (long) SWIG_AsLong(obj1); | |
21376 | if (PyErr_Occurred()) SWIG_fail; | |
21377 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
21378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21379 | if (obj3) { |
21380 | { | |
21381 | arg4 = &temp4; | |
21382 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
21383 | } | |
21384 | } | |
21385 | if (obj4) { | |
21386 | { | |
21387 | arg5 = &temp5; | |
21388 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
21389 | } | |
21390 | } | |
8edf1c75 | 21391 | if (obj5) { |
2f4c0a16 RD |
21392 | arg6 = (long) SWIG_AsLong(obj5); |
21393 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 21394 | } |
d14a1e28 RD |
21395 | if (obj6) { |
21396 | { | |
21397 | arg7 = wxString_in_helper(obj6); | |
21398 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 21399 | temp7 = True; |
d14a1e28 RD |
21400 | } |
21401 | } | |
21402 | { | |
21403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21404 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
21405 | ||
21406 | wxPyEndAllowThreads(__tstate); | |
21407 | if (PyErr_Occurred()) SWIG_fail; | |
21408 | } | |
2f4c0a16 | 21409 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
21410 | { |
21411 | if (temp7) | |
21412 | delete arg7; | |
21413 | } | |
21414 | return resultobj; | |
21415 | fail: | |
21416 | { | |
21417 | if (temp7) | |
21418 | delete arg7; | |
21419 | } | |
21420 | return NULL; | |
21421 | } | |
21422 | ||
21423 | ||
21424 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21425 | PyObject *resultobj; | |
21426 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21427 | int result; | |
21428 | PyObject * obj0 = 0 ; | |
21429 | char *kwnames[] = { | |
21430 | (char *) "self", NULL | |
21431 | }; | |
21432 | ||
21433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21436 | { |
21437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21438 | result = (int)(arg1)->GetZoomControl(); | |
21439 | ||
21440 | wxPyEndAllowThreads(__tstate); | |
21441 | if (PyErr_Occurred()) SWIG_fail; | |
21442 | } | |
2f4c0a16 | 21443 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21444 | return resultobj; |
21445 | fail: | |
21446 | return NULL; | |
21447 | } | |
21448 | ||
21449 | ||
21450 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21451 | PyObject *resultobj; | |
21452 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21453 | int arg2 ; | |
21454 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21455 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21456 | char *kwnames[] = { |
21457 | (char *) "self",(char *) "zoom", NULL | |
21458 | }; | |
21459 | ||
8edf1c75 | 21460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
21461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21463 | arg2 = (int) SWIG_AsInt(obj1); | |
21464 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21465 | { |
21466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21467 | (arg1)->SetZoomControl(arg2); | |
21468 | ||
21469 | wxPyEndAllowThreads(__tstate); | |
21470 | if (PyErr_Occurred()) SWIG_fail; | |
21471 | } | |
21472 | Py_INCREF(Py_None); resultobj = Py_None; | |
21473 | return resultobj; | |
21474 | fail: | |
21475 | return NULL; | |
21476 | } | |
21477 | ||
21478 | ||
21479 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21480 | PyObject *resultobj; | |
21481 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21482 | wxPrintPreview *result; | |
21483 | PyObject * obj0 = 0 ; | |
21484 | char *kwnames[] = { | |
21485 | (char *) "self", NULL | |
21486 | }; | |
21487 | ||
21488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21489 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21490 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21491 | { |
21492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21493 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
21494 | ||
21495 | wxPyEndAllowThreads(__tstate); | |
21496 | if (PyErr_Occurred()) SWIG_fail; | |
21497 | } | |
2f4c0a16 | 21498 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
21499 | return resultobj; |
21500 | fail: | |
21501 | return NULL; | |
21502 | } | |
21503 | ||
21504 | ||
21505 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21506 | PyObject *resultobj; | |
21507 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21508 | PyObject * obj0 = 0 ; | |
21509 | char *kwnames[] = { | |
21510 | (char *) "self", NULL | |
21511 | }; | |
21512 | ||
21513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21516 | { |
21517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21518 | (arg1)->OnNext(); | |
21519 | ||
21520 | wxPyEndAllowThreads(__tstate); | |
21521 | if (PyErr_Occurred()) SWIG_fail; | |
21522 | } | |
21523 | Py_INCREF(Py_None); resultobj = Py_None; | |
21524 | return resultobj; | |
21525 | fail: | |
21526 | return NULL; | |
21527 | } | |
21528 | ||
21529 | ||
21530 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21531 | PyObject *resultobj; | |
21532 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21533 | PyObject * obj0 = 0 ; | |
21534 | char *kwnames[] = { | |
21535 | (char *) "self", NULL | |
21536 | }; | |
21537 | ||
21538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21541 | { |
21542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21543 | (arg1)->OnPrevious(); | |
21544 | ||
21545 | wxPyEndAllowThreads(__tstate); | |
21546 | if (PyErr_Occurred()) SWIG_fail; | |
21547 | } | |
21548 | Py_INCREF(Py_None); resultobj = Py_None; | |
21549 | return resultobj; | |
21550 | fail: | |
21551 | return NULL; | |
21552 | } | |
21553 | ||
21554 | ||
21555 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21556 | PyObject *resultobj; | |
21557 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21558 | PyObject * obj0 = 0 ; | |
21559 | char *kwnames[] = { | |
21560 | (char *) "self", NULL | |
21561 | }; | |
21562 | ||
21563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21566 | { |
21567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21568 | (arg1)->OnFirst(); | |
21569 | ||
21570 | wxPyEndAllowThreads(__tstate); | |
21571 | if (PyErr_Occurred()) SWIG_fail; | |
21572 | } | |
21573 | Py_INCREF(Py_None); resultobj = Py_None; | |
21574 | return resultobj; | |
21575 | fail: | |
21576 | return NULL; | |
21577 | } | |
21578 | ||
21579 | ||
21580 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21581 | PyObject *resultobj; | |
21582 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21583 | PyObject * obj0 = 0 ; | |
21584 | char *kwnames[] = { | |
21585 | (char *) "self", NULL | |
21586 | }; | |
21587 | ||
21588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21589 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21590 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21591 | { |
21592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21593 | (arg1)->OnLast(); | |
21594 | ||
21595 | wxPyEndAllowThreads(__tstate); | |
21596 | if (PyErr_Occurred()) SWIG_fail; | |
21597 | } | |
21598 | Py_INCREF(Py_None); resultobj = Py_None; | |
21599 | return resultobj; | |
21600 | fail: | |
21601 | return NULL; | |
21602 | } | |
21603 | ||
21604 | ||
21605 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21606 | PyObject *resultobj; | |
21607 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21608 | PyObject * obj0 = 0 ; | |
21609 | char *kwnames[] = { | |
21610 | (char *) "self", NULL | |
21611 | }; | |
21612 | ||
21613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21616 | { |
21617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21618 | (arg1)->OnGoto(); | |
21619 | ||
21620 | wxPyEndAllowThreads(__tstate); | |
21621 | if (PyErr_Occurred()) SWIG_fail; | |
21622 | } | |
21623 | Py_INCREF(Py_None); resultobj = Py_None; | |
21624 | return resultobj; | |
21625 | fail: | |
21626 | return NULL; | |
21627 | } | |
21628 | ||
21629 | ||
21630 | static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
21631 | PyObject *obj; | |
21632 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21633 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21634 | Py_INCREF(obj); | |
21635 | return Py_BuildValue((char *)""); | |
21636 | } | |
fe763115 | 21637 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
21638 | PyObject *resultobj; |
21639 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21640 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
fe763115 | 21641 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
21642 | wxPrintPreview *result; |
21643 | PyObject * obj0 = 0 ; | |
21644 | PyObject * obj1 = 0 ; | |
21645 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21646 | |
fe763115 | 21647 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
21648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21650 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21652 | if (obj2) { |
fe763115 | 21653 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
2f4c0a16 | 21654 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
21655 | } |
21656 | { | |
21657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21658 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21659 | ||
21660 | wxPyEndAllowThreads(__tstate); | |
21661 | if (PyErr_Occurred()) SWIG_fail; | |
21662 | } | |
2f4c0a16 | 21663 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
21664 | return resultobj; |
21665 | fail: | |
21666 | return NULL; | |
21667 | } | |
21668 | ||
21669 | ||
fe763115 RD |
21670 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
21671 | PyObject *resultobj; | |
21672 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21673 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21674 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
21675 | wxPrintPreview *result; | |
21676 | PyObject * obj0 = 0 ; | |
21677 | PyObject * obj1 = 0 ; | |
21678 | PyObject * obj2 = 0 ; | |
21679 | ||
21680 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
21681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
21682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21683 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21685 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
21686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21687 | { | |
21688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21689 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21690 | ||
21691 | wxPyEndAllowThreads(__tstate); | |
21692 | if (PyErr_Occurred()) SWIG_fail; | |
21693 | } | |
21694 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
21695 | return resultobj; | |
21696 | fail: | |
21697 | return NULL; | |
21698 | } | |
21699 | ||
21700 | ||
21701 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
21702 | int argc; | |
21703 | PyObject *argv[4]; | |
21704 | int ii; | |
21705 | ||
21706 | argc = PyObject_Length(args); | |
21707 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
21708 | argv[ii] = PyTuple_GetItem(args,ii); | |
21709 | } | |
21710 | if ((argc >= 2) && (argc <= 3)) { | |
21711 | int _v; | |
21712 | { | |
21713 | void *ptr; | |
21714 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21715 | _v = 0; | |
21716 | PyErr_Clear(); | |
21717 | } else { | |
21718 | _v = 1; | |
21719 | } | |
21720 | } | |
21721 | if (_v) { | |
21722 | { | |
21723 | void *ptr; | |
21724 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21725 | _v = 0; | |
21726 | PyErr_Clear(); | |
21727 | } else { | |
21728 | _v = 1; | |
21729 | } | |
21730 | } | |
21731 | if (_v) { | |
21732 | if (argc <= 2) { | |
21733 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21734 | } | |
21735 | { | |
21736 | void *ptr; | |
21737 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
21738 | _v = 0; | |
21739 | PyErr_Clear(); | |
21740 | } else { | |
21741 | _v = 1; | |
21742 | } | |
21743 | } | |
21744 | if (_v) { | |
21745 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21746 | } | |
21747 | } | |
21748 | } | |
21749 | } | |
21750 | if (argc == 3) { | |
21751 | int _v; | |
21752 | { | |
21753 | void *ptr; | |
21754 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21755 | _v = 0; | |
21756 | PyErr_Clear(); | |
21757 | } else { | |
21758 | _v = 1; | |
21759 | } | |
21760 | } | |
21761 | if (_v) { | |
21762 | { | |
21763 | void *ptr; | |
21764 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21765 | _v = 0; | |
21766 | PyErr_Clear(); | |
21767 | } else { | |
21768 | _v = 1; | |
21769 | } | |
21770 | } | |
21771 | if (_v) { | |
21772 | { | |
21773 | void *ptr; | |
21774 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21775 | _v = 0; | |
21776 | PyErr_Clear(); | |
21777 | } else { | |
21778 | _v = 1; | |
21779 | } | |
21780 | } | |
21781 | if (_v) { | |
21782 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
21783 | } | |
21784 | } | |
21785 | } | |
21786 | } | |
21787 | ||
21788 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
21789 | return NULL; | |
21790 | } | |
21791 | ||
21792 | ||
d14a1e28 RD |
21793 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
21794 | PyObject *resultobj; | |
21795 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21796 | int arg2 ; | |
21797 | bool result; | |
21798 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21799 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21800 | char *kwnames[] = { |
21801 | (char *) "self",(char *) "pageNum", NULL | |
21802 | }; | |
21803 | ||
8edf1c75 | 21804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
21805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21807 | arg2 = (int) SWIG_AsInt(obj1); | |
21808 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21809 | { |
21810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21811 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21812 | ||
21813 | wxPyEndAllowThreads(__tstate); | |
21814 | if (PyErr_Occurred()) SWIG_fail; | |
21815 | } | |
4f89f6a3 RD |
21816 | { |
21817 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21818 | } | |
d14a1e28 RD |
21819 | return resultobj; |
21820 | fail: | |
21821 | return NULL; | |
21822 | } | |
21823 | ||
21824 | ||
21825 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21826 | PyObject *resultobj; | |
21827 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21828 | int result; | |
21829 | PyObject * obj0 = 0 ; | |
21830 | char *kwnames[] = { | |
21831 | (char *) "self", NULL | |
21832 | }; | |
21833 | ||
21834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21835 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21836 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21837 | { |
21838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21839 | result = (int)(arg1)->GetCurrentPage(); | |
21840 | ||
21841 | wxPyEndAllowThreads(__tstate); | |
21842 | if (PyErr_Occurred()) SWIG_fail; | |
21843 | } | |
2f4c0a16 | 21844 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21845 | return resultobj; |
21846 | fail: | |
21847 | return NULL; | |
21848 | } | |
21849 | ||
21850 | ||
21851 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21852 | PyObject *resultobj; | |
21853 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21854 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21855 | PyObject * obj0 = 0 ; | |
21856 | PyObject * obj1 = 0 ; | |
21857 | char *kwnames[] = { | |
21858 | (char *) "self",(char *) "printout", NULL | |
21859 | }; | |
21860 | ||
21861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21864 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21866 | { |
21867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21868 | (arg1)->SetPrintout(arg2); | |
21869 | ||
21870 | wxPyEndAllowThreads(__tstate); | |
21871 | if (PyErr_Occurred()) SWIG_fail; | |
21872 | } | |
21873 | Py_INCREF(Py_None); resultobj = Py_None; | |
21874 | return resultobj; | |
21875 | fail: | |
21876 | return NULL; | |
21877 | } | |
21878 | ||
21879 | ||
21880 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21881 | PyObject *resultobj; | |
21882 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21883 | wxPyPrintout *result; | |
21884 | PyObject * obj0 = 0 ; | |
21885 | char *kwnames[] = { | |
21886 | (char *) "self", NULL | |
21887 | }; | |
21888 | ||
21889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21890 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21891 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21892 | { |
21893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21894 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21895 | ||
21896 | wxPyEndAllowThreads(__tstate); | |
21897 | if (PyErr_Occurred()) SWIG_fail; | |
21898 | } | |
21899 | { | |
21900 | resultobj = wxPyMake_wxObject(result); | |
21901 | } | |
21902 | return resultobj; | |
21903 | fail: | |
21904 | return NULL; | |
21905 | } | |
21906 | ||
21907 | ||
21908 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21909 | PyObject *resultobj; | |
21910 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21911 | wxPyPrintout *result; | |
21912 | PyObject * obj0 = 0 ; | |
21913 | char *kwnames[] = { | |
21914 | (char *) "self", NULL | |
21915 | }; | |
21916 | ||
21917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21920 | { |
21921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21922 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21923 | ||
21924 | wxPyEndAllowThreads(__tstate); | |
21925 | if (PyErr_Occurred()) SWIG_fail; | |
21926 | } | |
21927 | { | |
21928 | resultobj = wxPyMake_wxObject(result); | |
21929 | } | |
21930 | return resultobj; | |
21931 | fail: | |
21932 | return NULL; | |
21933 | } | |
21934 | ||
21935 | ||
21936 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21937 | PyObject *resultobj; | |
21938 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21939 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21940 | PyObject * obj0 = 0 ; | |
21941 | PyObject * obj1 = 0 ; | |
21942 | char *kwnames[] = { | |
21943 | (char *) "self",(char *) "frame", NULL | |
21944 | }; | |
21945 | ||
21946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21947 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21948 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21949 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21951 | { |
21952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21953 | (arg1)->SetFrame(arg2); | |
21954 | ||
21955 | wxPyEndAllowThreads(__tstate); | |
21956 | if (PyErr_Occurred()) SWIG_fail; | |
21957 | } | |
21958 | Py_INCREF(Py_None); resultobj = Py_None; | |
21959 | return resultobj; | |
21960 | fail: | |
21961 | return NULL; | |
21962 | } | |
21963 | ||
21964 | ||
21965 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21966 | PyObject *resultobj; | |
21967 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21968 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21969 | PyObject * obj0 = 0 ; | |
21970 | PyObject * obj1 = 0 ; | |
21971 | char *kwnames[] = { | |
21972 | (char *) "self",(char *) "canvas", NULL | |
21973 | }; | |
21974 | ||
21975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21978 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21980 | { |
21981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21982 | (arg1)->SetCanvas(arg2); | |
21983 | ||
21984 | wxPyEndAllowThreads(__tstate); | |
21985 | if (PyErr_Occurred()) SWIG_fail; | |
21986 | } | |
21987 | Py_INCREF(Py_None); resultobj = Py_None; | |
21988 | return resultobj; | |
21989 | fail: | |
21990 | return NULL; | |
21991 | } | |
21992 | ||
21993 | ||
21994 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
21995 | PyObject *resultobj; | |
21996 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21997 | wxFrame *result; | |
21998 | PyObject * obj0 = 0 ; | |
21999 | char *kwnames[] = { | |
22000 | (char *) "self", NULL | |
22001 | }; | |
22002 | ||
22003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22006 | { |
22007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22008 | result = (wxFrame *)(arg1)->GetFrame(); | |
22009 | ||
22010 | wxPyEndAllowThreads(__tstate); | |
22011 | if (PyErr_Occurred()) SWIG_fail; | |
22012 | } | |
22013 | { | |
22014 | resultobj = wxPyMake_wxObject(result); | |
22015 | } | |
22016 | return resultobj; | |
22017 | fail: | |
22018 | return NULL; | |
22019 | } | |
22020 | ||
22021 | ||
22022 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22023 | PyObject *resultobj; | |
22024 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22025 | wxPreviewCanvas *result; | |
22026 | PyObject * obj0 = 0 ; | |
22027 | char *kwnames[] = { | |
22028 | (char *) "self", NULL | |
22029 | }; | |
22030 | ||
22031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22034 | { |
22035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22036 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
22037 | ||
22038 | wxPyEndAllowThreads(__tstate); | |
22039 | if (PyErr_Occurred()) SWIG_fail; | |
22040 | } | |
2f4c0a16 | 22041 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
22042 | return resultobj; |
22043 | fail: | |
22044 | return NULL; | |
22045 | } | |
22046 | ||
22047 | ||
22048 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22049 | PyObject *resultobj; | |
22050 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22051 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22052 | wxDC *arg3 = 0 ; | |
22053 | bool result; | |
22054 | PyObject * obj0 = 0 ; | |
22055 | PyObject * obj1 = 0 ; | |
22056 | PyObject * obj2 = 0 ; | |
22057 | char *kwnames[] = { | |
22058 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22059 | }; | |
22060 | ||
22061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22064 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22065 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22066 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22067 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22068 | SWIG_fail; | |
d14a1e28 | 22069 | if (arg3 == NULL) { |
2f4c0a16 RD |
22070 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22071 | SWIG_fail; | |
d14a1e28 RD |
22072 | } |
22073 | { | |
22074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22075 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
22076 | ||
22077 | wxPyEndAllowThreads(__tstate); | |
22078 | if (PyErr_Occurred()) SWIG_fail; | |
22079 | } | |
4f89f6a3 RD |
22080 | { |
22081 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22082 | } | |
d14a1e28 RD |
22083 | return resultobj; |
22084 | fail: | |
22085 | return NULL; | |
22086 | } | |
22087 | ||
22088 | ||
22089 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22090 | PyObject *resultobj; | |
22091 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22092 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22093 | wxDC *arg3 = 0 ; | |
22094 | bool result; | |
22095 | PyObject * obj0 = 0 ; | |
22096 | PyObject * obj1 = 0 ; | |
22097 | PyObject * obj2 = 0 ; | |
22098 | char *kwnames[] = { | |
22099 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22100 | }; | |
22101 | ||
22102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22105 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22107 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22108 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22109 | SWIG_fail; | |
d14a1e28 | 22110 | if (arg3 == NULL) { |
2f4c0a16 RD |
22111 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22112 | SWIG_fail; | |
d14a1e28 RD |
22113 | } |
22114 | { | |
22115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22116 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
22117 | ||
22118 | wxPyEndAllowThreads(__tstate); | |
22119 | if (PyErr_Occurred()) SWIG_fail; | |
22120 | } | |
4f89f6a3 RD |
22121 | { |
22122 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22123 | } | |
d14a1e28 RD |
22124 | return resultobj; |
22125 | fail: | |
22126 | return NULL; | |
22127 | } | |
22128 | ||
22129 | ||
22130 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22131 | PyObject *resultobj; | |
22132 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22133 | int arg2 ; | |
22134 | bool result; | |
22135 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22136 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22137 | char *kwnames[] = { |
22138 | (char *) "self",(char *) "pageNum", NULL | |
22139 | }; | |
22140 | ||
8edf1c75 | 22141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22144 | arg2 = (int) SWIG_AsInt(obj1); | |
22145 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22146 | { |
22147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22148 | result = (bool)(arg1)->RenderPage(arg2); | |
22149 | ||
22150 | wxPyEndAllowThreads(__tstate); | |
22151 | if (PyErr_Occurred()) SWIG_fail; | |
22152 | } | |
4f89f6a3 RD |
22153 | { |
22154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22155 | } | |
d14a1e28 RD |
22156 | return resultobj; |
22157 | fail: | |
22158 | return NULL; | |
22159 | } | |
22160 | ||
22161 | ||
22162 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22163 | PyObject *resultobj; | |
22164 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22165 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22166 | PyObject * obj0 = 0 ; | |
22167 | PyObject * obj1 = 0 ; | |
22168 | char *kwnames[] = { | |
22169 | (char *) "self",(char *) "canvas", NULL | |
22170 | }; | |
22171 | ||
22172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22175 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22177 | { |
22178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22179 | (arg1)->AdjustScrollbars(arg2); | |
22180 | ||
22181 | wxPyEndAllowThreads(__tstate); | |
22182 | if (PyErr_Occurred()) SWIG_fail; | |
22183 | } | |
22184 | Py_INCREF(Py_None); resultobj = Py_None; | |
22185 | return resultobj; | |
22186 | fail: | |
22187 | return NULL; | |
22188 | } | |
22189 | ||
22190 | ||
22191 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22192 | PyObject *resultobj; | |
22193 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22194 | wxPrintDialogData *result; | |
22195 | PyObject * obj0 = 0 ; | |
22196 | char *kwnames[] = { | |
22197 | (char *) "self", NULL | |
22198 | }; | |
22199 | ||
22200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22203 | { |
22204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22205 | { | |
22206 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
22207 | result = (wxPrintDialogData *) &_result_ref; | |
22208 | } | |
22209 | ||
22210 | wxPyEndAllowThreads(__tstate); | |
22211 | if (PyErr_Occurred()) SWIG_fail; | |
22212 | } | |
2f4c0a16 | 22213 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
22214 | return resultobj; |
22215 | fail: | |
22216 | return NULL; | |
22217 | } | |
22218 | ||
22219 | ||
22220 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22221 | PyObject *resultobj; | |
22222 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22223 | int arg2 ; | |
22224 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22225 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22226 | char *kwnames[] = { |
22227 | (char *) "self",(char *) "percent", NULL | |
22228 | }; | |
22229 | ||
8edf1c75 | 22230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22233 | arg2 = (int) SWIG_AsInt(obj1); | |
22234 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22235 | { |
22236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22237 | (arg1)->SetZoom(arg2); | |
22238 | ||
22239 | wxPyEndAllowThreads(__tstate); | |
22240 | if (PyErr_Occurred()) SWIG_fail; | |
22241 | } | |
22242 | Py_INCREF(Py_None); resultobj = Py_None; | |
22243 | return resultobj; | |
22244 | fail: | |
22245 | return NULL; | |
22246 | } | |
22247 | ||
22248 | ||
22249 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22250 | PyObject *resultobj; | |
22251 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22252 | int result; | |
22253 | PyObject * obj0 = 0 ; | |
22254 | char *kwnames[] = { | |
22255 | (char *) "self", NULL | |
22256 | }; | |
22257 | ||
22258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22261 | { |
22262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22263 | result = (int)(arg1)->GetZoom(); | |
22264 | ||
22265 | wxPyEndAllowThreads(__tstate); | |
22266 | if (PyErr_Occurred()) SWIG_fail; | |
22267 | } | |
2f4c0a16 | 22268 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22269 | return resultobj; |
22270 | fail: | |
22271 | return NULL; | |
22272 | } | |
22273 | ||
22274 | ||
22275 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22276 | PyObject *resultobj; | |
22277 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22278 | int result; | |
22279 | PyObject * obj0 = 0 ; | |
22280 | char *kwnames[] = { | |
22281 | (char *) "self", NULL | |
22282 | }; | |
22283 | ||
22284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22287 | { |
22288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22289 | result = (int)(arg1)->GetMaxPage(); | |
22290 | ||
22291 | wxPyEndAllowThreads(__tstate); | |
22292 | if (PyErr_Occurred()) SWIG_fail; | |
22293 | } | |
2f4c0a16 | 22294 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22295 | return resultobj; |
22296 | fail: | |
22297 | return NULL; | |
22298 | } | |
22299 | ||
22300 | ||
22301 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22302 | PyObject *resultobj; | |
22303 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22304 | int result; | |
22305 | PyObject * obj0 = 0 ; | |
22306 | char *kwnames[] = { | |
22307 | (char *) "self", NULL | |
22308 | }; | |
22309 | ||
22310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22313 | { |
22314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22315 | result = (int)(arg1)->GetMinPage(); | |
22316 | ||
22317 | wxPyEndAllowThreads(__tstate); | |
22318 | if (PyErr_Occurred()) SWIG_fail; | |
22319 | } | |
2f4c0a16 | 22320 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
22321 | return resultobj; |
22322 | fail: | |
22323 | return NULL; | |
22324 | } | |
22325 | ||
22326 | ||
22327 | static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22328 | PyObject *resultobj; | |
22329 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22330 | bool result; | |
22331 | PyObject * obj0 = 0 ; | |
22332 | char *kwnames[] = { | |
22333 | (char *) "self", NULL | |
22334 | }; | |
22335 | ||
22336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22337 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22338 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22339 | { |
22340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22341 | result = (bool)(arg1)->Ok(); | |
22342 | ||
22343 | wxPyEndAllowThreads(__tstate); | |
22344 | if (PyErr_Occurred()) SWIG_fail; | |
22345 | } | |
4f89f6a3 RD |
22346 | { |
22347 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22348 | } | |
d14a1e28 RD |
22349 | return resultobj; |
22350 | fail: | |
22351 | return NULL; | |
22352 | } | |
22353 | ||
22354 | ||
22355 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22356 | PyObject *resultobj; | |
22357 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22358 | bool arg2 ; | |
22359 | PyObject * obj0 = 0 ; | |
22360 | PyObject * obj1 = 0 ; | |
22361 | char *kwnames[] = { | |
22362 | (char *) "self",(char *) "ok", NULL | |
22363 | }; | |
22364 | ||
22365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22366 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22368 | arg2 = (bool) SWIG_AsBool(obj1); | |
22369 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22370 | { |
22371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22372 | (arg1)->SetOk(arg2); | |
22373 | ||
22374 | wxPyEndAllowThreads(__tstate); | |
22375 | if (PyErr_Occurred()) SWIG_fail; | |
22376 | } | |
22377 | Py_INCREF(Py_None); resultobj = Py_None; | |
22378 | return resultobj; | |
22379 | fail: | |
22380 | return NULL; | |
22381 | } | |
22382 | ||
22383 | ||
22384 | static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22385 | PyObject *resultobj; | |
22386 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22387 | bool arg2 ; | |
22388 | bool result; | |
22389 | PyObject * obj0 = 0 ; | |
22390 | PyObject * obj1 = 0 ; | |
22391 | char *kwnames[] = { | |
22392 | (char *) "self",(char *) "interactive", NULL | |
22393 | }; | |
22394 | ||
22395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22398 | arg2 = (bool) SWIG_AsBool(obj1); | |
22399 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22400 | { |
22401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22402 | result = (bool)(arg1)->Print(arg2); | |
22403 | ||
22404 | wxPyEndAllowThreads(__tstate); | |
22405 | if (PyErr_Occurred()) SWIG_fail; | |
22406 | } | |
4f89f6a3 RD |
22407 | { |
22408 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22409 | } | |
d14a1e28 RD |
22410 | return resultobj; |
22411 | fail: | |
22412 | return NULL; | |
22413 | } | |
22414 | ||
22415 | ||
22416 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22417 | PyObject *resultobj; | |
22418 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22419 | PyObject * obj0 = 0 ; | |
22420 | char *kwnames[] = { | |
22421 | (char *) "self", NULL | |
22422 | }; | |
22423 | ||
22424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22427 | { |
22428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22429 | (arg1)->DetermineScaling(); | |
22430 | ||
22431 | wxPyEndAllowThreads(__tstate); | |
22432 | if (PyErr_Occurred()) SWIG_fail; | |
22433 | } | |
22434 | Py_INCREF(Py_None); resultobj = Py_None; | |
22435 | return resultobj; | |
22436 | fail: | |
22437 | return NULL; | |
22438 | } | |
22439 | ||
22440 | ||
22441 | static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22442 | PyObject *obj; | |
22443 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22444 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
22445 | Py_INCREF(obj); | |
22446 | return Py_BuildValue((char *)""); | |
22447 | } | |
fe763115 | 22448 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *self, PyObject *args) { |
d14a1e28 RD |
22449 | PyObject *resultobj; |
22450 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22451 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
fe763115 | 22452 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
22453 | wxPyPrintPreview *result; |
22454 | PyObject * obj0 = 0 ; | |
22455 | PyObject * obj1 = 0 ; | |
22456 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22457 | |
fe763115 | 22458 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
22459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22461 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22463 | if (obj2) { |
fe763115 | 22464 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
2f4c0a16 | 22465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22466 | } |
22467 | { | |
22468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22469 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22470 | ||
22471 | wxPyEndAllowThreads(__tstate); | |
22472 | if (PyErr_Occurred()) SWIG_fail; | |
22473 | } | |
2f4c0a16 | 22474 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
22475 | return resultobj; |
22476 | fail: | |
22477 | return NULL; | |
22478 | } | |
22479 | ||
22480 | ||
fe763115 RD |
22481 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *self, PyObject *args) { |
22482 | PyObject *resultobj; | |
22483 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22484 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
22485 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
22486 | wxPyPrintPreview *result; | |
22487 | PyObject * obj0 = 0 ; | |
22488 | PyObject * obj1 = 0 ; | |
22489 | PyObject * obj2 = 0 ; | |
22490 | ||
22491 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
22492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
22493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22494 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
22495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22496 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
22497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22498 | { | |
22499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22500 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
22501 | ||
22502 | wxPyEndAllowThreads(__tstate); | |
22503 | if (PyErr_Occurred()) SWIG_fail; | |
22504 | } | |
22505 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
22506 | return resultobj; | |
22507 | fail: | |
22508 | return NULL; | |
22509 | } | |
22510 | ||
22511 | ||
22512 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
22513 | int argc; | |
22514 | PyObject *argv[4]; | |
22515 | int ii; | |
22516 | ||
22517 | argc = PyObject_Length(args); | |
22518 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
22519 | argv[ii] = PyTuple_GetItem(args,ii); | |
22520 | } | |
22521 | if ((argc >= 2) && (argc <= 3)) { | |
22522 | int _v; | |
22523 | { | |
22524 | void *ptr; | |
22525 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22526 | _v = 0; | |
22527 | PyErr_Clear(); | |
22528 | } else { | |
22529 | _v = 1; | |
22530 | } | |
22531 | } | |
22532 | if (_v) { | |
22533 | { | |
22534 | void *ptr; | |
22535 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22536 | _v = 0; | |
22537 | PyErr_Clear(); | |
22538 | } else { | |
22539 | _v = 1; | |
22540 | } | |
22541 | } | |
22542 | if (_v) { | |
22543 | if (argc <= 2) { | |
22544 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22545 | } | |
22546 | { | |
22547 | void *ptr; | |
22548 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
22549 | _v = 0; | |
22550 | PyErr_Clear(); | |
22551 | } else { | |
22552 | _v = 1; | |
22553 | } | |
22554 | } | |
22555 | if (_v) { | |
22556 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
22557 | } | |
22558 | } | |
22559 | } | |
22560 | } | |
22561 | if (argc == 3) { | |
22562 | int _v; | |
22563 | { | |
22564 | void *ptr; | |
22565 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22566 | _v = 0; | |
22567 | PyErr_Clear(); | |
22568 | } else { | |
22569 | _v = 1; | |
22570 | } | |
22571 | } | |
22572 | if (_v) { | |
22573 | { | |
22574 | void *ptr; | |
22575 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
22576 | _v = 0; | |
22577 | PyErr_Clear(); | |
22578 | } else { | |
22579 | _v = 1; | |
22580 | } | |
22581 | } | |
22582 | if (_v) { | |
22583 | { | |
22584 | void *ptr; | |
22585 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
22586 | _v = 0; | |
22587 | PyErr_Clear(); | |
22588 | } else { | |
22589 | _v = 1; | |
22590 | } | |
22591 | } | |
22592 | if (_v) { | |
22593 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
22594 | } | |
22595 | } | |
22596 | } | |
22597 | } | |
22598 | ||
22599 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
22600 | return NULL; | |
22601 | } | |
22602 | ||
22603 | ||
d14a1e28 RD |
22604 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { |
22605 | PyObject *resultobj; | |
22606 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22607 | PyObject *arg2 = (PyObject *) 0 ; | |
22608 | PyObject *arg3 = (PyObject *) 0 ; | |
22609 | PyObject * obj0 = 0 ; | |
22610 | PyObject * obj1 = 0 ; | |
22611 | PyObject * obj2 = 0 ; | |
22612 | char *kwnames[] = { | |
22613 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22614 | }; | |
22615 | ||
22616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22619 | arg2 = obj1; |
22620 | arg3 = obj2; | |
22621 | { | |
22622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22623 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22624 | ||
22625 | wxPyEndAllowThreads(__tstate); | |
22626 | if (PyErr_Occurred()) SWIG_fail; | |
22627 | } | |
22628 | Py_INCREF(Py_None); resultobj = Py_None; | |
22629 | return resultobj; | |
22630 | fail: | |
22631 | return NULL; | |
22632 | } | |
22633 | ||
22634 | ||
22635 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22636 | PyObject *resultobj; | |
22637 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22638 | int arg2 ; | |
22639 | bool result; | |
22640 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22641 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22642 | char *kwnames[] = { |
22643 | (char *) "self",(char *) "pageNum", NULL | |
22644 | }; | |
22645 | ||
8edf1c75 | 22646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22649 | arg2 = (int) SWIG_AsInt(obj1); | |
22650 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22651 | { |
22652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22653 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
22654 | ||
22655 | wxPyEndAllowThreads(__tstate); | |
22656 | if (PyErr_Occurred()) SWIG_fail; | |
22657 | } | |
4f89f6a3 RD |
22658 | { |
22659 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22660 | } | |
d14a1e28 RD |
22661 | return resultobj; |
22662 | fail: | |
22663 | return NULL; | |
22664 | } | |
22665 | ||
22666 | ||
22667 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22668 | PyObject *resultobj; | |
22669 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22670 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22671 | wxDC *arg3 = 0 ; | |
22672 | bool result; | |
22673 | PyObject * obj0 = 0 ; | |
22674 | PyObject * obj1 = 0 ; | |
22675 | PyObject * obj2 = 0 ; | |
22676 | char *kwnames[] = { | |
22677 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22678 | }; | |
22679 | ||
22680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22681 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22682 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22683 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22685 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22686 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22687 | SWIG_fail; | |
d14a1e28 | 22688 | if (arg3 == NULL) { |
2f4c0a16 RD |
22689 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22690 | SWIG_fail; | |
d14a1e28 RD |
22691 | } |
22692 | { | |
22693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22694 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
22695 | ||
22696 | wxPyEndAllowThreads(__tstate); | |
22697 | if (PyErr_Occurred()) SWIG_fail; | |
22698 | } | |
4f89f6a3 RD |
22699 | { |
22700 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22701 | } | |
d14a1e28 RD |
22702 | return resultobj; |
22703 | fail: | |
22704 | return NULL; | |
22705 | } | |
22706 | ||
22707 | ||
22708 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22709 | PyObject *resultobj; | |
22710 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22711 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22712 | wxDC *arg3 = 0 ; | |
22713 | bool result; | |
22714 | PyObject * obj0 = 0 ; | |
22715 | PyObject * obj1 = 0 ; | |
22716 | PyObject * obj2 = 0 ; | |
22717 | char *kwnames[] = { | |
22718 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22719 | }; | |
22720 | ||
22721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22724 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22726 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22727 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22728 | SWIG_fail; | |
d14a1e28 | 22729 | if (arg3 == NULL) { |
2f4c0a16 RD |
22730 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22731 | SWIG_fail; | |
d14a1e28 RD |
22732 | } |
22733 | { | |
22734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22735 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
22736 | ||
22737 | wxPyEndAllowThreads(__tstate); | |
22738 | if (PyErr_Occurred()) SWIG_fail; | |
22739 | } | |
4f89f6a3 RD |
22740 | { |
22741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22742 | } | |
d14a1e28 RD |
22743 | return resultobj; |
22744 | fail: | |
22745 | return NULL; | |
22746 | } | |
22747 | ||
22748 | ||
22749 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22750 | PyObject *resultobj; | |
22751 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22752 | int arg2 ; | |
22753 | bool result; | |
22754 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22755 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22756 | char *kwnames[] = { |
22757 | (char *) "self",(char *) "pageNum", NULL | |
22758 | }; | |
22759 | ||
8edf1c75 | 22760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22761 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22762 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22763 | arg2 = (int) SWIG_AsInt(obj1); | |
22764 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22765 | { |
22766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22767 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22768 | ||
22769 | wxPyEndAllowThreads(__tstate); | |
22770 | if (PyErr_Occurred()) SWIG_fail; | |
22771 | } | |
4f89f6a3 RD |
22772 | { |
22773 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22774 | } | |
d14a1e28 RD |
22775 | return resultobj; |
22776 | fail: | |
22777 | return NULL; | |
22778 | } | |
22779 | ||
22780 | ||
22781 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22782 | PyObject *resultobj; | |
22783 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22784 | int arg2 ; | |
22785 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22786 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22787 | char *kwnames[] = { |
22788 | (char *) "self",(char *) "percent", NULL | |
22789 | }; | |
22790 | ||
8edf1c75 | 22791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22794 | arg2 = (int) SWIG_AsInt(obj1); | |
22795 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22796 | { |
22797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22798 | (arg1)->base_SetZoom(arg2); | |
22799 | ||
22800 | wxPyEndAllowThreads(__tstate); | |
22801 | if (PyErr_Occurred()) SWIG_fail; | |
22802 | } | |
22803 | Py_INCREF(Py_None); resultobj = Py_None; | |
22804 | return resultobj; | |
22805 | fail: | |
22806 | return NULL; | |
22807 | } | |
22808 | ||
22809 | ||
22810 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22811 | PyObject *resultobj; | |
22812 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22813 | bool arg2 ; | |
22814 | bool result; | |
22815 | PyObject * obj0 = 0 ; | |
22816 | PyObject * obj1 = 0 ; | |
22817 | char *kwnames[] = { | |
22818 | (char *) "self",(char *) "interactive", NULL | |
22819 | }; | |
22820 | ||
22821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22822 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22823 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22824 | arg2 = (bool) SWIG_AsBool(obj1); | |
22825 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22826 | { |
22827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22828 | result = (bool)(arg1)->base_Print(arg2); | |
22829 | ||
22830 | wxPyEndAllowThreads(__tstate); | |
22831 | if (PyErr_Occurred()) SWIG_fail; | |
22832 | } | |
4f89f6a3 RD |
22833 | { |
22834 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22835 | } | |
d14a1e28 RD |
22836 | return resultobj; |
22837 | fail: | |
22838 | return NULL; | |
22839 | } | |
22840 | ||
22841 | ||
22842 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22843 | PyObject *resultobj; | |
22844 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22845 | PyObject * obj0 = 0 ; | |
22846 | char *kwnames[] = { | |
22847 | (char *) "self", NULL | |
22848 | }; | |
22849 | ||
22850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22853 | { |
22854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22855 | (arg1)->base_DetermineScaling(); | |
22856 | ||
22857 | wxPyEndAllowThreads(__tstate); | |
22858 | if (PyErr_Occurred()) SWIG_fail; | |
22859 | } | |
22860 | Py_INCREF(Py_None); resultobj = Py_None; | |
22861 | return resultobj; | |
22862 | fail: | |
22863 | return NULL; | |
22864 | } | |
22865 | ||
22866 | ||
22867 | static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) { | |
22868 | PyObject *obj; | |
22869 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22870 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22871 | Py_INCREF(obj); | |
22872 | return Py_BuildValue((char *)""); | |
22873 | } | |
22874 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22875 | PyObject *resultobj; | |
22876 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22877 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22878 | wxString *arg3 = 0 ; | |
22879 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22880 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22881 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22882 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22883 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22884 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22885 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22886 | wxPyPreviewFrame *result; | |
423f194a | 22887 | bool temp3 = False ; |
d14a1e28 RD |
22888 | wxPoint temp4 ; |
22889 | wxSize temp5 ; | |
423f194a | 22890 | bool temp7 = False ; |
d14a1e28 RD |
22891 | PyObject * obj0 = 0 ; |
22892 | PyObject * obj1 = 0 ; | |
22893 | PyObject * obj2 = 0 ; | |
22894 | PyObject * obj3 = 0 ; | |
22895 | PyObject * obj4 = 0 ; | |
8edf1c75 | 22896 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22897 | PyObject * obj6 = 0 ; |
22898 | char *kwnames[] = { | |
22899 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22900 | }; | |
22901 | ||
8edf1c75 | 22902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
22903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22905 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22907 | { |
22908 | arg3 = wxString_in_helper(obj2); | |
22909 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 22910 | temp3 = True; |
d14a1e28 RD |
22911 | } |
22912 | if (obj3) { | |
22913 | { | |
22914 | arg4 = &temp4; | |
22915 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22916 | } | |
22917 | } | |
22918 | if (obj4) { | |
22919 | { | |
22920 | arg5 = &temp5; | |
22921 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22922 | } | |
22923 | } | |
8edf1c75 | 22924 | if (obj5) { |
2f4c0a16 RD |
22925 | arg6 = (long) SWIG_AsLong(obj5); |
22926 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 22927 | } |
d14a1e28 RD |
22928 | if (obj6) { |
22929 | { | |
22930 | arg7 = wxString_in_helper(obj6); | |
22931 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 22932 | temp7 = True; |
d14a1e28 RD |
22933 | } |
22934 | } | |
22935 | { | |
22936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22937 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22938 | ||
22939 | wxPyEndAllowThreads(__tstate); | |
22940 | if (PyErr_Occurred()) SWIG_fail; | |
22941 | } | |
2f4c0a16 | 22942 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
22943 | { |
22944 | if (temp3) | |
22945 | delete arg3; | |
22946 | } | |
22947 | { | |
22948 | if (temp7) | |
22949 | delete arg7; | |
22950 | } | |
22951 | return resultobj; | |
22952 | fail: | |
22953 | { | |
22954 | if (temp3) | |
22955 | delete arg3; | |
22956 | } | |
22957 | { | |
22958 | if (temp7) | |
22959 | delete arg7; | |
22960 | } | |
22961 | return NULL; | |
22962 | } | |
22963 | ||
22964 | ||
22965 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22966 | PyObject *resultobj; | |
22967 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22968 | PyObject *arg2 = (PyObject *) 0 ; | |
22969 | PyObject *arg3 = (PyObject *) 0 ; | |
22970 | PyObject * obj0 = 0 ; | |
22971 | PyObject * obj1 = 0 ; | |
22972 | PyObject * obj2 = 0 ; | |
22973 | char *kwnames[] = { | |
22974 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22975 | }; | |
22976 | ||
22977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22978 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22979 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22980 | arg2 = obj1; |
22981 | arg3 = obj2; | |
22982 | { | |
22983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22984 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22985 | ||
22986 | wxPyEndAllowThreads(__tstate); | |
22987 | if (PyErr_Occurred()) SWIG_fail; | |
22988 | } | |
22989 | Py_INCREF(Py_None); resultobj = Py_None; | |
22990 | return resultobj; | |
22991 | fail: | |
22992 | return NULL; | |
22993 | } | |
22994 | ||
22995 | ||
22996 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
22997 | PyObject *resultobj; | |
22998 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22999 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
23000 | PyObject * obj0 = 0 ; | |
23001 | PyObject * obj1 = 0 ; | |
23002 | char *kwnames[] = { | |
23003 | (char *) "self",(char *) "canvas", NULL | |
23004 | }; | |
23005 | ||
23006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
23007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23009 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
23010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23011 | { |
23012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23013 | (arg1)->SetPreviewCanvas(arg2); | |
23014 | ||
23015 | wxPyEndAllowThreads(__tstate); | |
23016 | if (PyErr_Occurred()) SWIG_fail; | |
23017 | } | |
23018 | Py_INCREF(Py_None); resultobj = Py_None; | |
23019 | return resultobj; | |
23020 | fail: | |
23021 | return NULL; | |
23022 | } | |
23023 | ||
23024 | ||
23025 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23026 | PyObject *resultobj; | |
23027 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23028 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
23029 | PyObject * obj0 = 0 ; | |
23030 | PyObject * obj1 = 0 ; | |
23031 | char *kwnames[] = { | |
23032 | (char *) "self",(char *) "bar", NULL | |
23033 | }; | |
23034 | ||
23035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
23036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23038 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
23039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23040 | { |
23041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23042 | (arg1)->SetControlBar(arg2); | |
23043 | ||
23044 | wxPyEndAllowThreads(__tstate); | |
23045 | if (PyErr_Occurred()) SWIG_fail; | |
23046 | } | |
23047 | Py_INCREF(Py_None); resultobj = Py_None; | |
23048 | return resultobj; | |
23049 | fail: | |
23050 | return NULL; | |
23051 | } | |
23052 | ||
23053 | ||
23054 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23055 | PyObject *resultobj; | |
23056 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23057 | PyObject * obj0 = 0 ; | |
23058 | char *kwnames[] = { | |
23059 | (char *) "self", NULL | |
23060 | }; | |
23061 | ||
23062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
23063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23065 | { |
23066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23067 | (arg1)->base_Initialize(); | |
23068 | ||
23069 | wxPyEndAllowThreads(__tstate); | |
23070 | if (PyErr_Occurred()) SWIG_fail; | |
23071 | } | |
23072 | Py_INCREF(Py_None); resultobj = Py_None; | |
23073 | return resultobj; | |
23074 | fail: | |
23075 | return NULL; | |
23076 | } | |
23077 | ||
23078 | ||
23079 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23080 | PyObject *resultobj; | |
23081 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23082 | PyObject * obj0 = 0 ; | |
23083 | char *kwnames[] = { | |
23084 | (char *) "self", NULL | |
23085 | }; | |
23086 | ||
23087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
23088 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23089 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23090 | { |
23091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23092 | (arg1)->base_CreateCanvas(); | |
23093 | ||
23094 | wxPyEndAllowThreads(__tstate); | |
23095 | if (PyErr_Occurred()) SWIG_fail; | |
23096 | } | |
23097 | Py_INCREF(Py_None); resultobj = Py_None; | |
23098 | return resultobj; | |
23099 | fail: | |
23100 | return NULL; | |
23101 | } | |
23102 | ||
23103 | ||
23104 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23105 | PyObject *resultobj; | |
23106 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
23107 | PyObject * obj0 = 0 ; | |
23108 | char *kwnames[] = { | |
23109 | (char *) "self", NULL | |
23110 | }; | |
23111 | ||
23112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
23113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
23114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23115 | { |
23116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23117 | (arg1)->base_CreateControlBar(); | |
23118 | ||
23119 | wxPyEndAllowThreads(__tstate); | |
23120 | if (PyErr_Occurred()) SWIG_fail; | |
23121 | } | |
23122 | Py_INCREF(Py_None); resultobj = Py_None; | |
23123 | return resultobj; | |
23124 | fail: | |
23125 | return NULL; | |
23126 | } | |
23127 | ||
23128 | ||
23129 | static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) { | |
23130 | PyObject *obj; | |
23131 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23132 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
23133 | Py_INCREF(obj); | |
23134 | return Py_BuildValue((char *)""); | |
23135 | } | |
23136 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23137 | PyObject *resultobj; | |
23138 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23139 | long arg2 ; | |
23140 | wxWindow *arg3 = (wxWindow *) 0 ; | |
23141 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23142 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23143 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23144 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23145 | long arg6 = (long) 0 ; | |
23146 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
23147 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23148 | wxPyPreviewControlBar *result; | |
23149 | wxPoint temp4 ; | |
23150 | wxSize temp5 ; | |
423f194a | 23151 | bool temp7 = False ; |
d14a1e28 | 23152 | PyObject * obj0 = 0 ; |
8edf1c75 | 23153 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23154 | PyObject * obj2 = 0 ; |
23155 | PyObject * obj3 = 0 ; | |
23156 | PyObject * obj4 = 0 ; | |
8edf1c75 | 23157 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23158 | PyObject * obj6 = 0 ; |
23159 | char *kwnames[] = { | |
23160 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23161 | }; | |
23162 | ||
8edf1c75 | 23163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
23164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23166 | arg2 = (long) SWIG_AsLong(obj1); | |
23167 | if (PyErr_Occurred()) SWIG_fail; | |
23168 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23169 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23170 | if (obj3) { |
23171 | { | |
23172 | arg4 = &temp4; | |
23173 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23174 | } | |
23175 | } | |
23176 | if (obj4) { | |
23177 | { | |
23178 | arg5 = &temp5; | |
23179 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23180 | } | |
23181 | } | |
8edf1c75 | 23182 | if (obj5) { |
2f4c0a16 RD |
23183 | arg6 = (long) SWIG_AsLong(obj5); |
23184 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 23185 | } |
d14a1e28 RD |
23186 | if (obj6) { |
23187 | { | |
23188 | arg7 = wxString_in_helper(obj6); | |
23189 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 23190 | temp7 = True; |
d14a1e28 RD |
23191 | } |
23192 | } | |
23193 | { | |
23194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23195 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23196 | ||
23197 | wxPyEndAllowThreads(__tstate); | |
23198 | if (PyErr_Occurred()) SWIG_fail; | |
23199 | } | |
2f4c0a16 | 23200 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
23201 | { |
23202 | if (temp7) | |
23203 | delete arg7; | |
23204 | } | |
23205 | return resultobj; | |
23206 | fail: | |
23207 | { | |
23208 | if (temp7) | |
23209 | delete arg7; | |
23210 | } | |
23211 | return NULL; | |
23212 | } | |
23213 | ||
23214 | ||
23215 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23216 | PyObject *resultobj; | |
23217 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23218 | PyObject *arg2 = (PyObject *) 0 ; | |
23219 | PyObject *arg3 = (PyObject *) 0 ; | |
23220 | PyObject * obj0 = 0 ; | |
23221 | PyObject * obj1 = 0 ; | |
23222 | PyObject * obj2 = 0 ; | |
23223 | char *kwnames[] = { | |
23224 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
23225 | }; | |
23226 | ||
23227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
23228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23230 | arg2 = obj1; |
23231 | arg3 = obj2; | |
23232 | { | |
23233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23234 | (arg1)->_setCallbackInfo(arg2,arg3); | |
23235 | ||
23236 | wxPyEndAllowThreads(__tstate); | |
23237 | if (PyErr_Occurred()) SWIG_fail; | |
23238 | } | |
23239 | Py_INCREF(Py_None); resultobj = Py_None; | |
23240 | return resultobj; | |
23241 | fail: | |
23242 | return NULL; | |
23243 | } | |
23244 | ||
23245 | ||
23246 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23247 | PyObject *resultobj; | |
23248 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23249 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
23250 | PyObject * obj0 = 0 ; | |
23251 | PyObject * obj1 = 0 ; | |
23252 | char *kwnames[] = { | |
23253 | (char *) "self",(char *) "preview", NULL | |
23254 | }; | |
23255 | ||
23256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
23257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23259 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
23260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23261 | { |
23262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23263 | (arg1)->SetPrintPreview(arg2); | |
23264 | ||
23265 | wxPyEndAllowThreads(__tstate); | |
23266 | if (PyErr_Occurred()) SWIG_fail; | |
23267 | } | |
23268 | Py_INCREF(Py_None); resultobj = Py_None; | |
23269 | return resultobj; | |
23270 | fail: | |
23271 | return NULL; | |
23272 | } | |
23273 | ||
23274 | ||
23275 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23276 | PyObject *resultobj; | |
23277 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23278 | PyObject * obj0 = 0 ; | |
23279 | char *kwnames[] = { | |
23280 | (char *) "self", NULL | |
23281 | }; | |
23282 | ||
23283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
23284 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23285 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23286 | { |
23287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23288 | (arg1)->base_CreateButtons(); | |
23289 | ||
23290 | wxPyEndAllowThreads(__tstate); | |
23291 | if (PyErr_Occurred()) SWIG_fail; | |
23292 | } | |
23293 | Py_INCREF(Py_None); resultobj = Py_None; | |
23294 | return resultobj; | |
23295 | fail: | |
23296 | return NULL; | |
23297 | } | |
23298 | ||
23299 | ||
23300 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
23301 | PyObject *resultobj; | |
23302 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
23303 | int arg2 ; | |
23304 | PyObject * obj0 = 0 ; | |
8edf1c75 | 23305 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23306 | char *kwnames[] = { |
23307 | (char *) "self",(char *) "zoom", NULL | |
23308 | }; | |
23309 | ||
8edf1c75 | 23310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
23311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
23312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23313 | arg2 = (int) SWIG_AsInt(obj1); | |
23314 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
23315 | { |
23316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23317 | (arg1)->base_SetZoomControl(arg2); | |
23318 | ||
23319 | wxPyEndAllowThreads(__tstate); | |
23320 | if (PyErr_Occurred()) SWIG_fail; | |
23321 | } | |
23322 | Py_INCREF(Py_None); resultobj = Py_None; | |
23323 | return resultobj; | |
23324 | fail: | |
23325 | return NULL; | |
23326 | } | |
23327 | ||
23328 | ||
23329 | static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) { | |
23330 | PyObject *obj; | |
23331 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23332 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
23333 | Py_INCREF(obj); | |
23334 | return Py_BuildValue((char *)""); | |
23335 | } | |
23336 | static PyMethodDef SwigMethods[] = { | |
23337 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS }, | |
23338 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS }, | |
23339 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS }, | |
23340 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23341 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS }, | |
23342 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23343 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23344 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23345 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23346 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS }, | |
23347 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
23348 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS }, | |
23349 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS }, | |
23350 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS }, | |
23351 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS }, | |
23352 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS }, | |
23353 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS }, | |
23354 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23355 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23356 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS }, | |
23357 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS }, | |
23358 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23359 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS }, | |
23360 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23361 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS }, | |
23362 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
23363 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS }, | |
23364 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS }, | |
d14a1e28 RD |
23365 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS }, |
23366 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23367 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS }, | |
23368 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS }, | |
23369 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS }, | |
23370 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23371 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23372 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS }, | |
23373 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23374 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS }, | |
23375 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23376 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23377 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
23378 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS }, | |
23379 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS }, | |
23380 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS }, | |
23381 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23382 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS }, | |
23383 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS }, | |
23384 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23385 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
23386 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS }, | |
23387 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23388 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23389 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23390 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23391 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23392 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23393 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23394 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23395 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS }, | |
23396 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23397 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23398 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23399 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS }, | |
23400 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS }, | |
23401 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS }, | |
23402 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS }, | |
23403 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS }, | |
23404 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23405 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23406 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS }, | |
23407 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS }, | |
23408 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23409 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS }, |
23410 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23411 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS }, | |
23412 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS }, | |
23413 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS }, | |
23414 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23415 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS }, | |
23416 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23417 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS }, | |
23418 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS }, | |
23419 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23420 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
23421 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS }, | |
23422 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS }, | |
23423 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS }, | |
23424 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23425 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS }, | |
23426 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS }, | |
23427 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23428 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
23429 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS }, | |
23430 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23431 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
23432 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23433 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23434 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23435 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS }, | |
23436 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
23437 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
23438 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS }, | |
23439 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS }, | |
23440 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS }, | |
23441 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS }, | |
23442 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23443 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
23444 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23445 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS }, | |
23446 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS }, | |
23447 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23448 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS }, | |
23449 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23450 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS }, | |
23451 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS }, | |
23452 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS }, | |
23453 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS }, | |
23454 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS }, | |
23455 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23456 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23457 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS }, | |
23458 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23459 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23460 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23461 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23462 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS }, | |
23463 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23464 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23465 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23466 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS }, | |
23467 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS }, | |
23468 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS }, | |
23469 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23470 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS }, | |
23471 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS }, | |
23472 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
23473 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
23474 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS }, | |
23475 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23476 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
23477 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23478 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23479 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS }, | |
23480 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS }, | |
23481 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS }, | |
23482 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS }, | |
23483 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23484 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23485 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23486 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS }, | |
23487 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23488 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23489 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23490 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23491 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23492 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23493 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS }, | |
23494 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS }, | |
23495 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS }, | |
23496 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS }, | |
23497 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS }, | |
23498 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS }, | |
23499 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23500 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS }, | |
23501 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23502 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS }, | |
23503 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23504 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS }, | |
23505 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS }, | |
23506 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS }, | |
23507 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23508 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS }, | |
23509 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23510 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23511 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
23512 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
23513 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23514 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23515 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23516 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23517 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS }, | |
23518 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS }, | |
23519 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23520 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23521 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS }, | |
23522 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS }, | |
23523 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS }, | |
23524 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23525 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23526 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23527 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23528 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23529 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
23530 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS }, | |
23531 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23532 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS }, | |
23533 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23534 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS }, | |
23535 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS }, | |
23536 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS }, | |
23537 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS }, | |
23538 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS }, | |
23539 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23540 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS }, | |
23541 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23542 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS }, | |
23543 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS }, | |
23544 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23545 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23546 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23547 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS }, | |
23548 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS }, | |
23549 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS }, | |
23550 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS }, | |
23551 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
23552 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS }, | |
23553 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS }, | |
23554 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23555 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
23556 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23557 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23558 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23559 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
23560 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS }, | |
23561 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS }, | |
23562 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS }, | |
23563 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS }, | |
23564 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS }, | |
23565 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
23566 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23567 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
23568 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23569 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
23570 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
23571 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS }, | |
23572 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS }, | |
23573 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS }, | |
23574 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23575 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23576 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23577 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS }, | |
23578 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23579 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS }, | |
23580 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
23581 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS }, | |
23582 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS }, | |
23583 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS }, | |
23584 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23585 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23586 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23587 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS }, | |
23588 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23589 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS }, | |
23590 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS }, | |
23591 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
23592 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
23593 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS }, | |
23594 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
23595 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
23596 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS }, | |
23597 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS }, | |
23598 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23599 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS }, | |
23600 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23601 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS }, | |
23602 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS }, | |
23603 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
23604 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS }, | |
23605 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23606 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS }, | |
23607 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
23608 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS }, | |
23609 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS }, | |
23610 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS }, | |
23611 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
23612 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS }, | |
23613 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS }, | |
23614 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS }, | |
23615 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23616 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS }, | |
23617 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23618 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23619 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23620 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS }, | |
23621 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23622 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS }, | |
23623 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS }, | |
23624 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS }, | |
23625 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23626 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS }, |
23627 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS }, | |
23628 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23629 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23630 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23631 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23632 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23633 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS }, |
23634 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS }, | |
23635 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23636 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS }, | |
23637 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23638 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23639 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23640 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23641 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23642 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
23643 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS }, | |
23644 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS }, | |
23645 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23646 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS }, | |
23647 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
23648 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS }, | |
23649 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS }, | |
23650 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS }, | |
23651 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS }, | |
23652 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23653 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23654 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
23655 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS }, | |
23656 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23657 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23658 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS }, | |
23659 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23660 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS }, |
23661 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS }, | |
23662 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
23663 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23664 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS }, |
23665 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23666 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS }, | |
23667 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23668 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23669 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23670 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23671 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS }, | |
23672 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23673 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23674 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS }, | |
23675 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS }, | |
23676 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23677 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS }, | |
23678 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS }, | |
23679 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS }, | |
23680 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS }, | |
2f4c0a16 | 23681 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 | 23682 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23683 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS }, |
23684 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23685 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS }, |
23686 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS }, | |
23687 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS }, | |
23688 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
23689 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS }, | |
23690 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS }, | |
23691 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23692 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23693 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23694 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS }, | |
23695 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23696 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23697 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23698 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS }, | |
23699 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23700 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS }, | |
23701 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23702 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23703 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23704 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS }, | |
23705 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS }, | |
23706 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS }, | |
23707 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS }, | |
23708 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23709 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS }, | |
23710 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS }, | |
23711 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS }, | |
23712 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS }, | |
23713 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS }, | |
23714 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23715 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS }, | |
23716 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23717 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS }, | |
23718 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS }, | |
23719 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS }, | |
23720 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS }, | |
23721 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS }, | |
23722 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23723 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23724 | { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
23725 | { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS }, | |
23726 | { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
23727 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS }, | |
23728 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS }, | |
23729 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23730 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS }, | |
23731 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS }, | |
23732 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS }, | |
23733 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS }, | |
23734 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS }, | |
23735 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS }, | |
23736 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23737 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS }, | |
23738 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
23739 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS }, | |
23740 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS }, | |
23741 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23742 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23743 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23744 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23745 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23746 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23747 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23748 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23749 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23750 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23751 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23752 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23753 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23754 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23755 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23756 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23757 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23758 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23759 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23760 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS }, | |
23761 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS }, | |
23762 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23763 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS }, | |
23764 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS }, | |
23765 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23766 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23767 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS }, | |
23768 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS }, | |
23769 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS }, | |
23770 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS }, | |
23771 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS }, | |
23772 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS }, | |
23773 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS }, | |
23774 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS }, | |
23775 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS }, | |
23776 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS }, | |
23777 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS }, | |
23778 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
23779 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
23780 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
23781 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS }, | |
23782 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23783 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS }, | |
23784 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23785 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23786 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23787 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23788 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23789 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
23790 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23791 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23792 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23793 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23794 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23795 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23796 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23797 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS }, | |
23798 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
23799 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS }, | |
23800 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23801 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23802 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS }, | |
23803 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23804 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23805 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23806 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23807 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23808 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23809 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23810 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23811 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23812 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
23813 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS }, | |
23814 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS }, | |
23815 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS }, | |
23816 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
23817 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS }, | |
23818 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS }, | |
23819 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS }, | |
23820 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS }, | |
23821 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS }, | |
23822 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS }, | |
23823 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS }, | |
23824 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS }, | |
db914595 RD |
23825 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, |
23826 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 RD |
23827 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS }, |
23828 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23829 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23830 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23831 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23832 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23833 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23834 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23835 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23836 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS }, | |
23837 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS }, | |
23838 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS }, | |
23839 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS }, | |
23840 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23841 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23842 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23843 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23844 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23845 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23846 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23847 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23848 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23849 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23850 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS }, | |
23851 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS }, | |
23852 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23853 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23854 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS }, | |
23855 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS }, | |
23856 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS }, | |
23857 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS }, | |
23858 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23859 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS }, | |
23860 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23861 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS }, | |
23862 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23863 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS }, | |
fe763115 | 23864 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS }, |
d14a1e28 RD |
23865 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS }, |
23866 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23867 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23868 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23869 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23870 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23871 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23872 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23873 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23874 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23875 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23876 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS }, | |
23877 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS }, | |
23878 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23879 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23880 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS }, | |
23881 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS }, | |
23882 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
23883 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS }, | |
23884 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23885 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS }, | |
23886 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23887 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23888 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23889 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23890 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS }, | |
23891 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS }, | |
23892 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS }, | |
23893 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS }, | |
23894 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23895 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23896 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS }, | |
23897 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS }, | |
23898 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23899 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23900 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS }, | |
23901 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS }, | |
23902 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS }, | |
23903 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23904 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS }, | |
23905 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS }, | |
23906 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23907 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS }, | |
23908 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS }, | |
23909 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS }, | |
23910 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS }, | |
23911 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS }, | |
23912 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS }, | |
23913 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS }, | |
23914 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS }, | |
23915 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23916 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS }, | |
23917 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS }, | |
23918 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23919 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 23920 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23921 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, |
23922 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS }, | |
23923 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23924 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS }, | |
23925 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23926 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS }, | |
23927 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23928 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS }, | |
23929 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS }, | |
23930 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS }, | |
23931 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23932 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23933 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS }, | |
d14a1e28 | 23934 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS }, |
44127b65 | 23935 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS }, |
d14a1e28 RD |
23936 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS }, |
23937 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23938 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS }, | |
23939 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23940 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23941 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23942 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23943 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23944 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS }, | |
23945 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23946 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23947 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
23948 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
23949 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS }, | |
23950 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS }, | |
23951 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS }, | |
23952 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS }, | |
23953 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS }, | |
23954 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS }, | |
fe763115 | 23955 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23956 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, |
23957 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23958 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23959 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS }, | |
23960 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS }, | |
23961 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23962 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23963 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
23964 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23965 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23966 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23967 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23968 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
23969 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS }, | |
23970 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23971 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23972 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS }, | |
23973 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS }, | |
23974 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS }, | |
23975 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS }, | |
23976 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS }, | |
23977 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23978 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS }, | |
fe763115 | 23979 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS }, |
d14a1e28 RD |
23980 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
23981 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS }, | |
23982 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS }, | |
23983 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS }, | |
23984 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS }, | |
23985 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
23986 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS }, | |
23987 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS }, | |
23988 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS }, | |
23989 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS }, | |
23990 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23991 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23992 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23993 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS }, | |
23994 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS }, | |
23995 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23996 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS }, | |
23997 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS }, | |
23998 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
23999 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS }, | |
24000 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS }, | |
24001 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS }, | |
24002 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS }, | |
24003 | { NULL, NULL } | |
24004 | }; | |
24005 | ||
24006 | ||
24007 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
24008 | ||
24009 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
24010 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24011 | } | |
24012 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
24013 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24014 | } | |
24015 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
24016 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
24017 | } | |
24018 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
24019 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
24020 | } | |
24021 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
24022 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
24023 | } | |
24024 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
24025 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
24026 | } | |
24027 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
24028 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
24029 | } | |
24030 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
24031 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24032 | } | |
24033 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
24034 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
24035 | } | |
24036 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
24037 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
24038 | } | |
24039 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
24040 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24041 | } | |
24042 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
24043 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
24044 | } | |
24045 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
24046 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24047 | } | |
24048 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
24049 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
24050 | } | |
24051 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
24052 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
24053 | } | |
24054 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
24055 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24056 | } | |
24057 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
24058 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
24059 | } | |
24060 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
24061 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
24062 | } | |
24063 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
24064 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
24065 | } | |
24066 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
24067 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
24068 | } | |
24069 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
24070 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
24071 | } | |
24072 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
24073 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
24074 | } | |
24075 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
24076 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
24077 | } | |
24078 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
24079 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
24080 | } | |
24081 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
24082 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24083 | } | |
24084 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
24085 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
24086 | } | |
24087 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
24088 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
24089 | } | |
24090 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
24091 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
24092 | } | |
24093 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
24094 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
24095 | } | |
24096 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
24097 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
24098 | } | |
24099 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
24100 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
24101 | } | |
24102 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
24103 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24104 | } | |
24105 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
24106 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
24107 | } | |
24108 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
24109 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
24110 | } | |
24111 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
24112 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
24113 | } | |
24114 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
24115 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
24116 | } | |
24117 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
24118 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24119 | } | |
24120 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
24121 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24122 | } | |
24123 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
24124 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
24125 | } | |
24126 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
24127 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
24128 | } | |
24129 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
24130 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
24131 | } | |
24132 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
24133 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
24134 | } | |
24135 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
24136 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24137 | } | |
24138 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
24139 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24140 | } | |
24141 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
24142 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24143 | } | |
24144 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
24145 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
24146 | } | |
24147 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
24148 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
24149 | } | |
24150 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
24151 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
24152 | } | |
24153 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
24154 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
24155 | } | |
24156 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
24157 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
24158 | } | |
24159 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
24160 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24161 | } | |
24162 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
24163 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24164 | } | |
24165 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
24166 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24167 | } | |
24168 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
24169 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24170 | } | |
24171 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
24172 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24173 | } | |
24174 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
24175 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24176 | } | |
24177 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
24178 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24179 | } | |
24180 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
24181 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
24182 | } | |
24183 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
24184 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
24185 | } | |
24186 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
24187 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24188 | } | |
24189 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
24190 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24191 | } | |
24192 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
24193 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24194 | } | |
24195 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
24196 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
24197 | } | |
24198 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
24199 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24200 | } | |
24201 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
24202 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
24203 | } | |
24204 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
24205 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
24206 | } | |
24207 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
24208 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
24209 | } | |
24210 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
24211 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
24212 | } | |
24213 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
24214 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
24215 | } | |
24216 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
24217 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
24218 | } | |
24219 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
24220 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
24221 | } | |
24222 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
24223 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
24224 | } | |
24225 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
24226 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24227 | } | |
24228 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
24229 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24230 | } | |
24231 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
24232 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24233 | } | |
24234 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
24235 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
24236 | } | |
24237 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
24238 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24239 | } | |
24240 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
24241 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
24242 | } | |
24243 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
24244 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24245 | } | |
24246 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
24247 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24248 | } | |
24249 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
24250 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24251 | } | |
24252 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
24253 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24254 | } | |
24255 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
24256 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24257 | } | |
24258 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
24259 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
24260 | } | |
24261 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
24262 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
24263 | } | |
24264 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
24265 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24266 | } | |
24267 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
24268 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24269 | } | |
24270 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
24271 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24272 | } | |
24273 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
24274 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24275 | } | |
24276 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
24277 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24278 | } | |
24279 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
24280 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24281 | } | |
24282 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
24283 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24284 | } | |
24285 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
24286 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24287 | } | |
24288 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
24289 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
24290 | } | |
24291 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
24292 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
24293 | } | |
24294 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
24295 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
24296 | } | |
24297 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
24298 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24299 | } | |
24300 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
24301 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
24302 | } | |
24303 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
24304 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
24305 | } | |
24306 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
24307 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
24308 | } | |
24309 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
24310 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
24311 | } | |
24312 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
24313 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
24314 | } | |
24315 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
24316 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24317 | } | |
24318 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
24319 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24320 | } | |
24321 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
24322 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
24323 | } | |
24324 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
24325 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
24326 | } | |
24327 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
24328 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
24329 | } | |
24330 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
24331 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
24332 | } | |
24333 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
24334 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
24335 | } | |
24336 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
24337 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
24338 | } | |
24339 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
24340 | return (void *)((wxObject *) ((wxSizer *) x)); | |
24341 | } | |
24342 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
24343 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
24344 | } | |
24345 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
24346 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24347 | } | |
24348 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
24349 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
24350 | } | |
24351 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
24352 | return (void *)((wxObject *) ((wxEvent *) x)); | |
24353 | } | |
24354 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
24355 | return (void *)((wxObject *) ((wxFontData *) x)); | |
24356 | } | |
24357 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
24358 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
24359 | } | |
24360 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
24361 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
24362 | } | |
24363 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
24364 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
24365 | } | |
24366 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
24367 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
24368 | } | |
24369 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
24370 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
24371 | } | |
24372 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
24373 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
24374 | } | |
24375 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
24376 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24377 | } | |
24378 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
24379 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
24380 | } | |
24381 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
24382 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
24383 | } | |
24384 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
24385 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
24386 | } | |
24387 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
24388 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
24389 | } | |
24390 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
24391 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
24392 | } | |
24393 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
24394 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
24395 | } | |
24396 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
24397 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24398 | } | |
24399 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
24400 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
24401 | } | |
24402 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
24403 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
24404 | } | |
24405 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
24406 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24407 | } | |
24408 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
24409 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
24410 | } | |
24411 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
24412 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
24413 | } | |
24414 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
24415 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
24416 | } | |
24417 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
24418 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24419 | } | |
24420 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
24421 | return (void *)((wxObject *) ((wxColourData *) x)); | |
24422 | } | |
24423 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
24424 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
24425 | } | |
24426 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
24427 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24428 | } | |
24429 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
24430 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
24431 | } | |
24432 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
24433 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24434 | } | |
24435 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
24436 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24437 | } | |
24438 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
24439 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24440 | } | |
24441 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
24442 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24443 | } | |
24444 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
24445 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24446 | } | |
24447 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
24448 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24449 | } | |
24450 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
24451 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24452 | } | |
24453 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
24454 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24455 | } | |
24456 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
24457 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
24458 | } | |
24459 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
24460 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
24461 | } | |
24462 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
24463 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
24464 | } | |
24465 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
24466 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
24467 | } | |
24468 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
24469 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24470 | } | |
24471 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
24472 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
24473 | } | |
24474 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
24475 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
24476 | } | |
24477 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
24478 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
24479 | } | |
24480 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
24481 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
24482 | } | |
24483 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
24484 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
24485 | } | |
24486 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
24487 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
24488 | } | |
24489 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
24490 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
24491 | } | |
24492 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
24493 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
24494 | } | |
24495 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
24496 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
24497 | } | |
24498 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
24499 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
24500 | } | |
24501 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
24502 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
24503 | } | |
24504 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
24505 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
24506 | } | |
24507 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
24508 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
24509 | } | |
24510 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
24511 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
24512 | } | |
24513 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
24514 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
24515 | } | |
24516 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
24517 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
24518 | } | |
24519 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
24520 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
24521 | } | |
24522 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
24523 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
24524 | } | |
24525 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
24526 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
24527 | } | |
24528 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
24529 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
24530 | } | |
24531 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
24532 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24533 | } | |
24534 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
24535 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24536 | } | |
24537 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
24538 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
24539 | } | |
24540 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
24541 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24542 | } | |
24543 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
24544 | return (void *)((wxObject *) ((wxImage *) x)); | |
24545 | } | |
24546 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
24547 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
24548 | } | |
24549 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
24550 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
24551 | } | |
24552 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
24553 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
24554 | } | |
24555 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
24556 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
24557 | } | |
24558 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
24559 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
24560 | } | |
24561 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
24562 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24563 | } | |
24564 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
24565 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24566 | } | |
24567 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
24568 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
24569 | } | |
24570 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
24571 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
24572 | } | |
d14a1e28 RD |
24573 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
24574 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
24575 | } | |
24576 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
24577 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
24578 | } | |
24579 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
24580 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
24581 | } | |
41f1cec7 RD |
24582 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
24583 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
24584 | } | |
d14a1e28 RD |
24585 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
24586 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
24587 | } | |
24588 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
24589 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
24590 | } | |
24591 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
24592 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
24593 | } | |
24594 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
24595 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
24596 | } | |
24597 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
24598 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24599 | } | |
24600 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
24601 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
24602 | } | |
24603 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
24604 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24605 | } | |
24606 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
24607 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24608 | } | |
24609 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
24610 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24611 | } | |
24612 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
24613 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
24614 | } | |
24615 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
24616 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
24617 | } | |
24618 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
24619 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
24620 | } | |
24621 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
24622 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24623 | } | |
24624 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
24625 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
24626 | } | |
24627 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
24628 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
24629 | } | |
24630 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
24631 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24632 | } | |
24633 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
24634 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24635 | } | |
24636 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
24637 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24638 | } | |
24639 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
24640 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24641 | } | |
24642 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
24643 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24644 | } | |
24645 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
24646 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
24647 | } | |
24648 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
24649 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24650 | } | |
24651 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
24652 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
24653 | } | |
24654 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
24655 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
24656 | } | |
24657 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
24658 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
24659 | } | |
24660 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
24661 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
24662 | } | |
24663 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
24664 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
24665 | } | |
24666 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
24667 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24668 | } | |
24669 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
24670 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
24671 | } | |
24672 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
24673 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24674 | } | |
24675 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
24676 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24677 | } | |
24678 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
24679 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
24680 | } | |
24681 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
24682 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
24683 | } | |
24684 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
24685 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24686 | } | |
24687 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
24688 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24689 | } | |
24690 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
24691 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
24692 | } | |
24693 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
24694 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
24695 | } | |
24696 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
24697 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
24698 | } | |
24699 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
24700 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
24701 | } | |
24702 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24703 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24704 | } | |
24705 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24706 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24707 | } | |
24708 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
24709 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24710 | } | |
24711 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
24712 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24713 | } | |
24714 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
24715 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24716 | } | |
24717 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
24718 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24719 | } | |
24720 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
24721 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
24722 | } | |
24723 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
24724 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
24725 | } | |
24726 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
24727 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
24728 | } | |
24729 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
24730 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
24731 | } | |
24732 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
24733 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
24734 | } | |
24735 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
24736 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
24737 | } | |
24738 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
24739 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
24740 | } | |
24741 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
24742 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
24743 | } | |
24744 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
24745 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
24746 | } | |
24747 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
24748 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
24749 | } | |
24750 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
24751 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
24752 | } | |
24753 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
24754 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
24755 | } | |
24756 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
24757 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24758 | } | |
24759 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24760 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24761 | } | |
24762 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24763 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24764 | } | |
24765 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24766 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24767 | } | |
24768 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24769 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24770 | } | |
24771 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24772 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24773 | } | |
24774 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24775 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24776 | } | |
24777 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24778 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24779 | } | |
24780 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24781 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24782 | } | |
24783 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24784 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24785 | } | |
24786 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24787 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24788 | } | |
24789 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24790 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24791 | } | |
24792 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24793 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24794 | } | |
24795 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24796 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24797 | } | |
24798 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24799 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24800 | } | |
24801 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24802 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24803 | } | |
24804 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24805 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24806 | } | |
24807 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24808 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24809 | } | |
24810 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24811 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24812 | } | |
24813 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24814 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24815 | } | |
24816 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24817 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24818 | } | |
24819 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24820 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24821 | } | |
24822 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24823 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24824 | } | |
24825 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24826 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
24827 | } | |
24828 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24829 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24830 | } | |
24831 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24832 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24833 | } | |
24834 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24835 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24836 | } | |
24837 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24838 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24839 | } | |
24840 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24841 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24842 | } | |
24843 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24844 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24845 | } | |
24846 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24847 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24848 | } | |
24849 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24850 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24851 | } | |
24852 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24853 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24854 | } | |
24855 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24856 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24857 | } | |
24858 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24859 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24860 | } | |
24861 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24862 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24863 | } | |
24864 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24865 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24866 | } | |
24867 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24868 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24869 | } | |
24870 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24871 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24872 | } | |
24873 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24874 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24875 | } | |
24876 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24877 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24878 | } | |
24879 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24880 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24881 | } | |
24882 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24883 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24884 | } | |
24885 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24886 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24887 | } | |
24888 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24889 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24890 | } | |
24891 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24892 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24893 | } | |
24894 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24895 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24896 | } | |
24897 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24898 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24899 | } | |
24900 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24901 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24902 | } | |
24903 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24904 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24905 | } | |
24906 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24907 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24908 | } | |
24909 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24910 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24911 | } | |
24912 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24913 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24914 | } | |
24915 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24916 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24917 | } | |
24918 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24919 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24920 | } | |
24921 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24922 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24923 | } | |
24924 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24925 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24926 | } | |
24927 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24928 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24929 | } | |
24930 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24931 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24932 | } | |
24933 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24934 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24935 | } | |
24936 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24937 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24938 | } | |
24939 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24940 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24941 | } | |
24942 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24943 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24944 | } | |
24945 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24946 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24947 | } | |
24948 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24949 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24950 | } | |
24951 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24952 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24953 | } | |
24954 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24955 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24956 | } | |
24957 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24958 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24959 | } | |
24960 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24961 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24962 | } | |
24963 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24964 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24965 | } | |
24966 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24967 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24968 | } | |
24969 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24970 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24971 | } | |
24972 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24973 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24974 | } | |
24975 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24976 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24977 | } | |
24978 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24979 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24980 | } | |
24981 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24982 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24983 | } | |
24984 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24985 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24986 | } | |
24987 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24988 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24989 | } | |
24990 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24991 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24992 | } | |
24993 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24994 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24995 | } | |
24996 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24997 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24998 | } | |
24999 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
25000 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
25001 | } | |
25002 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
25003 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
25004 | } | |
25005 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
25006 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
25007 | } | |
2f4c0a16 RD |
25008 | 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}}; |
25009 | 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}}; | |
25010 | 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}}; | |
25011 | 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}}; | |
25012 | 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}}; | |
25013 | 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}}; | |
25014 | 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}}; | |
25015 | 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}}; | |
25016 | 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}}; | |
25017 | 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}}; | |
25018 | 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}}; | |
25019 | 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}}; | |
25020 | 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}}; | |
25021 | 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}}; | |
25022 | 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}}; | |
25023 | 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}}; | |
25024 | 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}}; | |
25025 | 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}}; | |
25026 | 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}}; | |
25027 | 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}}; | |
25028 | 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}}; | |
25029 | 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}}; | |
25030 | 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}}; | |
25031 | 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}}; | |
25032 | 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}}; | |
25033 | 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}}; | |
25034 | 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}}; | |
25035 | 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}}; | |
25036 | 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}}; | |
25037 | 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}}; | |
25038 | 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}}; | |
25039 | 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}}; | |
25040 | 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}}; | |
25041 | 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}}; | |
25042 | 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}}; | |
25043 | 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}}; | |
25044 | 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}}; | |
25045 | 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}}; | |
25046 | 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}}; | |
25047 | 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}}; | |
25048 | 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}}; | |
25049 | 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}}; | |
25050 | 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}}; | |
25051 | 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}}; | |
25052 | 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}}; | |
25053 | 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}}; | |
25054 | 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}}; | |
25055 | 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}}; | |
25056 | 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}}; | |
25057 | 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}}; | |
25058 | 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}}; | |
25059 | 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}}; | |
25060 | 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}}; | |
25061 | 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}}; | |
25062 | 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}}; | |
25063 | 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}}; | |
25064 | 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}}; | |
25065 | 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}}; | |
25066 | 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}}; | |
25067 | 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}}; | |
25068 | 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}}; | |
25069 | 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}}; | |
25070 | 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}}; | |
25071 | 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}}; | |
25072 | 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}}; | |
25073 | 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}}; | |
25074 | 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}}; | |
25075 | 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}}; | |
25076 | 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}}; | |
25077 | 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}}; | |
25078 | 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}}; | |
25079 | 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}}; | |
25080 | 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}}; | |
25081 | 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}}; | |
25082 | 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}}; | |
25083 | 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}}; | |
25084 | 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}}; | |
25085 | 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}}; | |
25086 | 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}}; | |
25087 | 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}}; | |
25088 | 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}}; | |
25089 | 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}}; | |
25090 | 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}}; | |
25091 | 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 |
25092 | |
25093 | static swig_type_info *swig_types_initial[] = { | |
25094 | _swigt__p_wxQueryLayoutInfoEvent, | |
25095 | _swigt__p_wxPreviewFrame, | |
25096 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
25097 | _swigt__p_wxPyPanel, |
25098 | _swigt__p_wxMenu, | |
25099 | _swigt__p_wxPrintData, | |
25100 | _swigt__p_wxFontData, | |
25101 | _swigt__p_wxEvent, | |
25102 | _swigt__p_wxTaskBarIcon, | |
25103 | _swigt__p_wxIconBundle, | |
25104 | _swigt__p_wxLayoutAlgorithm, | |
25105 | _swigt__p_wxFindDialogEvent, | |
25106 | _swigt__p_wxPreviewCanvas, | |
25107 | _swigt__p_wxFont, | |
25108 | _swigt__p_wxSplitterEvent, | |
25109 | _swigt__p_wxRegion, | |
25110 | _swigt__p_wxFindReplaceData, | |
25111 | _swigt__p_int, | |
25112 | _swigt__p_wxSize, | |
25113 | _swigt__p_wxDC, | |
25114 | _swigt__p_wxIcon, | |
25115 | _swigt__p_wxMDIChildFrame, | |
25116 | _swigt__p_wxColourData, | |
25117 | _swigt__p_wxNotifyEvent, | |
25118 | _swigt__p_wxPyWindow, | |
25119 | _swigt__p_wxSplashScreen, | |
25120 | _swigt__p_wxFindReplaceDialog, | |
25121 | _swigt__p_wxProgressDialog, | |
25122 | _swigt__p_wxMessageDialog, | |
25123 | _swigt__p_wxTextEntryDialog, | |
25124 | _swigt__p_wxSingleChoiceDialog, | |
25125 | _swigt__p_wxMultiChoiceDialog, | |
25126 | _swigt__p_wxFileDialog, | |
25127 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
25128 | _swigt__p_wxArrayInt, |
25129 | _swigt__p_wxEvtHandler, | |
25130 | _swigt__p_wxCalculateLayoutEvent, | |
25131 | _swigt__p_wxPyHtmlListBox, | |
25132 | _swigt__p_wxPyVListBox, | |
25133 | _swigt__p_wxRect, | |
8edf1c75 | 25134 | _swigt__p_char, |
d14a1e28 RD |
25135 | _swigt__p_wxMiniFrame, |
25136 | _swigt__p_wxFrame, | |
25137 | _swigt__p_wxPyPrintout, | |
25138 | _swigt__p_wxTaskBarIconEvent, | |
25139 | _swigt__p_wxScrollWinEvent, | |
25140 | _swigt__p_wxStatusBar, | |
25141 | _swigt__p_wxMDIParentFrame, | |
25142 | _swigt__p_wxPoint, | |
25143 | _swigt__p_wxObject, | |
db914595 | 25144 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
25145 | _swigt__p_unsigned_long, |
25146 | _swigt__p_wxMDIClientWindow, | |
25147 | _swigt__p_wxTipWindow, | |
25148 | _swigt__p_wxSashLayoutWindow, | |
25149 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
25150 | _swigt__p_wxPyVScrolledWindow, |
25151 | _swigt__p_wxPyPopupTransientWindow, | |
25152 | _swigt__p_wxPopupWindow, | |
25153 | _swigt__p_wxSashWindow, | |
25154 | _swigt__p_wxTopLevelWindow, | |
25155 | _swigt__p_wxWindow, | |
25156 | _swigt__p_wxScrolledWindow, | |
4e760a36 | 25157 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
25158 | _swigt__p_wxMenuBar, |
25159 | _swigt__p_wxPrintPreview, | |
25160 | _swigt__p_wxSashEvent, | |
25161 | _swigt__p_wxString, | |
25162 | _swigt__p_wxPyPrintPreview, | |
25163 | _swigt__p_wxFontDialog, | |
25164 | _swigt__p_wxDirDialog, | |
25165 | _swigt__p_wxColourDialog, | |
25166 | _swigt__p_wxDialog, | |
25167 | _swigt__p_wxPanel, | |
db914595 | 25168 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
25169 | _swigt__p_wxPrintDialog, |
25170 | _swigt__p_wxBitmap, | |
25171 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
25172 | _swigt__p_wxPreviewControlBar, |
25173 | _swigt__p_wxPyPreviewControlBar, | |
25174 | _swigt__p_wxColour, | |
25175 | _swigt__p_wxToolBar, | |
d03fd34d | 25176 | _swigt__p_wxPageSetupDialogData, |
8edf1c75 | 25177 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
25178 | 0 |
25179 | }; | |
25180 | ||
25181 | ||
25182 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
25183 | ||
25184 | static swig_const_info swig_const_table[] = { | |
d14a1e28 RD |
25185 | {0}}; |
25186 | ||
25187 | #ifdef __cplusplus | |
25188 | } | |
25189 | #endif | |
25190 | ||
25191 | #ifdef __cplusplus | |
25192 | extern "C" | |
25193 | #endif | |
25194 | SWIGEXPORT(void) SWIG_init(void) { | |
25195 | static PyObject *SWIG_globals = 0; | |
25196 | static int typeinit = 0; | |
25197 | PyObject *m, *d; | |
25198 | int i; | |
25199 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
25200 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
25201 | d = PyModule_GetDict(m); | |
25202 | ||
25203 | if (!typeinit) { | |
25204 | for (i = 0; swig_types_initial[i]; i++) { | |
25205 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
25206 | } | |
25207 | typeinit = 1; | |
25208 | } | |
25209 | SWIG_InstallConstants(d,swig_const_table); | |
25210 | ||
d03fd34d RD |
25211 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
25212 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
25213 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
25214 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
25215 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
2f4c0a16 RD |
25216 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
25217 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
25218 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
25219 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
25220 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
25221 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
25222 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
25223 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
25224 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
25225 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
25226 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
25227 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
d03fd34d | 25228 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
2f4c0a16 RD |
25229 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
25230 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
25231 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
25232 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
25233 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
25234 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
fe763115 | 25235 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
2f4c0a16 RD |
25236 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
25237 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
25238 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
25239 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
25240 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
25241 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
25242 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
25243 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
25244 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
25245 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
25246 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
d03fd34d RD |
25247 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
25248 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
2f4c0a16 RD |
25249 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
25250 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
25251 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
25252 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
25253 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
25254 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
25255 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
25256 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
25257 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
25258 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
25259 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
25260 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
25261 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
25262 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
25263 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 25264 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
2f4c0a16 RD |
25265 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
25266 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
25267 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
25268 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
25269 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
25270 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
25271 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
25272 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
25273 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
25274 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
25275 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
25276 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
25277 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
d03fd34d | 25278 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
25279 | |
25280 | // Map renamed classes back to their common name for OOR | |
25281 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
25282 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
25283 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
25284 | ||
25285 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
25286 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
25287 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
25288 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
25289 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
25290 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
25291 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
d03fd34d RD |
25292 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
25293 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
25294 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
25295 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
25296 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
25297 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
2f4c0a16 RD |
25298 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
25299 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
25300 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
25301 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
25302 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
25303 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
25304 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
25305 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
25306 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
25307 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
25308 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
25309 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
25310 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
2f4c0a16 RD |
25311 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
25312 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
25313 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
25314 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
25315 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
25316 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
25317 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
25318 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
d03fd34d RD |
25319 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
25320 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
2f4c0a16 RD |
25321 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
25322 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
25323 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
25324 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
25325 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
25326 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
25327 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
25328 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
25329 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
25330 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
25331 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
25332 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
25333 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
25334 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
25335 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
25336 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
25337 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
25338 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
25339 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
25340 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
25341 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
25342 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
25343 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
25344 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
25345 | |
25346 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
25347 | ||
25348 | } | |
25349 |