]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
2dbef272 | 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 | ||
0f774bef 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 |
0f774bef RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
0f774bef | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 89 | #else |
0f774bef | 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 { | |
0f774bef | 101 | const char *name; |
d14a1e28 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
0f774bef | 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 *); | |
0f774bef 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) | |
2dbef272 | 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 | |
0f774bef 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] | |
0ffb2aa6 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_wxPyPopupTransientWindow swig_types[54] | |
264 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] | |
265 | #define SWIGTYPE_p_wxSplitterWindow swig_types[56] | |
266 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[57] | |
267 | #define SWIGTYPE_p_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] | |
0ffb2aa6 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 | |
cbd72d4f 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 | ||
cbd72d4f 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 | } | |
32958cea 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 wxPopupWindow : public wxWindow { | |
532 | public: | |
cbd72d4f RD |
533 | wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } |
534 | wxPopupWindow() { wxPyRaiseNotImplemented(); } | |
d14a1e28 RD |
535 | }; |
536 | ||
537 | class wxPyPopupTransientWindow : public wxPopupWindow | |
538 | { | |
539 | public: | |
cbd72d4f RD |
540 | wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); } |
541 | wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); } | |
d14a1e28 RD |
542 | }; |
543 | ||
544 | ||
545 | #include <wx/tipwin.h> | |
546 | ||
100c4552 RD |
547 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
548 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
549 | } |
550 | ||
551 | #include <wx/tipwin.h> | |
552 | ||
553 | ||
554 | #include <wx/vscroll.h> | |
555 | ||
556 | ||
557 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
558 | { | |
559 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
560 | public: | |
561 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
562 | ||
563 | wxPyVScrolledWindow(wxWindow *parent, | |
564 | wxWindowID id = wxID_ANY, | |
565 | const wxPoint& pos = wxDefaultPosition, | |
566 | const wxSize& size = wxDefaultSize, | |
567 | long style = 0, | |
568 | const wxString& name = wxPyPanelNameStr) | |
569 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
570 | {} | |
571 | ||
572 | // Overridable virtuals | |
573 | ||
574 | // this function must be overridden in the derived class and it should | |
575 | // return the height of the given line in pixels | |
576 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
577 | ||
578 | ||
579 | // this function doesn't have to be overridden but it may be useful to do | |
580 | // it if calculating the lines heights is a relatively expensive operation | |
581 | // as it gives the user code a possibility to calculate several of them at | |
582 | // once | |
583 | // | |
584 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
585 | // shouldn't rely on the latter being called for all lines in the interval | |
586 | // specified here. It is also possible that OnGetLineHeight() will be | |
587 | // called for the lines outside of this interval, so this is really just a | |
588 | // hint, not a promise. | |
589 | // | |
590 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
591 | // usual | |
592 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
593 | ||
594 | ||
595 | // when the number of lines changes, we try to estimate the total height | |
596 | // of all lines which is a rather expensive operation in terms of lines | |
597 | // access, so if the user code may estimate the average height | |
598 | // better/faster than we do, it should override this function to implement | |
599 | // its own logic | |
600 | // | |
601 | // this function should return the best guess for the total height it may | |
602 | // make | |
603 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
604 | ||
605 | ||
606 | // Also expose some other interesting protected methods | |
607 | ||
608 | ||
609 | // find the index of the line we need to show at the top of the window such | |
610 | // that the last (fully or partially) visible line is the given one | |
423f194a | 611 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False) |
d14a1e28 RD |
612 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
613 | ||
614 | // get the total height of the lines between lineMin (inclusive) and | |
615 | // lineMax (exclusive) | |
616 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
617 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
618 | ||
619 | ||
620 | PYPRIVATE; | |
621 | }; | |
622 | ||
623 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
624 | ||
625 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
626 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
627 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
628 | ||
629 | ||
2f4c0a16 RD |
630 | SWIGSTATICINLINE(unsigned long) |
631 | SWIG_AsUnsignedLong(PyObject * obj) | |
8edf1c75 | 632 | { |
2f4c0a16 RD |
633 | if (PyLong_Check(obj)) { |
634 | return PyLong_AsUnsignedLong(obj); | |
635 | } else { | |
636 | long i = PyInt_AsLong(obj); | |
637 | if ( !PyErr_Occurred() && (i < 0)) { | |
638 | PyErr_SetString(PyExc_TypeError, "negative value for unsigned type"); | |
639 | } | |
640 | return i; | |
641 | } | |
642 | } | |
643 | ||
644 | ||
645 | SWIGSTATICINLINE(int) | |
646 | SWIG_CheckUnsignedLong(PyObject* obj) | |
647 | { | |
648 | SWIG_AsUnsignedLong(obj); | |
649 | if (PyErr_Occurred()) { | |
650 | PyErr_Clear(); | |
651 | return 0; | |
652 | } else { | |
653 | return 1; | |
654 | } | |
655 | } | |
656 | ||
657 | ||
658 | SWIGSTATICINLINE(PyObject* ) | |
659 | SWIG_FromUnsignedLong(unsigned long value) | |
660 | { | |
661 | return (value > LONG_MAX) ? | |
662 | PyLong_FromUnsignedLong(value) | |
663 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
8edf1c75 RD |
664 | } |
665 | ||
666 | ||
d14a1e28 | 667 | #include <wx/vlbox.h> |
d14a1e28 | 668 | |
cbd72d4f | 669 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
670 | |
671 | class wxPyVListBox : public wxVListBox | |
672 | { | |
673 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
674 | public: | |
675 | wxPyVListBox() : wxVListBox() {} | |
676 | ||
677 | wxPyVListBox(wxWindow *parent, | |
678 | wxWindowID id = wxID_ANY, | |
679 | const wxPoint& pos = wxDefaultPosition, | |
680 | const wxSize& size = wxDefaultSize, | |
681 | long style = 0, | |
682 | const wxString& name = wxPyVListBoxNameStr) | |
683 | : wxVListBox(parent, id, pos, size, style, name) | |
684 | {} | |
685 | ||
686 | // Overridable virtuals | |
687 | ||
688 | // the derived class must implement this function to actually draw the item | |
689 | // with the given index on the provided DC | |
690 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
691 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
692 | ||
693 | ||
694 | // the derived class must implement this method to return the height of the | |
695 | // specified item | |
696 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
697 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
698 | ||
699 | ||
700 | // this method may be used to draw separators between the lines; note that | |
701 | // the rectangle may be modified, typically to deflate it a bit before | |
702 | // passing to OnDrawItem() | |
703 | // | |
704 | // the base class version doesn't do anything | |
705 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
706 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
707 | ||
708 | ||
709 | // this method is used to draw the items background and, maybe, a border | |
710 | // around it | |
711 | // | |
712 | // the base class version implements a reasonable default behaviour which | |
713 | // consists in drawing the selected item with the standard background | |
714 | // colour and drawing a border around the item if it is either selected or | |
715 | // current | |
716 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
717 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
718 | ||
719 | ||
720 | PYPRIVATE; | |
721 | }; | |
722 | ||
723 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
724 | ||
725 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
726 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
727 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
728 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
729 | ||
730 | ||
731 | ||
732 | #include <wx/htmllbox.h> | |
733 | ||
734 | ||
735 | class wxPyHtmlListBox : public wxHtmlListBox | |
736 | { | |
737 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
738 | public: | |
739 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
740 | ||
741 | wxPyHtmlListBox(wxWindow *parent, | |
742 | wxWindowID id = wxID_ANY, | |
743 | const wxPoint& pos = wxDefaultPosition, | |
744 | const wxSize& size = wxDefaultSize, | |
745 | long style = 0, | |
746 | const wxString& name = wxPyVListBoxNameStr) | |
747 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
748 | {} | |
749 | ||
750 | // Overridable virtuals | |
751 | ||
752 | // this method must be implemented in the derived class and should return | |
753 | // the body (i.e. without <html>) of the HTML for the given item | |
754 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
755 | ||
756 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
757 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
758 | ||
759 | // TODO: | |
760 | // // this method allows to customize the selection appearance: it may be used | |
761 | // // to specify the colour of the text which normally has the given colour | |
762 | // // colFg when it is inside the selection | |
763 | // // | |
764 | // // by default, the original colour is not used at all and all text has the | |
765 | // // same (default for this system) colour inside selection | |
766 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
767 | ||
768 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
769 | // // background colour -- this is even more rarely used as you can change it | |
770 | // // globally using SetSelectionBackground() | |
771 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
772 | ||
773 | ||
774 | PYPRIVATE; | |
775 | }; | |
776 | ||
777 | ||
778 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
779 | ||
780 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
781 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
782 | ||
783 | ||
784 | ||
785 | ||
786 | ||
787 | #ifdef __WXMAC__ | |
788 | // implement dummy classes and such for wxMac | |
789 | ||
790 | class wxTaskBarIcon : public wxEvtHandler | |
791 | { | |
792 | public: | |
cbd72d4f | 793 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
794 | }; |
795 | ||
796 | ||
797 | class wxTaskBarIconEvent : public wxEvent | |
798 | { | |
799 | public: | |
800 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
cbd72d4f | 801 | { wxPyRaiseNotImplemented(); } |
d14a1e28 RD |
802 | virtual wxEvent* Clone() const { return NULL; } |
803 | }; | |
804 | ||
805 | enum { | |
806 | wxEVT_TASKBAR_MOVE = 0, | |
807 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
808 | wxEVT_TASKBAR_LEFT_UP = 0, | |
809 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
810 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
811 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
812 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
813 | }; | |
814 | #endif | |
815 | ||
cbd72d4f RD |
816 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
817 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
818 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
819 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
820 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
821 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
822 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
823 | wxArrayString arr; | |
824 | self->GetFilenames(arr); | |
825 | return wxArrayString2PyList_helper(arr); | |
826 | } | |
827 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
828 | wxArrayString arr; | |
829 | self->GetPaths(arr); | |
830 | return wxArrayString2PyList_helper(arr); | |
831 | } | |
832 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
833 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
834 | } | |
835 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
836 | return new wxSingleChoiceDialog(parent, message, caption, | |
837 | choices, choices_array, NULL, style, pos); | |
838 | } | |
839 | ||
840 | #include <wx/mdi.h> | |
841 | ||
842 | // C++ version of Python aware wxWindow | |
843 | class wxPyWindow : public wxWindow | |
844 | { | |
845 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
846 | public: | |
847 | wxPyWindow() : wxWindow() {} | |
848 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
849 | const wxPoint& pos = wxDefaultPosition, | |
850 | const wxSize& size = wxDefaultSize, | |
851 | long style = 0, | |
852 | const wxString& name = wxPyPanelNameStr) | |
853 | : wxWindow(parent, id, pos, size, style, name) {} | |
854 | ||
855 | ||
856 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
857 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
858 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
859 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
860 | ||
861 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
862 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
863 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
864 | ||
865 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
866 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
867 | ||
868 | DEC_PYCALLBACK__(InitDialog); | |
869 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
870 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
871 | DEC_PYCALLBACK_BOOL_(Validate); | |
872 | ||
873 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
874 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
875 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
876 | ||
877 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
878 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
879 | ||
ce7284bd RD |
880 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
881 | ||
d14a1e28 RD |
882 | PYPRIVATE; |
883 | }; | |
884 | ||
885 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
886 | ||
887 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
888 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
889 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
890 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
891 | ||
892 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
893 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
894 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
895 | ||
896 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
897 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
898 | ||
899 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
900 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
901 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
902 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
903 | ||
904 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
905 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
906 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
907 | ||
908 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
909 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
910 | ||
ce7284bd | 911 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, ShouldInheritColours); |
d14a1e28 RD |
912 | |
913 | // C++ version of Python aware wxPanel | |
914 | class wxPyPanel : public wxPanel | |
915 | { | |
916 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
917 | public: | |
918 | wxPyPanel() : wxPanel() {} | |
919 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
920 | const wxPoint& pos = wxDefaultPosition, | |
921 | const wxSize& size = wxDefaultSize, | |
922 | long style = 0, | |
923 | const wxString& name = wxPyPanelNameStr) | |
924 | : wxPanel(parent, id, pos, size, style, name) {} | |
925 | ||
926 | ||
927 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
928 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
929 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
930 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
931 | ||
932 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
933 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
934 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
935 | ||
936 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
937 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
938 | ||
939 | DEC_PYCALLBACK__(InitDialog); | |
940 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
941 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
942 | DEC_PYCALLBACK_BOOL_(Validate); | |
943 | ||
944 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
945 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
946 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
947 | ||
948 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
949 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
950 | ||
ce7284bd RD |
951 | DEC_PYCALLBACK_BOOL_(ShouldInheritColours); |
952 | ||
d14a1e28 RD |
953 | PYPRIVATE; |
954 | }; | |
955 | ||
956 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
957 | ||
958 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
959 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
960 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
961 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
962 | ||
963 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
964 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
965 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
966 | ||
967 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
968 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
969 | ||
970 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
971 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
972 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
973 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
974 | ||
975 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
976 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
977 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
978 | ||
979 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
980 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
981 | ||
ce7284bd | 982 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, ShouldInheritColours); |
d14a1e28 RD |
983 | |
984 | ||
985 | #include "wx/wxPython/printfw.h" | |
986 | ||
d14a1e28 | 987 | |
32958cea RD |
988 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
989 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
990 | |
991 | ||
992 | ||
993 | // Since this one would be tough and ugly to do with the Macros... | |
994 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
423f194a | 995 | bool hadErr = False; |
d14a1e28 RD |
996 | bool found; |
997 | ||
998 | wxPyBeginBlockThreads(); | |
999 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { | |
1000 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1001 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1002 | PyObject* val; | |
1003 | ||
1004 | val = PyTuple_GetItem(result, 0); | |
1005 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
423f194a | 1006 | else hadErr = True; |
d14a1e28 RD |
1007 | |
1008 | val = PyTuple_GetItem(result, 1); | |
1009 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
423f194a | 1010 | else hadErr = True; |
d14a1e28 RD |
1011 | |
1012 | val = PyTuple_GetItem(result, 2); | |
1013 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
423f194a | 1014 | else hadErr = True; |
d14a1e28 RD |
1015 | |
1016 | val = PyTuple_GetItem(result, 3); | |
1017 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
423f194a | 1018 | else hadErr = True; |
d14a1e28 RD |
1019 | } |
1020 | else | |
423f194a | 1021 | hadErr = True; |
d14a1e28 RD |
1022 | |
1023 | if (hadErr) { | |
1024 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1025 | PyErr_Print(); | |
1026 | } | |
1027 | Py_DECREF(result); | |
1028 | } | |
1029 | wxPyEndBlockThreads(); | |
1030 | if (! found) | |
1031 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1032 | } | |
1033 | ||
1034 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1035 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1036 | } | |
1037 | ||
1038 | ||
1039 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1040 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1041 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1042 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1043 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1044 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1045 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1046 | ||
1047 | ||
1048 | ||
1049 | ||
1050 | ||
1051 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ | |
1052 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
1053 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) | |
1054 | ||
1055 | ||
1056 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ | |
1057 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
423f194a | 1058 | bool rval=False; \ |
d14a1e28 RD |
1059 | bool found; \ |
1060 | wxPyBeginBlockThreads(); \ | |
1061 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
1062 | PyObject* win = wxPyMake_wxObject(a); \ | |
1063 | PyObject* dc = wxPyMake_wxObject(&b); \ | |
1064 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\ | |
1065 | Py_DECREF(win); \ | |
1066 | Py_DECREF(dc); \ | |
1067 | } \ | |
1068 | wxPyEndBlockThreads(); \ | |
1069 | if (! found) \ | |
1070 | rval = PCLASS::CBNAME(a, b); \ | |
1071 | return rval; \ | |
1072 | } \ | |
1073 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1074 | return PCLASS::CBNAME(a, b); \ | |
1075 | } | |
1076 | ||
1077 | ||
1078 | ||
1079 | ||
1080 | class wxPyPrintPreview : public wxPrintPreview | |
1081 | { | |
1082 | DECLARE_CLASS(wxPyPrintPreview) | |
1083 | public: | |
ce7284bd RD |
1084 | wxPyPrintPreview(wxPyPrintout* printout, |
1085 | wxPyPrintout* printoutForPrinting, | |
1086 | wxPrintDialogData* data=NULL) | |
1087 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1088 | {} | |
d14a1e28 RD |
1089 | wxPyPrintPreview(wxPyPrintout* printout, |
1090 | wxPyPrintout* printoutForPrinting, | |
1091 | wxPrintData* data=NULL) | |
1092 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1093 | {} | |
1094 | ||
1095 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1096 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1097 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1098 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1099 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1100 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1101 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1102 | ||
1103 | PYPRIVATE; | |
1104 | }; | |
1105 | ||
1106 | // Stupid renamed classes... Fix this in 2.5... | |
1107 | #if defined(__WXMSW__) | |
1108 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1109 | #elif defined(__WXMAC__) | |
1110 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1111 | #else | |
1112 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1113 | #endif | |
1114 | ||
1115 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1116 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1117 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1118 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1119 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1120 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1121 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1122 | ||
1123 | ||
1124 | class wxPyPreviewFrame : public wxPreviewFrame | |
1125 | { | |
1126 | DECLARE_CLASS(wxPyPreviewFrame); | |
1127 | public: | |
1128 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1129 | const wxString& title, | |
1130 | const wxPoint& pos = wxDefaultPosition, | |
1131 | const wxSize& size = wxDefaultSize, | |
1132 | long style = wxDEFAULT_FRAME_STYLE, | |
1133 | const wxString& name = wxPyFrameNameStr) | |
1134 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1135 | {} | |
1136 | ||
1137 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1138 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1139 | ||
1140 | DEC_PYCALLBACK_VOID_(Initialize); | |
1141 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1142 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1143 | ||
1144 | PYPRIVATE; | |
1145 | }; | |
1146 | ||
1147 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1148 | ||
1149 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1150 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1151 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1152 | ||
1153 | ||
1154 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1155 | { | |
1156 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1157 | public: | |
1158 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1159 | long buttons, | |
1160 | wxWindow *parent, | |
1161 | const wxPoint& pos = wxDefaultPosition, | |
1162 | const wxSize& size = wxDefaultSize, | |
1163 | long style = 0, | |
1164 | const wxString& name = wxPyPanelNameStr) | |
1165 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1166 | {} | |
1167 | ||
1168 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1169 | ||
1170 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1171 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1172 | ||
1173 | PYPRIVATE; | |
1174 | }; | |
1175 | ||
1176 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1177 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1178 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1179 | ||
1180 | #ifdef __cplusplus | |
1181 | extern "C" { | |
1182 | #endif | |
2f4c0a16 | 1183 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1184 | PyObject *resultobj; |
1185 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1186 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1187 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1188 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1189 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1190 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1191 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1192 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1193 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1194 | wxPanel *result; | |
1195 | wxPoint temp3 ; | |
1196 | wxSize temp4 ; | |
423f194a | 1197 | bool temp6 = False ; |
d14a1e28 | 1198 | PyObject * obj0 = 0 ; |
8edf1c75 | 1199 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1200 | PyObject * obj2 = 0 ; |
1201 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1202 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1203 | PyObject * obj5 = 0 ; |
1204 | char *kwnames[] = { | |
1205 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1206 | }; | |
1207 | ||
8edf1c75 | 1208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
1209 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1210 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1211 | if (obj1) { |
2f4c0a16 RD |
1212 | arg2 = (int const) SWIG_AsInt(obj1); |
1213 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1214 | } |
d14a1e28 RD |
1215 | if (obj2) { |
1216 | { | |
1217 | arg3 = &temp3; | |
1218 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1219 | } | |
1220 | } | |
1221 | if (obj3) { | |
1222 | { | |
1223 | arg4 = &temp4; | |
1224 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1225 | } | |
1226 | } | |
8edf1c75 | 1227 | if (obj4) { |
2f4c0a16 RD |
1228 | arg5 = (long) SWIG_AsLong(obj4); |
1229 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1230 | } |
d14a1e28 RD |
1231 | if (obj5) { |
1232 | { | |
1233 | arg6 = wxString_in_helper(obj5); | |
1234 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1235 | temp6 = True; |
d14a1e28 RD |
1236 | } |
1237 | } | |
1238 | { | |
1239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1240 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1241 | ||
1242 | wxPyEndAllowThreads(__tstate); | |
1243 | if (PyErr_Occurred()) SWIG_fail; | |
1244 | } | |
2f4c0a16 | 1245 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1246 | { |
1247 | if (temp6) | |
1248 | delete arg6; | |
1249 | } | |
1250 | return resultobj; | |
1251 | fail: | |
1252 | { | |
1253 | if (temp6) | |
1254 | delete arg6; | |
1255 | } | |
1256 | return NULL; | |
1257 | } | |
1258 | ||
1259 | ||
2f4c0a16 | 1260 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1261 | PyObject *resultobj; |
1262 | wxPanel *result; | |
1263 | char *kwnames[] = { | |
1264 | NULL | |
1265 | }; | |
1266 | ||
1267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1268 | { | |
1269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1270 | result = (wxPanel *)new wxPanel(); | |
1271 | ||
1272 | wxPyEndAllowThreads(__tstate); | |
1273 | if (PyErr_Occurred()) SWIG_fail; | |
1274 | } | |
2f4c0a16 | 1275 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1276 | return resultobj; |
1277 | fail: | |
1278 | return NULL; | |
1279 | } | |
1280 | ||
1281 | ||
2f4c0a16 | 1282 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1283 | PyObject *resultobj; |
1284 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1285 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1286 | int arg3 ; |
d14a1e28 RD |
1287 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1288 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1289 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1290 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1291 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1292 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1293 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1294 | bool result; | |
1295 | wxPoint temp4 ; | |
1296 | wxSize temp5 ; | |
423f194a | 1297 | bool temp7 = False ; |
d14a1e28 RD |
1298 | PyObject * obj0 = 0 ; |
1299 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1300 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1301 | PyObject * obj3 = 0 ; |
1302 | PyObject * obj4 = 0 ; | |
8edf1c75 | 1303 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1304 | PyObject * obj6 = 0 ; |
1305 | char *kwnames[] = { | |
1306 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1307 | }; | |
1308 | ||
8edf1c75 | 1309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
1310 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1311 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1312 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1313 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1314 | arg3 = (int const) SWIG_AsInt(obj2); | |
1315 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1316 | if (obj3) { |
1317 | { | |
1318 | arg4 = &temp4; | |
1319 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1320 | } | |
1321 | } | |
1322 | if (obj4) { | |
1323 | { | |
1324 | arg5 = &temp5; | |
1325 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1326 | } | |
1327 | } | |
8edf1c75 | 1328 | if (obj5) { |
2f4c0a16 RD |
1329 | arg6 = (long) SWIG_AsLong(obj5); |
1330 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1331 | } |
d14a1e28 RD |
1332 | if (obj6) { |
1333 | { | |
1334 | arg7 = wxString_in_helper(obj6); | |
1335 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1336 | temp7 = True; |
d14a1e28 RD |
1337 | } |
1338 | } | |
1339 | { | |
1340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1341 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1342 | ||
1343 | wxPyEndAllowThreads(__tstate); | |
1344 | if (PyErr_Occurred()) SWIG_fail; | |
1345 | } | |
02a34c4c | 1346 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1347 | { |
1348 | if (temp7) | |
1349 | delete arg7; | |
1350 | } | |
1351 | return resultobj; | |
1352 | fail: | |
1353 | { | |
1354 | if (temp7) | |
1355 | delete arg7; | |
1356 | } | |
1357 | return NULL; | |
1358 | } | |
1359 | ||
1360 | ||
2f4c0a16 | 1361 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1362 | PyObject *resultobj; |
1363 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1364 | PyObject * obj0 = 0 ; | |
1365 | char *kwnames[] = { | |
1366 | (char *) "self", NULL | |
1367 | }; | |
1368 | ||
1369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1372 | { |
1373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1374 | (arg1)->InitDialog(); | |
1375 | ||
1376 | wxPyEndAllowThreads(__tstate); | |
1377 | if (PyErr_Occurred()) SWIG_fail; | |
1378 | } | |
1379 | Py_INCREF(Py_None); resultobj = Py_None; | |
1380 | return resultobj; | |
1381 | fail: | |
1382 | return NULL; | |
1383 | } | |
1384 | ||
1385 | ||
2f4c0a16 | 1386 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1387 | PyObject *obj; |
1388 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1389 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1390 | Py_INCREF(obj); | |
1391 | return Py_BuildValue((char *)""); | |
1392 | } | |
2f4c0a16 | 1393 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1394 | PyObject *resultobj; |
1395 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 1396 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1397 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1398 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1399 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1400 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1401 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1402 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1403 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1404 | wxScrolledWindow *result; | |
1405 | wxPoint temp3 ; | |
1406 | wxSize temp4 ; | |
423f194a | 1407 | bool temp6 = False ; |
d14a1e28 | 1408 | PyObject * obj0 = 0 ; |
8edf1c75 | 1409 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1410 | PyObject * obj2 = 0 ; |
1411 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1412 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1413 | PyObject * obj5 = 0 ; |
1414 | char *kwnames[] = { | |
1415 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1416 | }; | |
1417 | ||
8edf1c75 | 1418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
1419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1421 | if (obj1) { |
2f4c0a16 RD |
1422 | arg2 = (int const) SWIG_AsInt(obj1); |
1423 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1424 | } |
d14a1e28 RD |
1425 | if (obj2) { |
1426 | { | |
1427 | arg3 = &temp3; | |
1428 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1429 | } | |
1430 | } | |
1431 | if (obj3) { | |
1432 | { | |
1433 | arg4 = &temp4; | |
1434 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1435 | } | |
1436 | } | |
8edf1c75 | 1437 | if (obj4) { |
2f4c0a16 RD |
1438 | arg5 = (long) SWIG_AsLong(obj4); |
1439 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1440 | } |
d14a1e28 RD |
1441 | if (obj5) { |
1442 | { | |
1443 | arg6 = wxString_in_helper(obj5); | |
1444 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 1445 | temp6 = True; |
d14a1e28 RD |
1446 | } |
1447 | } | |
1448 | { | |
1449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1450 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1451 | ||
1452 | wxPyEndAllowThreads(__tstate); | |
1453 | if (PyErr_Occurred()) SWIG_fail; | |
1454 | } | |
2f4c0a16 | 1455 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1456 | { |
1457 | if (temp6) | |
1458 | delete arg6; | |
1459 | } | |
1460 | return resultobj; | |
1461 | fail: | |
1462 | { | |
1463 | if (temp6) | |
1464 | delete arg6; | |
1465 | } | |
1466 | return NULL; | |
1467 | } | |
1468 | ||
1469 | ||
2f4c0a16 | 1470 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1471 | PyObject *resultobj; |
1472 | wxScrolledWindow *result; | |
1473 | char *kwnames[] = { | |
1474 | NULL | |
1475 | }; | |
1476 | ||
1477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1478 | { | |
1479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1480 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1481 | ||
1482 | wxPyEndAllowThreads(__tstate); | |
1483 | if (PyErr_Occurred()) SWIG_fail; | |
1484 | } | |
2f4c0a16 | 1485 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1486 | return resultobj; |
1487 | fail: | |
1488 | return NULL; | |
1489 | } | |
1490 | ||
1491 | ||
2f4c0a16 | 1492 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1493 | PyObject *resultobj; |
1494 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1495 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 1496 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1497 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1498 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1499 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1500 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1501 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1502 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1503 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1504 | bool result; | |
1505 | wxPoint temp4 ; | |
1506 | wxSize temp5 ; | |
423f194a | 1507 | bool temp7 = False ; |
d14a1e28 RD |
1508 | PyObject * obj0 = 0 ; |
1509 | PyObject * obj1 = 0 ; | |
8edf1c75 | 1510 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1511 | PyObject * obj3 = 0 ; |
1512 | PyObject * obj4 = 0 ; | |
8edf1c75 | 1513 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1514 | PyObject * obj6 = 0 ; |
1515 | char *kwnames[] = { | |
1516 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1517 | }; | |
1518 | ||
8edf1c75 | 1519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
1520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1522 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1524 | if (obj2) { |
2f4c0a16 RD |
1525 | arg3 = (int const) SWIG_AsInt(obj2); |
1526 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1527 | } |
d14a1e28 RD |
1528 | if (obj3) { |
1529 | { | |
1530 | arg4 = &temp4; | |
1531 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1532 | } | |
1533 | } | |
1534 | if (obj4) { | |
1535 | { | |
1536 | arg5 = &temp5; | |
1537 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1538 | } | |
1539 | } | |
8edf1c75 | 1540 | if (obj5) { |
2f4c0a16 RD |
1541 | arg6 = (long) SWIG_AsLong(obj5); |
1542 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1543 | } |
d14a1e28 RD |
1544 | if (obj6) { |
1545 | { | |
1546 | arg7 = wxString_in_helper(obj6); | |
1547 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 1548 | temp7 = True; |
d14a1e28 RD |
1549 | } |
1550 | } | |
1551 | { | |
1552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1553 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1554 | ||
1555 | wxPyEndAllowThreads(__tstate); | |
1556 | if (PyErr_Occurred()) SWIG_fail; | |
1557 | } | |
02a34c4c | 1558 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
1559 | { |
1560 | if (temp7) | |
1561 | delete arg7; | |
1562 | } | |
1563 | return resultobj; | |
1564 | fail: | |
1565 | { | |
1566 | if (temp7) | |
1567 | delete arg7; | |
1568 | } | |
1569 | return NULL; | |
1570 | } | |
1571 | ||
1572 | ||
2f4c0a16 | 1573 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1574 | PyObject *resultobj; |
1575 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1576 | int arg2 ; | |
1577 | int arg3 ; | |
1578 | int arg4 ; | |
1579 | int arg5 ; | |
1580 | int arg6 = (int) 0 ; | |
1581 | int arg7 = (int) 0 ; | |
423f194a | 1582 | bool arg8 = (bool) False ; |
d14a1e28 | 1583 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
1584 | PyObject * obj1 = 0 ; |
1585 | PyObject * obj2 = 0 ; | |
1586 | PyObject * obj3 = 0 ; | |
1587 | PyObject * obj4 = 0 ; | |
1588 | PyObject * obj5 = 0 ; | |
1589 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1590 | PyObject * obj7 = 0 ; |
1591 | char *kwnames[] = { | |
1592 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1593 | }; | |
1594 | ||
8edf1c75 | 1595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
1596 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1598 | arg2 = (int) SWIG_AsInt(obj1); | |
1599 | if (PyErr_Occurred()) SWIG_fail; | |
1600 | arg3 = (int) SWIG_AsInt(obj2); | |
1601 | if (PyErr_Occurred()) SWIG_fail; | |
1602 | arg4 = (int) SWIG_AsInt(obj3); | |
1603 | if (PyErr_Occurred()) SWIG_fail; | |
1604 | arg5 = (int) SWIG_AsInt(obj4); | |
1605 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1606 | if (obj5) { |
2f4c0a16 RD |
1607 | arg6 = (int) SWIG_AsInt(obj5); |
1608 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
1609 | } |
1610 | if (obj6) { | |
2f4c0a16 RD |
1611 | arg7 = (int) SWIG_AsInt(obj6); |
1612 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1613 | } |
d14a1e28 | 1614 | if (obj7) { |
2f4c0a16 RD |
1615 | arg8 = (bool) SWIG_AsBool(obj7); |
1616 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1617 | } |
1618 | { | |
1619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1620 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1621 | ||
1622 | wxPyEndAllowThreads(__tstate); | |
1623 | if (PyErr_Occurred()) SWIG_fail; | |
1624 | } | |
1625 | Py_INCREF(Py_None); resultobj = Py_None; | |
1626 | return resultobj; | |
1627 | fail: | |
1628 | return NULL; | |
1629 | } | |
1630 | ||
1631 | ||
2f4c0a16 | 1632 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1633 | PyObject *resultobj; |
1634 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1635 | int arg2 ; | |
1636 | int arg3 ; | |
1637 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1638 | PyObject * obj1 = 0 ; |
1639 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1640 | char *kwnames[] = { |
1641 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1642 | }; | |
1643 | ||
8edf1c75 | 1644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1647 | arg2 = (int) SWIG_AsInt(obj1); | |
1648 | if (PyErr_Occurred()) SWIG_fail; | |
1649 | arg3 = (int) SWIG_AsInt(obj2); | |
1650 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1651 | { |
1652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1653 | (arg1)->Scroll(arg2,arg3); | |
1654 | ||
1655 | wxPyEndAllowThreads(__tstate); | |
1656 | if (PyErr_Occurred()) SWIG_fail; | |
1657 | } | |
1658 | Py_INCREF(Py_None); resultobj = Py_None; | |
1659 | return resultobj; | |
1660 | fail: | |
1661 | return NULL; | |
1662 | } | |
1663 | ||
1664 | ||
2f4c0a16 | 1665 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1666 | PyObject *resultobj; |
1667 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1668 | int arg2 ; | |
1669 | int result; | |
1670 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1671 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1672 | char *kwnames[] = { |
1673 | (char *) "self",(char *) "orient", NULL | |
1674 | }; | |
1675 | ||
8edf1c75 | 1676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
1677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1679 | arg2 = (int) SWIG_AsInt(obj1); | |
1680 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1681 | { |
1682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1683 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
1684 | ||
1685 | wxPyEndAllowThreads(__tstate); | |
1686 | if (PyErr_Occurred()) SWIG_fail; | |
1687 | } | |
2f4c0a16 | 1688 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
1689 | return resultobj; |
1690 | fail: | |
1691 | return NULL; | |
1692 | } | |
1693 | ||
1694 | ||
2f4c0a16 | 1695 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1696 | PyObject *resultobj; |
1697 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1698 | int arg2 ; | |
1699 | int arg3 ; | |
1700 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1701 | PyObject * obj1 = 0 ; |
1702 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1703 | char *kwnames[] = { |
1704 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
1705 | }; | |
1706 | ||
8edf1c75 | 1707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1710 | arg2 = (int) SWIG_AsInt(obj1); | |
1711 | if (PyErr_Occurred()) SWIG_fail; | |
1712 | arg3 = (int) SWIG_AsInt(obj2); | |
1713 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1714 | { |
1715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1716 | (arg1)->SetScrollPageSize(arg2,arg3); | |
1717 | ||
1718 | wxPyEndAllowThreads(__tstate); | |
1719 | if (PyErr_Occurred()) SWIG_fail; | |
1720 | } | |
1721 | Py_INCREF(Py_None); resultobj = Py_None; | |
1722 | return resultobj; | |
1723 | fail: | |
1724 | return NULL; | |
1725 | } | |
1726 | ||
1727 | ||
2f4c0a16 | 1728 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1729 | PyObject *resultobj; |
1730 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1731 | int arg2 ; | |
1732 | int arg3 ; | |
1733 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1734 | PyObject * obj1 = 0 ; |
1735 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1736 | char *kwnames[] = { |
1737 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
1738 | }; | |
1739 | ||
8edf1c75 | 1740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1743 | arg2 = (int) SWIG_AsInt(obj1); | |
1744 | if (PyErr_Occurred()) SWIG_fail; | |
1745 | arg3 = (int) SWIG_AsInt(obj2); | |
1746 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1747 | { |
1748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1749 | (arg1)->SetScrollRate(arg2,arg3); | |
1750 | ||
1751 | wxPyEndAllowThreads(__tstate); | |
1752 | if (PyErr_Occurred()) SWIG_fail; | |
1753 | } | |
1754 | Py_INCREF(Py_None); resultobj = Py_None; | |
1755 | return resultobj; | |
1756 | fail: | |
1757 | return NULL; | |
1758 | } | |
1759 | ||
1760 | ||
2f4c0a16 | 1761 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1762 | PyObject *resultobj; |
1763 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1764 | int *arg2 = (int *) 0 ; | |
1765 | int *arg3 = (int *) 0 ; | |
1766 | int temp2 ; | |
1767 | int temp3 ; | |
1768 | PyObject * obj0 = 0 ; | |
1769 | char *kwnames[] = { | |
1770 | (char *) "self", NULL | |
1771 | }; | |
1772 | ||
1773 | arg2 = &temp2; | |
1774 | arg3 = &temp3; | |
1775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1778 | { |
1779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1780 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
1781 | ||
1782 | wxPyEndAllowThreads(__tstate); | |
1783 | if (PyErr_Occurred()) SWIG_fail; | |
1784 | } | |
1785 | Py_INCREF(Py_None); resultobj = Py_None; | |
1786 | { | |
1787 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1788 | resultobj = t_output_helper(resultobj,o); | |
1789 | } | |
1790 | { | |
1791 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1792 | resultobj = t_output_helper(resultobj,o); | |
1793 | } | |
1794 | return resultobj; | |
1795 | fail: | |
1796 | return NULL; | |
1797 | } | |
1798 | ||
1799 | ||
2f4c0a16 | 1800 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1801 | PyObject *resultobj; |
1802 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1803 | bool arg2 ; | |
1804 | bool arg3 ; | |
1805 | PyObject * obj0 = 0 ; | |
1806 | PyObject * obj1 = 0 ; | |
1807 | PyObject * obj2 = 0 ; | |
1808 | char *kwnames[] = { | |
1809 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
1810 | }; | |
1811 | ||
1812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
1813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1815 | arg2 = (bool) SWIG_AsBool(obj1); | |
1816 | if (PyErr_Occurred()) SWIG_fail; | |
1817 | arg3 = (bool) SWIG_AsBool(obj2); | |
1818 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1819 | { |
1820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1821 | (arg1)->EnableScrolling(arg2,arg3); | |
1822 | ||
1823 | wxPyEndAllowThreads(__tstate); | |
1824 | if (PyErr_Occurred()) SWIG_fail; | |
1825 | } | |
1826 | Py_INCREF(Py_None); resultobj = Py_None; | |
1827 | return resultobj; | |
1828 | fail: | |
1829 | return NULL; | |
1830 | } | |
1831 | ||
1832 | ||
2f4c0a16 | 1833 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1834 | PyObject *resultobj; |
1835 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1836 | int *arg2 = (int *) 0 ; | |
1837 | int *arg3 = (int *) 0 ; | |
1838 | int temp2 ; | |
1839 | int temp3 ; | |
1840 | PyObject * obj0 = 0 ; | |
1841 | char *kwnames[] = { | |
1842 | (char *) "self", NULL | |
1843 | }; | |
1844 | ||
1845 | arg2 = &temp2; | |
1846 | arg3 = &temp3; | |
1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1848 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1849 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1850 | { |
1851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1852 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
1853 | ||
1854 | wxPyEndAllowThreads(__tstate); | |
1855 | if (PyErr_Occurred()) SWIG_fail; | |
1856 | } | |
1857 | Py_INCREF(Py_None); resultobj = Py_None; | |
1858 | { | |
1859 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1860 | resultobj = t_output_helper(resultobj,o); | |
1861 | } | |
1862 | { | |
1863 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
1864 | resultobj = t_output_helper(resultobj,o); | |
1865 | } | |
1866 | return resultobj; | |
1867 | fail: | |
1868 | return NULL; | |
1869 | } | |
1870 | ||
1871 | ||
2f4c0a16 | 1872 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1873 | PyObject *resultobj; |
1874 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1875 | double arg2 ; | |
1876 | double arg3 ; | |
1877 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1878 | PyObject * obj1 = 0 ; |
1879 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
1880 | char *kwnames[] = { |
1881 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
1882 | }; | |
1883 | ||
8edf1c75 | 1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1887 | arg2 = (double) SWIG_AsDouble(obj1); | |
1888 | if (PyErr_Occurred()) SWIG_fail; | |
1889 | arg3 = (double) SWIG_AsDouble(obj2); | |
1890 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
1891 | { |
1892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1893 | (arg1)->SetScale(arg2,arg3); | |
1894 | ||
1895 | wxPyEndAllowThreads(__tstate); | |
1896 | if (PyErr_Occurred()) SWIG_fail; | |
1897 | } | |
1898 | Py_INCREF(Py_None); resultobj = Py_None; | |
1899 | return resultobj; | |
1900 | fail: | |
1901 | return NULL; | |
1902 | } | |
1903 | ||
1904 | ||
2f4c0a16 | 1905 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1906 | PyObject *resultobj; |
1907 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1908 | double result; | |
1909 | PyObject * obj0 = 0 ; | |
1910 | char *kwnames[] = { | |
1911 | (char *) "self", NULL | |
1912 | }; | |
1913 | ||
1914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1917 | { |
1918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1919 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
1920 | ||
1921 | wxPyEndAllowThreads(__tstate); | |
1922 | if (PyErr_Occurred()) SWIG_fail; | |
1923 | } | |
2f4c0a16 | 1924 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1925 | return resultobj; |
1926 | fail: | |
1927 | return NULL; | |
1928 | } | |
1929 | ||
1930 | ||
2f4c0a16 | 1931 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1932 | PyObject *resultobj; |
1933 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1934 | double result; | |
1935 | PyObject * obj0 = 0 ; | |
1936 | char *kwnames[] = { | |
1937 | (char *) "self", NULL | |
1938 | }; | |
1939 | ||
1940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1941 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1942 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1943 | { |
1944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1945 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
1946 | ||
1947 | wxPyEndAllowThreads(__tstate); | |
1948 | if (PyErr_Occurred()) SWIG_fail; | |
1949 | } | |
2f4c0a16 | 1950 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
1951 | return resultobj; |
1952 | fail: | |
1953 | return NULL; | |
1954 | } | |
1955 | ||
1956 | ||
2f4c0a16 | 1957 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
1958 | PyObject *resultobj; |
1959 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1960 | wxPoint *arg2 = 0 ; |
1961 | wxPoint result; | |
1962 | wxPoint temp2 ; | |
d14a1e28 | 1963 | PyObject * obj0 = 0 ; |
44127b65 | 1964 | PyObject * obj1 = 0 ; |
d14a1e28 | 1965 | |
44127b65 | 1966 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
1967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1969 | { |
1970 | arg2 = &temp2; | |
1971 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
1972 | } | |
d14a1e28 RD |
1973 | { |
1974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 1975 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
1976 | |
1977 | wxPyEndAllowThreads(__tstate); | |
1978 | if (PyErr_Occurred()) SWIG_fail; | |
1979 | } | |
d14a1e28 | 1980 | { |
44127b65 RD |
1981 | wxPoint * resultptr; |
1982 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 1983 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
1984 | } |
1985 | return resultobj; | |
1986 | fail: | |
1987 | return NULL; | |
1988 | } | |
1989 | ||
1990 | ||
2f4c0a16 | 1991 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
1992 | PyObject *resultobj; |
1993 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
1994 | int arg2 ; |
1995 | int arg3 ; | |
1996 | int *arg4 = (int *) 0 ; | |
1997 | int *arg5 = (int *) 0 ; | |
1998 | int temp4 ; | |
1999 | int temp5 ; | |
d14a1e28 | 2000 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
2001 | PyObject * obj1 = 0 ; |
2002 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2003 | |
44127b65 RD |
2004 | arg4 = &temp4; |
2005 | arg5 = &temp5; | |
8edf1c75 | 2006 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
2007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2009 | arg2 = (int) SWIG_AsInt(obj1); | |
2010 | if (PyErr_Occurred()) SWIG_fail; | |
2011 | arg3 = (int) SWIG_AsInt(obj2); | |
2012 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2013 | { |
2014 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2015 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2016 | |
2017 | wxPyEndAllowThreads(__tstate); | |
2018 | if (PyErr_Occurred()) SWIG_fail; | |
2019 | } | |
44127b65 | 2020 | Py_INCREF(Py_None); resultobj = Py_None; |
d14a1e28 | 2021 | { |
44127b65 RD |
2022 | PyObject *o = PyInt_FromLong((long) (*arg4)); |
2023 | resultobj = t_output_helper(resultobj,o); | |
2024 | } | |
2025 | { | |
2026 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
2027 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2028 | } |
2029 | return resultobj; | |
2030 | fail: | |
2031 | return NULL; | |
2032 | } | |
2033 | ||
2034 | ||
2035 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2036 | int argc; | |
2037 | PyObject *argv[4]; | |
2038 | int ii; | |
2039 | ||
2040 | argc = PyObject_Length(args); | |
2041 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2042 | argv[ii] = PyTuple_GetItem(args,ii); | |
2043 | } | |
2044 | if (argc == 2) { | |
2045 | int _v; | |
2046 | { | |
2047 | void *ptr; | |
2f4c0a16 | 2048 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2049 | _v = 0; |
2050 | PyErr_Clear(); | |
2051 | } else { | |
2052 | _v = 1; | |
2053 | } | |
2054 | } | |
2055 | if (_v) { | |
2056 | { | |
2057 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2058 | } | |
2059 | if (_v) { | |
44127b65 | 2060 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2061 | } |
2062 | } | |
2063 | } | |
2064 | if (argc == 3) { | |
2065 | int _v; | |
2066 | { | |
2067 | void *ptr; | |
2f4c0a16 | 2068 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2069 | _v = 0; |
2070 | PyErr_Clear(); | |
2071 | } else { | |
2072 | _v = 1; | |
2073 | } | |
2074 | } | |
2075 | if (_v) { | |
2f4c0a16 | 2076 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2077 | if (_v) { |
2f4c0a16 | 2078 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2079 | if (_v) { |
44127b65 | 2080 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2081 | } |
2082 | } | |
2083 | } | |
2084 | } | |
2085 | ||
2086 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2087 | return NULL; | |
2088 | } | |
2089 | ||
2090 | ||
2f4c0a16 | 2091 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
2092 | PyObject *resultobj; |
2093 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
2094 | wxPoint *arg2 = 0 ; |
2095 | wxPoint result; | |
2096 | wxPoint temp2 ; | |
d14a1e28 | 2097 | PyObject * obj0 = 0 ; |
44127b65 | 2098 | PyObject * obj1 = 0 ; |
d14a1e28 | 2099 | |
44127b65 | 2100 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2103 | { |
2104 | arg2 = &temp2; | |
2105 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2106 | } | |
d14a1e28 RD |
2107 | { |
2108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2109 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2110 | |
2111 | wxPyEndAllowThreads(__tstate); | |
2112 | if (PyErr_Occurred()) SWIG_fail; | |
2113 | } | |
d14a1e28 | 2114 | { |
44127b65 RD |
2115 | wxPoint * resultptr; |
2116 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 2117 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2118 | } |
2119 | return resultobj; | |
2120 | fail: | |
2121 | return NULL; | |
2122 | } | |
2123 | ||
2124 | ||
2f4c0a16 | 2125 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
2126 | PyObject *resultobj; |
2127 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
44127b65 RD |
2128 | int arg2 ; |
2129 | int arg3 ; | |
2130 | int *arg4 = (int *) 0 ; | |
2131 | int *arg5 = (int *) 0 ; | |
2132 | int temp4 ; | |
2133 | int temp5 ; | |
d14a1e28 | 2134 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
2135 | PyObject * obj1 = 0 ; |
2136 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2137 | |
44127b65 RD |
2138 | arg4 = &temp4; |
2139 | arg5 = &temp5; | |
8edf1c75 | 2140 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
2141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2143 | arg2 = (int) SWIG_AsInt(obj1); | |
2144 | if (PyErr_Occurred()) SWIG_fail; | |
2145 | arg3 = (int) SWIG_AsInt(obj2); | |
2146 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2147 | { |
2148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 2149 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2150 | |
2151 | wxPyEndAllowThreads(__tstate); | |
2152 | if (PyErr_Occurred()) SWIG_fail; | |
2153 | } | |
44127b65 RD |
2154 | Py_INCREF(Py_None); resultobj = Py_None; |
2155 | { | |
2156 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
2157 | resultobj = t_output_helper(resultobj,o); | |
2158 | } | |
d14a1e28 | 2159 | { |
44127b65 RD |
2160 | PyObject *o = PyInt_FromLong((long) (*arg5)); |
2161 | resultobj = t_output_helper(resultobj,o); | |
d14a1e28 RD |
2162 | } |
2163 | return resultobj; | |
2164 | fail: | |
2165 | return NULL; | |
2166 | } | |
2167 | ||
2168 | ||
2169 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2170 | int argc; | |
2171 | PyObject *argv[4]; | |
2172 | int ii; | |
2173 | ||
2174 | argc = PyObject_Length(args); | |
2175 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2176 | argv[ii] = PyTuple_GetItem(args,ii); | |
2177 | } | |
2178 | if (argc == 2) { | |
2179 | int _v; | |
2180 | { | |
2181 | void *ptr; | |
2f4c0a16 | 2182 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2183 | _v = 0; |
2184 | PyErr_Clear(); | |
2185 | } else { | |
2186 | _v = 1; | |
2187 | } | |
2188 | } | |
2189 | if (_v) { | |
2190 | { | |
2191 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2192 | } | |
2193 | if (_v) { | |
44127b65 | 2194 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2195 | } |
2196 | } | |
2197 | } | |
2198 | if (argc == 3) { | |
2199 | int _v; | |
2200 | { | |
2201 | void *ptr; | |
2f4c0a16 | 2202 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2203 | _v = 0; |
2204 | PyErr_Clear(); | |
2205 | } else { | |
2206 | _v = 1; | |
2207 | } | |
2208 | } | |
2209 | if (_v) { | |
2f4c0a16 | 2210 | _v = SWIG_CheckInt(argv[1]); |
d14a1e28 | 2211 | if (_v) { |
2f4c0a16 | 2212 | _v = SWIG_CheckInt(argv[2]); |
d14a1e28 | 2213 | if (_v) { |
44127b65 | 2214 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2215 | } |
2216 | } | |
2217 | } | |
2218 | } | |
2219 | ||
2220 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2221 | return NULL; | |
2222 | } | |
2223 | ||
2224 | ||
2f4c0a16 | 2225 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2226 | PyObject *resultobj; |
2227 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2228 | PyObject * obj0 = 0 ; | |
2229 | char *kwnames[] = { | |
2230 | (char *) "self", NULL | |
2231 | }; | |
2232 | ||
2233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2236 | { |
2237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2238 | (arg1)->AdjustScrollbars(); | |
2239 | ||
2240 | wxPyEndAllowThreads(__tstate); | |
2241 | if (PyErr_Occurred()) SWIG_fail; | |
2242 | } | |
2243 | Py_INCREF(Py_None); resultobj = Py_None; | |
2244 | return resultobj; | |
2245 | fail: | |
2246 | return NULL; | |
2247 | } | |
2248 | ||
2249 | ||
2f4c0a16 | 2250 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2251 | PyObject *resultobj; |
2252 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2253 | wxScrollWinEvent *arg2 = 0 ; | |
2254 | int result; | |
2255 | PyObject * obj0 = 0 ; | |
2256 | PyObject * obj1 = 0 ; | |
2257 | char *kwnames[] = { | |
2258 | (char *) "self",(char *) "event", NULL | |
2259 | }; | |
2260 | ||
2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2264 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2265 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2266 | SWIG_fail; | |
d14a1e28 | 2267 | if (arg2 == NULL) { |
2f4c0a16 RD |
2268 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2269 | SWIG_fail; | |
d14a1e28 RD |
2270 | } |
2271 | { | |
2272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2273 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2274 | ||
2275 | wxPyEndAllowThreads(__tstate); | |
2276 | if (PyErr_Occurred()) SWIG_fail; | |
2277 | } | |
2f4c0a16 | 2278 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
2279 | return resultobj; |
2280 | fail: | |
2281 | return NULL; | |
2282 | } | |
2283 | ||
2284 | ||
2f4c0a16 | 2285 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2286 | PyObject *resultobj; |
2287 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2288 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2289 | PyObject * obj0 = 0 ; | |
2290 | PyObject * obj1 = 0 ; | |
2291 | char *kwnames[] = { | |
2292 | (char *) "self",(char *) "target", NULL | |
2293 | }; | |
2294 | ||
2295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2298 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2300 | { |
2301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2302 | (arg1)->SetTargetWindow(arg2); | |
2303 | ||
2304 | wxPyEndAllowThreads(__tstate); | |
2305 | if (PyErr_Occurred()) SWIG_fail; | |
2306 | } | |
2307 | Py_INCREF(Py_None); resultobj = Py_None; | |
2308 | return resultobj; | |
2309 | fail: | |
2310 | return NULL; | |
2311 | } | |
2312 | ||
2313 | ||
2f4c0a16 | 2314 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2315 | PyObject *resultobj; |
2316 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2317 | wxWindow *result; | |
2318 | PyObject * obj0 = 0 ; | |
2319 | char *kwnames[] = { | |
2320 | (char *) "self", NULL | |
2321 | }; | |
2322 | ||
2323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2324 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2325 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2326 | { |
2327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2328 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2329 | ||
2330 | wxPyEndAllowThreads(__tstate); | |
2331 | if (PyErr_Occurred()) SWIG_fail; | |
2332 | } | |
2333 | { | |
2334 | resultobj = wxPyMake_wxObject(result); | |
2335 | } | |
2336 | return resultobj; | |
2337 | fail: | |
2338 | return NULL; | |
2339 | } | |
2340 | ||
2341 | ||
2f4c0a16 | 2342 | static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2343 | PyObject *resultobj; |
2344 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2345 | wxRect *arg2 = 0 ; | |
2346 | wxRect temp2 ; | |
2347 | PyObject * obj0 = 0 ; | |
2348 | PyObject * obj1 = 0 ; | |
2349 | char *kwnames[] = { | |
2350 | (char *) "self",(char *) "rect", NULL | |
2351 | }; | |
2352 | ||
2353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2356 | { |
2357 | arg2 = &temp2; | |
2358 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
2359 | } | |
2360 | { | |
2361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2362 | (arg1)->SetTargetRect((wxRect const &)*arg2); | |
2363 | ||
2364 | wxPyEndAllowThreads(__tstate); | |
2365 | if (PyErr_Occurred()) SWIG_fail; | |
2366 | } | |
2367 | Py_INCREF(Py_None); resultobj = Py_None; | |
2368 | return resultobj; | |
2369 | fail: | |
2370 | return NULL; | |
2371 | } | |
2372 | ||
2373 | ||
2f4c0a16 | 2374 | static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2375 | PyObject *resultobj; |
2376 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2377 | wxRect result; | |
2378 | PyObject * obj0 = 0 ; | |
2379 | char *kwnames[] = { | |
2380 | (char *) "self", NULL | |
2381 | }; | |
2382 | ||
2383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2386 | { |
2387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2388 | result = ((wxScrolledWindow const *)arg1)->GetTargetRect(); | |
2389 | ||
2390 | wxPyEndAllowThreads(__tstate); | |
2391 | if (PyErr_Occurred()) SWIG_fail; | |
2392 | } | |
2393 | { | |
2394 | wxRect * resultptr; | |
2395 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 2396 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
2397 | } |
2398 | return resultobj; | |
2399 | fail: | |
2400 | return NULL; | |
2401 | } | |
2402 | ||
2403 | ||
2f4c0a16 | 2404 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2405 | PyObject *obj; |
2406 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2407 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2408 | Py_INCREF(obj); | |
2409 | return Py_BuildValue((char *)""); | |
2410 | } | |
8edf1c75 | 2411 | static int _wrap_FrameNameStr_set(PyObject *) { |
cbd72d4f RD |
2412 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2413 | return 1; | |
2414 | } | |
2415 | ||
2416 | ||
2417 | static PyObject *_wrap_FrameNameStr_get() { | |
2418 | PyObject *pyobj; | |
2419 | ||
2420 | { | |
2421 | #if wxUSE_UNICODE | |
2422 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2423 | #else | |
2424 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2425 | #endif | |
2426 | } | |
2427 | return pyobj; | |
2428 | } | |
2429 | ||
2430 | ||
8edf1c75 | 2431 | static int _wrap_DialogNameStr_set(PyObject *) { |
cbd72d4f RD |
2432 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2433 | return 1; | |
2434 | } | |
2435 | ||
2436 | ||
2437 | static PyObject *_wrap_DialogNameStr_get() { | |
2438 | PyObject *pyobj; | |
2439 | ||
2440 | { | |
2441 | #if wxUSE_UNICODE | |
2442 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2443 | #else | |
2444 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2445 | #endif | |
2446 | } | |
2447 | return pyobj; | |
2448 | } | |
2449 | ||
2450 | ||
8edf1c75 | 2451 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
cbd72d4f RD |
2452 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2453 | return 1; | |
2454 | } | |
2455 | ||
2456 | ||
2457 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2458 | PyObject *pyobj; | |
2459 | ||
2460 | { | |
2461 | #if wxUSE_UNICODE | |
2462 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2463 | #else | |
2464 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2465 | #endif | |
2466 | } | |
2467 | return pyobj; | |
2468 | } | |
2469 | ||
2470 | ||
8edf1c75 | 2471 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
cbd72d4f RD |
2472 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2473 | return 1; | |
2474 | } | |
2475 | ||
2476 | ||
2477 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2478 | PyObject *pyobj; | |
2479 | ||
2480 | { | |
2481 | #if wxUSE_UNICODE | |
2482 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2483 | #else | |
2484 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2485 | #endif | |
2486 | } | |
2487 | return pyobj; | |
2488 | } | |
2489 | ||
2490 | ||
2f4c0a16 | 2491 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2492 | PyObject *resultobj; |
2493 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2494 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2495 | PyObject * obj0 = 0 ; |
2496 | PyObject * obj1 = 0 ; | |
2497 | char *kwnames[] = { | |
2498 | (char *) "self",(char *) "maximize", NULL | |
2499 | }; | |
2500 | ||
2501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2504 | if (obj1) { |
2f4c0a16 RD |
2505 | arg2 = (bool) SWIG_AsBool(obj1); |
2506 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2507 | } |
2508 | { | |
2509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2510 | (arg1)->Maximize(arg2); | |
2511 | ||
2512 | wxPyEndAllowThreads(__tstate); | |
2513 | if (PyErr_Occurred()) SWIG_fail; | |
2514 | } | |
2515 | Py_INCREF(Py_None); resultobj = Py_None; | |
2516 | return resultobj; | |
2517 | fail: | |
2518 | return NULL; | |
2519 | } | |
2520 | ||
2521 | ||
2f4c0a16 | 2522 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2523 | PyObject *resultobj; |
2524 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2525 | PyObject * obj0 = 0 ; | |
2526 | char *kwnames[] = { | |
2527 | (char *) "self", NULL | |
2528 | }; | |
2529 | ||
2530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2533 | { |
2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2535 | (arg1)->Restore(); | |
2536 | ||
2537 | wxPyEndAllowThreads(__tstate); | |
2538 | if (PyErr_Occurred()) SWIG_fail; | |
2539 | } | |
2540 | Py_INCREF(Py_None); resultobj = Py_None; | |
2541 | return resultobj; | |
2542 | fail: | |
2543 | return NULL; | |
2544 | } | |
2545 | ||
2546 | ||
2f4c0a16 | 2547 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2548 | PyObject *resultobj; |
2549 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
423f194a | 2550 | bool arg2 = (bool) True ; |
d14a1e28 RD |
2551 | PyObject * obj0 = 0 ; |
2552 | PyObject * obj1 = 0 ; | |
2553 | char *kwnames[] = { | |
2554 | (char *) "self",(char *) "iconize", NULL | |
2555 | }; | |
2556 | ||
2557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2560 | if (obj1) { |
2f4c0a16 RD |
2561 | arg2 = (bool) SWIG_AsBool(obj1); |
2562 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2563 | } |
2564 | { | |
2565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2566 | (arg1)->Iconize(arg2); | |
2567 | ||
2568 | wxPyEndAllowThreads(__tstate); | |
2569 | if (PyErr_Occurred()) SWIG_fail; | |
2570 | } | |
2571 | Py_INCREF(Py_None); resultobj = Py_None; | |
2572 | return resultobj; | |
2573 | fail: | |
2574 | return NULL; | |
2575 | } | |
2576 | ||
2577 | ||
2f4c0a16 | 2578 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2579 | PyObject *resultobj; |
2580 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2581 | bool result; | |
2582 | PyObject * obj0 = 0 ; | |
2583 | char *kwnames[] = { | |
2584 | (char *) "self", NULL | |
2585 | }; | |
2586 | ||
2587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2590 | { |
2591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2592 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2593 | ||
2594 | wxPyEndAllowThreads(__tstate); | |
2595 | if (PyErr_Occurred()) SWIG_fail; | |
2596 | } | |
02a34c4c | 2597 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2598 | return resultobj; |
2599 | fail: | |
2600 | return NULL; | |
2601 | } | |
2602 | ||
2603 | ||
2f4c0a16 | 2604 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2605 | PyObject *resultobj; |
2606 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2607 | bool result; | |
2608 | PyObject * obj0 = 0 ; | |
2609 | char *kwnames[] = { | |
2610 | (char *) "self", NULL | |
2611 | }; | |
2612 | ||
2613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2616 | { |
2617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2618 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2619 | ||
2620 | wxPyEndAllowThreads(__tstate); | |
2621 | if (PyErr_Occurred()) SWIG_fail; | |
2622 | } | |
02a34c4c | 2623 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2624 | return resultobj; |
2625 | fail: | |
2626 | return NULL; | |
2627 | } | |
2628 | ||
2629 | ||
2f4c0a16 | 2630 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2631 | PyObject *resultobj; |
2632 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2633 | wxIcon result; | |
2634 | PyObject * obj0 = 0 ; | |
2635 | char *kwnames[] = { | |
2636 | (char *) "self", NULL | |
2637 | }; | |
2638 | ||
2639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2642 | { |
2643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2644 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
2645 | ||
2646 | wxPyEndAllowThreads(__tstate); | |
2647 | if (PyErr_Occurred()) SWIG_fail; | |
2648 | } | |
2649 | { | |
2650 | wxIcon * resultptr; | |
2651 | resultptr = new wxIcon((wxIcon &) result); | |
2f4c0a16 | 2652 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
2653 | } |
2654 | return resultobj; | |
2655 | fail: | |
2656 | return NULL; | |
2657 | } | |
2658 | ||
2659 | ||
2f4c0a16 | 2660 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2661 | PyObject *resultobj; |
2662 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2663 | wxIcon *arg2 = 0 ; | |
2664 | PyObject * obj0 = 0 ; | |
2665 | PyObject * obj1 = 0 ; | |
2666 | char *kwnames[] = { | |
2667 | (char *) "self",(char *) "icon", NULL | |
2668 | }; | |
2669 | ||
2670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2673 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
2674 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2675 | SWIG_fail; | |
d14a1e28 | 2676 | if (arg2 == NULL) { |
2f4c0a16 RD |
2677 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2678 | SWIG_fail; | |
d14a1e28 RD |
2679 | } |
2680 | { | |
2681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2682 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
2683 | ||
2684 | wxPyEndAllowThreads(__tstate); | |
2685 | if (PyErr_Occurred()) SWIG_fail; | |
2686 | } | |
2687 | Py_INCREF(Py_None); resultobj = Py_None; | |
2688 | return resultobj; | |
2689 | fail: | |
2690 | return NULL; | |
2691 | } | |
2692 | ||
2693 | ||
2f4c0a16 | 2694 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2695 | PyObject *resultobj; |
2696 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2697 | wxIconBundle *arg2 = 0 ; | |
2698 | PyObject * obj0 = 0 ; | |
2699 | PyObject * obj1 = 0 ; | |
2700 | char *kwnames[] = { | |
2701 | (char *) "self",(char *) "icons", NULL | |
2702 | }; | |
2703 | ||
2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2707 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
2708 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2709 | SWIG_fail; | |
d14a1e28 | 2710 | if (arg2 == NULL) { |
2f4c0a16 RD |
2711 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2712 | SWIG_fail; | |
d14a1e28 RD |
2713 | } |
2714 | { | |
2715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2716 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
2717 | ||
2718 | wxPyEndAllowThreads(__tstate); | |
2719 | if (PyErr_Occurred()) SWIG_fail; | |
2720 | } | |
2721 | Py_INCREF(Py_None); resultobj = Py_None; | |
2722 | return resultobj; | |
2723 | fail: | |
2724 | return NULL; | |
2725 | } | |
2726 | ||
2727 | ||
2f4c0a16 | 2728 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2729 | PyObject *resultobj; |
2730 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2731 | bool arg2 ; | |
2732 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
2733 | bool result; | |
2734 | PyObject * obj0 = 0 ; | |
2735 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2736 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
2737 | char *kwnames[] = { |
2738 | (char *) "self",(char *) "show",(char *) "style", NULL | |
2739 | }; | |
2740 | ||
8edf1c75 | 2741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
2742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2744 | arg2 = (bool) SWIG_AsBool(obj1); | |
2745 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2746 | if (obj2) { |
2f4c0a16 RD |
2747 | arg3 = (long) SWIG_AsLong(obj2); |
2748 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2749 | } |
d14a1e28 RD |
2750 | { |
2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2752 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
2753 | ||
2754 | wxPyEndAllowThreads(__tstate); | |
2755 | if (PyErr_Occurred()) SWIG_fail; | |
2756 | } | |
02a34c4c | 2757 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2758 | return resultobj; |
2759 | fail: | |
2760 | return NULL; | |
2761 | } | |
2762 | ||
2763 | ||
2f4c0a16 | 2764 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2765 | PyObject *resultobj; |
2766 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2767 | bool result; | |
2768 | PyObject * obj0 = 0 ; | |
2769 | char *kwnames[] = { | |
2770 | (char *) "self", NULL | |
2771 | }; | |
2772 | ||
2773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2776 | { |
2777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2778 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
2779 | ||
2780 | wxPyEndAllowThreads(__tstate); | |
2781 | if (PyErr_Occurred()) SWIG_fail; | |
2782 | } | |
02a34c4c | 2783 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2784 | return resultobj; |
2785 | fail: | |
2786 | return NULL; | |
2787 | } | |
2788 | ||
2789 | ||
2f4c0a16 | 2790 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2791 | PyObject *resultobj; |
2792 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2793 | wxString *arg2 = 0 ; | |
423f194a | 2794 | bool temp2 = False ; |
d14a1e28 RD |
2795 | PyObject * obj0 = 0 ; |
2796 | PyObject * obj1 = 0 ; | |
2797 | char *kwnames[] = { | |
2798 | (char *) "self",(char *) "title", NULL | |
2799 | }; | |
2800 | ||
2801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2804 | { |
2805 | arg2 = wxString_in_helper(obj1); | |
2806 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 2807 | temp2 = True; |
d14a1e28 RD |
2808 | } |
2809 | { | |
2810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2811 | (arg1)->SetTitle((wxString const &)*arg2); | |
2812 | ||
2813 | wxPyEndAllowThreads(__tstate); | |
2814 | if (PyErr_Occurred()) SWIG_fail; | |
2815 | } | |
2816 | Py_INCREF(Py_None); resultobj = Py_None; | |
2817 | { | |
2818 | if (temp2) | |
2819 | delete arg2; | |
2820 | } | |
2821 | return resultobj; | |
2822 | fail: | |
2823 | { | |
2824 | if (temp2) | |
2825 | delete arg2; | |
2826 | } | |
2827 | return NULL; | |
2828 | } | |
2829 | ||
2830 | ||
2f4c0a16 | 2831 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2832 | PyObject *resultobj; |
2833 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2834 | wxString result; | |
2835 | PyObject * obj0 = 0 ; | |
2836 | char *kwnames[] = { | |
2837 | (char *) "self", NULL | |
2838 | }; | |
2839 | ||
2840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2843 | { |
2844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2845 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
2846 | ||
2847 | wxPyEndAllowThreads(__tstate); | |
2848 | if (PyErr_Occurred()) SWIG_fail; | |
2849 | } | |
2850 | { | |
2851 | #if wxUSE_UNICODE | |
2852 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2853 | #else | |
2854 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2855 | #endif | |
2856 | } | |
2857 | return resultobj; | |
2858 | fail: | |
2859 | return NULL; | |
2860 | } | |
2861 | ||
2862 | ||
2f4c0a16 | 2863 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2864 | PyObject *resultobj; |
2865 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2866 | wxRegion *arg2 = 0 ; | |
2867 | bool result; | |
2868 | PyObject * obj0 = 0 ; | |
2869 | PyObject * obj1 = 0 ; | |
2870 | char *kwnames[] = { | |
2871 | (char *) "self",(char *) "region", NULL | |
2872 | }; | |
2873 | ||
2874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2877 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
2878 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2879 | SWIG_fail; | |
d14a1e28 | 2880 | if (arg2 == NULL) { |
2f4c0a16 RD |
2881 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2882 | SWIG_fail; | |
d14a1e28 RD |
2883 | } |
2884 | { | |
2885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2886 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
2887 | ||
2888 | wxPyEndAllowThreads(__tstate); | |
2889 | if (PyErr_Occurred()) SWIG_fail; | |
2890 | } | |
02a34c4c | 2891 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
2892 | return resultobj; |
2893 | fail: | |
2894 | return NULL; | |
2895 | } | |
2896 | ||
2897 | ||
2f4c0a16 | 2898 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2899 | PyObject *obj; |
2900 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2901 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
2902 | Py_INCREF(obj); | |
2903 | return Py_BuildValue((char *)""); | |
2904 | } | |
2f4c0a16 | 2905 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2906 | PyObject *resultobj; |
2907 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 2908 | int arg2 ; |
d14a1e28 RD |
2909 | wxString *arg3 = 0 ; |
2910 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2911 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2912 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2913 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2914 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
2915 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
2916 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2917 | wxFrame *result; | |
423f194a | 2918 | bool temp3 = False ; |
d14a1e28 RD |
2919 | wxPoint temp4 ; |
2920 | wxSize temp5 ; | |
423f194a | 2921 | bool temp7 = False ; |
d14a1e28 | 2922 | PyObject * obj0 = 0 ; |
8edf1c75 | 2923 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2924 | PyObject * obj2 = 0 ; |
2925 | PyObject * obj3 = 0 ; | |
2926 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2927 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
2928 | PyObject * obj6 = 0 ; |
2929 | char *kwnames[] = { | |
2930 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2931 | }; | |
2932 | ||
8edf1c75 | 2933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
2934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2936 | arg2 = (int const) SWIG_AsInt(obj1); | |
2937 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
2938 | { |
2939 | arg3 = wxString_in_helper(obj2); | |
2940 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 2941 | temp3 = True; |
d14a1e28 RD |
2942 | } |
2943 | if (obj3) { | |
2944 | { | |
2945 | arg4 = &temp4; | |
2946 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2947 | } | |
2948 | } | |
2949 | if (obj4) { | |
2950 | { | |
2951 | arg5 = &temp5; | |
2952 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2953 | } | |
2954 | } | |
8edf1c75 | 2955 | if (obj5) { |
2f4c0a16 RD |
2956 | arg6 = (long) SWIG_AsLong(obj5); |
2957 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2958 | } |
d14a1e28 RD |
2959 | if (obj6) { |
2960 | { | |
2961 | arg7 = wxString_in_helper(obj6); | |
2962 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 2963 | temp7 = True; |
d14a1e28 RD |
2964 | } |
2965 | } | |
2966 | { | |
2967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2968 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2969 | ||
2970 | wxPyEndAllowThreads(__tstate); | |
2971 | if (PyErr_Occurred()) SWIG_fail; | |
2972 | } | |
2973 | { | |
2974 | resultobj = wxPyMake_wxObject(result); | |
2975 | } | |
2976 | { | |
2977 | if (temp3) | |
2978 | delete arg3; | |
2979 | } | |
2980 | { | |
2981 | if (temp7) | |
2982 | delete arg7; | |
2983 | } | |
2984 | return resultobj; | |
2985 | fail: | |
2986 | { | |
2987 | if (temp3) | |
2988 | delete arg3; | |
2989 | } | |
2990 | { | |
2991 | if (temp7) | |
2992 | delete arg7; | |
2993 | } | |
2994 | return NULL; | |
2995 | } | |
2996 | ||
2997 | ||
2f4c0a16 | 2998 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2999 | PyObject *resultobj; |
3000 | wxFrame *result; | |
3001 | char *kwnames[] = { | |
3002 | NULL | |
3003 | }; | |
3004 | ||
3005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3006 | { | |
3007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3008 | result = (wxFrame *)new wxFrame(); | |
3009 | ||
3010 | wxPyEndAllowThreads(__tstate); | |
3011 | if (PyErr_Occurred()) SWIG_fail; | |
3012 | } | |
3013 | { | |
3014 | resultobj = wxPyMake_wxObject(result); | |
3015 | } | |
3016 | return resultobj; | |
3017 | fail: | |
3018 | return NULL; | |
3019 | } | |
3020 | ||
3021 | ||
2f4c0a16 | 3022 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3023 | PyObject *resultobj; |
3024 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3025 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3026 | int arg3 ; |
d14a1e28 RD |
3027 | wxString *arg4 = 0 ; |
3028 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3029 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3030 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3031 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3032 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3033 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3034 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3035 | bool result; | |
423f194a | 3036 | bool temp4 = False ; |
d14a1e28 RD |
3037 | wxPoint temp5 ; |
3038 | wxSize temp6 ; | |
423f194a | 3039 | bool temp8 = False ; |
d14a1e28 RD |
3040 | PyObject * obj0 = 0 ; |
3041 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3042 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3043 | PyObject * obj3 = 0 ; |
3044 | PyObject * obj4 = 0 ; | |
3045 | PyObject * obj5 = 0 ; | |
8edf1c75 | 3046 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3047 | PyObject * obj7 = 0 ; |
3048 | char *kwnames[] = { | |
3049 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3050 | }; | |
3051 | ||
8edf1c75 | 3052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
3053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3055 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3057 | arg3 = (int const) SWIG_AsInt(obj2); | |
3058 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3059 | { |
3060 | arg4 = wxString_in_helper(obj3); | |
3061 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3062 | temp4 = True; |
d14a1e28 RD |
3063 | } |
3064 | if (obj4) { | |
3065 | { | |
3066 | arg5 = &temp5; | |
3067 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3068 | } | |
3069 | } | |
3070 | if (obj5) { | |
3071 | { | |
3072 | arg6 = &temp6; | |
3073 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3074 | } | |
3075 | } | |
8edf1c75 | 3076 | if (obj6) { |
2f4c0a16 RD |
3077 | arg7 = (long) SWIG_AsLong(obj6); |
3078 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3079 | } |
d14a1e28 RD |
3080 | if (obj7) { |
3081 | { | |
3082 | arg8 = wxString_in_helper(obj7); | |
3083 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3084 | temp8 = True; |
d14a1e28 RD |
3085 | } |
3086 | } | |
3087 | { | |
3088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3089 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3090 | ||
3091 | wxPyEndAllowThreads(__tstate); | |
3092 | if (PyErr_Occurred()) SWIG_fail; | |
3093 | } | |
02a34c4c | 3094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3095 | { |
3096 | if (temp4) | |
3097 | delete arg4; | |
3098 | } | |
3099 | { | |
3100 | if (temp8) | |
3101 | delete arg8; | |
3102 | } | |
3103 | return resultobj; | |
3104 | fail: | |
3105 | { | |
3106 | if (temp4) | |
3107 | delete arg4; | |
3108 | } | |
3109 | { | |
3110 | if (temp8) | |
3111 | delete arg8; | |
3112 | } | |
3113 | return NULL; | |
3114 | } | |
3115 | ||
3116 | ||
2f4c0a16 | 3117 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3118 | PyObject *resultobj; |
3119 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3120 | wxPoint result; | |
3121 | PyObject * obj0 = 0 ; | |
3122 | char *kwnames[] = { | |
3123 | (char *) "self", NULL | |
3124 | }; | |
3125 | ||
3126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3129 | { |
3130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3131 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3132 | ||
3133 | wxPyEndAllowThreads(__tstate); | |
3134 | if (PyErr_Occurred()) SWIG_fail; | |
3135 | } | |
3136 | { | |
3137 | wxPoint * resultptr; | |
3138 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 3139 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3140 | } |
3141 | return resultobj; | |
3142 | fail: | |
3143 | return NULL; | |
3144 | } | |
3145 | ||
3146 | ||
2f4c0a16 | 3147 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3148 | PyObject *resultobj; |
3149 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3150 | PyObject * obj0 = 0 ; | |
3151 | char *kwnames[] = { | |
3152 | (char *) "self", NULL | |
3153 | }; | |
3154 | ||
3155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3158 | { |
3159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3160 | (arg1)->SendSizeEvent(); | |
3161 | ||
3162 | wxPyEndAllowThreads(__tstate); | |
3163 | if (PyErr_Occurred()) SWIG_fail; | |
3164 | } | |
3165 | Py_INCREF(Py_None); resultobj = Py_None; | |
3166 | return resultobj; | |
3167 | fail: | |
3168 | return NULL; | |
3169 | } | |
3170 | ||
3171 | ||
2f4c0a16 | 3172 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3173 | PyObject *resultobj; |
3174 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3175 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3176 | PyObject * obj0 = 0 ; | |
3177 | PyObject * obj1 = 0 ; | |
3178 | char *kwnames[] = { | |
3179 | (char *) "self",(char *) "menubar", NULL | |
3180 | }; | |
3181 | ||
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3185 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3186 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3187 | { |
3188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3189 | (arg1)->SetMenuBar(arg2); | |
3190 | ||
3191 | wxPyEndAllowThreads(__tstate); | |
3192 | if (PyErr_Occurred()) SWIG_fail; | |
3193 | } | |
3194 | Py_INCREF(Py_None); resultobj = Py_None; | |
3195 | return resultobj; | |
3196 | fail: | |
3197 | return NULL; | |
3198 | } | |
3199 | ||
3200 | ||
2f4c0a16 | 3201 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3202 | PyObject *resultobj; |
3203 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3204 | wxMenuBar *result; | |
3205 | PyObject * obj0 = 0 ; | |
3206 | char *kwnames[] = { | |
3207 | (char *) "self", NULL | |
3208 | }; | |
3209 | ||
3210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3213 | { |
3214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3215 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3216 | ||
3217 | wxPyEndAllowThreads(__tstate); | |
3218 | if (PyErr_Occurred()) SWIG_fail; | |
3219 | } | |
3220 | { | |
3221 | resultobj = wxPyMake_wxObject(result); | |
3222 | } | |
3223 | return resultobj; | |
3224 | fail: | |
3225 | return NULL; | |
3226 | } | |
3227 | ||
3228 | ||
2f4c0a16 | 3229 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3230 | PyObject *resultobj; |
3231 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3232 | int arg2 ; | |
3233 | bool result; | |
3234 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3235 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3236 | char *kwnames[] = { |
3237 | (char *) "self",(char *) "winid", NULL | |
3238 | }; | |
3239 | ||
8edf1c75 | 3240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3241 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3242 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3243 | arg2 = (int) SWIG_AsInt(obj1); | |
3244 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3245 | { |
3246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3247 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3248 | ||
3249 | wxPyEndAllowThreads(__tstate); | |
3250 | if (PyErr_Occurred()) SWIG_fail; | |
3251 | } | |
02a34c4c | 3252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3253 | return resultobj; |
3254 | fail: | |
3255 | return NULL; | |
3256 | } | |
3257 | ||
3258 | ||
2f4c0a16 | 3259 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3260 | PyObject *resultobj; |
3261 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3262 | int arg2 = (int) 1 ; | |
3263 | long arg3 = (long) wxST_SIZEGRIP ; | |
423f194a | 3264 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3265 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3266 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3267 | wxStatusBar *result; | |
423f194a | 3268 | bool temp5 = False ; |
d14a1e28 | 3269 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3270 | PyObject * obj1 = 0 ; |
3271 | PyObject * obj2 = 0 ; | |
3272 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3273 | PyObject * obj4 = 0 ; |
3274 | char *kwnames[] = { | |
3275 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3276 | }; | |
3277 | ||
8edf1c75 | 3278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
3279 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3281 | if (obj1) { |
2f4c0a16 RD |
3282 | arg2 = (int) SWIG_AsInt(obj1); |
3283 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3284 | } |
3285 | if (obj2) { | |
2f4c0a16 RD |
3286 | arg3 = (long) SWIG_AsLong(obj2); |
3287 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3288 | } |
3289 | if (obj3) { | |
2f4c0a16 RD |
3290 | arg4 = (int) SWIG_AsInt(obj3); |
3291 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3292 | } |
d14a1e28 RD |
3293 | if (obj4) { |
3294 | { | |
3295 | arg5 = wxString_in_helper(obj4); | |
3296 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 3297 | temp5 = True; |
d14a1e28 RD |
3298 | } |
3299 | } | |
3300 | { | |
3301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3302 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3303 | ||
3304 | wxPyEndAllowThreads(__tstate); | |
3305 | if (PyErr_Occurred()) SWIG_fail; | |
3306 | } | |
3307 | { | |
3308 | resultobj = wxPyMake_wxObject(result); | |
3309 | } | |
3310 | { | |
3311 | if (temp5) | |
3312 | delete arg5; | |
3313 | } | |
3314 | return resultobj; | |
3315 | fail: | |
3316 | { | |
3317 | if (temp5) | |
3318 | delete arg5; | |
3319 | } | |
3320 | return NULL; | |
3321 | } | |
3322 | ||
3323 | ||
2f4c0a16 | 3324 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3325 | PyObject *resultobj; |
3326 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3327 | wxStatusBar *result; | |
3328 | PyObject * obj0 = 0 ; | |
3329 | char *kwnames[] = { | |
3330 | (char *) "self", NULL | |
3331 | }; | |
3332 | ||
3333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3334 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3335 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3336 | { |
3337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3338 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3339 | ||
3340 | wxPyEndAllowThreads(__tstate); | |
3341 | if (PyErr_Occurred()) SWIG_fail; | |
3342 | } | |
3343 | { | |
3344 | resultobj = wxPyMake_wxObject(result); | |
3345 | } | |
3346 | return resultobj; | |
3347 | fail: | |
3348 | return NULL; | |
3349 | } | |
3350 | ||
3351 | ||
2f4c0a16 | 3352 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3353 | PyObject *resultobj; |
3354 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3355 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3356 | PyObject * obj0 = 0 ; | |
3357 | PyObject * obj1 = 0 ; | |
3358 | char *kwnames[] = { | |
3359 | (char *) "self",(char *) "statBar", NULL | |
3360 | }; | |
3361 | ||
3362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3363 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3364 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3365 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3366 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3367 | { |
3368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3369 | (arg1)->SetStatusBar(arg2); | |
3370 | ||
3371 | wxPyEndAllowThreads(__tstate); | |
3372 | if (PyErr_Occurred()) SWIG_fail; | |
3373 | } | |
3374 | Py_INCREF(Py_None); resultobj = Py_None; | |
3375 | return resultobj; | |
3376 | fail: | |
3377 | return NULL; | |
3378 | } | |
3379 | ||
3380 | ||
2f4c0a16 | 3381 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3382 | PyObject *resultobj; |
3383 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3384 | wxString *arg2 = 0 ; | |
3385 | int arg3 = (int) 0 ; | |
423f194a | 3386 | bool temp2 = False ; |
d14a1e28 RD |
3387 | PyObject * obj0 = 0 ; |
3388 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3389 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3390 | char *kwnames[] = { |
3391 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3392 | }; | |
3393 | ||
8edf1c75 | 3394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3395 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3396 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3397 | { |
3398 | arg2 = wxString_in_helper(obj1); | |
3399 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3400 | temp2 = True; |
d14a1e28 | 3401 | } |
8edf1c75 | 3402 | if (obj2) { |
2f4c0a16 RD |
3403 | arg3 = (int) SWIG_AsInt(obj2); |
3404 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3405 | } |
d14a1e28 RD |
3406 | { |
3407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3408 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3409 | ||
3410 | wxPyEndAllowThreads(__tstate); | |
3411 | if (PyErr_Occurred()) SWIG_fail; | |
3412 | } | |
3413 | Py_INCREF(Py_None); resultobj = Py_None; | |
3414 | { | |
3415 | if (temp2) | |
3416 | delete arg2; | |
3417 | } | |
3418 | return resultobj; | |
3419 | fail: | |
3420 | { | |
3421 | if (temp2) | |
3422 | delete arg2; | |
3423 | } | |
3424 | return NULL; | |
3425 | } | |
3426 | ||
3427 | ||
2f4c0a16 | 3428 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3429 | PyObject *resultobj; |
3430 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3431 | int arg2 ; | |
3432 | int *arg3 = (int *) 0 ; | |
3433 | PyObject * obj0 = 0 ; | |
3434 | PyObject * obj1 = 0 ; | |
3435 | char *kwnames[] = { | |
3436 | (char *) "self",(char *) "widths", NULL | |
3437 | }; | |
3438 | ||
3439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3442 | { |
3443 | arg2 = PyList_Size(obj1); | |
3444 | arg3 = int_LIST_helper(obj1); | |
3445 | if (arg3 == NULL) SWIG_fail; | |
3446 | } | |
3447 | { | |
3448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3449 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3450 | ||
3451 | wxPyEndAllowThreads(__tstate); | |
3452 | if (PyErr_Occurred()) SWIG_fail; | |
3453 | } | |
3454 | Py_INCREF(Py_None); resultobj = Py_None; | |
3455 | { | |
3456 | if (arg3) delete [] arg3; | |
3457 | } | |
3458 | return resultobj; | |
3459 | fail: | |
3460 | { | |
3461 | if (arg3) delete [] arg3; | |
3462 | } | |
3463 | return NULL; | |
3464 | } | |
3465 | ||
3466 | ||
2f4c0a16 | 3467 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3468 | PyObject *resultobj; |
3469 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3470 | wxString *arg2 = 0 ; | |
3471 | int arg3 = (int) 0 ; | |
423f194a | 3472 | bool temp2 = False ; |
d14a1e28 RD |
3473 | PyObject * obj0 = 0 ; |
3474 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3475 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3476 | char *kwnames[] = { |
3477 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3478 | }; | |
3479 | ||
8edf1c75 | 3480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3483 | { |
3484 | arg2 = wxString_in_helper(obj1); | |
3485 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3486 | temp2 = True; |
d14a1e28 | 3487 | } |
8edf1c75 | 3488 | if (obj2) { |
2f4c0a16 RD |
3489 | arg3 = (int) SWIG_AsInt(obj2); |
3490 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3491 | } |
d14a1e28 RD |
3492 | { |
3493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3494 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3495 | ||
3496 | wxPyEndAllowThreads(__tstate); | |
3497 | if (PyErr_Occurred()) SWIG_fail; | |
3498 | } | |
3499 | Py_INCREF(Py_None); resultobj = Py_None; | |
3500 | { | |
3501 | if (temp2) | |
3502 | delete arg2; | |
3503 | } | |
3504 | return resultobj; | |
3505 | fail: | |
3506 | { | |
3507 | if (temp2) | |
3508 | delete arg2; | |
3509 | } | |
3510 | return NULL; | |
3511 | } | |
3512 | ||
3513 | ||
2f4c0a16 | 3514 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3515 | PyObject *resultobj; |
3516 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3517 | int arg2 = (int) 0 ; | |
3518 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3519 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3520 | char *kwnames[] = { |
3521 | (char *) "self",(char *) "number", NULL | |
3522 | }; | |
3523 | ||
8edf1c75 | 3524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3527 | if (obj1) { |
2f4c0a16 RD |
3528 | arg2 = (int) SWIG_AsInt(obj1); |
3529 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3530 | } |
d14a1e28 RD |
3531 | { |
3532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3533 | (arg1)->PopStatusText(arg2); | |
3534 | ||
3535 | wxPyEndAllowThreads(__tstate); | |
3536 | if (PyErr_Occurred()) SWIG_fail; | |
3537 | } | |
3538 | Py_INCREF(Py_None); resultobj = Py_None; | |
3539 | return resultobj; | |
3540 | fail: | |
3541 | return NULL; | |
3542 | } | |
3543 | ||
3544 | ||
2f4c0a16 | 3545 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3546 | PyObject *resultobj; |
3547 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3548 | int arg2 ; | |
3549 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3550 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3551 | char *kwnames[] = { |
3552 | (char *) "self",(char *) "n", NULL | |
3553 | }; | |
3554 | ||
8edf1c75 | 3555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
3556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3558 | arg2 = (int) SWIG_AsInt(obj1); | |
3559 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3560 | { |
3561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3562 | (arg1)->SetStatusBarPane(arg2); | |
3563 | ||
3564 | wxPyEndAllowThreads(__tstate); | |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
3567 | Py_INCREF(Py_None); resultobj = Py_None; | |
3568 | return resultobj; | |
3569 | fail: | |
3570 | return NULL; | |
3571 | } | |
3572 | ||
3573 | ||
2f4c0a16 | 3574 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3575 | PyObject *resultobj; |
3576 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3577 | int result; | |
3578 | PyObject * obj0 = 0 ; | |
3579 | char *kwnames[] = { | |
3580 | (char *) "self", NULL | |
3581 | }; | |
3582 | ||
3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3586 | { |
3587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3588 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
3589 | ||
3590 | wxPyEndAllowThreads(__tstate); | |
3591 | if (PyErr_Occurred()) SWIG_fail; | |
3592 | } | |
2f4c0a16 | 3593 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
3594 | return resultobj; |
3595 | fail: | |
3596 | return NULL; | |
3597 | } | |
3598 | ||
3599 | ||
2f4c0a16 | 3600 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3601 | PyObject *resultobj; |
3602 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3603 | long arg2 = (long) -1 ; | |
423f194a | 3604 | int arg3 = (int) -1 ; |
d14a1e28 RD |
3605 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
3606 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
3607 | wxToolBar *result; | |
423f194a | 3608 | bool temp4 = False ; |
d14a1e28 | 3609 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
3610 | PyObject * obj1 = 0 ; |
3611 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
3612 | PyObject * obj3 = 0 ; |
3613 | char *kwnames[] = { | |
3614 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3615 | }; | |
3616 | ||
8edf1c75 | 3617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
3618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 3620 | if (obj1) { |
2f4c0a16 RD |
3621 | arg2 = (long) SWIG_AsLong(obj1); |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
3623 | } |
3624 | if (obj2) { | |
2f4c0a16 RD |
3625 | arg3 = (int) SWIG_AsInt(obj2); |
3626 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3627 | } |
d14a1e28 RD |
3628 | if (obj3) { |
3629 | { | |
3630 | arg4 = wxString_in_helper(obj3); | |
3631 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3632 | temp4 = True; |
d14a1e28 RD |
3633 | } |
3634 | } | |
3635 | { | |
3636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3637 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
3638 | ||
3639 | wxPyEndAllowThreads(__tstate); | |
3640 | if (PyErr_Occurred()) SWIG_fail; | |
3641 | } | |
3642 | { | |
3643 | resultobj = wxPyMake_wxObject(result); | |
3644 | } | |
3645 | { | |
3646 | if (temp4) | |
3647 | delete arg4; | |
3648 | } | |
3649 | return resultobj; | |
3650 | fail: | |
3651 | { | |
3652 | if (temp4) | |
3653 | delete arg4; | |
3654 | } | |
3655 | return NULL; | |
3656 | } | |
3657 | ||
3658 | ||
2f4c0a16 | 3659 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3660 | PyObject *resultobj; |
3661 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3662 | wxToolBar *result; | |
3663 | PyObject * obj0 = 0 ; | |
3664 | char *kwnames[] = { | |
3665 | (char *) "self", NULL | |
3666 | }; | |
3667 | ||
3668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3671 | { |
3672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3673 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
3674 | ||
3675 | wxPyEndAllowThreads(__tstate); | |
3676 | if (PyErr_Occurred()) SWIG_fail; | |
3677 | } | |
3678 | { | |
3679 | resultobj = wxPyMake_wxObject(result); | |
3680 | } | |
3681 | return resultobj; | |
3682 | fail: | |
3683 | return NULL; | |
3684 | } | |
3685 | ||
3686 | ||
2f4c0a16 | 3687 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3688 | PyObject *resultobj; |
3689 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3690 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
3691 | PyObject * obj0 = 0 ; | |
3692 | PyObject * obj1 = 0 ; | |
3693 | char *kwnames[] = { | |
3694 | (char *) "self",(char *) "toolbar", NULL | |
3695 | }; | |
3696 | ||
3697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3700 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
3701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3702 | { |
3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3704 | (arg1)->SetToolBar(arg2); | |
3705 | ||
3706 | wxPyEndAllowThreads(__tstate); | |
3707 | if (PyErr_Occurred()) SWIG_fail; | |
3708 | } | |
3709 | Py_INCREF(Py_None); resultobj = Py_None; | |
3710 | return resultobj; | |
3711 | fail: | |
3712 | return NULL; | |
3713 | } | |
3714 | ||
3715 | ||
2f4c0a16 | 3716 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3717 | PyObject *resultobj; |
3718 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3719 | wxString *arg2 = 0 ; | |
3720 | bool arg3 ; | |
423f194a | 3721 | bool temp2 = False ; |
d14a1e28 RD |
3722 | PyObject * obj0 = 0 ; |
3723 | PyObject * obj1 = 0 ; | |
3724 | PyObject * obj2 = 0 ; | |
3725 | char *kwnames[] = { | |
3726 | (char *) "self",(char *) "text",(char *) "show", NULL | |
3727 | }; | |
3728 | ||
3729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3732 | { |
3733 | arg2 = wxString_in_helper(obj1); | |
3734 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 3735 | temp2 = True; |
d14a1e28 | 3736 | } |
2f4c0a16 RD |
3737 | arg3 = (bool) SWIG_AsBool(obj2); |
3738 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3739 | { |
3740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3741 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
3742 | ||
3743 | wxPyEndAllowThreads(__tstate); | |
3744 | if (PyErr_Occurred()) SWIG_fail; | |
3745 | } | |
3746 | Py_INCREF(Py_None); resultobj = Py_None; | |
3747 | { | |
3748 | if (temp2) | |
3749 | delete arg2; | |
3750 | } | |
3751 | return resultobj; | |
3752 | fail: | |
3753 | { | |
3754 | if (temp2) | |
3755 | delete arg2; | |
3756 | } | |
3757 | return NULL; | |
3758 | } | |
3759 | ||
3760 | ||
2f4c0a16 | 3761 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3762 | PyObject *resultobj; |
3763 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3764 | wxMenu *arg2 = (wxMenu *) NULL ; | |
3765 | PyObject * obj0 = 0 ; | |
3766 | PyObject * obj1 = 0 ; | |
3767 | char *kwnames[] = { | |
3768 | (char *) "self",(char *) "menu", NULL | |
3769 | }; | |
3770 | ||
3771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 3774 | if (obj1) { |
2f4c0a16 RD |
3775 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
3776 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3777 | } |
3778 | { | |
3779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3780 | (arg1)->DoMenuUpdates(arg2); | |
3781 | ||
3782 | wxPyEndAllowThreads(__tstate); | |
3783 | if (PyErr_Occurred()) SWIG_fail; | |
3784 | } | |
3785 | Py_INCREF(Py_None); resultobj = Py_None; | |
3786 | return resultobj; | |
3787 | fail: | |
3788 | return NULL; | |
3789 | } | |
3790 | ||
3791 | ||
2f4c0a16 | 3792 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3793 | PyObject *obj; |
3794 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3795 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
3796 | Py_INCREF(obj); | |
3797 | return Py_BuildValue((char *)""); | |
3798 | } | |
2f4c0a16 | 3799 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3800 | PyObject *resultobj; |
3801 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 3802 | int arg2 ; |
d14a1e28 RD |
3803 | wxString *arg3 = 0 ; |
3804 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3805 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3806 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3807 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3808 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3809 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
3810 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3811 | wxDialog *result; | |
423f194a | 3812 | bool temp3 = False ; |
d14a1e28 RD |
3813 | wxPoint temp4 ; |
3814 | wxSize temp5 ; | |
423f194a | 3815 | bool temp7 = False ; |
d14a1e28 | 3816 | PyObject * obj0 = 0 ; |
8edf1c75 | 3817 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3818 | PyObject * obj2 = 0 ; |
3819 | PyObject * obj3 = 0 ; | |
3820 | PyObject * obj4 = 0 ; | |
8edf1c75 | 3821 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3822 | PyObject * obj6 = 0 ; |
3823 | char *kwnames[] = { | |
3824 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3825 | }; | |
3826 | ||
8edf1c75 | 3827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
3828 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3829 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3830 | arg2 = (int const) SWIG_AsInt(obj1); | |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3832 | { |
3833 | arg3 = wxString_in_helper(obj2); | |
3834 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 3835 | temp3 = True; |
d14a1e28 RD |
3836 | } |
3837 | if (obj3) { | |
3838 | { | |
3839 | arg4 = &temp4; | |
3840 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3841 | } | |
3842 | } | |
3843 | if (obj4) { | |
3844 | { | |
3845 | arg5 = &temp5; | |
3846 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3847 | } | |
3848 | } | |
8edf1c75 | 3849 | if (obj5) { |
2f4c0a16 RD |
3850 | arg6 = (long) SWIG_AsLong(obj5); |
3851 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3852 | } |
d14a1e28 RD |
3853 | if (obj6) { |
3854 | { | |
3855 | arg7 = wxString_in_helper(obj6); | |
3856 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 3857 | temp7 = True; |
d14a1e28 RD |
3858 | } |
3859 | } | |
3860 | { | |
3861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3862 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3863 | ||
3864 | wxPyEndAllowThreads(__tstate); | |
3865 | if (PyErr_Occurred()) SWIG_fail; | |
3866 | } | |
2f4c0a16 | 3867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3868 | { |
3869 | if (temp3) | |
3870 | delete arg3; | |
3871 | } | |
3872 | { | |
3873 | if (temp7) | |
3874 | delete arg7; | |
3875 | } | |
3876 | return resultobj; | |
3877 | fail: | |
3878 | { | |
3879 | if (temp3) | |
3880 | delete arg3; | |
3881 | } | |
3882 | { | |
3883 | if (temp7) | |
3884 | delete arg7; | |
3885 | } | |
3886 | return NULL; | |
3887 | } | |
3888 | ||
3889 | ||
2f4c0a16 | 3890 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3891 | PyObject *resultobj; |
3892 | wxDialog *result; | |
3893 | char *kwnames[] = { | |
3894 | NULL | |
3895 | }; | |
3896 | ||
3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
3898 | { | |
3899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3900 | result = (wxDialog *)new wxDialog(); | |
3901 | ||
3902 | wxPyEndAllowThreads(__tstate); | |
3903 | if (PyErr_Occurred()) SWIG_fail; | |
3904 | } | |
2f4c0a16 | 3905 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
3906 | return resultobj; |
3907 | fail: | |
3908 | return NULL; | |
3909 | } | |
3910 | ||
3911 | ||
2f4c0a16 | 3912 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3913 | PyObject *resultobj; |
3914 | wxDialog *arg1 = (wxDialog *) 0 ; | |
3915 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 3916 | int arg3 ; |
d14a1e28 RD |
3917 | wxString *arg4 = 0 ; |
3918 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
3919 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3920 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3921 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3922 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
3923 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
3924 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3925 | bool result; | |
423f194a | 3926 | bool temp4 = False ; |
d14a1e28 RD |
3927 | wxPoint temp5 ; |
3928 | wxSize temp6 ; | |
423f194a | 3929 | bool temp8 = False ; |
d14a1e28 RD |
3930 | PyObject * obj0 = 0 ; |
3931 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3932 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3933 | PyObject * obj3 = 0 ; |
3934 | PyObject * obj4 = 0 ; | |
3935 | PyObject * obj5 = 0 ; | |
8edf1c75 | 3936 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3937 | PyObject * obj7 = 0 ; |
3938 | char *kwnames[] = { | |
3939 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3940 | }; | |
3941 | ||
8edf1c75 | 3942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
3943 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
3944 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3945 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3947 | arg3 = (int const) SWIG_AsInt(obj2); | |
3948 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
3949 | { |
3950 | arg4 = wxString_in_helper(obj3); | |
3951 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 3952 | temp4 = True; |
d14a1e28 RD |
3953 | } |
3954 | if (obj4) { | |
3955 | { | |
3956 | arg5 = &temp5; | |
3957 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3958 | } | |
3959 | } | |
3960 | if (obj5) { | |
3961 | { | |
3962 | arg6 = &temp6; | |
3963 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3964 | } | |
3965 | } | |
8edf1c75 | 3966 | if (obj6) { |
2f4c0a16 RD |
3967 | arg7 = (long) SWIG_AsLong(obj6); |
3968 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 3969 | } |
d14a1e28 RD |
3970 | if (obj7) { |
3971 | { | |
3972 | arg8 = wxString_in_helper(obj7); | |
3973 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 3974 | temp8 = True; |
d14a1e28 RD |
3975 | } |
3976 | } | |
3977 | { | |
3978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3979 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3980 | ||
3981 | wxPyEndAllowThreads(__tstate); | |
3982 | if (PyErr_Occurred()) SWIG_fail; | |
3983 | } | |
02a34c4c | 3984 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
3985 | { |
3986 | if (temp4) | |
3987 | delete arg4; | |
3988 | } | |
3989 | { | |
3990 | if (temp8) | |
3991 | delete arg8; | |
3992 | } | |
3993 | return resultobj; | |
3994 | fail: | |
3995 | { | |
3996 | if (temp4) | |
3997 | delete arg4; | |
3998 | } | |
3999 | { | |
4000 | if (temp8) | |
4001 | delete arg8; | |
4002 | } | |
4003 | return NULL; | |
4004 | } | |
4005 | ||
4006 | ||
2f4c0a16 | 4007 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4008 | PyObject *resultobj; |
4009 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4010 | int arg2 ; | |
4011 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4012 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4013 | char *kwnames[] = { |
4014 | (char *) "self",(char *) "returnCode", NULL | |
4015 | }; | |
4016 | ||
8edf1c75 | 4017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4020 | arg2 = (int) SWIG_AsInt(obj1); | |
4021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4022 | { |
4023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4024 | (arg1)->SetReturnCode(arg2); | |
4025 | ||
4026 | wxPyEndAllowThreads(__tstate); | |
4027 | if (PyErr_Occurred()) SWIG_fail; | |
4028 | } | |
4029 | Py_INCREF(Py_None); resultobj = Py_None; | |
4030 | return resultobj; | |
4031 | fail: | |
4032 | return NULL; | |
4033 | } | |
4034 | ||
4035 | ||
2f4c0a16 | 4036 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4037 | PyObject *resultobj; |
4038 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4039 | int result; | |
4040 | PyObject * obj0 = 0 ; | |
4041 | char *kwnames[] = { | |
4042 | (char *) "self", NULL | |
4043 | }; | |
4044 | ||
4045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4048 | { |
4049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4050 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4051 | ||
4052 | wxPyEndAllowThreads(__tstate); | |
4053 | if (PyErr_Occurred()) SWIG_fail; | |
4054 | } | |
2f4c0a16 | 4055 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4056 | return resultobj; |
4057 | fail: | |
4058 | return NULL; | |
4059 | } | |
4060 | ||
4061 | ||
2f4c0a16 | 4062 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4063 | PyObject *resultobj; |
4064 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4065 | wxString *arg2 = 0 ; | |
4066 | wxSizer *result; | |
423f194a | 4067 | bool temp2 = False ; |
d14a1e28 RD |
4068 | PyObject * obj0 = 0 ; |
4069 | PyObject * obj1 = 0 ; | |
4070 | char *kwnames[] = { | |
4071 | (char *) "self",(char *) "message", NULL | |
4072 | }; | |
4073 | ||
4074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4077 | { |
4078 | arg2 = wxString_in_helper(obj1); | |
4079 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4080 | temp2 = True; |
d14a1e28 RD |
4081 | } |
4082 | { | |
4083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4084 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4085 | ||
4086 | wxPyEndAllowThreads(__tstate); | |
4087 | if (PyErr_Occurred()) SWIG_fail; | |
4088 | } | |
4089 | { | |
4090 | resultobj = wxPyMake_wxSizer(result); | |
4091 | } | |
4092 | { | |
4093 | if (temp2) | |
4094 | delete arg2; | |
4095 | } | |
4096 | return resultobj; | |
4097 | fail: | |
4098 | { | |
4099 | if (temp2) | |
4100 | delete arg2; | |
4101 | } | |
4102 | return NULL; | |
4103 | } | |
4104 | ||
4105 | ||
2f4c0a16 | 4106 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4107 | PyObject *resultobj; |
4108 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4109 | long arg2 ; | |
4110 | wxSizer *result; | |
4111 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4112 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4113 | char *kwnames[] = { |
4114 | (char *) "self",(char *) "flags", NULL | |
4115 | }; | |
4116 | ||
8edf1c75 | 4117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4118 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4119 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4120 | arg2 = (long) SWIG_AsLong(obj1); | |
4121 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4122 | { |
4123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4124 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4125 | ||
4126 | wxPyEndAllowThreads(__tstate); | |
4127 | if (PyErr_Occurred()) SWIG_fail; | |
4128 | } | |
4129 | { | |
4130 | resultobj = wxPyMake_wxSizer(result); | |
4131 | } | |
4132 | return resultobj; | |
4133 | fail: | |
4134 | return NULL; | |
4135 | } | |
4136 | ||
4137 | ||
2f4c0a16 | 4138 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4139 | PyObject *resultobj; |
4140 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4141 | bool result; | |
4142 | PyObject * obj0 = 0 ; | |
4143 | char *kwnames[] = { | |
4144 | (char *) "self", NULL | |
4145 | }; | |
4146 | ||
4147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4150 | { |
4151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4152 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4153 | ||
4154 | wxPyEndAllowThreads(__tstate); | |
4155 | if (PyErr_Occurred()) SWIG_fail; | |
4156 | } | |
02a34c4c | 4157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4158 | return resultobj; |
4159 | fail: | |
4160 | return NULL; | |
4161 | } | |
4162 | ||
4163 | ||
2f4c0a16 | 4164 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4165 | PyObject *resultobj; |
4166 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4167 | int result; | |
4168 | PyObject * obj0 = 0 ; | |
4169 | char *kwnames[] = { | |
4170 | (char *) "self", NULL | |
4171 | }; | |
4172 | ||
4173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4176 | { |
4177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4178 | result = (int)(arg1)->ShowModal(); | |
4179 | ||
4180 | wxPyEndAllowThreads(__tstate); | |
4181 | if (PyErr_Occurred()) SWIG_fail; | |
4182 | } | |
2f4c0a16 | 4183 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4184 | return resultobj; |
4185 | fail: | |
4186 | return NULL; | |
4187 | } | |
4188 | ||
4189 | ||
2f4c0a16 | 4190 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4191 | PyObject *resultobj; |
4192 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4193 | int arg2 ; | |
4194 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4195 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4196 | char *kwnames[] = { |
4197 | (char *) "self",(char *) "retCode", NULL | |
4198 | }; | |
4199 | ||
8edf1c75 | 4200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4203 | arg2 = (int) SWIG_AsInt(obj1); | |
4204 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4205 | { |
4206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4207 | (arg1)->EndModal(arg2); | |
4208 | ||
4209 | wxPyEndAllowThreads(__tstate); | |
4210 | if (PyErr_Occurred()) SWIG_fail; | |
4211 | } | |
4212 | Py_INCREF(Py_None); resultobj = Py_None; | |
4213 | return resultobj; | |
4214 | fail: | |
4215 | return NULL; | |
4216 | } | |
4217 | ||
4218 | ||
2f4c0a16 | 4219 | static PyObject *_wrap_Dialog_IsModalShowing(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4220 | PyObject *resultobj; |
4221 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4222 | bool result; | |
4223 | PyObject * obj0 = 0 ; | |
4224 | char *kwnames[] = { | |
4225 | (char *) "self", NULL | |
4226 | }; | |
4227 | ||
4228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4231 | { |
4232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4233 | result = (bool)wxDialog_IsModalShowing(arg1); | |
4234 | ||
4235 | wxPyEndAllowThreads(__tstate); | |
4236 | if (PyErr_Occurred()) SWIG_fail; | |
4237 | } | |
02a34c4c | 4238 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4239 | return resultobj; |
4240 | fail: | |
4241 | return NULL; | |
4242 | } | |
4243 | ||
4244 | ||
2f4c0a16 | 4245 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4246 | PyObject *obj; |
4247 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4248 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4249 | Py_INCREF(obj); | |
4250 | return Py_BuildValue((char *)""); | |
4251 | } | |
2f4c0a16 | 4252 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4253 | PyObject *resultobj; |
4254 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4255 | int arg2 ; |
d14a1e28 RD |
4256 | wxString *arg3 = 0 ; |
4257 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4258 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4259 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4260 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4261 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4262 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4263 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4264 | wxMiniFrame *result; | |
423f194a | 4265 | bool temp3 = False ; |
d14a1e28 RD |
4266 | wxPoint temp4 ; |
4267 | wxSize temp5 ; | |
423f194a | 4268 | bool temp7 = False ; |
d14a1e28 | 4269 | PyObject * obj0 = 0 ; |
8edf1c75 | 4270 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4271 | PyObject * obj2 = 0 ; |
4272 | PyObject * obj3 = 0 ; | |
4273 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4274 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4275 | PyObject * obj6 = 0 ; |
4276 | char *kwnames[] = { | |
4277 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4278 | }; | |
4279 | ||
8edf1c75 | 4280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
4281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4283 | arg2 = (int const) SWIG_AsInt(obj1); | |
4284 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4285 | { |
4286 | arg3 = wxString_in_helper(obj2); | |
4287 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 4288 | temp3 = True; |
d14a1e28 RD |
4289 | } |
4290 | if (obj3) { | |
4291 | { | |
4292 | arg4 = &temp4; | |
4293 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4294 | } | |
4295 | } | |
4296 | if (obj4) { | |
4297 | { | |
4298 | arg5 = &temp5; | |
4299 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4300 | } | |
4301 | } | |
8edf1c75 | 4302 | if (obj5) { |
2f4c0a16 RD |
4303 | arg6 = (long) SWIG_AsLong(obj5); |
4304 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4305 | } |
d14a1e28 RD |
4306 | if (obj6) { |
4307 | { | |
4308 | arg7 = wxString_in_helper(obj6); | |
4309 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 4310 | temp7 = True; |
d14a1e28 RD |
4311 | } |
4312 | } | |
4313 | { | |
4314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4315 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4316 | ||
4317 | wxPyEndAllowThreads(__tstate); | |
4318 | if (PyErr_Occurred()) SWIG_fail; | |
4319 | } | |
2f4c0a16 | 4320 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4321 | { |
4322 | if (temp3) | |
4323 | delete arg3; | |
4324 | } | |
4325 | { | |
4326 | if (temp7) | |
4327 | delete arg7; | |
4328 | } | |
4329 | return resultobj; | |
4330 | fail: | |
4331 | { | |
4332 | if (temp3) | |
4333 | delete arg3; | |
4334 | } | |
4335 | { | |
4336 | if (temp7) | |
4337 | delete arg7; | |
4338 | } | |
4339 | return NULL; | |
4340 | } | |
4341 | ||
4342 | ||
2f4c0a16 | 4343 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4344 | PyObject *resultobj; |
4345 | wxMiniFrame *result; | |
4346 | char *kwnames[] = { | |
4347 | NULL | |
4348 | }; | |
4349 | ||
4350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4351 | { | |
4352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4353 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4354 | ||
4355 | wxPyEndAllowThreads(__tstate); | |
4356 | if (PyErr_Occurred()) SWIG_fail; | |
4357 | } | |
2f4c0a16 | 4358 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4359 | return resultobj; |
4360 | fail: | |
4361 | return NULL; | |
4362 | } | |
4363 | ||
4364 | ||
2f4c0a16 | 4365 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4366 | PyObject *resultobj; |
4367 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4368 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4369 | int arg3 ; |
d14a1e28 RD |
4370 | wxString *arg4 = 0 ; |
4371 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
4372 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4373 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4374 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4375 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4376 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4377 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4378 | bool result; | |
423f194a | 4379 | bool temp4 = False ; |
d14a1e28 RD |
4380 | wxPoint temp5 ; |
4381 | wxSize temp6 ; | |
423f194a | 4382 | bool temp8 = False ; |
d14a1e28 RD |
4383 | PyObject * obj0 = 0 ; |
4384 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4385 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4386 | PyObject * obj3 = 0 ; |
4387 | PyObject * obj4 = 0 ; | |
4388 | PyObject * obj5 = 0 ; | |
8edf1c75 | 4389 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4390 | PyObject * obj7 = 0 ; |
4391 | char *kwnames[] = { | |
4392 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4393 | }; | |
4394 | ||
8edf1c75 | 4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
4396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4398 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4400 | arg3 = (int const) SWIG_AsInt(obj2); | |
4401 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4402 | { |
4403 | arg4 = wxString_in_helper(obj3); | |
4404 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4405 | temp4 = True; |
d14a1e28 RD |
4406 | } |
4407 | if (obj4) { | |
4408 | { | |
4409 | arg5 = &temp5; | |
4410 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4411 | } | |
4412 | } | |
4413 | if (obj5) { | |
4414 | { | |
4415 | arg6 = &temp6; | |
4416 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4417 | } | |
4418 | } | |
8edf1c75 | 4419 | if (obj6) { |
2f4c0a16 RD |
4420 | arg7 = (long) SWIG_AsLong(obj6); |
4421 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4422 | } |
d14a1e28 RD |
4423 | if (obj7) { |
4424 | { | |
4425 | arg8 = wxString_in_helper(obj7); | |
4426 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 4427 | temp8 = True; |
d14a1e28 RD |
4428 | } |
4429 | } | |
4430 | { | |
4431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4432 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4433 | ||
4434 | wxPyEndAllowThreads(__tstate); | |
4435 | if (PyErr_Occurred()) SWIG_fail; | |
4436 | } | |
02a34c4c | 4437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4438 | { |
4439 | if (temp4) | |
4440 | delete arg4; | |
4441 | } | |
4442 | { | |
4443 | if (temp8) | |
4444 | delete arg8; | |
4445 | } | |
4446 | return resultobj; | |
4447 | fail: | |
4448 | { | |
4449 | if (temp4) | |
4450 | delete arg4; | |
4451 | } | |
4452 | { | |
4453 | if (temp8) | |
4454 | delete arg8; | |
4455 | } | |
4456 | return NULL; | |
4457 | } | |
4458 | ||
4459 | ||
2f4c0a16 | 4460 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4461 | PyObject *obj; |
4462 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4463 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
4464 | Py_INCREF(obj); | |
4465 | return Py_BuildValue((char *)""); | |
4466 | } | |
2f4c0a16 | 4467 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4468 | PyObject *resultobj; |
4469 | wxBitmap *arg1 = 0 ; | |
4470 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4471 | int arg3 ; |
d14a1e28 RD |
4472 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4473 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4474 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4475 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4476 | long arg6 = (long) wxNO_BORDER ; | |
4477 | wxSplashScreenWindow *result; | |
4478 | wxPoint temp4 ; | |
4479 | wxSize temp5 ; | |
4480 | PyObject * obj0 = 0 ; | |
4481 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4482 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4483 | PyObject * obj3 = 0 ; |
4484 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4485 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4486 | char *kwnames[] = { |
4487 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4488 | }; | |
4489 | ||
8edf1c75 | 4490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
4491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4492 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4493 | SWIG_fail; | |
d14a1e28 | 4494 | if (arg1 == NULL) { |
2f4c0a16 RD |
4495 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4496 | SWIG_fail; | |
8edf1c75 | 4497 | } |
2f4c0a16 RD |
4498 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
4499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4500 | arg3 = (int) SWIG_AsInt(obj2); | |
4501 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4502 | if (obj3) { |
4503 | { | |
4504 | arg4 = &temp4; | |
4505 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4506 | } | |
4507 | } | |
4508 | if (obj4) { | |
4509 | { | |
4510 | arg5 = &temp5; | |
4511 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4512 | } | |
4513 | } | |
8edf1c75 | 4514 | if (obj5) { |
2f4c0a16 RD |
4515 | arg6 = (long) SWIG_AsLong(obj5); |
4516 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4517 | } |
d14a1e28 RD |
4518 | { |
4519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4520 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4521 | ||
4522 | wxPyEndAllowThreads(__tstate); | |
4523 | if (PyErr_Occurred()) SWIG_fail; | |
4524 | } | |
2f4c0a16 | 4525 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
4526 | return resultobj; |
4527 | fail: | |
4528 | return NULL; | |
4529 | } | |
4530 | ||
4531 | ||
2f4c0a16 | 4532 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4533 | PyObject *resultobj; |
4534 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4535 | wxBitmap *arg2 = 0 ; | |
4536 | PyObject * obj0 = 0 ; | |
4537 | PyObject * obj1 = 0 ; | |
4538 | char *kwnames[] = { | |
4539 | (char *) "self",(char *) "bitmap", NULL | |
4540 | }; | |
4541 | ||
4542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4545 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
4546 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4547 | SWIG_fail; | |
d14a1e28 | 4548 | if (arg2 == NULL) { |
2f4c0a16 RD |
4549 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4550 | SWIG_fail; | |
d14a1e28 RD |
4551 | } |
4552 | { | |
4553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4554 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
4555 | ||
4556 | wxPyEndAllowThreads(__tstate); | |
4557 | if (PyErr_Occurred()) SWIG_fail; | |
4558 | } | |
4559 | Py_INCREF(Py_None); resultobj = Py_None; | |
4560 | return resultobj; | |
4561 | fail: | |
4562 | return NULL; | |
4563 | } | |
4564 | ||
4565 | ||
2f4c0a16 | 4566 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4567 | PyObject *resultobj; |
4568 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
4569 | wxBitmap *result; | |
4570 | PyObject * obj0 = 0 ; | |
4571 | char *kwnames[] = { | |
4572 | (char *) "self", NULL | |
4573 | }; | |
4574 | ||
4575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
4577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4578 | { |
4579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4580 | { | |
4581 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
4582 | result = (wxBitmap *) &_result_ref; | |
4583 | } | |
4584 | ||
4585 | wxPyEndAllowThreads(__tstate); | |
4586 | if (PyErr_Occurred()) SWIG_fail; | |
4587 | } | |
ce7284bd RD |
4588 | { |
4589 | wxBitmap* resultptr = new wxBitmap(*result); | |
4590 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
4591 | } | |
d14a1e28 RD |
4592 | return resultobj; |
4593 | fail: | |
4594 | return NULL; | |
4595 | } | |
4596 | ||
4597 | ||
2f4c0a16 | 4598 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4599 | PyObject *obj; |
4600 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4601 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
4602 | Py_INCREF(obj); | |
4603 | return Py_BuildValue((char *)""); | |
4604 | } | |
2f4c0a16 | 4605 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4606 | PyObject *resultobj; |
4607 | wxBitmap *arg1 = 0 ; | |
4608 | long arg2 ; | |
4609 | int arg3 ; | |
4610 | wxWindow *arg4 = (wxWindow *) 0 ; | |
423f194a | 4611 | int arg5 ; |
d14a1e28 RD |
4612 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
4613 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
4614 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
4615 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
4616 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
4617 | wxSplashScreen *result; | |
4618 | wxPoint temp6 ; | |
4619 | wxSize temp7 ; | |
4620 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
4621 | PyObject * obj1 = 0 ; |
4622 | PyObject * obj2 = 0 ; | |
d14a1e28 | 4623 | PyObject * obj3 = 0 ; |
8edf1c75 | 4624 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
4625 | PyObject * obj5 = 0 ; |
4626 | PyObject * obj6 = 0 ; | |
8edf1c75 | 4627 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
4628 | char *kwnames[] = { |
4629 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4630 | }; | |
4631 | ||
8edf1c75 | 4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
4633 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
4634 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4635 | SWIG_fail; | |
d14a1e28 | 4636 | if (arg1 == NULL) { |
2f4c0a16 RD |
4637 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4638 | SWIG_fail; | |
4639 | } | |
4640 | arg2 = (long) SWIG_AsLong(obj1); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | arg3 = (int) SWIG_AsInt(obj2); | |
4643 | if (PyErr_Occurred()) SWIG_fail; | |
4644 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
4645 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4646 | arg5 = (int) SWIG_AsInt(obj4); | |
4647 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
4648 | if (obj5) { |
4649 | { | |
4650 | arg6 = &temp6; | |
4651 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
4652 | } | |
4653 | } | |
4654 | if (obj6) { | |
4655 | { | |
4656 | arg7 = &temp7; | |
4657 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
4658 | } | |
4659 | } | |
8edf1c75 | 4660 | if (obj7) { |
2f4c0a16 RD |
4661 | arg8 = (long) SWIG_AsLong(obj7); |
4662 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4663 | } |
d14a1e28 RD |
4664 | { |
4665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4666 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
4667 | ||
4668 | wxPyEndAllowThreads(__tstate); | |
4669 | if (PyErr_Occurred()) SWIG_fail; | |
4670 | } | |
2f4c0a16 | 4671 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
4672 | return resultobj; |
4673 | fail: | |
4674 | return NULL; | |
4675 | } | |
4676 | ||
4677 | ||
2f4c0a16 | 4678 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4679 | PyObject *resultobj; |
4680 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4681 | long result; | |
4682 | PyObject * obj0 = 0 ; | |
4683 | char *kwnames[] = { | |
4684 | (char *) "self", NULL | |
4685 | }; | |
4686 | ||
4687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4690 | { |
4691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4692 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
4693 | ||
4694 | wxPyEndAllowThreads(__tstate); | |
4695 | if (PyErr_Occurred()) SWIG_fail; | |
4696 | } | |
2f4c0a16 | 4697 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
4698 | return resultobj; |
4699 | fail: | |
4700 | return NULL; | |
4701 | } | |
4702 | ||
4703 | ||
2f4c0a16 | 4704 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4705 | PyObject *resultobj; |
4706 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4707 | wxSplashScreenWindow *result; | |
4708 | PyObject * obj0 = 0 ; | |
4709 | char *kwnames[] = { | |
4710 | (char *) "self", NULL | |
4711 | }; | |
4712 | ||
4713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4716 | { |
4717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4718 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
4719 | ||
4720 | wxPyEndAllowThreads(__tstate); | |
4721 | if (PyErr_Occurred()) SWIG_fail; | |
4722 | } | |
2f4c0a16 | 4723 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
4724 | return resultobj; |
4725 | fail: | |
4726 | return NULL; | |
4727 | } | |
4728 | ||
4729 | ||
2f4c0a16 | 4730 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4731 | PyObject *resultobj; |
4732 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
4733 | int result; | |
4734 | PyObject * obj0 = 0 ; | |
4735 | char *kwnames[] = { | |
4736 | (char *) "self", NULL | |
4737 | }; | |
4738 | ||
4739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4740 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
4741 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4742 | { |
4743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4744 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
4745 | ||
4746 | wxPyEndAllowThreads(__tstate); | |
4747 | if (PyErr_Occurred()) SWIG_fail; | |
4748 | } | |
2f4c0a16 | 4749 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4750 | return resultobj; |
4751 | fail: | |
4752 | return NULL; | |
4753 | } | |
4754 | ||
4755 | ||
2f4c0a16 | 4756 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4757 | PyObject *obj; |
4758 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4759 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
4760 | Py_INCREF(obj); | |
4761 | return Py_BuildValue((char *)""); | |
4762 | } | |
2f4c0a16 | 4763 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4764 | PyObject *resultobj; |
4765 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 4766 | int arg2 = (int) -1 ; |
d14a1e28 RD |
4767 | long arg3 = (long) wxST_SIZEGRIP ; |
4768 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; | |
4769 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4770 | wxStatusBar *result; | |
423f194a | 4771 | bool temp4 = False ; |
d14a1e28 | 4772 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
4773 | PyObject * obj1 = 0 ; |
4774 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4775 | PyObject * obj3 = 0 ; |
4776 | char *kwnames[] = { | |
4777 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4778 | }; | |
4779 | ||
8edf1c75 | 4780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
4781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4783 | if (obj1) { |
2f4c0a16 RD |
4784 | arg2 = (int) SWIG_AsInt(obj1); |
4785 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
4786 | } |
4787 | if (obj2) { | |
2f4c0a16 RD |
4788 | arg3 = (long) SWIG_AsLong(obj2); |
4789 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4790 | } |
d14a1e28 RD |
4791 | if (obj3) { |
4792 | { | |
4793 | arg4 = wxString_in_helper(obj3); | |
4794 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 4795 | temp4 = True; |
d14a1e28 RD |
4796 | } |
4797 | } | |
4798 | { | |
4799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4800 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
4801 | ||
4802 | wxPyEndAllowThreads(__tstate); | |
4803 | if (PyErr_Occurred()) SWIG_fail; | |
4804 | } | |
4805 | { | |
4806 | resultobj = wxPyMake_wxObject(result); | |
4807 | } | |
4808 | { | |
4809 | if (temp4) | |
4810 | delete arg4; | |
4811 | } | |
4812 | return resultobj; | |
4813 | fail: | |
4814 | { | |
4815 | if (temp4) | |
4816 | delete arg4; | |
4817 | } | |
4818 | return NULL; | |
4819 | } | |
4820 | ||
4821 | ||
2f4c0a16 | 4822 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4823 | PyObject *resultobj; |
4824 | wxStatusBar *result; | |
4825 | char *kwnames[] = { | |
4826 | NULL | |
4827 | }; | |
4828 | ||
4829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
4830 | { | |
4831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4832 | result = (wxStatusBar *)new wxStatusBar(); | |
4833 | ||
4834 | wxPyEndAllowThreads(__tstate); | |
4835 | if (PyErr_Occurred()) SWIG_fail; | |
4836 | } | |
4837 | { | |
4838 | resultobj = wxPyMake_wxObject(result); | |
4839 | } | |
4840 | return resultobj; | |
4841 | fail: | |
4842 | return NULL; | |
4843 | } | |
4844 | ||
4845 | ||
2f4c0a16 | 4846 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4847 | PyObject *resultobj; |
4848 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4849 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 4850 | int arg3 ; |
d14a1e28 RD |
4851 | long arg4 = (long) wxST_SIZEGRIP ; |
4852 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
4853 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
4854 | bool result; | |
423f194a | 4855 | bool temp5 = False ; |
d14a1e28 RD |
4856 | PyObject * obj0 = 0 ; |
4857 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4858 | PyObject * obj2 = 0 ; |
4859 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
4860 | PyObject * obj4 = 0 ; |
4861 | char *kwnames[] = { | |
4862 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
4863 | }; | |
4864 | ||
8edf1c75 | 4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
4866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4868 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4870 | arg3 = (int) SWIG_AsInt(obj2); | |
4871 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4872 | if (obj3) { |
2f4c0a16 RD |
4873 | arg4 = (long) SWIG_AsLong(obj3); |
4874 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4875 | } |
d14a1e28 RD |
4876 | if (obj4) { |
4877 | { | |
4878 | arg5 = wxString_in_helper(obj4); | |
4879 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 4880 | temp5 = True; |
d14a1e28 RD |
4881 | } |
4882 | } | |
4883 | { | |
4884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4885 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
4886 | ||
4887 | wxPyEndAllowThreads(__tstate); | |
4888 | if (PyErr_Occurred()) SWIG_fail; | |
4889 | } | |
02a34c4c | 4890 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
4891 | { |
4892 | if (temp5) | |
4893 | delete arg5; | |
4894 | } | |
4895 | return resultobj; | |
4896 | fail: | |
4897 | { | |
4898 | if (temp5) | |
4899 | delete arg5; | |
4900 | } | |
4901 | return NULL; | |
4902 | } | |
4903 | ||
4904 | ||
2f4c0a16 | 4905 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4906 | PyObject *resultobj; |
4907 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4908 | int arg2 = (int) 1 ; | |
4909 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4910 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4911 | char *kwnames[] = { |
4912 | (char *) "self",(char *) "number", NULL | |
4913 | }; | |
4914 | ||
8edf1c75 | 4915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
4916 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 4918 | if (obj1) { |
2f4c0a16 RD |
4919 | arg2 = (int) SWIG_AsInt(obj1); |
4920 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4921 | } |
d14a1e28 RD |
4922 | { |
4923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4924 | (arg1)->SetFieldsCount(arg2); | |
4925 | ||
4926 | wxPyEndAllowThreads(__tstate); | |
4927 | if (PyErr_Occurred()) SWIG_fail; | |
4928 | } | |
4929 | Py_INCREF(Py_None); resultobj = Py_None; | |
4930 | return resultobj; | |
4931 | fail: | |
4932 | return NULL; | |
4933 | } | |
4934 | ||
4935 | ||
2f4c0a16 | 4936 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4937 | PyObject *resultobj; |
4938 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4939 | int result; | |
4940 | PyObject * obj0 = 0 ; | |
4941 | char *kwnames[] = { | |
4942 | (char *) "self", NULL | |
4943 | }; | |
4944 | ||
4945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4946 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4947 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4948 | { |
4949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4950 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
4951 | ||
4952 | wxPyEndAllowThreads(__tstate); | |
4953 | if (PyErr_Occurred()) SWIG_fail; | |
4954 | } | |
2f4c0a16 | 4955 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
4956 | return resultobj; |
4957 | fail: | |
4958 | return NULL; | |
4959 | } | |
4960 | ||
4961 | ||
2f4c0a16 | 4962 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4963 | PyObject *resultobj; |
4964 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
4965 | wxString *arg2 = 0 ; | |
4966 | int arg3 = (int) 0 ; | |
423f194a | 4967 | bool temp2 = False ; |
d14a1e28 RD |
4968 | PyObject * obj0 = 0 ; |
4969 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4970 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4971 | char *kwnames[] = { |
4972 | (char *) "self",(char *) "text",(char *) "number", NULL | |
4973 | }; | |
4974 | ||
8edf1c75 | 4975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
4977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4978 | { |
4979 | arg2 = wxString_in_helper(obj1); | |
4980 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 4981 | temp2 = True; |
d14a1e28 | 4982 | } |
8edf1c75 | 4983 | if (obj2) { |
2f4c0a16 RD |
4984 | arg3 = (int) SWIG_AsInt(obj2); |
4985 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4986 | } |
d14a1e28 RD |
4987 | { |
4988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4989 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
4990 | ||
4991 | wxPyEndAllowThreads(__tstate); | |
4992 | if (PyErr_Occurred()) SWIG_fail; | |
4993 | } | |
4994 | Py_INCREF(Py_None); resultobj = Py_None; | |
4995 | { | |
4996 | if (temp2) | |
4997 | delete arg2; | |
4998 | } | |
4999 | return resultobj; | |
5000 | fail: | |
5001 | { | |
5002 | if (temp2) | |
5003 | delete arg2; | |
5004 | } | |
5005 | return NULL; | |
5006 | } | |
5007 | ||
5008 | ||
2f4c0a16 | 5009 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5010 | PyObject *resultobj; |
5011 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5012 | int arg2 = (int) 0 ; | |
5013 | wxString result; | |
5014 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5015 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5016 | char *kwnames[] = { |
5017 | (char *) "self",(char *) "number", NULL | |
5018 | }; | |
5019 | ||
8edf1c75 | 5020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5023 | if (obj1) { |
2f4c0a16 RD |
5024 | arg2 = (int) SWIG_AsInt(obj1); |
5025 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5026 | } |
d14a1e28 RD |
5027 | { |
5028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5029 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5030 | ||
5031 | wxPyEndAllowThreads(__tstate); | |
5032 | if (PyErr_Occurred()) SWIG_fail; | |
5033 | } | |
5034 | { | |
5035 | #if wxUSE_UNICODE | |
5036 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5037 | #else | |
5038 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5039 | #endif | |
5040 | } | |
5041 | return resultobj; | |
5042 | fail: | |
5043 | return NULL; | |
5044 | } | |
5045 | ||
5046 | ||
2f4c0a16 | 5047 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5048 | PyObject *resultobj; |
5049 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5050 | wxString *arg2 = 0 ; | |
5051 | int arg3 = (int) 0 ; | |
423f194a | 5052 | bool temp2 = False ; |
d14a1e28 RD |
5053 | PyObject * obj0 = 0 ; |
5054 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5055 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5056 | char *kwnames[] = { |
5057 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5058 | }; | |
5059 | ||
8edf1c75 | 5060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5061 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5062 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5063 | { |
5064 | arg2 = wxString_in_helper(obj1); | |
5065 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 5066 | temp2 = True; |
d14a1e28 | 5067 | } |
8edf1c75 | 5068 | if (obj2) { |
2f4c0a16 RD |
5069 | arg3 = (int) SWIG_AsInt(obj2); |
5070 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5071 | } |
d14a1e28 RD |
5072 | { |
5073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5074 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5075 | ||
5076 | wxPyEndAllowThreads(__tstate); | |
5077 | if (PyErr_Occurred()) SWIG_fail; | |
5078 | } | |
5079 | Py_INCREF(Py_None); resultobj = Py_None; | |
5080 | { | |
5081 | if (temp2) | |
5082 | delete arg2; | |
5083 | } | |
5084 | return resultobj; | |
5085 | fail: | |
5086 | { | |
5087 | if (temp2) | |
5088 | delete arg2; | |
5089 | } | |
5090 | return NULL; | |
5091 | } | |
5092 | ||
5093 | ||
2f4c0a16 | 5094 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5095 | PyObject *resultobj; |
5096 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5097 | int arg2 = (int) 0 ; | |
5098 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5099 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5100 | char *kwnames[] = { |
5101 | (char *) "self",(char *) "number", NULL | |
5102 | }; | |
5103 | ||
8edf1c75 | 5104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5107 | if (obj1) { |
2f4c0a16 RD |
5108 | arg2 = (int) SWIG_AsInt(obj1); |
5109 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5110 | } |
d14a1e28 RD |
5111 | { |
5112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5113 | (arg1)->PopStatusText(arg2); | |
5114 | ||
5115 | wxPyEndAllowThreads(__tstate); | |
5116 | if (PyErr_Occurred()) SWIG_fail; | |
5117 | } | |
5118 | Py_INCREF(Py_None); resultobj = Py_None; | |
5119 | return resultobj; | |
5120 | fail: | |
5121 | return NULL; | |
5122 | } | |
5123 | ||
5124 | ||
2f4c0a16 | 5125 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5126 | PyObject *resultobj; |
5127 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5128 | int arg2 ; | |
5129 | int *arg3 = (int *) 0 ; | |
5130 | PyObject * obj0 = 0 ; | |
5131 | PyObject * obj1 = 0 ; | |
5132 | char *kwnames[] = { | |
5133 | (char *) "self",(char *) "widths", NULL | |
5134 | }; | |
5135 | ||
5136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5137 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5138 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5139 | { |
5140 | arg2 = PyList_Size(obj1); | |
5141 | arg3 = int_LIST_helper(obj1); | |
5142 | if (arg3 == NULL) SWIG_fail; | |
5143 | } | |
5144 | { | |
5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5146 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5147 | ||
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
5151 | Py_INCREF(Py_None); resultobj = Py_None; | |
5152 | { | |
5153 | if (arg3) delete [] arg3; | |
5154 | } | |
5155 | return resultobj; | |
5156 | fail: | |
5157 | { | |
5158 | if (arg3) delete [] arg3; | |
5159 | } | |
5160 | return NULL; | |
5161 | } | |
5162 | ||
5163 | ||
2f4c0a16 | 5164 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5165 | PyObject *resultobj; |
5166 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5167 | int arg2 ; | |
44127b65 | 5168 | wxRect result; |
d14a1e28 | 5169 | PyObject * obj0 = 0 ; |
8edf1c75 | 5170 | PyObject * obj1 = 0 ; |
d14a1e28 | 5171 | char *kwnames[] = { |
44127b65 | 5172 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5173 | }; |
5174 | ||
8edf1c75 | 5175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5178 | arg2 = (int) SWIG_AsInt(obj1); | |
5179 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5180 | { |
5181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 5182 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5183 | |
5184 | wxPyEndAllowThreads(__tstate); | |
5185 | if (PyErr_Occurred()) SWIG_fail; | |
5186 | } | |
44127b65 RD |
5187 | { |
5188 | wxRect * resultptr; | |
5189 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 5190 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
44127b65 | 5191 | } |
d14a1e28 RD |
5192 | return resultobj; |
5193 | fail: | |
5194 | return NULL; | |
5195 | } | |
5196 | ||
5197 | ||
2f4c0a16 | 5198 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5199 | PyObject *resultobj; |
5200 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5201 | int arg2 ; | |
5202 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5203 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5204 | char *kwnames[] = { |
5205 | (char *) "self",(char *) "height", NULL | |
5206 | }; | |
5207 | ||
8edf1c75 | 5208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",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(); | |
5215 | (arg1)->SetMinHeight(arg2); | |
5216 | ||
5217 | wxPyEndAllowThreads(__tstate); | |
5218 | if (PyErr_Occurred()) SWIG_fail; | |
5219 | } | |
5220 | Py_INCREF(Py_None); resultobj = Py_None; | |
5221 | return resultobj; | |
5222 | fail: | |
5223 | return NULL; | |
5224 | } | |
5225 | ||
5226 | ||
2f4c0a16 | 5227 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5228 | PyObject *resultobj; |
5229 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5230 | int result; | |
5231 | PyObject * obj0 = 0 ; | |
5232 | char *kwnames[] = { | |
5233 | (char *) "self", NULL | |
5234 | }; | |
5235 | ||
5236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5239 | { |
5240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5241 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5242 | ||
5243 | wxPyEndAllowThreads(__tstate); | |
5244 | if (PyErr_Occurred()) SWIG_fail; | |
5245 | } | |
2f4c0a16 | 5246 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5247 | return resultobj; |
5248 | fail: | |
5249 | return NULL; | |
5250 | } | |
5251 | ||
5252 | ||
2f4c0a16 | 5253 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5254 | PyObject *resultobj; |
5255 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5256 | int result; | |
5257 | PyObject * obj0 = 0 ; | |
5258 | char *kwnames[] = { | |
5259 | (char *) "self", NULL | |
5260 | }; | |
5261 | ||
5262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5265 | { |
5266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5267 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5268 | ||
5269 | wxPyEndAllowThreads(__tstate); | |
5270 | if (PyErr_Occurred()) SWIG_fail; | |
5271 | } | |
2f4c0a16 | 5272 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5273 | return resultobj; |
5274 | fail: | |
5275 | return NULL; | |
5276 | } | |
5277 | ||
5278 | ||
2f4c0a16 | 5279 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5280 | PyObject *obj; |
5281 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5282 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5283 | Py_INCREF(obj); | |
5284 | return Py_BuildValue((char *)""); | |
5285 | } | |
8edf1c75 | 5286 | static int _wrap_SplitterNameStr_set(PyObject *) { |
cbd72d4f RD |
5287 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5288 | return 1; | |
5289 | } | |
5290 | ||
5291 | ||
5292 | static PyObject *_wrap_SplitterNameStr_get() { | |
5293 | PyObject *pyobj; | |
5294 | ||
5295 | { | |
5296 | #if wxUSE_UNICODE | |
5297 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5298 | #else | |
5299 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5300 | #endif | |
5301 | } | |
5302 | return pyobj; | |
5303 | } | |
5304 | ||
5305 | ||
2f4c0a16 | 5306 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5307 | PyObject *resultobj; |
5308 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 5309 | int arg2 ; |
d14a1e28 RD |
5310 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5311 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5312 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5313 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5314 | long arg5 = (long) wxSP_3D ; | |
5315 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5316 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5317 | wxSplitterWindow *result; | |
5318 | wxPoint temp3 ; | |
5319 | wxSize temp4 ; | |
423f194a | 5320 | bool temp6 = False ; |
d14a1e28 | 5321 | PyObject * obj0 = 0 ; |
8edf1c75 | 5322 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5323 | PyObject * obj2 = 0 ; |
5324 | PyObject * obj3 = 0 ; | |
8edf1c75 | 5325 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5326 | PyObject * obj5 = 0 ; |
5327 | char *kwnames[] = { | |
8edf1c75 | 5328 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5329 | }; |
5330 | ||
8edf1c75 | 5331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
5332 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5333 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5334 | arg2 = (int) SWIG_AsInt(obj1); | |
5335 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5336 | if (obj2) { |
5337 | { | |
5338 | arg3 = &temp3; | |
5339 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5340 | } | |
5341 | } | |
5342 | if (obj3) { | |
5343 | { | |
5344 | arg4 = &temp4; | |
5345 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5346 | } | |
5347 | } | |
8edf1c75 | 5348 | if (obj4) { |
2f4c0a16 RD |
5349 | arg5 = (long) SWIG_AsLong(obj4); |
5350 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5351 | } |
d14a1e28 RD |
5352 | if (obj5) { |
5353 | { | |
5354 | arg6 = wxString_in_helper(obj5); | |
5355 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 5356 | temp6 = True; |
d14a1e28 RD |
5357 | } |
5358 | } | |
5359 | { | |
5360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5361 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
5362 | ||
5363 | wxPyEndAllowThreads(__tstate); | |
5364 | if (PyErr_Occurred()) SWIG_fail; | |
5365 | } | |
2f4c0a16 | 5366 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5367 | { |
5368 | if (temp6) | |
5369 | delete arg6; | |
5370 | } | |
5371 | return resultobj; | |
5372 | fail: | |
5373 | { | |
5374 | if (temp6) | |
5375 | delete arg6; | |
5376 | } | |
5377 | return NULL; | |
5378 | } | |
5379 | ||
5380 | ||
2f4c0a16 | 5381 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5382 | PyObject *resultobj; |
5383 | wxSplitterWindow *result; | |
5384 | char *kwnames[] = { | |
5385 | NULL | |
5386 | }; | |
5387 | ||
5388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
5389 | { | |
5390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5391 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
5392 | ||
5393 | wxPyEndAllowThreads(__tstate); | |
5394 | if (PyErr_Occurred()) SWIG_fail; | |
5395 | } | |
2f4c0a16 | 5396 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
5397 | return resultobj; |
5398 | fail: | |
5399 | return NULL; | |
5400 | } | |
5401 | ||
5402 | ||
2f4c0a16 | 5403 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5404 | PyObject *resultobj; |
5405 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5406 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 5407 | int arg3 ; |
d14a1e28 RD |
5408 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5409 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5410 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5411 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5412 | long arg6 = (long) wxSP_3D ; | |
5413 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
5414 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5415 | bool result; | |
5416 | wxPoint temp4 ; | |
5417 | wxSize temp5 ; | |
423f194a | 5418 | bool temp7 = False ; |
d14a1e28 RD |
5419 | PyObject * obj0 = 0 ; |
5420 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5421 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5422 | PyObject * obj3 = 0 ; |
5423 | PyObject * obj4 = 0 ; | |
8edf1c75 | 5424 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5425 | PyObject * obj6 = 0 ; |
5426 | char *kwnames[] = { | |
8edf1c75 | 5427 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5428 | }; |
5429 | ||
8edf1c75 | 5430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
5431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5433 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5435 | arg3 = (int) SWIG_AsInt(obj2); | |
5436 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5437 | if (obj3) { |
5438 | { | |
5439 | arg4 = &temp4; | |
5440 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5441 | } | |
5442 | } | |
5443 | if (obj4) { | |
5444 | { | |
5445 | arg5 = &temp5; | |
5446 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5447 | } | |
5448 | } | |
8edf1c75 | 5449 | if (obj5) { |
2f4c0a16 RD |
5450 | arg6 = (long) SWIG_AsLong(obj5); |
5451 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5452 | } |
d14a1e28 RD |
5453 | if (obj6) { |
5454 | { | |
5455 | arg7 = wxString_in_helper(obj6); | |
5456 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 5457 | temp7 = True; |
d14a1e28 RD |
5458 | } |
5459 | } | |
5460 | { | |
5461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5462 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
5463 | ||
5464 | wxPyEndAllowThreads(__tstate); | |
5465 | if (PyErr_Occurred()) SWIG_fail; | |
5466 | } | |
02a34c4c | 5467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5468 | { |
5469 | if (temp7) | |
5470 | delete arg7; | |
5471 | } | |
5472 | return resultobj; | |
5473 | fail: | |
5474 | { | |
5475 | if (temp7) | |
5476 | delete arg7; | |
5477 | } | |
5478 | return NULL; | |
5479 | } | |
5480 | ||
5481 | ||
2f4c0a16 | 5482 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5483 | PyObject *resultobj; |
5484 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5485 | wxWindow *result; | |
5486 | PyObject * obj0 = 0 ; | |
5487 | char *kwnames[] = { | |
5488 | (char *) "self", NULL | |
5489 | }; | |
5490 | ||
5491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5492 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5493 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5494 | { |
5495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5496 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
5497 | ||
5498 | wxPyEndAllowThreads(__tstate); | |
5499 | if (PyErr_Occurred()) SWIG_fail; | |
5500 | } | |
5501 | { | |
5502 | resultobj = wxPyMake_wxObject(result); | |
5503 | } | |
5504 | return resultobj; | |
5505 | fail: | |
5506 | return NULL; | |
5507 | } | |
5508 | ||
5509 | ||
2f4c0a16 | 5510 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5511 | PyObject *resultobj; |
5512 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5513 | wxWindow *result; | |
5514 | PyObject * obj0 = 0 ; | |
5515 | char *kwnames[] = { | |
5516 | (char *) "self", NULL | |
5517 | }; | |
5518 | ||
5519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5522 | { |
5523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5524 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
5525 | ||
5526 | wxPyEndAllowThreads(__tstate); | |
5527 | if (PyErr_Occurred()) SWIG_fail; | |
5528 | } | |
5529 | { | |
5530 | resultobj = wxPyMake_wxObject(result); | |
5531 | } | |
5532 | return resultobj; | |
5533 | fail: | |
5534 | return NULL; | |
5535 | } | |
5536 | ||
5537 | ||
2f4c0a16 | 5538 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5539 | PyObject *resultobj; |
5540 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5541 | int arg2 ; | |
5542 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5543 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5544 | char *kwnames[] = { |
5545 | (char *) "self",(char *) "mode", NULL | |
5546 | }; | |
5547 | ||
8edf1c75 | 5548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5551 | arg2 = (int) SWIG_AsInt(obj1); | |
5552 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5553 | { |
5554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5555 | (arg1)->SetSplitMode(arg2); | |
5556 | ||
5557 | wxPyEndAllowThreads(__tstate); | |
5558 | if (PyErr_Occurred()) SWIG_fail; | |
5559 | } | |
5560 | Py_INCREF(Py_None); resultobj = Py_None; | |
5561 | return resultobj; | |
5562 | fail: | |
5563 | return NULL; | |
5564 | } | |
5565 | ||
5566 | ||
2f4c0a16 | 5567 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5568 | PyObject *resultobj; |
5569 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5570 | int result; | |
5571 | PyObject * obj0 = 0 ; | |
5572 | char *kwnames[] = { | |
5573 | (char *) "self", NULL | |
5574 | }; | |
5575 | ||
5576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5577 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5579 | { |
5580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5581 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
5582 | ||
5583 | wxPyEndAllowThreads(__tstate); | |
5584 | if (PyErr_Occurred()) SWIG_fail; | |
5585 | } | |
2f4c0a16 | 5586 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5587 | return resultobj; |
5588 | fail: | |
5589 | return NULL; | |
5590 | } | |
5591 | ||
5592 | ||
2f4c0a16 | 5593 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5594 | PyObject *resultobj; |
5595 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5596 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5597 | PyObject * obj0 = 0 ; | |
5598 | PyObject * obj1 = 0 ; | |
5599 | char *kwnames[] = { | |
5600 | (char *) "self",(char *) "window", NULL | |
5601 | }; | |
5602 | ||
5603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5606 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5607 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5608 | { |
5609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5610 | (arg1)->Initialize(arg2); | |
5611 | ||
5612 | wxPyEndAllowThreads(__tstate); | |
5613 | if (PyErr_Occurred()) SWIG_fail; | |
5614 | } | |
5615 | Py_INCREF(Py_None); resultobj = Py_None; | |
5616 | return resultobj; | |
5617 | fail: | |
5618 | return NULL; | |
5619 | } | |
5620 | ||
5621 | ||
2f4c0a16 | 5622 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5623 | PyObject *resultobj; |
5624 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5625 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5626 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5627 | int arg4 = (int) 0 ; | |
5628 | bool result; | |
5629 | PyObject * obj0 = 0 ; | |
5630 | PyObject * obj1 = 0 ; | |
5631 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5632 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5633 | char *kwnames[] = { |
5634 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5635 | }; | |
5636 | ||
8edf1c75 | 5637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5640 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5642 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5644 | if (obj3) { |
2f4c0a16 RD |
5645 | arg4 = (int) SWIG_AsInt(obj3); |
5646 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5647 | } |
d14a1e28 RD |
5648 | { |
5649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5650 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
5651 | ||
5652 | wxPyEndAllowThreads(__tstate); | |
5653 | if (PyErr_Occurred()) SWIG_fail; | |
5654 | } | |
02a34c4c | 5655 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5656 | return resultobj; |
5657 | fail: | |
5658 | return NULL; | |
5659 | } | |
5660 | ||
5661 | ||
2f4c0a16 | 5662 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5663 | PyObject *resultobj; |
5664 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5665 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5666 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5667 | int arg4 = (int) 0 ; | |
5668 | bool result; | |
5669 | PyObject * obj0 = 0 ; | |
5670 | PyObject * obj1 = 0 ; | |
5671 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5672 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
5673 | char *kwnames[] = { |
5674 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
5675 | }; | |
5676 | ||
8edf1c75 | 5677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
5678 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5679 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5680 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5682 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 5684 | if (obj3) { |
2f4c0a16 RD |
5685 | arg4 = (int) SWIG_AsInt(obj3); |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5687 | } |
d14a1e28 RD |
5688 | { |
5689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5690 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
5691 | ||
5692 | wxPyEndAllowThreads(__tstate); | |
5693 | if (PyErr_Occurred()) SWIG_fail; | |
5694 | } | |
02a34c4c | 5695 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5696 | return resultobj; |
5697 | fail: | |
5698 | return NULL; | |
5699 | } | |
5700 | ||
5701 | ||
2f4c0a16 | 5702 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5703 | PyObject *resultobj; |
5704 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5705 | wxWindow *arg2 = (wxWindow *) NULL ; | |
5706 | bool result; | |
5707 | PyObject * obj0 = 0 ; | |
5708 | PyObject * obj1 = 0 ; | |
5709 | char *kwnames[] = { | |
5710 | (char *) "self",(char *) "toRemove", NULL | |
5711 | }; | |
5712 | ||
5713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 5716 | if (obj1) { |
2f4c0a16 RD |
5717 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5719 | } |
5720 | { | |
5721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5722 | result = (bool)(arg1)->Unsplit(arg2); | |
5723 | ||
5724 | wxPyEndAllowThreads(__tstate); | |
5725 | if (PyErr_Occurred()) SWIG_fail; | |
5726 | } | |
02a34c4c | 5727 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5728 | return resultobj; |
5729 | fail: | |
5730 | return NULL; | |
5731 | } | |
5732 | ||
5733 | ||
2f4c0a16 | 5734 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5735 | PyObject *resultobj; |
5736 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5737 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5738 | wxWindow *arg3 = (wxWindow *) 0 ; | |
5739 | bool result; | |
5740 | PyObject * obj0 = 0 ; | |
5741 | PyObject * obj1 = 0 ; | |
5742 | PyObject * obj2 = 0 ; | |
5743 | char *kwnames[] = { | |
5744 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
5745 | }; | |
5746 | ||
5747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
5748 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5749 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5750 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5751 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5752 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
5753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5754 | { |
5755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5756 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
5757 | ||
5758 | wxPyEndAllowThreads(__tstate); | |
5759 | if (PyErr_Occurred()) SWIG_fail; | |
5760 | } | |
02a34c4c | 5761 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5762 | return resultobj; |
5763 | fail: | |
5764 | return NULL; | |
5765 | } | |
5766 | ||
5767 | ||
2f4c0a16 | 5768 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5769 | PyObject *resultobj; |
5770 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5771 | bool result; | |
5772 | PyObject * obj0 = 0 ; | |
5773 | char *kwnames[] = { | |
5774 | (char *) "self", NULL | |
5775 | }; | |
5776 | ||
5777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5780 | { |
5781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5782 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
5783 | ||
5784 | wxPyEndAllowThreads(__tstate); | |
5785 | if (PyErr_Occurred()) SWIG_fail; | |
5786 | } | |
02a34c4c | 5787 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
5788 | return resultobj; |
5789 | fail: | |
5790 | return NULL; | |
5791 | } | |
5792 | ||
5793 | ||
2f4c0a16 | 5794 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5795 | PyObject *resultobj; |
5796 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5797 | int arg2 ; | |
5798 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5799 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5800 | char *kwnames[] = { |
5801 | (char *) "self",(char *) "width", NULL | |
5802 | }; | |
5803 | ||
8edf1c75 | 5804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5807 | arg2 = (int) SWIG_AsInt(obj1); | |
5808 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5809 | { |
5810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5811 | (arg1)->SetSashSize(arg2); | |
5812 | ||
5813 | wxPyEndAllowThreads(__tstate); | |
5814 | if (PyErr_Occurred()) SWIG_fail; | |
5815 | } | |
5816 | Py_INCREF(Py_None); resultobj = Py_None; | |
5817 | return resultobj; | |
5818 | fail: | |
5819 | return NULL; | |
5820 | } | |
5821 | ||
5822 | ||
2f4c0a16 | 5823 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5824 | PyObject *resultobj; |
5825 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5826 | int arg2 ; | |
5827 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5828 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5829 | char *kwnames[] = { |
5830 | (char *) "self",(char *) "width", NULL | |
5831 | }; | |
5832 | ||
8edf1c75 | 5833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5836 | arg2 = (int) SWIG_AsInt(obj1); | |
5837 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5838 | { |
5839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5840 | (arg1)->SetBorderSize(arg2); | |
5841 | ||
5842 | wxPyEndAllowThreads(__tstate); | |
5843 | if (PyErr_Occurred()) SWIG_fail; | |
5844 | } | |
5845 | Py_INCREF(Py_None); resultobj = Py_None; | |
5846 | return resultobj; | |
5847 | fail: | |
5848 | return NULL; | |
5849 | } | |
5850 | ||
5851 | ||
2f4c0a16 | 5852 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5853 | PyObject *resultobj; |
5854 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5855 | int result; | |
5856 | PyObject * obj0 = 0 ; | |
5857 | char *kwnames[] = { | |
5858 | (char *) "self", NULL | |
5859 | }; | |
5860 | ||
5861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5864 | { |
5865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5866 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
5867 | ||
5868 | wxPyEndAllowThreads(__tstate); | |
5869 | if (PyErr_Occurred()) SWIG_fail; | |
5870 | } | |
2f4c0a16 | 5871 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5872 | return resultobj; |
5873 | fail: | |
5874 | return NULL; | |
5875 | } | |
5876 | ||
5877 | ||
2f4c0a16 | 5878 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5879 | PyObject *resultobj; |
5880 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5881 | int result; | |
5882 | PyObject * obj0 = 0 ; | |
5883 | char *kwnames[] = { | |
5884 | (char *) "self", NULL | |
5885 | }; | |
5886 | ||
5887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5890 | { |
5891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5892 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
5893 | ||
5894 | wxPyEndAllowThreads(__tstate); | |
5895 | if (PyErr_Occurred()) SWIG_fail; | |
5896 | } | |
2f4c0a16 | 5897 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5898 | return resultobj; |
5899 | fail: | |
5900 | return NULL; | |
5901 | } | |
5902 | ||
5903 | ||
2f4c0a16 | 5904 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5905 | PyObject *resultobj; |
5906 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5907 | int arg2 ; | |
423f194a | 5908 | bool arg3 = (bool) True ; |
d14a1e28 | 5909 | PyObject * obj0 = 0 ; |
8edf1c75 | 5910 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5911 | PyObject * obj2 = 0 ; |
5912 | char *kwnames[] = { | |
5913 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
5914 | }; | |
5915 | ||
8edf1c75 | 5916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5919 | arg2 = (int) SWIG_AsInt(obj1); | |
5920 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 | 5921 | if (obj2) { |
2f4c0a16 RD |
5922 | arg3 = (bool) SWIG_AsBool(obj2); |
5923 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5924 | } |
5925 | { | |
5926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5927 | (arg1)->SetSashPosition(arg2,arg3); | |
5928 | ||
5929 | wxPyEndAllowThreads(__tstate); | |
5930 | if (PyErr_Occurred()) SWIG_fail; | |
5931 | } | |
5932 | Py_INCREF(Py_None); resultobj = Py_None; | |
5933 | return resultobj; | |
5934 | fail: | |
5935 | return NULL; | |
5936 | } | |
5937 | ||
5938 | ||
2f4c0a16 | 5939 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5940 | PyObject *resultobj; |
5941 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5942 | int result; | |
5943 | PyObject * obj0 = 0 ; | |
5944 | char *kwnames[] = { | |
5945 | (char *) "self", NULL | |
5946 | }; | |
5947 | ||
5948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5951 | { |
5952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5953 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
5954 | ||
5955 | wxPyEndAllowThreads(__tstate); | |
5956 | if (PyErr_Occurred()) SWIG_fail; | |
5957 | } | |
2f4c0a16 | 5958 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
5959 | return resultobj; |
5960 | fail: | |
5961 | return NULL; | |
5962 | } | |
5963 | ||
5964 | ||
2f4c0a16 | 5965 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5966 | PyObject *resultobj; |
5967 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5968 | int arg2 ; | |
5969 | PyObject * obj0 = 0 ; | |
8edf1c75 | 5970 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5971 | char *kwnames[] = { |
5972 | (char *) "self",(char *) "min", NULL | |
5973 | }; | |
5974 | ||
8edf1c75 | 5975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
5976 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
5977 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5978 | arg2 = (int) SWIG_AsInt(obj1); | |
5979 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
5980 | { |
5981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5982 | (arg1)->SetMinimumPaneSize(arg2); | |
5983 | ||
5984 | wxPyEndAllowThreads(__tstate); | |
5985 | if (PyErr_Occurred()) SWIG_fail; | |
5986 | } | |
5987 | Py_INCREF(Py_None); resultobj = Py_None; | |
5988 | return resultobj; | |
5989 | fail: | |
5990 | return NULL; | |
5991 | } | |
5992 | ||
5993 | ||
2f4c0a16 | 5994 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5995 | PyObject *resultobj; |
5996 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
5997 | int result; | |
5998 | PyObject * obj0 = 0 ; | |
5999 | char *kwnames[] = { | |
6000 | (char *) "self", NULL | |
6001 | }; | |
6002 | ||
6003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6004 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6005 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6006 | { |
6007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6008 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6009 | ||
6010 | wxPyEndAllowThreads(__tstate); | |
6011 | if (PyErr_Occurred()) SWIG_fail; | |
6012 | } | |
2f4c0a16 | 6013 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6014 | return resultobj; |
6015 | fail: | |
6016 | return NULL; | |
6017 | } | |
6018 | ||
6019 | ||
2f4c0a16 | 6020 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6021 | PyObject *resultobj; |
6022 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6023 | int arg2 ; | |
6024 | int arg3 ; | |
6025 | int arg4 = (int) 5 ; | |
6026 | bool result; | |
6027 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
6028 | PyObject * obj1 = 0 ; |
6029 | PyObject * obj2 = 0 ; | |
6030 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6031 | char *kwnames[] = { |
6032 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6033 | }; | |
6034 | ||
8edf1c75 | 6035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
6036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6038 | arg2 = (int) SWIG_AsInt(obj1); | |
6039 | if (PyErr_Occurred()) SWIG_fail; | |
6040 | arg3 = (int) SWIG_AsInt(obj2); | |
6041 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6042 | if (obj3) { |
2f4c0a16 RD |
6043 | arg4 = (int) SWIG_AsInt(obj3); |
6044 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6045 | } |
d14a1e28 RD |
6046 | { |
6047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6048 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6049 | ||
6050 | wxPyEndAllowThreads(__tstate); | |
6051 | if (PyErr_Occurred()) SWIG_fail; | |
6052 | } | |
02a34c4c | 6053 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6054 | return resultobj; |
6055 | fail: | |
6056 | return NULL; | |
6057 | } | |
6058 | ||
6059 | ||
2f4c0a16 | 6060 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6061 | PyObject *resultobj; |
6062 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6063 | PyObject * obj0 = 0 ; | |
6064 | char *kwnames[] = { | |
6065 | (char *) "self", NULL | |
6066 | }; | |
6067 | ||
6068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6069 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6070 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6071 | { |
6072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6073 | (arg1)->SizeWindows(); | |
6074 | ||
6075 | wxPyEndAllowThreads(__tstate); | |
6076 | if (PyErr_Occurred()) SWIG_fail; | |
6077 | } | |
6078 | Py_INCREF(Py_None); resultobj = Py_None; | |
6079 | return resultobj; | |
6080 | fail: | |
6081 | return NULL; | |
6082 | } | |
6083 | ||
6084 | ||
2f4c0a16 | 6085 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6086 | PyObject *resultobj; |
6087 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6088 | bool arg2 ; | |
6089 | PyObject * obj0 = 0 ; | |
6090 | PyObject * obj1 = 0 ; | |
6091 | char *kwnames[] = { | |
6092 | (char *) "self",(char *) "needUpdating", NULL | |
6093 | }; | |
6094 | ||
6095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6098 | arg2 = (bool) SWIG_AsBool(obj1); | |
6099 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6100 | { |
6101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6102 | (arg1)->SetNeedUpdating(arg2); | |
6103 | ||
6104 | wxPyEndAllowThreads(__tstate); | |
6105 | if (PyErr_Occurred()) SWIG_fail; | |
6106 | } | |
6107 | Py_INCREF(Py_None); resultobj = Py_None; | |
6108 | return resultobj; | |
6109 | fail: | |
6110 | return NULL; | |
6111 | } | |
6112 | ||
6113 | ||
2f4c0a16 | 6114 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6115 | PyObject *resultobj; |
6116 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6117 | bool result; | |
6118 | PyObject * obj0 = 0 ; | |
6119 | char *kwnames[] = { | |
6120 | (char *) "self", NULL | |
6121 | }; | |
6122 | ||
6123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6126 | { |
6127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6128 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6129 | ||
6130 | wxPyEndAllowThreads(__tstate); | |
6131 | if (PyErr_Occurred()) SWIG_fail; | |
6132 | } | |
02a34c4c | 6133 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6134 | return resultobj; |
6135 | fail: | |
6136 | return NULL; | |
6137 | } | |
6138 | ||
6139 | ||
2f4c0a16 | 6140 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6141 | PyObject *obj; |
6142 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6143 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6144 | Py_INCREF(obj); | |
6145 | return Py_BuildValue((char *)""); | |
6146 | } | |
2f4c0a16 | 6147 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6148 | PyObject *resultobj; |
6149 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6150 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6151 | wxSplitterEvent *result; | |
8edf1c75 | 6152 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6153 | PyObject * obj1 = 0 ; |
6154 | char *kwnames[] = { | |
6155 | (char *) "type",(char *) "splitter", NULL | |
6156 | }; | |
6157 | ||
8edf1c75 RD |
6158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6159 | if (obj0) { | |
2f4c0a16 RD |
6160 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
6161 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6162 | } |
d14a1e28 | 6163 | if (obj1) { |
2f4c0a16 RD |
6164 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6166 | } |
6167 | { | |
6168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6169 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6170 | ||
6171 | wxPyEndAllowThreads(__tstate); | |
6172 | if (PyErr_Occurred()) SWIG_fail; | |
6173 | } | |
2f4c0a16 | 6174 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6175 | return resultobj; |
6176 | fail: | |
6177 | return NULL; | |
6178 | } | |
6179 | ||
6180 | ||
2f4c0a16 | 6181 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6182 | PyObject *resultobj; |
6183 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6184 | int arg2 ; | |
6185 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6186 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6187 | char *kwnames[] = { |
6188 | (char *) "self",(char *) "pos", NULL | |
6189 | }; | |
6190 | ||
8edf1c75 | 6191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6192 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6193 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6194 | arg2 = (int) SWIG_AsInt(obj1); | |
6195 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6196 | { |
6197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6198 | (arg1)->SetSashPosition(arg2); | |
6199 | ||
6200 | wxPyEndAllowThreads(__tstate); | |
6201 | if (PyErr_Occurred()) SWIG_fail; | |
6202 | } | |
6203 | Py_INCREF(Py_None); resultobj = Py_None; | |
6204 | return resultobj; | |
6205 | fail: | |
6206 | return NULL; | |
6207 | } | |
6208 | ||
6209 | ||
2f4c0a16 | 6210 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6211 | PyObject *resultobj; |
6212 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6213 | int result; | |
6214 | PyObject * obj0 = 0 ; | |
6215 | char *kwnames[] = { | |
6216 | (char *) "self", NULL | |
6217 | }; | |
6218 | ||
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6220 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6221 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6222 | { |
6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6224 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
6225 | ||
6226 | wxPyEndAllowThreads(__tstate); | |
6227 | if (PyErr_Occurred()) SWIG_fail; | |
6228 | } | |
2f4c0a16 | 6229 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6230 | return resultobj; |
6231 | fail: | |
6232 | return NULL; | |
6233 | } | |
6234 | ||
6235 | ||
2f4c0a16 | 6236 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6237 | PyObject *resultobj; |
6238 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6239 | wxWindow *result; | |
6240 | PyObject * obj0 = 0 ; | |
6241 | char *kwnames[] = { | |
6242 | (char *) "self", NULL | |
6243 | }; | |
6244 | ||
6245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6246 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6247 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6248 | { |
6249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6250 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
6251 | ||
6252 | wxPyEndAllowThreads(__tstate); | |
6253 | if (PyErr_Occurred()) SWIG_fail; | |
6254 | } | |
6255 | { | |
6256 | resultobj = wxPyMake_wxObject(result); | |
6257 | } | |
6258 | return resultobj; | |
6259 | fail: | |
6260 | return NULL; | |
6261 | } | |
6262 | ||
6263 | ||
2f4c0a16 | 6264 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6265 | PyObject *resultobj; |
6266 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6267 | int result; | |
6268 | PyObject * obj0 = 0 ; | |
6269 | char *kwnames[] = { | |
6270 | (char *) "self", NULL | |
6271 | }; | |
6272 | ||
6273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6276 | { |
6277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6278 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
6279 | ||
6280 | wxPyEndAllowThreads(__tstate); | |
6281 | if (PyErr_Occurred()) SWIG_fail; | |
6282 | } | |
2f4c0a16 | 6283 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6284 | return resultobj; |
6285 | fail: | |
6286 | return NULL; | |
6287 | } | |
6288 | ||
6289 | ||
2f4c0a16 | 6290 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6291 | PyObject *resultobj; |
6292 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6293 | int result; | |
6294 | PyObject * obj0 = 0 ; | |
6295 | char *kwnames[] = { | |
6296 | (char *) "self", NULL | |
6297 | }; | |
6298 | ||
6299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6302 | { |
6303 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6304 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
6305 | ||
6306 | wxPyEndAllowThreads(__tstate); | |
6307 | if (PyErr_Occurred()) SWIG_fail; | |
6308 | } | |
2f4c0a16 | 6309 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6310 | return resultobj; |
6311 | fail: | |
6312 | return NULL; | |
6313 | } | |
6314 | ||
6315 | ||
2f4c0a16 | 6316 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6317 | PyObject *obj; |
6318 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6319 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
6320 | Py_INCREF(obj); | |
6321 | return Py_BuildValue((char *)""); | |
6322 | } | |
8edf1c75 | 6323 | static int _wrap_SashNameStr_set(PyObject *) { |
cbd72d4f RD |
6324 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
6325 | return 1; | |
6326 | } | |
6327 | ||
6328 | ||
6329 | static PyObject *_wrap_SashNameStr_get() { | |
6330 | PyObject *pyobj; | |
6331 | ||
6332 | { | |
6333 | #if wxUSE_UNICODE | |
6334 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6335 | #else | |
6336 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
6337 | #endif | |
6338 | } | |
6339 | return pyobj; | |
6340 | } | |
6341 | ||
6342 | ||
8edf1c75 | 6343 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
cbd72d4f RD |
6344 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
6345 | return 1; | |
6346 | } | |
6347 | ||
6348 | ||
6349 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
6350 | PyObject *pyobj; | |
6351 | ||
6352 | { | |
6353 | #if wxUSE_UNICODE | |
6354 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6355 | #else | |
6356 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
6357 | #endif | |
6358 | } | |
6359 | return pyobj; | |
6360 | } | |
6361 | ||
6362 | ||
2f4c0a16 | 6363 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6364 | PyObject *resultobj; |
6365 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 6366 | int arg2 ; |
d14a1e28 RD |
6367 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
6368 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
6369 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
6370 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
6371 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6372 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
6373 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
6374 | wxSashWindow *result; | |
6375 | wxPoint temp3 ; | |
6376 | wxSize temp4 ; | |
423f194a | 6377 | bool temp6 = False ; |
d14a1e28 | 6378 | PyObject * obj0 = 0 ; |
8edf1c75 | 6379 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6380 | PyObject * obj2 = 0 ; |
6381 | PyObject * obj3 = 0 ; | |
8edf1c75 | 6382 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
6383 | PyObject * obj5 = 0 ; |
6384 | char *kwnames[] = { | |
6385 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6386 | }; | |
6387 | ||
8edf1c75 | 6388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
6389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
6390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6391 | arg2 = (int) SWIG_AsInt(obj1); | |
6392 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6393 | if (obj2) { |
6394 | { | |
6395 | arg3 = &temp3; | |
6396 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
6397 | } | |
6398 | } | |
6399 | if (obj3) { | |
6400 | { | |
6401 | arg4 = &temp4; | |
6402 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
6403 | } | |
6404 | } | |
8edf1c75 | 6405 | if (obj4) { |
2f4c0a16 RD |
6406 | arg5 = (long) SWIG_AsLong(obj4); |
6407 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6408 | } |
d14a1e28 RD |
6409 | if (obj5) { |
6410 | { | |
6411 | arg6 = wxString_in_helper(obj5); | |
6412 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 6413 | temp6 = True; |
d14a1e28 RD |
6414 | } |
6415 | } | |
6416 | { | |
6417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6418 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6419 | ||
6420 | wxPyEndAllowThreads(__tstate); | |
6421 | if (PyErr_Occurred()) SWIG_fail; | |
6422 | } | |
2f4c0a16 | 6423 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6424 | { |
6425 | if (temp6) | |
6426 | delete arg6; | |
6427 | } | |
6428 | return resultobj; | |
6429 | fail: | |
6430 | { | |
6431 | if (temp6) | |
6432 | delete arg6; | |
6433 | } | |
6434 | return NULL; | |
6435 | } | |
6436 | ||
6437 | ||
2f4c0a16 | 6438 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6439 | PyObject *resultobj; |
6440 | wxSashWindow *result; | |
6441 | char *kwnames[] = { | |
6442 | NULL | |
6443 | }; | |
6444 | ||
6445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
6446 | { | |
6447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6448 | result = (wxSashWindow *)new wxSashWindow(); | |
6449 | ||
6450 | wxPyEndAllowThreads(__tstate); | |
6451 | if (PyErr_Occurred()) SWIG_fail; | |
6452 | } | |
2f4c0a16 | 6453 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
6454 | return resultobj; |
6455 | fail: | |
6456 | return NULL; | |
6457 | } | |
6458 | ||
6459 | ||
2f4c0a16 | 6460 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6461 | PyObject *resultobj; |
6462 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6463 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 6464 | int arg3 ; |
d14a1e28 RD |
6465 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6466 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6467 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6468 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6469 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
6470 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
6471 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6472 | bool result; | |
6473 | wxPoint temp4 ; | |
6474 | wxSize temp5 ; | |
423f194a | 6475 | bool temp7 = False ; |
d14a1e28 RD |
6476 | PyObject * obj0 = 0 ; |
6477 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6478 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6479 | PyObject * obj3 = 0 ; |
6480 | PyObject * obj4 = 0 ; | |
8edf1c75 | 6481 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6482 | PyObject * obj6 = 0 ; |
6483 | char *kwnames[] = { | |
6484 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
6485 | }; | |
6486 | ||
8edf1c75 | 6487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
6488 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6490 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6492 | arg3 = (int) SWIG_AsInt(obj2); | |
6493 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6494 | if (obj3) { |
6495 | { | |
6496 | arg4 = &temp4; | |
6497 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6498 | } | |
6499 | } | |
6500 | if (obj4) { | |
6501 | { | |
6502 | arg5 = &temp5; | |
6503 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6504 | } | |
6505 | } | |
8edf1c75 | 6506 | if (obj5) { |
2f4c0a16 RD |
6507 | arg6 = (long) SWIG_AsLong(obj5); |
6508 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6509 | } |
d14a1e28 RD |
6510 | if (obj6) { |
6511 | { | |
6512 | arg7 = wxString_in_helper(obj6); | |
6513 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 6514 | temp7 = True; |
d14a1e28 RD |
6515 | } |
6516 | } | |
6517 | { | |
6518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6519 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6520 | ||
6521 | wxPyEndAllowThreads(__tstate); | |
6522 | if (PyErr_Occurred()) SWIG_fail; | |
6523 | } | |
02a34c4c | 6524 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6525 | { |
6526 | if (temp7) | |
6527 | delete arg7; | |
6528 | } | |
6529 | return resultobj; | |
6530 | fail: | |
6531 | { | |
6532 | if (temp7) | |
6533 | delete arg7; | |
6534 | } | |
6535 | return NULL; | |
6536 | } | |
6537 | ||
6538 | ||
2f4c0a16 | 6539 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6540 | PyObject *resultobj; |
6541 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6542 | int arg2 ; | |
6543 | bool arg3 ; | |
6544 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6545 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6546 | PyObject * obj2 = 0 ; |
6547 | char *kwnames[] = { | |
6548 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
6549 | }; | |
6550 | ||
8edf1c75 | 6551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
6552 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6553 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6554 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6555 | if (PyErr_Occurred()) SWIG_fail; | |
6556 | arg3 = (bool) SWIG_AsBool(obj2); | |
6557 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6558 | { |
6559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6560 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
6561 | ||
6562 | wxPyEndAllowThreads(__tstate); | |
6563 | if (PyErr_Occurred()) SWIG_fail; | |
6564 | } | |
6565 | Py_INCREF(Py_None); resultobj = Py_None; | |
6566 | return resultobj; | |
6567 | fail: | |
6568 | return NULL; | |
6569 | } | |
6570 | ||
6571 | ||
2f4c0a16 | 6572 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6573 | PyObject *resultobj; |
6574 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6575 | int arg2 ; | |
6576 | bool result; | |
6577 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6578 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6579 | char *kwnames[] = { |
6580 | (char *) "self",(char *) "edge", NULL | |
6581 | }; | |
6582 | ||
8edf1c75 | 6583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6584 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6585 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6586 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6587 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6588 | { |
6589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6590 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
6591 | ||
6592 | wxPyEndAllowThreads(__tstate); | |
6593 | if (PyErr_Occurred()) SWIG_fail; | |
6594 | } | |
02a34c4c | 6595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6596 | return resultobj; |
6597 | fail: | |
6598 | return NULL; | |
6599 | } | |
6600 | ||
6601 | ||
2f4c0a16 | 6602 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6603 | PyObject *resultobj; |
6604 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6605 | int arg2 ; | |
6606 | bool arg3 ; | |
6607 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6608 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6609 | PyObject * obj2 = 0 ; |
6610 | char *kwnames[] = { | |
6611 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
6612 | }; | |
6613 | ||
8edf1c75 | 6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
6615 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6617 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6618 | if (PyErr_Occurred()) SWIG_fail; | |
6619 | arg3 = (bool) SWIG_AsBool(obj2); | |
6620 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6621 | { |
6622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6623 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
6624 | ||
6625 | wxPyEndAllowThreads(__tstate); | |
6626 | if (PyErr_Occurred()) SWIG_fail; | |
6627 | } | |
6628 | Py_INCREF(Py_None); resultobj = Py_None; | |
6629 | return resultobj; | |
6630 | fail: | |
6631 | return NULL; | |
6632 | } | |
6633 | ||
6634 | ||
2f4c0a16 | 6635 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6636 | PyObject *resultobj; |
6637 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6638 | int arg2 ; | |
6639 | bool result; | |
6640 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6641 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6642 | char *kwnames[] = { |
6643 | (char *) "self",(char *) "edge", NULL | |
6644 | }; | |
6645 | ||
8edf1c75 | 6646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6649 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6650 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6651 | { |
6652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6653 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
6654 | ||
6655 | wxPyEndAllowThreads(__tstate); | |
6656 | if (PyErr_Occurred()) SWIG_fail; | |
6657 | } | |
02a34c4c | 6658 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
6659 | return resultobj; |
6660 | fail: | |
6661 | return NULL; | |
6662 | } | |
6663 | ||
6664 | ||
2f4c0a16 | 6665 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6666 | PyObject *resultobj; |
6667 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6668 | int arg2 ; | |
6669 | int result; | |
6670 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6671 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6672 | char *kwnames[] = { |
6673 | (char *) "self",(char *) "edge", NULL | |
6674 | }; | |
6675 | ||
8edf1c75 | 6676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6677 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6678 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6679 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
6680 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6681 | { |
6682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6683 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
6684 | ||
6685 | wxPyEndAllowThreads(__tstate); | |
6686 | if (PyErr_Occurred()) SWIG_fail; | |
6687 | } | |
2f4c0a16 | 6688 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6689 | return resultobj; |
6690 | fail: | |
6691 | return NULL; | |
6692 | } | |
6693 | ||
6694 | ||
2f4c0a16 | 6695 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6696 | PyObject *resultobj; |
6697 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6698 | int arg2 ; | |
6699 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6700 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6701 | char *kwnames[] = { |
6702 | (char *) "self",(char *) "width", NULL | |
6703 | }; | |
6704 | ||
8edf1c75 | 6705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6708 | arg2 = (int) SWIG_AsInt(obj1); | |
6709 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6710 | { |
6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6712 | (arg1)->SetDefaultBorderSize(arg2); | |
6713 | ||
6714 | wxPyEndAllowThreads(__tstate); | |
6715 | if (PyErr_Occurred()) SWIG_fail; | |
6716 | } | |
6717 | Py_INCREF(Py_None); resultobj = Py_None; | |
6718 | return resultobj; | |
6719 | fail: | |
6720 | return NULL; | |
6721 | } | |
6722 | ||
6723 | ||
2f4c0a16 | 6724 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6725 | PyObject *resultobj; |
6726 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6727 | int result; | |
6728 | PyObject * obj0 = 0 ; | |
6729 | char *kwnames[] = { | |
6730 | (char *) "self", NULL | |
6731 | }; | |
6732 | ||
6733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6736 | { |
6737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6738 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
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 | ||
2f4c0a16 | 6750 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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_SetExtraBorderSize",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)->SetExtraBorderSize(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 | ||
2f4c0a16 | 6779 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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_GetExtraBorderSize",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)->GetExtraBorderSize(); | |
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 | ||
2f4c0a16 | 6805 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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 *) "min", NULL | |
6813 | }; | |
6814 | ||
8edf1c75 | 6815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",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)->SetMinimumSizeX(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 | ||
2f4c0a16 | 6834 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6835 | PyObject *resultobj; |
6836 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6837 | int arg2 ; | |
6838 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6839 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6840 | char *kwnames[] = { |
6841 | (char *) "self",(char *) "min", NULL | |
6842 | }; | |
6843 | ||
8edf1c75 | 6844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6847 | arg2 = (int) SWIG_AsInt(obj1); | |
6848 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6849 | { |
6850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6851 | (arg1)->SetMinimumSizeY(arg2); | |
6852 | ||
6853 | wxPyEndAllowThreads(__tstate); | |
6854 | if (PyErr_Occurred()) SWIG_fail; | |
6855 | } | |
6856 | Py_INCREF(Py_None); resultobj = Py_None; | |
6857 | return resultobj; | |
6858 | fail: | |
6859 | return NULL; | |
6860 | } | |
6861 | ||
6862 | ||
2f4c0a16 | 6863 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6864 | PyObject *resultobj; |
6865 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6866 | int result; | |
6867 | PyObject * obj0 = 0 ; | |
6868 | char *kwnames[] = { | |
6869 | (char *) "self", NULL | |
6870 | }; | |
6871 | ||
6872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6873 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6874 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6875 | { |
6876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6877 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
6878 | ||
6879 | wxPyEndAllowThreads(__tstate); | |
6880 | if (PyErr_Occurred()) SWIG_fail; | |
6881 | } | |
2f4c0a16 | 6882 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6883 | return resultobj; |
6884 | fail: | |
6885 | return NULL; | |
6886 | } | |
6887 | ||
6888 | ||
2f4c0a16 | 6889 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6890 | PyObject *resultobj; |
6891 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6892 | int result; | |
6893 | PyObject * obj0 = 0 ; | |
6894 | char *kwnames[] = { | |
6895 | (char *) "self", NULL | |
6896 | }; | |
6897 | ||
6898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6901 | { |
6902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6903 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
6904 | ||
6905 | wxPyEndAllowThreads(__tstate); | |
6906 | if (PyErr_Occurred()) SWIG_fail; | |
6907 | } | |
2f4c0a16 | 6908 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6909 | return resultobj; |
6910 | fail: | |
6911 | return NULL; | |
6912 | } | |
6913 | ||
6914 | ||
2f4c0a16 | 6915 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6916 | PyObject *resultobj; |
6917 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6918 | int arg2 ; | |
6919 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6920 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6921 | char *kwnames[] = { |
6922 | (char *) "self",(char *) "max", NULL | |
6923 | }; | |
6924 | ||
8edf1c75 | 6925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6926 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6927 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6928 | arg2 = (int) SWIG_AsInt(obj1); | |
6929 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6930 | { |
6931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6932 | (arg1)->SetMaximumSizeX(arg2); | |
6933 | ||
6934 | wxPyEndAllowThreads(__tstate); | |
6935 | if (PyErr_Occurred()) SWIG_fail; | |
6936 | } | |
6937 | Py_INCREF(Py_None); resultobj = Py_None; | |
6938 | return resultobj; | |
6939 | fail: | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
2f4c0a16 | 6944 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6945 | PyObject *resultobj; |
6946 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6947 | int arg2 ; | |
6948 | PyObject * obj0 = 0 ; | |
8edf1c75 | 6949 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6950 | char *kwnames[] = { |
6951 | (char *) "self",(char *) "max", NULL | |
6952 | }; | |
6953 | ||
8edf1c75 | 6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
6955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6957 | arg2 = (int) SWIG_AsInt(obj1); | |
6958 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
6959 | { |
6960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6961 | (arg1)->SetMaximumSizeY(arg2); | |
6962 | ||
6963 | wxPyEndAllowThreads(__tstate); | |
6964 | if (PyErr_Occurred()) SWIG_fail; | |
6965 | } | |
6966 | Py_INCREF(Py_None); resultobj = Py_None; | |
6967 | return resultobj; | |
6968 | fail: | |
6969 | return NULL; | |
6970 | } | |
6971 | ||
6972 | ||
2f4c0a16 | 6973 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6974 | PyObject *resultobj; |
6975 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
6976 | int result; | |
6977 | PyObject * obj0 = 0 ; | |
6978 | char *kwnames[] = { | |
6979 | (char *) "self", NULL | |
6980 | }; | |
6981 | ||
6982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
6984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6985 | { |
6986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6987 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
6988 | ||
6989 | wxPyEndAllowThreads(__tstate); | |
6990 | if (PyErr_Occurred()) SWIG_fail; | |
6991 | } | |
2f4c0a16 | 6992 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
6993 | return resultobj; |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
2f4c0a16 | 6999 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7000 | PyObject *resultobj; |
7001 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7002 | int result; | |
7003 | PyObject * obj0 = 0 ; | |
7004 | char *kwnames[] = { | |
7005 | (char *) "self", NULL | |
7006 | }; | |
7007 | ||
7008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7011 | { |
7012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7013 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7014 | ||
7015 | wxPyEndAllowThreads(__tstate); | |
7016 | if (PyErr_Occurred()) SWIG_fail; | |
7017 | } | |
2f4c0a16 | 7018 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7019 | return resultobj; |
7020 | fail: | |
7021 | return NULL; | |
7022 | } | |
7023 | ||
7024 | ||
2f4c0a16 | 7025 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7026 | PyObject *resultobj; |
7027 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7028 | int arg2 ; | |
7029 | int arg3 ; | |
7030 | int arg4 = (int) 2 ; | |
7031 | int result; | |
7032 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
7033 | PyObject * obj1 = 0 ; |
7034 | PyObject * obj2 = 0 ; | |
7035 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7036 | char *kwnames[] = { |
7037 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7038 | }; | |
7039 | ||
8edf1c75 | 7040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
7041 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7042 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7043 | arg2 = (int) SWIG_AsInt(obj1); | |
7044 | if (PyErr_Occurred()) SWIG_fail; | |
7045 | arg3 = (int) SWIG_AsInt(obj2); | |
7046 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7047 | if (obj3) { |
2f4c0a16 RD |
7048 | arg4 = (int) SWIG_AsInt(obj3); |
7049 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7050 | } |
d14a1e28 RD |
7051 | { |
7052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7053 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7054 | ||
7055 | wxPyEndAllowThreads(__tstate); | |
7056 | if (PyErr_Occurred()) SWIG_fail; | |
7057 | } | |
2f4c0a16 | 7058 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7059 | return resultobj; |
7060 | fail: | |
7061 | return NULL; | |
7062 | } | |
7063 | ||
7064 | ||
2f4c0a16 | 7065 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7066 | PyObject *resultobj; |
7067 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7068 | PyObject * obj0 = 0 ; | |
7069 | char *kwnames[] = { | |
7070 | (char *) "self", NULL | |
7071 | }; | |
7072 | ||
7073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7074 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7075 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7076 | { |
7077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7078 | (arg1)->SizeWindows(); | |
7079 | ||
7080 | wxPyEndAllowThreads(__tstate); | |
7081 | if (PyErr_Occurred()) SWIG_fail; | |
7082 | } | |
7083 | Py_INCREF(Py_None); resultobj = Py_None; | |
7084 | return resultobj; | |
7085 | fail: | |
7086 | return NULL; | |
7087 | } | |
7088 | ||
7089 | ||
2f4c0a16 | 7090 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7091 | PyObject *obj; |
7092 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7093 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7094 | Py_INCREF(obj); | |
7095 | return Py_BuildValue((char *)""); | |
7096 | } | |
2f4c0a16 | 7097 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7098 | PyObject *resultobj; |
7099 | int arg1 = (int) 0 ; | |
7100 | int arg2 = (int) wxSASH_NONE ; | |
7101 | wxSashEvent *result; | |
8edf1c75 RD |
7102 | PyObject * obj0 = 0 ; |
7103 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7104 | char *kwnames[] = { |
7105 | (char *) "id",(char *) "edge", NULL | |
7106 | }; | |
7107 | ||
8edf1c75 RD |
7108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7109 | if (obj0) { | |
2f4c0a16 RD |
7110 | arg1 = (int) SWIG_AsInt(obj0); |
7111 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
7112 | } |
7113 | if (obj1) { | |
2f4c0a16 RD |
7114 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); |
7115 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7116 | } |
d14a1e28 RD |
7117 | { |
7118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7119 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7120 | ||
7121 | wxPyEndAllowThreads(__tstate); | |
7122 | if (PyErr_Occurred()) SWIG_fail; | |
7123 | } | |
2f4c0a16 | 7124 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7125 | return resultobj; |
7126 | fail: | |
7127 | return NULL; | |
7128 | } | |
7129 | ||
7130 | ||
2f4c0a16 | 7131 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7132 | PyObject *resultobj; |
7133 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7134 | int arg2 ; | |
7135 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7136 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7137 | char *kwnames[] = { |
7138 | (char *) "self",(char *) "edge", NULL | |
7139 | }; | |
7140 | ||
8edf1c75 | 7141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7142 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7143 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7144 | arg2 = (wxSashEdgePosition) SWIG_AsInt(obj1); | |
7145 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7146 | { |
7147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7148 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7149 | ||
7150 | wxPyEndAllowThreads(__tstate); | |
7151 | if (PyErr_Occurred()) SWIG_fail; | |
7152 | } | |
7153 | Py_INCREF(Py_None); resultobj = Py_None; | |
7154 | return resultobj; | |
7155 | fail: | |
7156 | return NULL; | |
7157 | } | |
7158 | ||
7159 | ||
2f4c0a16 | 7160 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7161 | PyObject *resultobj; |
7162 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7163 | int result; | |
7164 | PyObject * obj0 = 0 ; | |
7165 | char *kwnames[] = { | |
7166 | (char *) "self", NULL | |
7167 | }; | |
7168 | ||
7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7170 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7172 | { |
7173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7174 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7175 | ||
7176 | wxPyEndAllowThreads(__tstate); | |
7177 | if (PyErr_Occurred()) SWIG_fail; | |
7178 | } | |
2f4c0a16 | 7179 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7180 | return resultobj; |
7181 | fail: | |
7182 | return NULL; | |
7183 | } | |
7184 | ||
7185 | ||
2f4c0a16 | 7186 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7187 | PyObject *resultobj; |
7188 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7189 | wxRect *arg2 = 0 ; | |
7190 | wxRect temp2 ; | |
7191 | PyObject * obj0 = 0 ; | |
7192 | PyObject * obj1 = 0 ; | |
7193 | char *kwnames[] = { | |
7194 | (char *) "self",(char *) "rect", NULL | |
7195 | }; | |
7196 | ||
7197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7200 | { |
7201 | arg2 = &temp2; | |
7202 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7203 | } | |
7204 | { | |
7205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7206 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
7207 | ||
7208 | wxPyEndAllowThreads(__tstate); | |
7209 | if (PyErr_Occurred()) SWIG_fail; | |
7210 | } | |
7211 | Py_INCREF(Py_None); resultobj = Py_None; | |
7212 | return resultobj; | |
7213 | fail: | |
7214 | return NULL; | |
7215 | } | |
7216 | ||
7217 | ||
2f4c0a16 | 7218 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7219 | PyObject *resultobj; |
7220 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7221 | wxRect result; | |
7222 | PyObject * obj0 = 0 ; | |
7223 | char *kwnames[] = { | |
7224 | (char *) "self", NULL | |
7225 | }; | |
7226 | ||
7227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7230 | { |
7231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7232 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
7233 | ||
7234 | wxPyEndAllowThreads(__tstate); | |
7235 | if (PyErr_Occurred()) SWIG_fail; | |
7236 | } | |
7237 | { | |
7238 | wxRect * resultptr; | |
7239 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 7240 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7241 | } |
7242 | return resultobj; | |
7243 | fail: | |
7244 | return NULL; | |
7245 | } | |
7246 | ||
7247 | ||
2f4c0a16 | 7248 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7249 | PyObject *resultobj; |
7250 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7251 | int arg2 ; | |
7252 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7253 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7254 | char *kwnames[] = { |
7255 | (char *) "self",(char *) "status", NULL | |
7256 | }; | |
7257 | ||
8edf1c75 | 7258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7261 | arg2 = (wxSashDragStatus) SWIG_AsInt(obj1); | |
7262 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7263 | { |
7264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7265 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
7266 | ||
7267 | wxPyEndAllowThreads(__tstate); | |
7268 | if (PyErr_Occurred()) SWIG_fail; | |
7269 | } | |
7270 | Py_INCREF(Py_None); resultobj = Py_None; | |
7271 | return resultobj; | |
7272 | fail: | |
7273 | return NULL; | |
7274 | } | |
7275 | ||
7276 | ||
2f4c0a16 | 7277 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7278 | PyObject *resultobj; |
7279 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7280 | int result; | |
7281 | PyObject * obj0 = 0 ; | |
7282 | char *kwnames[] = { | |
7283 | (char *) "self", NULL | |
7284 | }; | |
7285 | ||
7286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7289 | { |
7290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7291 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
7292 | ||
7293 | wxPyEndAllowThreads(__tstate); | |
7294 | if (PyErr_Occurred()) SWIG_fail; | |
7295 | } | |
2f4c0a16 | 7296 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7297 | return resultobj; |
7298 | fail: | |
7299 | return NULL; | |
7300 | } | |
7301 | ||
7302 | ||
2f4c0a16 | 7303 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7304 | PyObject *obj; |
7305 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7306 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
7307 | Py_INCREF(obj); | |
7308 | return Py_BuildValue((char *)""); | |
7309 | } | |
2f4c0a16 | 7310 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 7311 | PyObject *resultobj; |
423f194a | 7312 | int arg1 = (int) 0 ; |
d14a1e28 | 7313 | wxQueryLayoutInfoEvent *result; |
8edf1c75 | 7314 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7315 | char *kwnames[] = { |
7316 | (char *) "id", NULL | |
7317 | }; | |
7318 | ||
8edf1c75 RD |
7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
7320 | if (obj0) { | |
2f4c0a16 RD |
7321 | arg1 = (int) SWIG_AsInt(obj0); |
7322 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7323 | } |
d14a1e28 RD |
7324 | { |
7325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7326 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
7327 | ||
7328 | wxPyEndAllowThreads(__tstate); | |
7329 | if (PyErr_Occurred()) SWIG_fail; | |
7330 | } | |
2f4c0a16 | 7331 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
7332 | return resultobj; |
7333 | fail: | |
7334 | return NULL; | |
7335 | } | |
7336 | ||
7337 | ||
2f4c0a16 | 7338 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7339 | PyObject *resultobj; |
7340 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7341 | int arg2 ; | |
7342 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7343 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7344 | char *kwnames[] = { |
7345 | (char *) "self",(char *) "length", NULL | |
7346 | }; | |
7347 | ||
8edf1c75 | 7348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7349 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7351 | arg2 = (int) SWIG_AsInt(obj1); | |
7352 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7353 | { |
7354 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7355 | (arg1)->SetRequestedLength(arg2); | |
7356 | ||
7357 | wxPyEndAllowThreads(__tstate); | |
7358 | if (PyErr_Occurred()) SWIG_fail; | |
7359 | } | |
7360 | Py_INCREF(Py_None); resultobj = Py_None; | |
7361 | return resultobj; | |
7362 | fail: | |
7363 | return NULL; | |
7364 | } | |
7365 | ||
7366 | ||
2f4c0a16 | 7367 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7368 | PyObject *resultobj; |
7369 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7370 | int result; | |
7371 | PyObject * obj0 = 0 ; | |
7372 | char *kwnames[] = { | |
7373 | (char *) "self", NULL | |
7374 | }; | |
7375 | ||
7376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7379 | { |
7380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7381 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
7382 | ||
7383 | wxPyEndAllowThreads(__tstate); | |
7384 | if (PyErr_Occurred()) SWIG_fail; | |
7385 | } | |
2f4c0a16 | 7386 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7387 | return resultobj; |
7388 | fail: | |
7389 | return NULL; | |
7390 | } | |
7391 | ||
7392 | ||
2f4c0a16 | 7393 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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 *) "flags", NULL | |
7401 | }; | |
7402 | ||
8edf1c75 | 7403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",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)->SetFlags(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 | ||
2f4c0a16 | 7422 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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_GetFlags",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)->GetFlags(); | |
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 | ||
2f4c0a16 | 7448 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7449 | PyObject *resultobj; |
7450 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7451 | wxSize *arg2 = 0 ; | |
7452 | wxSize temp2 ; | |
7453 | PyObject * obj0 = 0 ; | |
7454 | PyObject * obj1 = 0 ; | |
7455 | char *kwnames[] = { | |
7456 | (char *) "self",(char *) "size", NULL | |
7457 | }; | |
7458 | ||
7459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7462 | { |
7463 | arg2 = &temp2; | |
7464 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
7465 | } | |
7466 | { | |
7467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7468 | (arg1)->SetSize((wxSize const &)*arg2); | |
7469 | ||
7470 | wxPyEndAllowThreads(__tstate); | |
7471 | if (PyErr_Occurred()) SWIG_fail; | |
7472 | } | |
7473 | Py_INCREF(Py_None); resultobj = Py_None; | |
7474 | return resultobj; | |
7475 | fail: | |
7476 | return NULL; | |
7477 | } | |
7478 | ||
7479 | ||
2f4c0a16 | 7480 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7481 | PyObject *resultobj; |
7482 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7483 | wxSize result; | |
7484 | PyObject * obj0 = 0 ; | |
7485 | char *kwnames[] = { | |
7486 | (char *) "self", NULL | |
7487 | }; | |
7488 | ||
7489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7490 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7491 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7492 | { |
7493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7494 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
7495 | ||
7496 | wxPyEndAllowThreads(__tstate); | |
7497 | if (PyErr_Occurred()) SWIG_fail; | |
7498 | } | |
7499 | { | |
7500 | wxSize * resultptr; | |
7501 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 7502 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
7503 | } |
7504 | return resultobj; | |
7505 | fail: | |
7506 | return NULL; | |
7507 | } | |
7508 | ||
7509 | ||
2f4c0a16 | 7510 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7511 | PyObject *resultobj; |
7512 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7513 | int arg2 ; | |
7514 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7515 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7516 | char *kwnames[] = { |
7517 | (char *) "self",(char *) "orient", NULL | |
7518 | }; | |
7519 | ||
8edf1c75 | 7520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7521 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7522 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7523 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
7524 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7525 | { |
7526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7527 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
7528 | ||
7529 | wxPyEndAllowThreads(__tstate); | |
7530 | if (PyErr_Occurred()) SWIG_fail; | |
7531 | } | |
7532 | Py_INCREF(Py_None); resultobj = Py_None; | |
7533 | return resultobj; | |
7534 | fail: | |
7535 | return NULL; | |
7536 | } | |
7537 | ||
7538 | ||
2f4c0a16 | 7539 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7540 | PyObject *resultobj; |
7541 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
7542 | int result; | |
7543 | PyObject * obj0 = 0 ; | |
7544 | char *kwnames[] = { | |
7545 | (char *) "self", NULL | |
7546 | }; | |
7547 | ||
7548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
7550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7551 | { |
7552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7553 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
7554 | ||
7555 | wxPyEndAllowThreads(__tstate); | |
7556 | if (PyErr_Occurred()) SWIG_fail; | |
7557 | } | |
2f4c0a16 | 7558 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7559 | return resultobj; |
7560 | fail: | |
7561 | return NULL; | |
7562 | } | |
7563 | ||
7564 | ||
2f4c0a16 | 7565 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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 *) "align", NULL | |
7573 | }; | |
7574 | ||
8edf1c75 | 7575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",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 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
7579 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7580 | { |
7581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7582 | (arg1)->SetAlignment((wxLayoutAlignment )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 | ||
2f4c0a16 | 7594 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
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_GetAlignment",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)->GetAlignment(); | |
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 | ||
2f4c0a16 | 7620 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7621 | PyObject *obj; |
7622 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7623 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
7624 | Py_INCREF(obj); | |
7625 | return Py_BuildValue((char *)""); | |
7626 | } | |
2f4c0a16 | 7627 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 7628 | PyObject *resultobj; |
423f194a | 7629 | int arg1 = (int) 0 ; |
d14a1e28 | 7630 | wxCalculateLayoutEvent *result; |
8edf1c75 | 7631 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
7632 | char *kwnames[] = { |
7633 | (char *) "id", NULL | |
7634 | }; | |
7635 | ||
8edf1c75 RD |
7636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
7637 | if (obj0) { | |
2f4c0a16 RD |
7638 | arg1 = (int) SWIG_AsInt(obj0); |
7639 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7640 | } |
d14a1e28 RD |
7641 | { |
7642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7643 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
7644 | ||
7645 | wxPyEndAllowThreads(__tstate); | |
7646 | if (PyErr_Occurred()) SWIG_fail; | |
7647 | } | |
2f4c0a16 | 7648 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
7649 | return resultobj; |
7650 | fail: | |
7651 | return NULL; | |
7652 | } | |
7653 | ||
7654 | ||
2f4c0a16 | 7655 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7656 | PyObject *resultobj; |
7657 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7658 | int arg2 ; | |
7659 | PyObject * obj0 = 0 ; | |
8edf1c75 | 7660 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7661 | char *kwnames[] = { |
7662 | (char *) "self",(char *) "flags", NULL | |
7663 | }; | |
7664 | ||
8edf1c75 | 7665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
7666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7668 | arg2 = (int) SWIG_AsInt(obj1); | |
7669 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7670 | { |
7671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7672 | (arg1)->SetFlags(arg2); | |
7673 | ||
7674 | wxPyEndAllowThreads(__tstate); | |
7675 | if (PyErr_Occurred()) SWIG_fail; | |
7676 | } | |
7677 | Py_INCREF(Py_None); resultobj = Py_None; | |
7678 | return resultobj; | |
7679 | fail: | |
7680 | return NULL; | |
7681 | } | |
7682 | ||
7683 | ||
2f4c0a16 | 7684 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7685 | PyObject *resultobj; |
7686 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7687 | int result; | |
7688 | PyObject * obj0 = 0 ; | |
7689 | char *kwnames[] = { | |
7690 | (char *) "self", NULL | |
7691 | }; | |
7692 | ||
7693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7696 | { |
7697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7698 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
7699 | ||
7700 | wxPyEndAllowThreads(__tstate); | |
7701 | if (PyErr_Occurred()) SWIG_fail; | |
7702 | } | |
2f4c0a16 | 7703 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7704 | return resultobj; |
7705 | fail: | |
7706 | return NULL; | |
7707 | } | |
7708 | ||
7709 | ||
2f4c0a16 | 7710 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7711 | PyObject *resultobj; |
7712 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7713 | wxRect *arg2 = 0 ; | |
7714 | wxRect temp2 ; | |
7715 | PyObject * obj0 = 0 ; | |
7716 | PyObject * obj1 = 0 ; | |
7717 | char *kwnames[] = { | |
7718 | (char *) "self",(char *) "rect", NULL | |
7719 | }; | |
7720 | ||
7721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
7722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7724 | { |
7725 | arg2 = &temp2; | |
7726 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
7727 | } | |
7728 | { | |
7729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7730 | (arg1)->SetRect((wxRect const &)*arg2); | |
7731 | ||
7732 | wxPyEndAllowThreads(__tstate); | |
7733 | if (PyErr_Occurred()) SWIG_fail; | |
7734 | } | |
7735 | Py_INCREF(Py_None); resultobj = Py_None; | |
7736 | return resultobj; | |
7737 | fail: | |
7738 | return NULL; | |
7739 | } | |
7740 | ||
7741 | ||
2f4c0a16 | 7742 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7743 | PyObject *resultobj; |
7744 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
7745 | wxRect result; | |
7746 | PyObject * obj0 = 0 ; | |
7747 | char *kwnames[] = { | |
7748 | (char *) "self", NULL | |
7749 | }; | |
7750 | ||
7751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
7753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7754 | { |
7755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7756 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
7757 | ||
7758 | wxPyEndAllowThreads(__tstate); | |
7759 | if (PyErr_Occurred()) SWIG_fail; | |
7760 | } | |
7761 | { | |
7762 | wxRect * resultptr; | |
7763 | resultptr = new wxRect((wxRect &) result); | |
2f4c0a16 | 7764 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
7765 | } |
7766 | return resultobj; | |
7767 | fail: | |
7768 | return NULL; | |
7769 | } | |
7770 | ||
7771 | ||
2f4c0a16 | 7772 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7773 | PyObject *obj; |
7774 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7775 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
7776 | Py_INCREF(obj); | |
7777 | return Py_BuildValue((char *)""); | |
7778 | } | |
2f4c0a16 | 7779 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7780 | PyObject *resultobj; |
7781 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 7782 | int arg2 ; |
d14a1e28 RD |
7783 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7784 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7785 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7786 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7787 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7788 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
7789 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7790 | wxSashLayoutWindow *result; | |
7791 | wxPoint temp3 ; | |
7792 | wxSize temp4 ; | |
423f194a | 7793 | bool temp6 = False ; |
d14a1e28 | 7794 | PyObject * obj0 = 0 ; |
8edf1c75 | 7795 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7796 | PyObject * obj2 = 0 ; |
7797 | PyObject * obj3 = 0 ; | |
8edf1c75 | 7798 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7799 | PyObject * obj5 = 0 ; |
7800 | char *kwnames[] = { | |
7801 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7802 | }; | |
7803 | ||
8edf1c75 | 7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
7805 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7806 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7807 | arg2 = (int) SWIG_AsInt(obj1); | |
7808 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7809 | if (obj2) { |
7810 | { | |
7811 | arg3 = &temp3; | |
7812 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7813 | } | |
7814 | } | |
7815 | if (obj3) { | |
7816 | { | |
7817 | arg4 = &temp4; | |
7818 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7819 | } | |
7820 | } | |
8edf1c75 | 7821 | if (obj4) { |
2f4c0a16 RD |
7822 | arg5 = (long) SWIG_AsLong(obj4); |
7823 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7824 | } |
d14a1e28 RD |
7825 | if (obj5) { |
7826 | { | |
7827 | arg6 = wxString_in_helper(obj5); | |
7828 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 7829 | temp6 = True; |
d14a1e28 RD |
7830 | } |
7831 | } | |
7832 | { | |
7833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7834 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7835 | ||
7836 | wxPyEndAllowThreads(__tstate); | |
7837 | if (PyErr_Occurred()) SWIG_fail; | |
7838 | } | |
2f4c0a16 | 7839 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7840 | { |
7841 | if (temp6) | |
7842 | delete arg6; | |
7843 | } | |
7844 | return resultobj; | |
7845 | fail: | |
7846 | { | |
7847 | if (temp6) | |
7848 | delete arg6; | |
7849 | } | |
7850 | return NULL; | |
7851 | } | |
7852 | ||
7853 | ||
2f4c0a16 | 7854 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7855 | PyObject *resultobj; |
7856 | wxSashLayoutWindow *result; | |
7857 | char *kwnames[] = { | |
7858 | NULL | |
7859 | }; | |
7860 | ||
7861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
7862 | { | |
7863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7864 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
7865 | ||
7866 | wxPyEndAllowThreads(__tstate); | |
7867 | if (PyErr_Occurred()) SWIG_fail; | |
7868 | } | |
2f4c0a16 | 7869 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
7870 | return resultobj; |
7871 | fail: | |
7872 | return NULL; | |
7873 | } | |
7874 | ||
7875 | ||
2f4c0a16 | 7876 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7877 | PyObject *resultobj; |
7878 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7879 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 7880 | int arg3 ; |
d14a1e28 RD |
7881 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7882 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7883 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7884 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7885 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7886 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
7887 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7888 | bool result; | |
7889 | wxPoint temp4 ; | |
7890 | wxSize temp5 ; | |
423f194a | 7891 | bool temp7 = False ; |
d14a1e28 RD |
7892 | PyObject * obj0 = 0 ; |
7893 | PyObject * obj1 = 0 ; | |
8edf1c75 | 7894 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7895 | PyObject * obj3 = 0 ; |
7896 | PyObject * obj4 = 0 ; | |
8edf1c75 | 7897 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7898 | PyObject * obj6 = 0 ; |
7899 | char *kwnames[] = { | |
7900 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7901 | }; | |
7902 | ||
8edf1c75 | 7903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
7904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7906 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7907 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7908 | arg3 = (int) SWIG_AsInt(obj2); | |
7909 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
7910 | if (obj3) { |
7911 | { | |
7912 | arg4 = &temp4; | |
7913 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7914 | } | |
7915 | } | |
7916 | if (obj4) { | |
7917 | { | |
7918 | arg5 = &temp5; | |
7919 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7920 | } | |
7921 | } | |
8edf1c75 | 7922 | if (obj5) { |
2f4c0a16 RD |
7923 | arg6 = (long) SWIG_AsLong(obj5); |
7924 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 7925 | } |
d14a1e28 RD |
7926 | if (obj6) { |
7927 | { | |
7928 | arg7 = wxString_in_helper(obj6); | |
7929 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 7930 | temp7 = True; |
d14a1e28 RD |
7931 | } |
7932 | } | |
7933 | { | |
7934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7935 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7936 | ||
7937 | wxPyEndAllowThreads(__tstate); | |
7938 | if (PyErr_Occurred()) SWIG_fail; | |
7939 | } | |
02a34c4c | 7940 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
7941 | { |
7942 | if (temp7) | |
7943 | delete arg7; | |
7944 | } | |
7945 | return resultobj; | |
7946 | fail: | |
7947 | { | |
7948 | if (temp7) | |
7949 | delete arg7; | |
7950 | } | |
7951 | return NULL; | |
7952 | } | |
7953 | ||
7954 | ||
2f4c0a16 | 7955 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7956 | PyObject *resultobj; |
7957 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7958 | int result; | |
7959 | PyObject * obj0 = 0 ; | |
7960 | char *kwnames[] = { | |
7961 | (char *) "self", NULL | |
7962 | }; | |
7963 | ||
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7967 | { |
7968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7969 | result = (int)(arg1)->GetAlignment(); | |
7970 | ||
7971 | wxPyEndAllowThreads(__tstate); | |
7972 | if (PyErr_Occurred()) SWIG_fail; | |
7973 | } | |
2f4c0a16 | 7974 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
7975 | return resultobj; |
7976 | fail: | |
7977 | return NULL; | |
7978 | } | |
7979 | ||
7980 | ||
2f4c0a16 | 7981 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7982 | PyObject *resultobj; |
7983 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
7984 | int result; | |
7985 | PyObject * obj0 = 0 ; | |
7986 | char *kwnames[] = { | |
7987 | (char *) "self", NULL | |
7988 | }; | |
7989 | ||
7990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
7991 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
7992 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7993 | { |
7994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7995 | result = (int)(arg1)->GetOrientation(); | |
7996 | ||
7997 | wxPyEndAllowThreads(__tstate); | |
7998 | if (PyErr_Occurred()) SWIG_fail; | |
7999 | } | |
2f4c0a16 | 8000 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8001 | return resultobj; |
8002 | fail: | |
8003 | return NULL; | |
8004 | } | |
8005 | ||
8006 | ||
2f4c0a16 | 8007 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8008 | PyObject *resultobj; |
8009 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8010 | int arg2 ; | |
8011 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8012 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8013 | char *kwnames[] = { |
8014 | (char *) "self",(char *) "alignment", NULL | |
8015 | }; | |
8016 | ||
8edf1c75 | 8017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8018 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8019 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8020 | arg2 = (wxLayoutAlignment) SWIG_AsInt(obj1); | |
8021 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8022 | { |
8023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8024 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8025 | ||
8026 | wxPyEndAllowThreads(__tstate); | |
8027 | if (PyErr_Occurred()) SWIG_fail; | |
8028 | } | |
8029 | Py_INCREF(Py_None); resultobj = Py_None; | |
8030 | return resultobj; | |
8031 | fail: | |
8032 | return NULL; | |
8033 | } | |
8034 | ||
8035 | ||
2f4c0a16 | 8036 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8037 | PyObject *resultobj; |
8038 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8039 | wxSize *arg2 = 0 ; | |
8040 | wxSize temp2 ; | |
8041 | PyObject * obj0 = 0 ; | |
8042 | PyObject * obj1 = 0 ; | |
8043 | char *kwnames[] = { | |
8044 | (char *) "self",(char *) "size", NULL | |
8045 | }; | |
8046 | ||
8047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) 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 | arg2 = &temp2; | |
8052 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8053 | } | |
8054 | { | |
8055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8056 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8057 | ||
8058 | wxPyEndAllowThreads(__tstate); | |
8059 | if (PyErr_Occurred()) SWIG_fail; | |
8060 | } | |
8061 | Py_INCREF(Py_None); resultobj = Py_None; | |
8062 | return resultobj; | |
8063 | fail: | |
8064 | return NULL; | |
8065 | } | |
8066 | ||
8067 | ||
2f4c0a16 | 8068 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8069 | PyObject *resultobj; |
8070 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8071 | int arg2 ; | |
8072 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8073 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8074 | char *kwnames[] = { |
8075 | (char *) "self",(char *) "orientation", NULL | |
8076 | }; | |
8077 | ||
8edf1c75 | 8078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8081 | arg2 = (wxLayoutOrientation) SWIG_AsInt(obj1); | |
8082 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8083 | { |
8084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8085 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8086 | ||
8087 | wxPyEndAllowThreads(__tstate); | |
8088 | if (PyErr_Occurred()) SWIG_fail; | |
8089 | } | |
8090 | Py_INCREF(Py_None); resultobj = Py_None; | |
8091 | return resultobj; | |
8092 | fail: | |
8093 | return NULL; | |
8094 | } | |
8095 | ||
8096 | ||
2f4c0a16 | 8097 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8098 | PyObject *obj; |
8099 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8100 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8101 | Py_INCREF(obj); | |
8102 | return Py_BuildValue((char *)""); | |
8103 | } | |
2f4c0a16 | 8104 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8105 | PyObject *resultobj; |
8106 | wxLayoutAlgorithm *result; | |
8107 | char *kwnames[] = { | |
8108 | NULL | |
8109 | }; | |
8110 | ||
8111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8112 | { | |
8113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8114 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8115 | ||
8116 | wxPyEndAllowThreads(__tstate); | |
8117 | if (PyErr_Occurred()) SWIG_fail; | |
8118 | } | |
2f4c0a16 | 8119 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8120 | return resultobj; |
8121 | fail: | |
8122 | return NULL; | |
8123 | } | |
8124 | ||
8125 | ||
2f4c0a16 | 8126 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8127 | PyObject *resultobj; |
8128 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8129 | PyObject * obj0 = 0 ; | |
8130 | char *kwnames[] = { | |
8131 | (char *) "self", NULL | |
8132 | }; | |
8133 | ||
8134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8135 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8136 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8137 | { |
8138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8139 | delete arg1; | |
8140 | ||
8141 | wxPyEndAllowThreads(__tstate); | |
8142 | if (PyErr_Occurred()) SWIG_fail; | |
8143 | } | |
8144 | Py_INCREF(Py_None); resultobj = Py_None; | |
8145 | return resultobj; | |
8146 | fail: | |
8147 | return NULL; | |
8148 | } | |
8149 | ||
8150 | ||
2f4c0a16 | 8151 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8152 | PyObject *resultobj; |
8153 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8154 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8155 | wxRect *arg3 = (wxRect *) NULL ; | |
8156 | bool result; | |
8157 | PyObject * obj0 = 0 ; | |
8158 | PyObject * obj1 = 0 ; | |
8159 | PyObject * obj2 = 0 ; | |
8160 | char *kwnames[] = { | |
8161 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8162 | }; | |
8163 | ||
8164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8165 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8166 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8167 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8169 | if (obj2) { |
2f4c0a16 RD |
8170 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8171 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8172 | } |
8173 | { | |
8174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8175 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8176 | ||
8177 | wxPyEndAllowThreads(__tstate); | |
8178 | if (PyErr_Occurred()) SWIG_fail; | |
8179 | } | |
02a34c4c | 8180 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8181 | return resultobj; |
8182 | fail: | |
8183 | return NULL; | |
8184 | } | |
8185 | ||
8186 | ||
2f4c0a16 | 8187 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8188 | PyObject *resultobj; |
8189 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8190 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8191 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8192 | bool result; | |
8193 | PyObject * obj0 = 0 ; | |
8194 | PyObject * obj1 = 0 ; | |
8195 | PyObject * obj2 = 0 ; | |
8196 | char *kwnames[] = { | |
8197 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
8198 | }; | |
8199 | ||
8200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8203 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
8204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8205 | if (obj2) { |
2f4c0a16 RD |
8206 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8207 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8208 | } |
8209 | { | |
8210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8211 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
8212 | ||
8213 | wxPyEndAllowThreads(__tstate); | |
8214 | if (PyErr_Occurred()) SWIG_fail; | |
8215 | } | |
02a34c4c | 8216 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8217 | return resultobj; |
8218 | fail: | |
8219 | return NULL; | |
8220 | } | |
8221 | ||
8222 | ||
2f4c0a16 | 8223 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8224 | PyObject *resultobj; |
8225 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8226 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8227 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8228 | bool result; | |
8229 | PyObject * obj0 = 0 ; | |
8230 | PyObject * obj1 = 0 ; | |
8231 | PyObject * obj2 = 0 ; | |
8232 | char *kwnames[] = { | |
8233 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
8234 | }; | |
8235 | ||
8236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8239 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8240 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8241 | if (obj2) { |
2f4c0a16 RD |
8242 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
8243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8244 | } |
8245 | { | |
8246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8247 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
8248 | ||
8249 | wxPyEndAllowThreads(__tstate); | |
8250 | if (PyErr_Occurred()) SWIG_fail; | |
8251 | } | |
02a34c4c | 8252 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8253 | return resultobj; |
8254 | fail: | |
8255 | return NULL; | |
8256 | } | |
8257 | ||
8258 | ||
2f4c0a16 | 8259 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8260 | PyObject *obj; |
8261 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8262 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
8263 | Py_INCREF(obj); | |
8264 | return Py_BuildValue((char *)""); | |
8265 | } | |
2f4c0a16 | 8266 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8267 | PyObject *resultobj; |
8268 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8269 | int arg2 = (int) wxBORDER_NONE ; | |
8270 | wxPopupWindow *result; | |
8271 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8272 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8273 | char *kwnames[] = { |
8274 | (char *) "parent",(char *) "flags", NULL | |
8275 | }; | |
8276 | ||
8edf1c75 | 8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8280 | if (obj1) { |
2f4c0a16 RD |
8281 | arg2 = (int) SWIG_AsInt(obj1); |
8282 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8283 | } |
d14a1e28 RD |
8284 | { |
8285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8286 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
8287 | ||
8288 | wxPyEndAllowThreads(__tstate); | |
8289 | if (PyErr_Occurred()) SWIG_fail; | |
8290 | } | |
2f4c0a16 | 8291 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8292 | return resultobj; |
8293 | fail: | |
8294 | return NULL; | |
8295 | } | |
8296 | ||
8297 | ||
2f4c0a16 | 8298 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8299 | PyObject *resultobj; |
8300 | wxPopupWindow *result; | |
8301 | char *kwnames[] = { | |
8302 | NULL | |
8303 | }; | |
8304 | ||
8305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
8306 | { | |
8307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8308 | result = (wxPopupWindow *)new wxPopupWindow(); | |
8309 | ||
8310 | wxPyEndAllowThreads(__tstate); | |
8311 | if (PyErr_Occurred()) SWIG_fail; | |
8312 | } | |
2f4c0a16 | 8313 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
8314 | return resultobj; |
8315 | fail: | |
8316 | return NULL; | |
8317 | } | |
8318 | ||
8319 | ||
2f4c0a16 | 8320 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8321 | PyObject *obj; |
8322 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8323 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
8324 | Py_INCREF(obj); | |
8325 | return Py_BuildValue((char *)""); | |
8326 | } | |
2f4c0a16 | 8327 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8328 | PyObject *resultobj; |
8329 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8330 | int arg2 = (int) wxBORDER_NONE ; | |
8331 | wxPyPopupTransientWindow *result; | |
8332 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8333 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8334 | char *kwnames[] = { |
8335 | (char *) "parent",(char *) "style", NULL | |
8336 | }; | |
8337 | ||
8edf1c75 | 8338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8341 | if (obj1) { |
2f4c0a16 RD |
8342 | arg2 = (int) SWIG_AsInt(obj1); |
8343 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8344 | } |
d14a1e28 RD |
8345 | { |
8346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8347 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
8348 | ||
8349 | wxPyEndAllowThreads(__tstate); | |
8350 | if (PyErr_Occurred()) SWIG_fail; | |
8351 | } | |
2f4c0a16 | 8352 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8353 | return resultobj; |
8354 | fail: | |
8355 | return NULL; | |
8356 | } | |
8357 | ||
8358 | ||
2f4c0a16 | 8359 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8360 | PyObject *resultobj; |
8361 | wxPyPopupTransientWindow *result; | |
8362 | char *kwnames[] = { | |
8363 | NULL | |
8364 | }; | |
8365 | ||
8366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
8367 | { | |
8368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8369 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
8370 | ||
8371 | wxPyEndAllowThreads(__tstate); | |
8372 | if (PyErr_Occurred()) SWIG_fail; | |
8373 | } | |
2f4c0a16 | 8374 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
8375 | return resultobj; |
8376 | fail: | |
8377 | return NULL; | |
8378 | } | |
8379 | ||
8380 | ||
2f4c0a16 | 8381 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8382 | PyObject *obj; |
8383 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8384 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
8385 | Py_INCREF(obj); | |
8386 | return Py_BuildValue((char *)""); | |
8387 | } | |
2f4c0a16 | 8388 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8389 | PyObject *resultobj; |
8390 | wxWindow *arg1 = (wxWindow *) 0 ; | |
100c4552 | 8391 | wxString *arg2 = 0 ; |
423f194a | 8392 | int arg3 = (int) 100 ; |
d14a1e28 RD |
8393 | wxRect *arg4 = (wxRect *) NULL ; |
8394 | wxTipWindow *result; | |
100c4552 | 8395 | bool temp2 = False ; |
d14a1e28 RD |
8396 | PyObject * obj0 = 0 ; |
8397 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8398 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8399 | PyObject * obj3 = 0 ; |
8400 | char *kwnames[] = { | |
8401 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
8402 | }; | |
8403 | ||
8edf1c75 | 8404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
8405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
100c4552 RD |
8407 | { |
8408 | arg2 = wxString_in_helper(obj1); | |
8409 | if (arg2 == NULL) SWIG_fail; | |
8410 | temp2 = True; | |
8411 | } | |
8edf1c75 | 8412 | if (obj2) { |
2f4c0a16 RD |
8413 | arg3 = (int) SWIG_AsInt(obj2); |
8414 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8415 | } |
d14a1e28 | 8416 | if (obj3) { |
2f4c0a16 RD |
8417 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
8418 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8419 | } |
8420 | { | |
8421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
100c4552 | 8422 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
8423 | |
8424 | wxPyEndAllowThreads(__tstate); | |
8425 | if (PyErr_Occurred()) SWIG_fail; | |
8426 | } | |
2f4c0a16 | 8427 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
100c4552 RD |
8428 | { |
8429 | if (temp2) | |
8430 | delete arg2; | |
8431 | } | |
d14a1e28 RD |
8432 | return resultobj; |
8433 | fail: | |
100c4552 RD |
8434 | { |
8435 | if (temp2) | |
8436 | delete arg2; | |
8437 | } | |
d14a1e28 RD |
8438 | return NULL; |
8439 | } | |
8440 | ||
8441 | ||
2f4c0a16 | 8442 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8443 | PyObject *resultobj; |
8444 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8445 | wxRect *arg2 = 0 ; | |
8446 | wxRect temp2 ; | |
8447 | PyObject * obj0 = 0 ; | |
8448 | PyObject * obj1 = 0 ; | |
8449 | char *kwnames[] = { | |
8450 | (char *) "self",(char *) "rectBound", NULL | |
8451 | }; | |
8452 | ||
8453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8454 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8455 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8456 | { |
8457 | arg2 = &temp2; | |
8458 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8459 | } | |
8460 | { | |
8461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8462 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
8463 | ||
8464 | wxPyEndAllowThreads(__tstate); | |
8465 | if (PyErr_Occurred()) SWIG_fail; | |
8466 | } | |
8467 | Py_INCREF(Py_None); resultobj = Py_None; | |
8468 | return resultobj; | |
8469 | fail: | |
8470 | return NULL; | |
8471 | } | |
8472 | ||
8473 | ||
2f4c0a16 | 8474 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8475 | PyObject *resultobj; |
8476 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
8477 | PyObject * obj0 = 0 ; | |
8478 | char *kwnames[] = { | |
8479 | (char *) "self", NULL | |
8480 | }; | |
8481 | ||
8482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
8484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8485 | { |
8486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8487 | (arg1)->Close(); | |
8488 | ||
8489 | wxPyEndAllowThreads(__tstate); | |
8490 | if (PyErr_Occurred()) SWIG_fail; | |
8491 | } | |
8492 | Py_INCREF(Py_None); resultobj = Py_None; | |
8493 | return resultobj; | |
8494 | fail: | |
8495 | return NULL; | |
8496 | } | |
8497 | ||
8498 | ||
2f4c0a16 | 8499 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8500 | PyObject *obj; |
8501 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8502 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
8503 | Py_INCREF(obj); | |
8504 | return Py_BuildValue((char *)""); | |
8505 | } | |
2f4c0a16 | 8506 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8507 | PyObject *resultobj; |
8508 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 8509 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
8510 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8511 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8512 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8513 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8514 | long arg5 = (long) 0 ; | |
8515 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
8516 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8517 | wxPyVScrolledWindow *result; | |
8518 | wxPoint temp3 ; | |
8519 | wxSize temp4 ; | |
423f194a | 8520 | bool temp6 = False ; |
d14a1e28 | 8521 | PyObject * obj0 = 0 ; |
8edf1c75 | 8522 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8523 | PyObject * obj2 = 0 ; |
8524 | PyObject * obj3 = 0 ; | |
8edf1c75 | 8525 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8526 | PyObject * obj5 = 0 ; |
8527 | char *kwnames[] = { | |
8528 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8529 | }; | |
8530 | ||
8edf1c75 | 8531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
8532 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8533 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8534 | if (obj1) { |
2f4c0a16 RD |
8535 | arg2 = (int) SWIG_AsInt(obj1); |
8536 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8537 | } |
d14a1e28 RD |
8538 | if (obj2) { |
8539 | { | |
8540 | arg3 = &temp3; | |
8541 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8542 | } | |
8543 | } | |
8544 | if (obj3) { | |
8545 | { | |
8546 | arg4 = &temp4; | |
8547 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8548 | } | |
8549 | } | |
8edf1c75 | 8550 | if (obj4) { |
2f4c0a16 RD |
8551 | arg5 = (long) SWIG_AsLong(obj4); |
8552 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8553 | } |
d14a1e28 RD |
8554 | if (obj5) { |
8555 | { | |
8556 | arg6 = wxString_in_helper(obj5); | |
8557 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 8558 | temp6 = True; |
d14a1e28 RD |
8559 | } |
8560 | } | |
8561 | { | |
8562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8563 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8564 | ||
8565 | wxPyEndAllowThreads(__tstate); | |
8566 | if (PyErr_Occurred()) SWIG_fail; | |
8567 | } | |
2f4c0a16 | 8568 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8569 | { |
8570 | if (temp6) | |
8571 | delete arg6; | |
8572 | } | |
8573 | return resultobj; | |
8574 | fail: | |
8575 | { | |
8576 | if (temp6) | |
8577 | delete arg6; | |
8578 | } | |
8579 | return NULL; | |
8580 | } | |
8581 | ||
8582 | ||
2f4c0a16 | 8583 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8584 | PyObject *resultobj; |
8585 | wxPyVScrolledWindow *result; | |
8586 | char *kwnames[] = { | |
8587 | NULL | |
8588 | }; | |
8589 | ||
8590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
8591 | { | |
8592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8593 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
8594 | ||
8595 | wxPyEndAllowThreads(__tstate); | |
8596 | if (PyErr_Occurred()) SWIG_fail; | |
8597 | } | |
2f4c0a16 | 8598 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
8599 | return resultobj; |
8600 | fail: | |
8601 | return NULL; | |
8602 | } | |
8603 | ||
8604 | ||
2f4c0a16 | 8605 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8606 | PyObject *resultobj; |
8607 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8608 | PyObject *arg2 = (PyObject *) 0 ; | |
8609 | PyObject *arg3 = (PyObject *) 0 ; | |
8610 | PyObject * obj0 = 0 ; | |
8611 | PyObject * obj1 = 0 ; | |
8612 | PyObject * obj2 = 0 ; | |
8613 | char *kwnames[] = { | |
8614 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
8615 | }; | |
8616 | ||
8617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8620 | arg2 = obj1; |
8621 | arg3 = obj2; | |
8622 | { | |
8623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8624 | (arg1)->_setCallbackInfo(arg2,arg3); | |
8625 | ||
8626 | wxPyEndAllowThreads(__tstate); | |
8627 | if (PyErr_Occurred()) SWIG_fail; | |
8628 | } | |
8629 | Py_INCREF(Py_None); resultobj = Py_None; | |
8630 | return resultobj; | |
8631 | fail: | |
8632 | return NULL; | |
8633 | } | |
8634 | ||
8635 | ||
2f4c0a16 | 8636 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8637 | PyObject *resultobj; |
8638 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8639 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 8640 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
8641 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8642 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8643 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8644 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8645 | long arg6 = (long) 0 ; | |
8646 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
8647 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8648 | bool result; | |
8649 | wxPoint temp4 ; | |
8650 | wxSize temp5 ; | |
423f194a | 8651 | bool temp7 = False ; |
d14a1e28 RD |
8652 | PyObject * obj0 = 0 ; |
8653 | PyObject * obj1 = 0 ; | |
8edf1c75 | 8654 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8655 | PyObject * obj3 = 0 ; |
8656 | PyObject * obj4 = 0 ; | |
8edf1c75 | 8657 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8658 | PyObject * obj6 = 0 ; |
8659 | char *kwnames[] = { | |
8660 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8661 | }; | |
8662 | ||
8edf1c75 | 8663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
8664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8666 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 8668 | if (obj2) { |
2f4c0a16 RD |
8669 | arg3 = (int) SWIG_AsInt(obj2); |
8670 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8671 | } |
d14a1e28 RD |
8672 | if (obj3) { |
8673 | { | |
8674 | arg4 = &temp4; | |
8675 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8676 | } | |
8677 | } | |
8678 | if (obj4) { | |
8679 | { | |
8680 | arg5 = &temp5; | |
8681 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8682 | } | |
8683 | } | |
8edf1c75 | 8684 | if (obj5) { |
2f4c0a16 RD |
8685 | arg6 = (long) SWIG_AsLong(obj5); |
8686 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 8687 | } |
d14a1e28 RD |
8688 | if (obj6) { |
8689 | { | |
8690 | arg7 = wxString_in_helper(obj6); | |
8691 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 8692 | temp7 = True; |
d14a1e28 RD |
8693 | } |
8694 | } | |
8695 | { | |
8696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8697 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8698 | ||
8699 | wxPyEndAllowThreads(__tstate); | |
8700 | if (PyErr_Occurred()) SWIG_fail; | |
8701 | } | |
02a34c4c | 8702 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8703 | { |
8704 | if (temp7) | |
8705 | delete arg7; | |
8706 | } | |
8707 | return resultobj; | |
8708 | fail: | |
8709 | { | |
8710 | if (temp7) | |
8711 | delete arg7; | |
8712 | } | |
8713 | return NULL; | |
8714 | } | |
8715 | ||
8716 | ||
2f4c0a16 | 8717 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8718 | PyObject *resultobj; |
8719 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8720 | size_t arg2 ; | |
8721 | PyObject * obj0 = 0 ; | |
8722 | PyObject * obj1 = 0 ; | |
8723 | char *kwnames[] = { | |
8724 | (char *) "self",(char *) "count", NULL | |
8725 | }; | |
8726 | ||
8727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8728 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8729 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8730 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8731 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8732 | { |
8733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8734 | (arg1)->SetLineCount(arg2); | |
8735 | ||
8736 | wxPyEndAllowThreads(__tstate); | |
8737 | if (PyErr_Occurred()) SWIG_fail; | |
8738 | } | |
8739 | Py_INCREF(Py_None); resultobj = Py_None; | |
8740 | return resultobj; | |
8741 | fail: | |
8742 | return NULL; | |
8743 | } | |
8744 | ||
8745 | ||
2f4c0a16 | 8746 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8747 | PyObject *resultobj; |
8748 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8749 | size_t arg2 ; | |
8750 | bool result; | |
8751 | PyObject * obj0 = 0 ; | |
8752 | PyObject * obj1 = 0 ; | |
8753 | char *kwnames[] = { | |
8754 | (char *) "self",(char *) "line", NULL | |
8755 | }; | |
8756 | ||
8757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8758 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8759 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8760 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8761 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8762 | { |
8763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8764 | result = (bool)(arg1)->ScrollToLine(arg2); | |
8765 | ||
8766 | wxPyEndAllowThreads(__tstate); | |
8767 | if (PyErr_Occurred()) SWIG_fail; | |
8768 | } | |
02a34c4c | 8769 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8770 | return resultobj; |
8771 | fail: | |
8772 | return NULL; | |
8773 | } | |
8774 | ||
8775 | ||
2f4c0a16 | 8776 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8777 | PyObject *resultobj; |
8778 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8779 | int arg2 ; | |
8780 | bool result; | |
8781 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8782 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8783 | char *kwnames[] = { |
8784 | (char *) "self",(char *) "lines", NULL | |
8785 | }; | |
8786 | ||
8edf1c75 | 8787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8790 | arg2 = (int) SWIG_AsInt(obj1); | |
8791 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8792 | { |
8793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8794 | result = (bool)(arg1)->ScrollLines(arg2); | |
8795 | ||
8796 | wxPyEndAllowThreads(__tstate); | |
8797 | if (PyErr_Occurred()) SWIG_fail; | |
8798 | } | |
02a34c4c | 8799 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8800 | return resultobj; |
8801 | fail: | |
8802 | return NULL; | |
8803 | } | |
8804 | ||
8805 | ||
2f4c0a16 | 8806 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8807 | PyObject *resultobj; |
8808 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8809 | int arg2 ; | |
8810 | bool result; | |
8811 | PyObject * obj0 = 0 ; | |
8edf1c75 | 8812 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8813 | char *kwnames[] = { |
8814 | (char *) "self",(char *) "pages", NULL | |
8815 | }; | |
8816 | ||
8edf1c75 | 8817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
8818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8820 | arg2 = (int) SWIG_AsInt(obj1); | |
8821 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8822 | { |
8823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8824 | result = (bool)(arg1)->ScrollPages(arg2); | |
8825 | ||
8826 | wxPyEndAllowThreads(__tstate); | |
8827 | if (PyErr_Occurred()) SWIG_fail; | |
8828 | } | |
02a34c4c | 8829 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
8830 | return resultobj; |
8831 | fail: | |
8832 | return NULL; | |
8833 | } | |
8834 | ||
8835 | ||
2f4c0a16 | 8836 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8837 | PyObject *resultobj; |
8838 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8839 | size_t arg2 ; | |
8840 | PyObject * obj0 = 0 ; | |
8841 | PyObject * obj1 = 0 ; | |
8842 | char *kwnames[] = { | |
8843 | (char *) "self",(char *) "line", NULL | |
8844 | }; | |
8845 | ||
8846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8849 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8850 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8851 | { |
8852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8853 | (arg1)->RefreshLine(arg2); | |
8854 | ||
8855 | wxPyEndAllowThreads(__tstate); | |
8856 | if (PyErr_Occurred()) SWIG_fail; | |
8857 | } | |
8858 | Py_INCREF(Py_None); resultobj = Py_None; | |
8859 | return resultobj; | |
8860 | fail: | |
8861 | return NULL; | |
8862 | } | |
8863 | ||
8864 | ||
2f4c0a16 | 8865 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8866 | PyObject *resultobj; |
8867 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8868 | size_t arg2 ; | |
8869 | size_t arg3 ; | |
8870 | PyObject * obj0 = 0 ; | |
8871 | PyObject * obj1 = 0 ; | |
8872 | PyObject * obj2 = 0 ; | |
8873 | char *kwnames[] = { | |
8874 | (char *) "self",(char *) "from",(char *) "to", NULL | |
8875 | }; | |
8876 | ||
8877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
8878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8880 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
8881 | if (PyErr_Occurred()) SWIG_fail; | |
8882 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
8883 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8884 | { |
8885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8886 | (arg1)->RefreshLines(arg2,arg3); | |
8887 | ||
8888 | wxPyEndAllowThreads(__tstate); | |
8889 | if (PyErr_Occurred()) SWIG_fail; | |
8890 | } | |
8891 | Py_INCREF(Py_None); resultobj = Py_None; | |
8892 | return resultobj; | |
8893 | fail: | |
8894 | return NULL; | |
8895 | } | |
8896 | ||
8897 | ||
2f4c0a16 | 8898 | static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8899 | PyObject *resultobj; |
8900 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
423f194a RD |
8901 | int arg2 ; |
8902 | int arg3 ; | |
d14a1e28 RD |
8903 | int result; |
8904 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
8905 | PyObject * obj1 = 0 ; |
8906 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
8907 | char *kwnames[] = { |
8908 | (char *) "self",(char *) "x",(char *) "y", NULL | |
8909 | }; | |
8910 | ||
8edf1c75 | 8911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
8912 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8913 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8914 | arg2 = (int) SWIG_AsInt(obj1); | |
8915 | if (PyErr_Occurred()) SWIG_fail; | |
8916 | arg3 = (int) SWIG_AsInt(obj2); | |
8917 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
8918 | { |
8919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8920 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
8921 | ||
8922 | wxPyEndAllowThreads(__tstate); | |
8923 | if (PyErr_Occurred()) SWIG_fail; | |
8924 | } | |
2f4c0a16 | 8925 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8926 | return resultobj; |
8927 | fail: | |
8928 | return NULL; | |
8929 | } | |
8930 | ||
8931 | ||
2f4c0a16 | 8932 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8933 | PyObject *resultobj; |
8934 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8935 | wxPoint *arg2 = 0 ; | |
8936 | int result; | |
8937 | wxPoint temp2 ; | |
8938 | PyObject * obj0 = 0 ; | |
8939 | PyObject * obj1 = 0 ; | |
8940 | char *kwnames[] = { | |
8941 | (char *) "self",(char *) "pt", NULL | |
8942 | }; | |
8943 | ||
8944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
8945 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8947 | { |
8948 | arg2 = &temp2; | |
8949 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8950 | } | |
8951 | { | |
8952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8953 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
8954 | ||
8955 | wxPyEndAllowThreads(__tstate); | |
8956 | if (PyErr_Occurred()) SWIG_fail; | |
8957 | } | |
2f4c0a16 | 8958 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
8959 | return resultobj; |
8960 | fail: | |
8961 | return NULL; | |
8962 | } | |
8963 | ||
8964 | ||
2f4c0a16 | 8965 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8966 | PyObject *resultobj; |
8967 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8968 | PyObject * obj0 = 0 ; | |
8969 | char *kwnames[] = { | |
8970 | (char *) "self", NULL | |
8971 | }; | |
8972 | ||
8973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
8974 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
8975 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8976 | { |
8977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8978 | (arg1)->RefreshAll(); | |
8979 | ||
8980 | wxPyEndAllowThreads(__tstate); | |
8981 | if (PyErr_Occurred()) SWIG_fail; | |
8982 | } | |
8983 | Py_INCREF(Py_None); resultobj = Py_None; | |
8984 | return resultobj; | |
8985 | fail: | |
8986 | return NULL; | |
8987 | } | |
8988 | ||
8989 | ||
2f4c0a16 | 8990 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8991 | PyObject *resultobj; |
8992 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
8993 | size_t result; | |
8994 | PyObject * obj0 = 0 ; | |
8995 | char *kwnames[] = { | |
8996 | (char *) "self", NULL | |
8997 | }; | |
8998 | ||
8999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9000 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9002 | { |
9003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9004 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9005 | ||
9006 | wxPyEndAllowThreads(__tstate); | |
9007 | if (PyErr_Occurred()) SWIG_fail; | |
9008 | } | |
2f4c0a16 | 9009 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9010 | return resultobj; |
9011 | fail: | |
9012 | return NULL; | |
9013 | } | |
9014 | ||
9015 | ||
2f4c0a16 | 9016 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9017 | PyObject *resultobj; |
9018 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9019 | size_t result; | |
9020 | PyObject * obj0 = 0 ; | |
9021 | char *kwnames[] = { | |
9022 | (char *) "self", NULL | |
9023 | }; | |
9024 | ||
9025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9028 | { |
9029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9030 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
9031 | ||
9032 | wxPyEndAllowThreads(__tstate); | |
9033 | if (PyErr_Occurred()) SWIG_fail; | |
9034 | } | |
2f4c0a16 | 9035 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9036 | return resultobj; |
9037 | fail: | |
9038 | return NULL; | |
9039 | } | |
9040 | ||
9041 | ||
2f4c0a16 | 9042 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9043 | PyObject *resultobj; |
9044 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9045 | size_t result; | |
9046 | PyObject * obj0 = 0 ; | |
9047 | char *kwnames[] = { | |
9048 | (char *) "self", NULL | |
9049 | }; | |
9050 | ||
9051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9054 | { |
9055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9056 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
9057 | ||
9058 | wxPyEndAllowThreads(__tstate); | |
9059 | if (PyErr_Occurred()) SWIG_fail; | |
9060 | } | |
2f4c0a16 | 9061 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9062 | return resultobj; |
9063 | fail: | |
9064 | return NULL; | |
9065 | } | |
9066 | ||
9067 | ||
2f4c0a16 | 9068 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9069 | PyObject *resultobj; |
9070 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9071 | size_t arg2 ; | |
9072 | bool result; | |
9073 | PyObject * obj0 = 0 ; | |
9074 | PyObject * obj1 = 0 ; | |
9075 | char *kwnames[] = { | |
9076 | (char *) "self",(char *) "line", NULL | |
9077 | }; | |
9078 | ||
9079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9080 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9082 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9083 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9084 | { |
9085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9086 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
9087 | ||
9088 | wxPyEndAllowThreads(__tstate); | |
9089 | if (PyErr_Occurred()) SWIG_fail; | |
9090 | } | |
02a34c4c | 9091 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9092 | return resultobj; |
9093 | fail: | |
9094 | return NULL; | |
9095 | } | |
9096 | ||
9097 | ||
2f4c0a16 | 9098 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9099 | PyObject *obj; |
9100 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9101 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
9102 | Py_INCREF(obj); | |
9103 | return Py_BuildValue((char *)""); | |
9104 | } | |
8edf1c75 | 9105 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
cbd72d4f RD |
9106 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
9107 | return 1; | |
9108 | } | |
9109 | ||
9110 | ||
9111 | static PyObject *_wrap_VListBoxNameStr_get() { | |
9112 | PyObject *pyobj; | |
9113 | ||
9114 | { | |
9115 | #if wxUSE_UNICODE | |
9116 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9117 | #else | |
9118 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
9119 | #endif | |
9120 | } | |
9121 | return pyobj; | |
9122 | } | |
9123 | ||
9124 | ||
2f4c0a16 | 9125 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9126 | PyObject *resultobj; |
9127 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 9128 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9129 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9130 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9131 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9132 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9133 | long arg5 = (long) 0 ; | |
9134 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9135 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9136 | wxPyVListBox *result; | |
9137 | wxPoint temp3 ; | |
9138 | wxSize temp4 ; | |
423f194a | 9139 | bool temp6 = False ; |
d14a1e28 | 9140 | PyObject * obj0 = 0 ; |
8edf1c75 | 9141 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9142 | PyObject * obj2 = 0 ; |
9143 | PyObject * obj3 = 0 ; | |
8edf1c75 | 9144 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9145 | PyObject * obj5 = 0 ; |
9146 | char *kwnames[] = { | |
9147 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9148 | }; | |
9149 | ||
8edf1c75 | 9150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
9151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 9153 | if (obj1) { |
2f4c0a16 RD |
9154 | arg2 = (int) SWIG_AsInt(obj1); |
9155 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9156 | } |
d14a1e28 RD |
9157 | if (obj2) { |
9158 | { | |
9159 | arg3 = &temp3; | |
9160 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9161 | } | |
9162 | } | |
9163 | if (obj3) { | |
9164 | { | |
9165 | arg4 = &temp4; | |
9166 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9167 | } | |
9168 | } | |
8edf1c75 | 9169 | if (obj4) { |
2f4c0a16 RD |
9170 | arg5 = (long) SWIG_AsLong(obj4); |
9171 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9172 | } |
d14a1e28 RD |
9173 | if (obj5) { |
9174 | { | |
9175 | arg6 = wxString_in_helper(obj5); | |
9176 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 9177 | temp6 = True; |
d14a1e28 RD |
9178 | } |
9179 | } | |
9180 | { | |
9181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9182 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9183 | ||
9184 | wxPyEndAllowThreads(__tstate); | |
9185 | if (PyErr_Occurred()) SWIG_fail; | |
9186 | } | |
2f4c0a16 | 9187 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9188 | { |
9189 | if (temp6) | |
9190 | delete arg6; | |
9191 | } | |
9192 | return resultobj; | |
9193 | fail: | |
9194 | { | |
9195 | if (temp6) | |
9196 | delete arg6; | |
9197 | } | |
9198 | return NULL; | |
9199 | } | |
9200 | ||
9201 | ||
2f4c0a16 | 9202 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9203 | PyObject *resultobj; |
9204 | wxPyVListBox *result; | |
9205 | char *kwnames[] = { | |
9206 | NULL | |
9207 | }; | |
9208 | ||
9209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
9210 | { | |
9211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9212 | result = (wxPyVListBox *)new wxPyVListBox(); | |
9213 | ||
9214 | wxPyEndAllowThreads(__tstate); | |
9215 | if (PyErr_Occurred()) SWIG_fail; | |
9216 | } | |
2f4c0a16 | 9217 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
9218 | return resultobj; |
9219 | fail: | |
9220 | return NULL; | |
9221 | } | |
9222 | ||
9223 | ||
2f4c0a16 | 9224 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9225 | PyObject *resultobj; |
9226 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9227 | PyObject *arg2 = (PyObject *) 0 ; | |
9228 | PyObject *arg3 = (PyObject *) 0 ; | |
9229 | PyObject * obj0 = 0 ; | |
9230 | PyObject * obj1 = 0 ; | |
9231 | PyObject * obj2 = 0 ; | |
9232 | char *kwnames[] = { | |
9233 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9234 | }; | |
9235 | ||
9236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9237 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9238 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9239 | arg2 = obj1; |
9240 | arg3 = obj2; | |
9241 | { | |
9242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9243 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9244 | ||
9245 | wxPyEndAllowThreads(__tstate); | |
9246 | if (PyErr_Occurred()) SWIG_fail; | |
9247 | } | |
9248 | Py_INCREF(Py_None); resultobj = Py_None; | |
9249 | return resultobj; | |
9250 | fail: | |
9251 | return NULL; | |
9252 | } | |
9253 | ||
9254 | ||
2f4c0a16 | 9255 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9256 | PyObject *resultobj; |
9257 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9258 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 9259 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9260 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9261 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9262 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9263 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9264 | long arg6 = (long) 0 ; | |
9265 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
9266 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9267 | bool result; | |
9268 | wxPoint temp4 ; | |
9269 | wxSize temp5 ; | |
423f194a | 9270 | bool temp7 = False ; |
d14a1e28 RD |
9271 | PyObject * obj0 = 0 ; |
9272 | PyObject * obj1 = 0 ; | |
8edf1c75 | 9273 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9274 | PyObject * obj3 = 0 ; |
9275 | PyObject * obj4 = 0 ; | |
8edf1c75 | 9276 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9277 | PyObject * obj6 = 0 ; |
9278 | char *kwnames[] = { | |
9279 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9280 | }; | |
9281 | ||
8edf1c75 | 9282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
9283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9285 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 9287 | if (obj2) { |
2f4c0a16 RD |
9288 | arg3 = (int) SWIG_AsInt(obj2); |
9289 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9290 | } |
d14a1e28 RD |
9291 | if (obj3) { |
9292 | { | |
9293 | arg4 = &temp4; | |
9294 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9295 | } | |
9296 | } | |
9297 | if (obj4) { | |
9298 | { | |
9299 | arg5 = &temp5; | |
9300 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9301 | } | |
9302 | } | |
8edf1c75 | 9303 | if (obj5) { |
2f4c0a16 RD |
9304 | arg6 = (long) SWIG_AsLong(obj5); |
9305 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9306 | } |
d14a1e28 RD |
9307 | if (obj6) { |
9308 | { | |
9309 | arg7 = wxString_in_helper(obj6); | |
9310 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 9311 | temp7 = True; |
d14a1e28 RD |
9312 | } |
9313 | } | |
9314 | { | |
9315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9316 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9317 | ||
9318 | wxPyEndAllowThreads(__tstate); | |
9319 | if (PyErr_Occurred()) SWIG_fail; | |
9320 | } | |
02a34c4c | 9321 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9322 | { |
9323 | if (temp7) | |
9324 | delete arg7; | |
9325 | } | |
9326 | return resultobj; | |
9327 | fail: | |
9328 | { | |
9329 | if (temp7) | |
9330 | delete arg7; | |
9331 | } | |
9332 | return NULL; | |
9333 | } | |
9334 | ||
9335 | ||
2f4c0a16 | 9336 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9337 | PyObject *resultobj; |
9338 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9339 | size_t result; | |
9340 | PyObject * obj0 = 0 ; | |
9341 | char *kwnames[] = { | |
9342 | (char *) "self", NULL | |
9343 | }; | |
9344 | ||
9345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9348 | { |
9349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9350 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
9351 | ||
9352 | wxPyEndAllowThreads(__tstate); | |
9353 | if (PyErr_Occurred()) SWIG_fail; | |
9354 | } | |
2f4c0a16 | 9355 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9356 | return resultobj; |
9357 | fail: | |
9358 | return NULL; | |
9359 | } | |
9360 | ||
9361 | ||
2f4c0a16 | 9362 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9363 | PyObject *resultobj; |
9364 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9365 | bool result; | |
9366 | PyObject * obj0 = 0 ; | |
9367 | char *kwnames[] = { | |
9368 | (char *) "self", NULL | |
9369 | }; | |
9370 | ||
9371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9374 | { |
9375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9376 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
9377 | ||
9378 | wxPyEndAllowThreads(__tstate); | |
9379 | if (PyErr_Occurred()) SWIG_fail; | |
9380 | } | |
02a34c4c | 9381 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9382 | return resultobj; |
9383 | fail: | |
9384 | return NULL; | |
9385 | } | |
9386 | ||
9387 | ||
2f4c0a16 | 9388 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9389 | PyObject *resultobj; |
9390 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9391 | int result; | |
9392 | PyObject * obj0 = 0 ; | |
9393 | char *kwnames[] = { | |
9394 | (char *) "self", NULL | |
9395 | }; | |
9396 | ||
9397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9398 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9399 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9400 | { |
9401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9402 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
9403 | ||
9404 | wxPyEndAllowThreads(__tstate); | |
9405 | if (PyErr_Occurred()) SWIG_fail; | |
9406 | } | |
2f4c0a16 | 9407 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9408 | return resultobj; |
9409 | fail: | |
9410 | return NULL; | |
9411 | } | |
9412 | ||
9413 | ||
2f4c0a16 | 9414 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9415 | PyObject *resultobj; |
9416 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9417 | size_t arg2 ; | |
9418 | bool result; | |
9419 | PyObject * obj0 = 0 ; | |
9420 | PyObject * obj1 = 0 ; | |
9421 | char *kwnames[] = { | |
9422 | (char *) "self",(char *) "item", NULL | |
9423 | }; | |
9424 | ||
9425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9426 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9427 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9428 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9429 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9430 | { |
9431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9432 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
9433 | ||
9434 | wxPyEndAllowThreads(__tstate); | |
9435 | if (PyErr_Occurred()) SWIG_fail; | |
9436 | } | |
02a34c4c | 9437 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9438 | return resultobj; |
9439 | fail: | |
9440 | return NULL; | |
9441 | } | |
9442 | ||
9443 | ||
2f4c0a16 | 9444 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9445 | PyObject *resultobj; |
9446 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9447 | size_t arg2 ; | |
9448 | bool result; | |
9449 | PyObject * obj0 = 0 ; | |
9450 | PyObject * obj1 = 0 ; | |
9451 | char *kwnames[] = { | |
9452 | (char *) "self",(char *) "item", NULL | |
9453 | }; | |
9454 | ||
9455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9458 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9459 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9460 | { |
9461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9462 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
9463 | ||
9464 | wxPyEndAllowThreads(__tstate); | |
9465 | if (PyErr_Occurred()) SWIG_fail; | |
9466 | } | |
02a34c4c | 9467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9468 | return resultobj; |
9469 | fail: | |
9470 | return NULL; | |
9471 | } | |
9472 | ||
9473 | ||
2f4c0a16 | 9474 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9475 | PyObject *resultobj; |
9476 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9477 | size_t result; | |
9478 | PyObject * obj0 = 0 ; | |
9479 | char *kwnames[] = { | |
9480 | (char *) "self", NULL | |
9481 | }; | |
9482 | ||
9483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9486 | { |
9487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9488 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
9489 | ||
9490 | wxPyEndAllowThreads(__tstate); | |
9491 | if (PyErr_Occurred()) SWIG_fail; | |
9492 | } | |
2f4c0a16 | 9493 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
d14a1e28 RD |
9494 | return resultobj; |
9495 | fail: | |
9496 | return NULL; | |
9497 | } | |
9498 | ||
9499 | ||
2f4c0a16 | 9500 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9501 | PyObject *resultobj; |
9502 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9503 | unsigned long *arg2 = 0 ; | |
9504 | int result; | |
9505 | PyObject * obj0 = 0 ; | |
9506 | PyObject * obj1 = 0 ; | |
9507 | char *kwnames[] = { | |
9508 | (char *) "self",(char *) "cookie", NULL | |
9509 | }; | |
9510 | ||
9511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9514 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9515 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9516 | SWIG_fail; | |
d14a1e28 | 9517 | if (arg2 == NULL) { |
2f4c0a16 RD |
9518 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9519 | SWIG_fail; | |
d14a1e28 RD |
9520 | } |
9521 | { | |
9522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9523 | result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2); | |
9524 | ||
9525 | wxPyEndAllowThreads(__tstate); | |
9526 | if (PyErr_Occurred()) SWIG_fail; | |
9527 | } | |
2f4c0a16 | 9528 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9529 | return resultobj; |
9530 | fail: | |
9531 | return NULL; | |
9532 | } | |
9533 | ||
9534 | ||
2f4c0a16 | 9535 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9536 | PyObject *resultobj; |
9537 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9538 | unsigned long *arg2 = 0 ; | |
9539 | int result; | |
9540 | PyObject * obj0 = 0 ; | |
9541 | PyObject * obj1 = 0 ; | |
9542 | char *kwnames[] = { | |
9543 | (char *) "self",(char *) "cookie", NULL | |
9544 | }; | |
9545 | ||
9546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9549 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_unsigned_long, | |
9550 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
9551 | SWIG_fail; | |
d14a1e28 | 9552 | if (arg2 == NULL) { |
2f4c0a16 RD |
9553 | PyErr_SetString(PyExc_TypeError,"null reference"); |
9554 | SWIG_fail; | |
d14a1e28 RD |
9555 | } |
9556 | { | |
9557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9558 | result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2); | |
9559 | ||
9560 | wxPyEndAllowThreads(__tstate); | |
9561 | if (PyErr_Occurred()) SWIG_fail; | |
9562 | } | |
2f4c0a16 | 9563 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
9564 | return resultobj; |
9565 | fail: | |
9566 | return NULL; | |
9567 | } | |
9568 | ||
9569 | ||
2f4c0a16 | 9570 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9571 | PyObject *resultobj; |
9572 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9573 | wxPoint result; | |
9574 | PyObject * obj0 = 0 ; | |
9575 | char *kwnames[] = { | |
9576 | (char *) "self", NULL | |
9577 | }; | |
9578 | ||
9579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9582 | { |
9583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9584 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
9585 | ||
9586 | wxPyEndAllowThreads(__tstate); | |
9587 | if (PyErr_Occurred()) SWIG_fail; | |
9588 | } | |
9589 | { | |
9590 | wxPoint * resultptr; | |
9591 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 9592 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
9593 | } |
9594 | return resultobj; | |
9595 | fail: | |
9596 | return NULL; | |
9597 | } | |
9598 | ||
9599 | ||
2f4c0a16 | 9600 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9601 | PyObject *resultobj; |
9602 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9603 | wxColour *result; | |
9604 | PyObject * obj0 = 0 ; | |
9605 | char *kwnames[] = { | |
9606 | (char *) "self", NULL | |
9607 | }; | |
9608 | ||
9609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9612 | { |
9613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9614 | { | |
9615 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
9616 | result = (wxColour *) &_result_ref; | |
9617 | } | |
9618 | ||
9619 | wxPyEndAllowThreads(__tstate); | |
9620 | if (PyErr_Occurred()) SWIG_fail; | |
9621 | } | |
2f4c0a16 | 9622 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
9623 | return resultobj; |
9624 | fail: | |
9625 | return NULL; | |
9626 | } | |
9627 | ||
9628 | ||
2f4c0a16 | 9629 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9630 | PyObject *resultobj; |
9631 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9632 | size_t arg2 ; | |
9633 | PyObject * obj0 = 0 ; | |
9634 | PyObject * obj1 = 0 ; | |
9635 | char *kwnames[] = { | |
9636 | (char *) "self",(char *) "count", NULL | |
9637 | }; | |
9638 | ||
9639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9642 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9643 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9644 | { |
9645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9646 | (arg1)->SetItemCount(arg2); | |
9647 | ||
9648 | wxPyEndAllowThreads(__tstate); | |
9649 | if (PyErr_Occurred()) SWIG_fail; | |
9650 | } | |
9651 | Py_INCREF(Py_None); resultobj = Py_None; | |
9652 | return resultobj; | |
9653 | fail: | |
9654 | return NULL; | |
9655 | } | |
9656 | ||
9657 | ||
2f4c0a16 | 9658 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9659 | PyObject *resultobj; |
9660 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9661 | PyObject * obj0 = 0 ; | |
9662 | char *kwnames[] = { | |
9663 | (char *) "self", NULL | |
9664 | }; | |
9665 | ||
9666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9669 | { |
9670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9671 | (arg1)->Clear(); | |
9672 | ||
9673 | wxPyEndAllowThreads(__tstate); | |
9674 | if (PyErr_Occurred()) SWIG_fail; | |
9675 | } | |
9676 | Py_INCREF(Py_None); resultobj = Py_None; | |
9677 | return resultobj; | |
9678 | fail: | |
9679 | return NULL; | |
9680 | } | |
9681 | ||
9682 | ||
2f4c0a16 | 9683 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9684 | PyObject *resultobj; |
9685 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9686 | int arg2 ; | |
9687 | PyObject * obj0 = 0 ; | |
8edf1c75 | 9688 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9689 | char *kwnames[] = { |
9690 | (char *) "self",(char *) "selection", NULL | |
9691 | }; | |
9692 | ||
8edf1c75 | 9693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
9694 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9696 | arg2 = (int) SWIG_AsInt(obj1); | |
9697 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9698 | { |
9699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9700 | (arg1)->SetSelection(arg2); | |
9701 | ||
9702 | wxPyEndAllowThreads(__tstate); | |
9703 | if (PyErr_Occurred()) SWIG_fail; | |
9704 | } | |
9705 | Py_INCREF(Py_None); resultobj = Py_None; | |
9706 | return resultobj; | |
9707 | fail: | |
9708 | return NULL; | |
9709 | } | |
9710 | ||
9711 | ||
2f4c0a16 | 9712 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9713 | PyObject *resultobj; |
9714 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9715 | size_t arg2 ; | |
423f194a | 9716 | bool arg3 = (bool) True ; |
d14a1e28 RD |
9717 | bool result; |
9718 | PyObject * obj0 = 0 ; | |
9719 | PyObject * obj1 = 0 ; | |
9720 | PyObject * obj2 = 0 ; | |
9721 | char *kwnames[] = { | |
9722 | (char *) "self",(char *) "item",(char *) "select", NULL | |
9723 | }; | |
9724 | ||
9725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9726 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9727 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9728 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9729 | if (PyErr_Occurred()) SWIG_fail; | |
2dbef272 | 9730 | if (obj2) { |
2f4c0a16 RD |
9731 | arg3 = (bool) SWIG_AsBool(obj2); |
9732 | if (PyErr_Occurred()) SWIG_fail; | |
2dbef272 | 9733 | } |
d14a1e28 RD |
9734 | { |
9735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9736 | result = (bool)(arg1)->Select(arg2,arg3); | |
9737 | ||
9738 | wxPyEndAllowThreads(__tstate); | |
9739 | if (PyErr_Occurred()) SWIG_fail; | |
9740 | } | |
02a34c4c | 9741 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9742 | return resultobj; |
9743 | fail: | |
9744 | return NULL; | |
9745 | } | |
9746 | ||
9747 | ||
2f4c0a16 | 9748 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9749 | PyObject *resultobj; |
9750 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9751 | size_t arg2 ; | |
9752 | size_t arg3 ; | |
9753 | bool result; | |
9754 | PyObject * obj0 = 0 ; | |
9755 | PyObject * obj1 = 0 ; | |
9756 | PyObject * obj2 = 0 ; | |
9757 | char *kwnames[] = { | |
9758 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9759 | }; | |
9760 | ||
9761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
9762 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9763 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9764 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9765 | if (PyErr_Occurred()) SWIG_fail; | |
9766 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
9767 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9768 | { |
9769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9770 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
9771 | ||
9772 | wxPyEndAllowThreads(__tstate); | |
9773 | if (PyErr_Occurred()) SWIG_fail; | |
9774 | } | |
02a34c4c | 9775 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9776 | return resultobj; |
9777 | fail: | |
9778 | return NULL; | |
9779 | } | |
9780 | ||
9781 | ||
2f4c0a16 | 9782 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9783 | PyObject *resultobj; |
9784 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9785 | size_t arg2 ; | |
9786 | PyObject * obj0 = 0 ; | |
9787 | PyObject * obj1 = 0 ; | |
9788 | char *kwnames[] = { | |
9789 | (char *) "self",(char *) "item", NULL | |
9790 | }; | |
9791 | ||
9792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9795 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
9796 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9797 | { |
9798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9799 | (arg1)->Toggle(arg2); | |
9800 | ||
9801 | wxPyEndAllowThreads(__tstate); | |
9802 | if (PyErr_Occurred()) SWIG_fail; | |
9803 | } | |
9804 | Py_INCREF(Py_None); resultobj = Py_None; | |
9805 | return resultobj; | |
9806 | fail: | |
9807 | return NULL; | |
9808 | } | |
9809 | ||
9810 | ||
2f4c0a16 | 9811 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9812 | PyObject *resultobj; |
9813 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9814 | bool result; | |
9815 | PyObject * obj0 = 0 ; | |
9816 | char *kwnames[] = { | |
9817 | (char *) "self", NULL | |
9818 | }; | |
9819 | ||
9820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9823 | { |
9824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9825 | result = (bool)(arg1)->SelectAll(); | |
9826 | ||
9827 | wxPyEndAllowThreads(__tstate); | |
9828 | if (PyErr_Occurred()) SWIG_fail; | |
9829 | } | |
02a34c4c | 9830 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9831 | return resultobj; |
9832 | fail: | |
9833 | return NULL; | |
9834 | } | |
9835 | ||
9836 | ||
2f4c0a16 | 9837 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9838 | PyObject *resultobj; |
9839 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9840 | bool result; | |
9841 | PyObject * obj0 = 0 ; | |
9842 | char *kwnames[] = { | |
9843 | (char *) "self", NULL | |
9844 | }; | |
9845 | ||
9846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
9847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9849 | { |
9850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9851 | result = (bool)(arg1)->DeselectAll(); | |
9852 | ||
9853 | wxPyEndAllowThreads(__tstate); | |
9854 | if (PyErr_Occurred()) SWIG_fail; | |
9855 | } | |
02a34c4c | 9856 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
9857 | return resultobj; |
9858 | fail: | |
9859 | return NULL; | |
9860 | } | |
9861 | ||
9862 | ||
2f4c0a16 | 9863 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9864 | PyObject *resultobj; |
9865 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9866 | wxPoint *arg2 = 0 ; | |
9867 | wxPoint temp2 ; | |
9868 | PyObject * obj0 = 0 ; | |
9869 | PyObject * obj1 = 0 ; | |
9870 | char *kwnames[] = { | |
9871 | (char *) "self",(char *) "pt", NULL | |
9872 | }; | |
9873 | ||
9874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9877 | { |
9878 | arg2 = &temp2; | |
9879 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9880 | } | |
9881 | { | |
9882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9883 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
9884 | ||
9885 | wxPyEndAllowThreads(__tstate); | |
9886 | if (PyErr_Occurred()) SWIG_fail; | |
9887 | } | |
9888 | Py_INCREF(Py_None); resultobj = Py_None; | |
9889 | return resultobj; | |
9890 | fail: | |
9891 | return NULL; | |
9892 | } | |
9893 | ||
9894 | ||
2f4c0a16 | 9895 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9896 | PyObject *resultobj; |
9897 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
423f194a RD |
9898 | int arg2 ; |
9899 | int arg3 ; | |
d14a1e28 | 9900 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
9901 | PyObject * obj1 = 0 ; |
9902 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9903 | char *kwnames[] = { |
9904 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9905 | }; | |
9906 | ||
8edf1c75 | 9907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
9908 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9909 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9910 | arg2 = (int) SWIG_AsInt(obj1); | |
9911 | if (PyErr_Occurred()) SWIG_fail; | |
9912 | arg3 = (int) SWIG_AsInt(obj2); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
9914 | { |
9915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9916 | (arg1)->SetMargins(arg2,arg3); | |
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 | ||
2f4c0a16 | 9928 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9929 | PyObject *resultobj; |
9930 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
9931 | wxColour *arg2 = 0 ; | |
9932 | wxColour temp2 ; | |
9933 | PyObject * obj0 = 0 ; | |
9934 | PyObject * obj1 = 0 ; | |
9935 | char *kwnames[] = { | |
9936 | (char *) "self",(char *) "col", NULL | |
9937 | }; | |
9938 | ||
9939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
9940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
9941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9942 | { |
9943 | arg2 = &temp2; | |
9944 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
9945 | } | |
9946 | { | |
9947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9948 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
9949 | ||
9950 | wxPyEndAllowThreads(__tstate); | |
9951 | if (PyErr_Occurred()) SWIG_fail; | |
9952 | } | |
9953 | Py_INCREF(Py_None); resultobj = Py_None; | |
9954 | return resultobj; | |
9955 | fail: | |
9956 | return NULL; | |
9957 | } | |
9958 | ||
9959 | ||
2f4c0a16 | 9960 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9961 | PyObject *obj; |
9962 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9963 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
9964 | Py_INCREF(obj); | |
9965 | return Py_BuildValue((char *)""); | |
9966 | } | |
2f4c0a16 | 9967 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9968 | PyObject *resultobj; |
9969 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 9970 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9971 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9972 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9973 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9974 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9975 | long arg5 = (long) 0 ; | |
9976 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
9977 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9978 | wxPyHtmlListBox *result; | |
9979 | wxPoint temp3 ; | |
9980 | wxSize temp4 ; | |
423f194a | 9981 | bool temp6 = False ; |
d14a1e28 | 9982 | PyObject * obj0 = 0 ; |
8edf1c75 | 9983 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9984 | PyObject * obj2 = 0 ; |
9985 | PyObject * obj3 = 0 ; | |
8edf1c75 | 9986 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9987 | PyObject * obj5 = 0 ; |
9988 | char *kwnames[] = { | |
9989 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9990 | }; | |
9991 | ||
8edf1c75 | 9992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
9993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 9995 | if (obj1) { |
2f4c0a16 RD |
9996 | arg2 = (int) SWIG_AsInt(obj1); |
9997 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 9998 | } |
d14a1e28 RD |
9999 | if (obj2) { |
10000 | { | |
10001 | arg3 = &temp3; | |
10002 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10003 | } | |
10004 | } | |
10005 | if (obj3) { | |
10006 | { | |
10007 | arg4 = &temp4; | |
10008 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10009 | } | |
10010 | } | |
8edf1c75 | 10011 | if (obj4) { |
2f4c0a16 RD |
10012 | arg5 = (long) SWIG_AsLong(obj4); |
10013 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10014 | } |
d14a1e28 RD |
10015 | if (obj5) { |
10016 | { | |
10017 | arg6 = wxString_in_helper(obj5); | |
10018 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 10019 | temp6 = True; |
d14a1e28 RD |
10020 | } |
10021 | } | |
10022 | { | |
10023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10024 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10025 | ||
10026 | wxPyEndAllowThreads(__tstate); | |
10027 | if (PyErr_Occurred()) SWIG_fail; | |
10028 | } | |
2f4c0a16 | 10029 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10030 | { |
10031 | if (temp6) | |
10032 | delete arg6; | |
10033 | } | |
10034 | return resultobj; | |
10035 | fail: | |
10036 | { | |
10037 | if (temp6) | |
10038 | delete arg6; | |
10039 | } | |
10040 | return NULL; | |
10041 | } | |
10042 | ||
10043 | ||
2f4c0a16 | 10044 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10045 | PyObject *resultobj; |
10046 | wxPyHtmlListBox *result; | |
10047 | char *kwnames[] = { | |
10048 | NULL | |
10049 | }; | |
10050 | ||
10051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
10052 | { | |
10053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10054 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
10055 | ||
10056 | wxPyEndAllowThreads(__tstate); | |
10057 | if (PyErr_Occurred()) SWIG_fail; | |
10058 | } | |
2f4c0a16 | 10059 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
10060 | return resultobj; |
10061 | fail: | |
10062 | return NULL; | |
10063 | } | |
10064 | ||
10065 | ||
2f4c0a16 | 10066 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10067 | PyObject *resultobj; |
10068 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10069 | PyObject *arg2 = (PyObject *) 0 ; | |
10070 | PyObject *arg3 = (PyObject *) 0 ; | |
10071 | PyObject * obj0 = 0 ; | |
10072 | PyObject * obj1 = 0 ; | |
10073 | PyObject * obj2 = 0 ; | |
10074 | char *kwnames[] = { | |
10075 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10076 | }; | |
10077 | ||
10078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
10079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10081 | arg2 = obj1; |
10082 | arg3 = obj2; | |
10083 | { | |
10084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10085 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10086 | ||
10087 | wxPyEndAllowThreads(__tstate); | |
10088 | if (PyErr_Occurred()) SWIG_fail; | |
10089 | } | |
10090 | Py_INCREF(Py_None); resultobj = Py_None; | |
10091 | return resultobj; | |
10092 | fail: | |
10093 | return NULL; | |
10094 | } | |
10095 | ||
10096 | ||
2f4c0a16 | 10097 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10098 | PyObject *resultobj; |
10099 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10100 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 10101 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10102 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10103 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10104 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10105 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10106 | long arg6 = (long) 0 ; | |
10107 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10108 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10109 | bool result; | |
10110 | wxPoint temp4 ; | |
10111 | wxSize temp5 ; | |
423f194a | 10112 | bool temp7 = False ; |
d14a1e28 RD |
10113 | PyObject * obj0 = 0 ; |
10114 | PyObject * obj1 = 0 ; | |
8edf1c75 | 10115 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10116 | PyObject * obj3 = 0 ; |
10117 | PyObject * obj4 = 0 ; | |
8edf1c75 | 10118 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10119 | PyObject * obj6 = 0 ; |
10120 | char *kwnames[] = { | |
10121 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10122 | }; | |
10123 | ||
8edf1c75 | 10124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
10125 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10127 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 10129 | if (obj2) { |
2f4c0a16 RD |
10130 | arg3 = (int) SWIG_AsInt(obj2); |
10131 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10132 | } |
d14a1e28 RD |
10133 | if (obj3) { |
10134 | { | |
10135 | arg4 = &temp4; | |
10136 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10137 | } | |
10138 | } | |
10139 | if (obj4) { | |
10140 | { | |
10141 | arg5 = &temp5; | |
10142 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10143 | } | |
10144 | } | |
8edf1c75 | 10145 | if (obj5) { |
2f4c0a16 RD |
10146 | arg6 = (long) SWIG_AsLong(obj5); |
10147 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10148 | } |
d14a1e28 RD |
10149 | if (obj6) { |
10150 | { | |
10151 | arg7 = wxString_in_helper(obj6); | |
10152 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 10153 | temp7 = True; |
d14a1e28 RD |
10154 | } |
10155 | } | |
10156 | { | |
10157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10158 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10159 | ||
10160 | wxPyEndAllowThreads(__tstate); | |
10161 | if (PyErr_Occurred()) SWIG_fail; | |
10162 | } | |
02a34c4c | 10163 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10164 | { |
10165 | if (temp7) | |
10166 | delete arg7; | |
10167 | } | |
10168 | return resultobj; | |
10169 | fail: | |
10170 | { | |
10171 | if (temp7) | |
10172 | delete arg7; | |
10173 | } | |
10174 | return NULL; | |
10175 | } | |
10176 | ||
10177 | ||
2f4c0a16 | 10178 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10179 | PyObject *resultobj; |
10180 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10181 | PyObject * obj0 = 0 ; | |
10182 | char *kwnames[] = { | |
10183 | (char *) "self", NULL | |
10184 | }; | |
10185 | ||
10186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10189 | { |
10190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10191 | (arg1)->RefreshAll(); | |
10192 | ||
10193 | wxPyEndAllowThreads(__tstate); | |
10194 | if (PyErr_Occurred()) SWIG_fail; | |
10195 | } | |
10196 | Py_INCREF(Py_None); resultobj = Py_None; | |
10197 | return resultobj; | |
10198 | fail: | |
10199 | return NULL; | |
10200 | } | |
10201 | ||
10202 | ||
2f4c0a16 | 10203 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10204 | PyObject *resultobj; |
10205 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
10206 | size_t arg2 ; | |
10207 | PyObject * obj0 = 0 ; | |
10208 | PyObject * obj1 = 0 ; | |
10209 | char *kwnames[] = { | |
10210 | (char *) "self",(char *) "count", NULL | |
10211 | }; | |
10212 | ||
10213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
10215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10216 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
10217 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10218 | { |
10219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10220 | (arg1)->SetItemCount(arg2); | |
10221 | ||
10222 | wxPyEndAllowThreads(__tstate); | |
10223 | if (PyErr_Occurred()) SWIG_fail; | |
10224 | } | |
10225 | Py_INCREF(Py_None); resultobj = Py_None; | |
10226 | return resultobj; | |
10227 | fail: | |
10228 | return NULL; | |
10229 | } | |
10230 | ||
10231 | ||
2f4c0a16 | 10232 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10233 | PyObject *obj; |
10234 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10235 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
10236 | Py_INCREF(obj); | |
10237 | return Py_BuildValue((char *)""); | |
10238 | } | |
2f4c0a16 | 10239 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10240 | PyObject *resultobj; |
10241 | wxTaskBarIcon *result; | |
10242 | char *kwnames[] = { | |
10243 | NULL | |
10244 | }; | |
10245 | ||
10246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
10247 | { | |
10248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10249 | result = (wxTaskBarIcon *)new wxTaskBarIcon(); | |
10250 | ||
10251 | wxPyEndAllowThreads(__tstate); | |
10252 | if (PyErr_Occurred()) SWIG_fail; | |
10253 | } | |
2f4c0a16 | 10254 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIcon, 1); |
d14a1e28 RD |
10255 | return resultobj; |
10256 | fail: | |
10257 | return NULL; | |
10258 | } | |
10259 | ||
10260 | ||
2f4c0a16 | 10261 | static PyObject *_wrap_delete_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10262 | PyObject *resultobj; |
10263 | wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ; | |
10264 | PyObject * obj0 = 0 ; | |
10265 | char *kwnames[] = { | |
10266 | (char *) "self", NULL | |
10267 | }; | |
10268 | ||
10269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10270 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTaskBarIcon, |
10271 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10272 | { |
10273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10274 | delete arg1; | |
10275 | ||
10276 | wxPyEndAllowThreads(__tstate); | |
10277 | if (PyErr_Occurred()) SWIG_fail; | |
10278 | } | |
10279 | Py_INCREF(Py_None); resultobj = Py_None; | |
10280 | return resultobj; | |
10281 | fail: | |
10282 | return NULL; | |
10283 | } | |
10284 | ||
10285 | ||
2f4c0a16 | 10286 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10287 | PyObject *obj; |
10288 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10289 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj); | |
10290 | Py_INCREF(obj); | |
10291 | return Py_BuildValue((char *)""); | |
10292 | } | |
2f4c0a16 | 10293 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10294 | PyObject *resultobj; |
10295 | wxEventType arg1 ; | |
10296 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
10297 | wxTaskBarIconEvent *result; | |
8edf1c75 | 10298 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
10299 | PyObject * obj1 = 0 ; |
10300 | char *kwnames[] = { | |
10301 | (char *) "evtType",(char *) "tbIcon", NULL | |
10302 | }; | |
10303 | ||
8edf1c75 | 10304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10305 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
10306 | if (PyErr_Occurred()) SWIG_fail; | |
10307 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
10308 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10309 | { |
10310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10311 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
10312 | ||
10313 | wxPyEndAllowThreads(__tstate); | |
10314 | if (PyErr_Occurred()) SWIG_fail; | |
10315 | } | |
2f4c0a16 | 10316 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
10317 | return resultobj; |
10318 | fail: | |
10319 | return NULL; | |
10320 | } | |
10321 | ||
10322 | ||
2f4c0a16 | 10323 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10324 | PyObject *obj; |
10325 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10326 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
10327 | Py_INCREF(obj); | |
10328 | return Py_BuildValue((char *)""); | |
10329 | } | |
8edf1c75 | 10330 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
cbd72d4f RD |
10331 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
10332 | return 1; | |
10333 | } | |
10334 | ||
10335 | ||
10336 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
10337 | PyObject *pyobj; | |
10338 | ||
10339 | { | |
10340 | #if wxUSE_UNICODE | |
10341 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10342 | #else | |
10343 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
10344 | #endif | |
10345 | } | |
10346 | return pyobj; | |
10347 | } | |
10348 | ||
10349 | ||
8edf1c75 | 10350 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
cbd72d4f RD |
10351 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
10352 | return 1; | |
10353 | } | |
10354 | ||
10355 | ||
10356 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
10357 | PyObject *pyobj; | |
10358 | ||
10359 | { | |
10360 | #if wxUSE_UNICODE | |
10361 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10362 | #else | |
10363 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
10364 | #endif | |
10365 | } | |
10366 | return pyobj; | |
10367 | } | |
10368 | ||
10369 | ||
8edf1c75 | 10370 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
cbd72d4f RD |
10371 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
10372 | return 1; | |
10373 | } | |
10374 | ||
10375 | ||
10376 | static PyObject *_wrap_DirDialogNameStr_get() { | |
10377 | PyObject *pyobj; | |
10378 | ||
10379 | { | |
10380 | #if wxUSE_UNICODE | |
10381 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10382 | #else | |
10383 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
10384 | #endif | |
10385 | } | |
10386 | return pyobj; | |
10387 | } | |
10388 | ||
10389 | ||
8edf1c75 | 10390 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
cbd72d4f RD |
10391 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
10392 | return 1; | |
10393 | } | |
10394 | ||
10395 | ||
10396 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
10397 | PyObject *pyobj; | |
10398 | ||
10399 | { | |
10400 | #if wxUSE_UNICODE | |
10401 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10402 | #else | |
10403 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
10404 | #endif | |
10405 | } | |
10406 | return pyobj; | |
10407 | } | |
10408 | ||
10409 | ||
8edf1c75 | 10410 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
cbd72d4f RD |
10411 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
10412 | return 1; | |
10413 | } | |
10414 | ||
10415 | ||
10416 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
10417 | PyObject *pyobj; | |
10418 | ||
10419 | { | |
10420 | #if wxUSE_UNICODE | |
10421 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10422 | #else | |
10423 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
10424 | #endif | |
10425 | } | |
10426 | return pyobj; | |
10427 | } | |
10428 | ||
10429 | ||
8edf1c75 | 10430 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
cbd72d4f RD |
10431 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
10432 | return 1; | |
10433 | } | |
10434 | ||
10435 | ||
10436 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
10437 | PyObject *pyobj; | |
10438 | ||
10439 | { | |
10440 | #if wxUSE_UNICODE | |
10441 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10442 | #else | |
10443 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
10444 | #endif | |
10445 | } | |
10446 | return pyobj; | |
10447 | } | |
10448 | ||
10449 | ||
2f4c0a16 | 10450 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10451 | PyObject *resultobj; |
10452 | wxColourData *result; | |
10453 | char *kwnames[] = { | |
10454 | NULL | |
10455 | }; | |
10456 | ||
10457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
10458 | { | |
10459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10460 | result = (wxColourData *)new wxColourData(); | |
10461 | ||
10462 | wxPyEndAllowThreads(__tstate); | |
10463 | if (PyErr_Occurred()) SWIG_fail; | |
10464 | } | |
2f4c0a16 | 10465 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
10466 | return resultobj; |
10467 | fail: | |
10468 | return NULL; | |
10469 | } | |
10470 | ||
10471 | ||
2f4c0a16 | 10472 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10473 | PyObject *resultobj; |
10474 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10475 | PyObject * obj0 = 0 ; | |
10476 | char *kwnames[] = { | |
10477 | (char *) "self", NULL | |
10478 | }; | |
10479 | ||
10480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10481 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10483 | { |
10484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10485 | delete arg1; | |
10486 | ||
10487 | wxPyEndAllowThreads(__tstate); | |
10488 | if (PyErr_Occurred()) SWIG_fail; | |
10489 | } | |
10490 | Py_INCREF(Py_None); resultobj = Py_None; | |
10491 | return resultobj; | |
10492 | fail: | |
10493 | return NULL; | |
10494 | } | |
10495 | ||
10496 | ||
2f4c0a16 | 10497 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10498 | PyObject *resultobj; |
10499 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10500 | bool result; | |
10501 | PyObject * obj0 = 0 ; | |
10502 | char *kwnames[] = { | |
10503 | (char *) "self", NULL | |
10504 | }; | |
10505 | ||
10506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10509 | { |
10510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10511 | result = (bool)(arg1)->GetChooseFull(); | |
10512 | ||
10513 | wxPyEndAllowThreads(__tstate); | |
10514 | if (PyErr_Occurred()) SWIG_fail; | |
10515 | } | |
02a34c4c | 10516 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
10517 | return resultobj; |
10518 | fail: | |
10519 | return NULL; | |
10520 | } | |
10521 | ||
10522 | ||
2f4c0a16 | 10523 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10524 | PyObject *resultobj; |
10525 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10526 | wxColour result; | |
10527 | PyObject * obj0 = 0 ; | |
10528 | char *kwnames[] = { | |
10529 | (char *) "self", NULL | |
10530 | }; | |
10531 | ||
10532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10533 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10534 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10535 | { |
10536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10537 | result = (arg1)->GetColour(); | |
10538 | ||
10539 | wxPyEndAllowThreads(__tstate); | |
10540 | if (PyErr_Occurred()) SWIG_fail; | |
10541 | } | |
10542 | { | |
10543 | wxColour * resultptr; | |
10544 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 10545 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10546 | } |
10547 | return resultobj; | |
10548 | fail: | |
10549 | return NULL; | |
10550 | } | |
10551 | ||
10552 | ||
2f4c0a16 | 10553 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10554 | PyObject *resultobj; |
10555 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10556 | int arg2 ; | |
10557 | wxColour result; | |
10558 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10559 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10560 | char *kwnames[] = { |
10561 | (char *) "self",(char *) "i", NULL | |
10562 | }; | |
10563 | ||
8edf1c75 | 10564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10565 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10566 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10567 | arg2 = (int) SWIG_AsInt(obj1); | |
10568 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10569 | { |
10570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10571 | result = (arg1)->GetCustomColour(arg2); | |
10572 | ||
10573 | wxPyEndAllowThreads(__tstate); | |
10574 | if (PyErr_Occurred()) SWIG_fail; | |
10575 | } | |
10576 | { | |
10577 | wxColour * resultptr; | |
10578 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 10579 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
10580 | } |
10581 | return resultobj; | |
10582 | fail: | |
10583 | return NULL; | |
10584 | } | |
10585 | ||
10586 | ||
2f4c0a16 | 10587 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10588 | PyObject *resultobj; |
10589 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10590 | int arg2 ; | |
10591 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10592 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10593 | char *kwnames[] = { |
10594 | (char *) "self",(char *) "flag", NULL | |
10595 | }; | |
10596 | ||
8edf1c75 | 10597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
10598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10600 | arg2 = (int) SWIG_AsInt(obj1); | |
10601 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10602 | { |
10603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10604 | (arg1)->SetChooseFull(arg2); | |
10605 | ||
10606 | wxPyEndAllowThreads(__tstate); | |
10607 | if (PyErr_Occurred()) SWIG_fail; | |
10608 | } | |
10609 | Py_INCREF(Py_None); resultobj = Py_None; | |
10610 | return resultobj; | |
10611 | fail: | |
10612 | return NULL; | |
10613 | } | |
10614 | ||
10615 | ||
2f4c0a16 | 10616 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10617 | PyObject *resultobj; |
10618 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10619 | wxColour *arg2 = 0 ; | |
10620 | wxColour temp2 ; | |
10621 | PyObject * obj0 = 0 ; | |
10622 | PyObject * obj1 = 0 ; | |
10623 | char *kwnames[] = { | |
10624 | (char *) "self",(char *) "colour", NULL | |
10625 | }; | |
10626 | ||
10627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10630 | { |
10631 | arg2 = &temp2; | |
10632 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10633 | } | |
10634 | { | |
10635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10636 | (arg1)->SetColour((wxColour const &)*arg2); | |
10637 | ||
10638 | wxPyEndAllowThreads(__tstate); | |
10639 | if (PyErr_Occurred()) SWIG_fail; | |
10640 | } | |
10641 | Py_INCREF(Py_None); resultobj = Py_None; | |
10642 | return resultobj; | |
10643 | fail: | |
10644 | return NULL; | |
10645 | } | |
10646 | ||
10647 | ||
2f4c0a16 | 10648 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10649 | PyObject *resultobj; |
10650 | wxColourData *arg1 = (wxColourData *) 0 ; | |
10651 | int arg2 ; | |
10652 | wxColour *arg3 = 0 ; | |
10653 | wxColour temp3 ; | |
10654 | PyObject * obj0 = 0 ; | |
8edf1c75 | 10655 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10656 | PyObject * obj2 = 0 ; |
10657 | char *kwnames[] = { | |
10658 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
10659 | }; | |
10660 | ||
8edf1c75 | 10661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
10662 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
10663 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10664 | arg2 = (int) SWIG_AsInt(obj1); | |
10665 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
10666 | { |
10667 | arg3 = &temp3; | |
10668 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
10669 | } | |
10670 | { | |
10671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10672 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
10673 | ||
10674 | wxPyEndAllowThreads(__tstate); | |
10675 | if (PyErr_Occurred()) SWIG_fail; | |
10676 | } | |
10677 | Py_INCREF(Py_None); resultobj = Py_None; | |
10678 | return resultobj; | |
10679 | fail: | |
10680 | return NULL; | |
10681 | } | |
10682 | ||
10683 | ||
2f4c0a16 | 10684 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10685 | PyObject *obj; |
10686 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10687 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
10688 | Py_INCREF(obj); | |
10689 | return Py_BuildValue((char *)""); | |
10690 | } | |
2f4c0a16 | 10691 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10692 | PyObject *resultobj; |
10693 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10694 | wxColourData *arg2 = (wxColourData *) NULL ; | |
10695 | wxColourDialog *result; | |
10696 | PyObject * obj0 = 0 ; | |
10697 | PyObject * obj1 = 0 ; | |
10698 | char *kwnames[] = { | |
10699 | (char *) "parent",(char *) "data", NULL | |
10700 | }; | |
10701 | ||
10702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 10705 | if (obj1) { |
2f4c0a16 RD |
10706 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
10707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10708 | } |
10709 | { | |
10710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10711 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
10712 | ||
10713 | wxPyEndAllowThreads(__tstate); | |
10714 | if (PyErr_Occurred()) SWIG_fail; | |
10715 | } | |
2f4c0a16 | 10716 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
10717 | return resultobj; |
10718 | fail: | |
10719 | return NULL; | |
10720 | } | |
10721 | ||
10722 | ||
2f4c0a16 | 10723 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10724 | PyObject *resultobj; |
10725 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
10726 | wxColourData *result; | |
10727 | PyObject * obj0 = 0 ; | |
10728 | char *kwnames[] = { | |
10729 | (char *) "self", NULL | |
10730 | }; | |
10731 | ||
10732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10733 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
10734 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10735 | { |
10736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10737 | { | |
10738 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
10739 | result = (wxColourData *) &_result_ref; | |
10740 | } | |
10741 | ||
10742 | wxPyEndAllowThreads(__tstate); | |
10743 | if (PyErr_Occurred()) SWIG_fail; | |
10744 | } | |
2f4c0a16 | 10745 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
10746 | return resultobj; |
10747 | fail: | |
10748 | return NULL; | |
10749 | } | |
10750 | ||
10751 | ||
2f4c0a16 | 10752 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10753 | PyObject *obj; |
10754 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10755 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
10756 | Py_INCREF(obj); | |
10757 | return Py_BuildValue((char *)""); | |
10758 | } | |
2f4c0a16 | 10759 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10760 | PyObject *resultobj; |
10761 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10762 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
10763 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
10764 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
10765 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
10766 | long arg4 = (long) 0 ; | |
10767 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
10768 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
10769 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
10770 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
10771 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
10772 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10773 | wxDirDialog *result; | |
423f194a RD |
10774 | bool temp2 = False ; |
10775 | bool temp3 = False ; | |
d14a1e28 RD |
10776 | wxPoint temp5 ; |
10777 | wxSize temp6 ; | |
423f194a | 10778 | bool temp7 = False ; |
d14a1e28 RD |
10779 | PyObject * obj0 = 0 ; |
10780 | PyObject * obj1 = 0 ; | |
10781 | PyObject * obj2 = 0 ; | |
8edf1c75 | 10782 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
10783 | PyObject * obj4 = 0 ; |
10784 | PyObject * obj5 = 0 ; | |
10785 | PyObject * obj6 = 0 ; | |
10786 | char *kwnames[] = { | |
10787 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
10788 | }; | |
10789 | ||
8edf1c75 | 10790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
10791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10793 | if (obj1) { |
10794 | { | |
10795 | arg2 = wxString_in_helper(obj1); | |
10796 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10797 | temp2 = True; |
d14a1e28 RD |
10798 | } |
10799 | } | |
10800 | if (obj2) { | |
10801 | { | |
10802 | arg3 = wxString_in_helper(obj2); | |
10803 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 10804 | temp3 = True; |
d14a1e28 RD |
10805 | } |
10806 | } | |
8edf1c75 | 10807 | if (obj3) { |
2f4c0a16 RD |
10808 | arg4 = (long) SWIG_AsLong(obj3); |
10809 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 10810 | } |
d14a1e28 RD |
10811 | if (obj4) { |
10812 | { | |
10813 | arg5 = &temp5; | |
10814 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
10815 | } | |
10816 | } | |
10817 | if (obj5) { | |
10818 | { | |
10819 | arg6 = &temp6; | |
10820 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
10821 | } | |
10822 | } | |
10823 | if (obj6) { | |
10824 | { | |
10825 | arg7 = wxString_in_helper(obj6); | |
10826 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 10827 | temp7 = True; |
d14a1e28 RD |
10828 | } |
10829 | } | |
10830 | { | |
10831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10832 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
10833 | ||
10834 | wxPyEndAllowThreads(__tstate); | |
10835 | if (PyErr_Occurred()) SWIG_fail; | |
10836 | } | |
2f4c0a16 | 10837 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
10838 | { |
10839 | if (temp2) | |
10840 | delete arg2; | |
10841 | } | |
10842 | { | |
10843 | if (temp3) | |
10844 | delete arg3; | |
10845 | } | |
10846 | { | |
10847 | if (temp7) | |
10848 | delete arg7; | |
10849 | } | |
10850 | return resultobj; | |
10851 | fail: | |
10852 | { | |
10853 | if (temp2) | |
10854 | delete arg2; | |
10855 | } | |
10856 | { | |
10857 | if (temp3) | |
10858 | delete arg3; | |
10859 | } | |
10860 | { | |
10861 | if (temp7) | |
10862 | delete arg7; | |
10863 | } | |
10864 | return NULL; | |
10865 | } | |
10866 | ||
10867 | ||
2f4c0a16 | 10868 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10869 | PyObject *resultobj; |
10870 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10871 | wxString result; | |
10872 | PyObject * obj0 = 0 ; | |
10873 | char *kwnames[] = { | |
10874 | (char *) "self", NULL | |
10875 | }; | |
10876 | ||
10877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
10879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10880 | { |
10881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10882 | result = (arg1)->GetPath(); | |
10883 | ||
10884 | wxPyEndAllowThreads(__tstate); | |
10885 | if (PyErr_Occurred()) SWIG_fail; | |
10886 | } | |
10887 | { | |
10888 | #if wxUSE_UNICODE | |
10889 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10890 | #else | |
10891 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10892 | #endif | |
10893 | } | |
10894 | return resultobj; | |
10895 | fail: | |
10896 | return NULL; | |
10897 | } | |
10898 | ||
10899 | ||
2f4c0a16 | 10900 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10901 | PyObject *resultobj; |
10902 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10903 | wxString result; | |
10904 | PyObject * obj0 = 0 ; | |
10905 | char *kwnames[] = { | |
10906 | (char *) "self", NULL | |
10907 | }; | |
10908 | ||
10909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10910 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
10911 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10912 | { |
10913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10914 | result = (arg1)->GetMessage(); | |
10915 | ||
10916 | wxPyEndAllowThreads(__tstate); | |
10917 | if (PyErr_Occurred()) SWIG_fail; | |
10918 | } | |
10919 | { | |
10920 | #if wxUSE_UNICODE | |
10921 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10922 | #else | |
10923 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10924 | #endif | |
10925 | } | |
10926 | return resultobj; | |
10927 | fail: | |
10928 | return NULL; | |
10929 | } | |
10930 | ||
10931 | ||
2f4c0a16 | 10932 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10933 | PyObject *resultobj; |
10934 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10935 | long result; | |
10936 | PyObject * obj0 = 0 ; | |
10937 | char *kwnames[] = { | |
10938 | (char *) "self", NULL | |
10939 | }; | |
10940 | ||
10941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
10942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
10943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10944 | { |
10945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10946 | result = (long)(arg1)->GetStyle(); | |
10947 | ||
10948 | wxPyEndAllowThreads(__tstate); | |
10949 | if (PyErr_Occurred()) SWIG_fail; | |
10950 | } | |
2f4c0a16 | 10951 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
10952 | return resultobj; |
10953 | fail: | |
10954 | return NULL; | |
10955 | } | |
10956 | ||
10957 | ||
2f4c0a16 | 10958 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10959 | PyObject *resultobj; |
10960 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
10961 | wxString *arg2 = 0 ; | |
423f194a | 10962 | bool temp2 = False ; |
d14a1e28 RD |
10963 | PyObject * obj0 = 0 ; |
10964 | PyObject * obj1 = 0 ; | |
10965 | char *kwnames[] = { | |
10966 | (char *) "self",(char *) "message", NULL | |
10967 | }; | |
10968 | ||
10969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
10970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
10971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10972 | { |
10973 | arg2 = wxString_in_helper(obj1); | |
10974 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 10975 | temp2 = True; |
d14a1e28 RD |
10976 | } |
10977 | { | |
10978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10979 | (arg1)->SetMessage((wxString const &)*arg2); | |
10980 | ||
10981 | wxPyEndAllowThreads(__tstate); | |
10982 | if (PyErr_Occurred()) SWIG_fail; | |
10983 | } | |
10984 | Py_INCREF(Py_None); resultobj = Py_None; | |
10985 | { | |
10986 | if (temp2) | |
10987 | delete arg2; | |
10988 | } | |
10989 | return resultobj; | |
10990 | fail: | |
10991 | { | |
10992 | if (temp2) | |
10993 | delete arg2; | |
10994 | } | |
10995 | return NULL; | |
10996 | } | |
10997 | ||
10998 | ||
2f4c0a16 | 10999 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11000 | PyObject *resultobj; |
11001 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
11002 | wxString *arg2 = 0 ; | |
423f194a | 11003 | bool temp2 = False ; |
d14a1e28 RD |
11004 | PyObject * obj0 = 0 ; |
11005 | PyObject * obj1 = 0 ; | |
11006 | char *kwnames[] = { | |
11007 | (char *) "self",(char *) "path", NULL | |
11008 | }; | |
11009 | ||
11010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11011 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
11012 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11013 | { |
11014 | arg2 = wxString_in_helper(obj1); | |
11015 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11016 | temp2 = True; |
d14a1e28 RD |
11017 | } |
11018 | { | |
11019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11020 | (arg1)->SetPath((wxString const &)*arg2); | |
11021 | ||
11022 | wxPyEndAllowThreads(__tstate); | |
11023 | if (PyErr_Occurred()) SWIG_fail; | |
11024 | } | |
11025 | Py_INCREF(Py_None); resultobj = Py_None; | |
11026 | { | |
11027 | if (temp2) | |
11028 | delete arg2; | |
11029 | } | |
11030 | return resultobj; | |
11031 | fail: | |
11032 | { | |
11033 | if (temp2) | |
11034 | delete arg2; | |
11035 | } | |
11036 | return NULL; | |
11037 | } | |
11038 | ||
11039 | ||
2f4c0a16 | 11040 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11041 | PyObject *obj; |
11042 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11043 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
11044 | Py_INCREF(obj); | |
11045 | return Py_BuildValue((char *)""); | |
11046 | } | |
2f4c0a16 | 11047 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11048 | PyObject *resultobj; |
11049 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11050 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
11051 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
11052 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11053 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11054 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
11055 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
11056 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
11057 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
11058 | long arg6 = (long) 0 ; | |
11059 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11060 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11061 | wxFileDialog *result; | |
423f194a RD |
11062 | bool temp2 = False ; |
11063 | bool temp3 = False ; | |
11064 | bool temp4 = False ; | |
11065 | bool temp5 = False ; | |
d14a1e28 RD |
11066 | wxPoint temp7 ; |
11067 | PyObject * obj0 = 0 ; | |
11068 | PyObject * obj1 = 0 ; | |
11069 | PyObject * obj2 = 0 ; | |
11070 | PyObject * obj3 = 0 ; | |
11071 | PyObject * obj4 = 0 ; | |
8edf1c75 | 11072 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11073 | PyObject * obj6 = 0 ; |
11074 | char *kwnames[] = { | |
11075 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
11076 | }; | |
11077 | ||
8edf1c75 | 11078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
11079 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11081 | if (obj1) { |
11082 | { | |
11083 | arg2 = wxString_in_helper(obj1); | |
11084 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11085 | temp2 = True; |
d14a1e28 RD |
11086 | } |
11087 | } | |
11088 | if (obj2) { | |
11089 | { | |
11090 | arg3 = wxString_in_helper(obj2); | |
11091 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11092 | temp3 = True; |
d14a1e28 RD |
11093 | } |
11094 | } | |
11095 | if (obj3) { | |
11096 | { | |
11097 | arg4 = wxString_in_helper(obj3); | |
11098 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 11099 | temp4 = True; |
d14a1e28 RD |
11100 | } |
11101 | } | |
11102 | if (obj4) { | |
11103 | { | |
11104 | arg5 = wxString_in_helper(obj4); | |
11105 | if (arg5 == NULL) SWIG_fail; | |
423f194a | 11106 | temp5 = True; |
d14a1e28 RD |
11107 | } |
11108 | } | |
8edf1c75 | 11109 | if (obj5) { |
2f4c0a16 RD |
11110 | arg6 = (long) SWIG_AsLong(obj5); |
11111 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 11112 | } |
d14a1e28 RD |
11113 | if (obj6) { |
11114 | { | |
11115 | arg7 = &temp7; | |
11116 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
11117 | } | |
11118 | } | |
11119 | { | |
11120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11121 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
11122 | ||
11123 | wxPyEndAllowThreads(__tstate); | |
11124 | if (PyErr_Occurred()) SWIG_fail; | |
11125 | } | |
2f4c0a16 | 11126 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
11127 | { |
11128 | if (temp2) | |
11129 | delete arg2; | |
11130 | } | |
11131 | { | |
11132 | if (temp3) | |
11133 | delete arg3; | |
11134 | } | |
11135 | { | |
11136 | if (temp4) | |
11137 | delete arg4; | |
11138 | } | |
11139 | { | |
11140 | if (temp5) | |
11141 | delete arg5; | |
11142 | } | |
11143 | return resultobj; | |
11144 | fail: | |
11145 | { | |
11146 | if (temp2) | |
11147 | delete arg2; | |
11148 | } | |
11149 | { | |
11150 | if (temp3) | |
11151 | delete arg3; | |
11152 | } | |
11153 | { | |
11154 | if (temp4) | |
11155 | delete arg4; | |
11156 | } | |
11157 | { | |
11158 | if (temp5) | |
11159 | delete arg5; | |
11160 | } | |
11161 | return NULL; | |
11162 | } | |
11163 | ||
11164 | ||
2f4c0a16 | 11165 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11166 | PyObject *resultobj; |
11167 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11168 | wxString *arg2 = 0 ; | |
423f194a | 11169 | bool temp2 = False ; |
d14a1e28 RD |
11170 | PyObject * obj0 = 0 ; |
11171 | PyObject * obj1 = 0 ; | |
11172 | char *kwnames[] = { | |
11173 | (char *) "self",(char *) "message", NULL | |
11174 | }; | |
11175 | ||
11176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11179 | { |
11180 | arg2 = wxString_in_helper(obj1); | |
11181 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11182 | temp2 = True; |
d14a1e28 RD |
11183 | } |
11184 | { | |
11185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11186 | (arg1)->SetMessage((wxString const &)*arg2); | |
11187 | ||
11188 | wxPyEndAllowThreads(__tstate); | |
11189 | if (PyErr_Occurred()) SWIG_fail; | |
11190 | } | |
11191 | Py_INCREF(Py_None); resultobj = Py_None; | |
11192 | { | |
11193 | if (temp2) | |
11194 | delete arg2; | |
11195 | } | |
11196 | return resultobj; | |
11197 | fail: | |
11198 | { | |
11199 | if (temp2) | |
11200 | delete arg2; | |
11201 | } | |
11202 | return NULL; | |
11203 | } | |
11204 | ||
11205 | ||
2f4c0a16 | 11206 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11207 | PyObject *resultobj; |
11208 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11209 | wxString *arg2 = 0 ; | |
423f194a | 11210 | bool temp2 = False ; |
d14a1e28 RD |
11211 | PyObject * obj0 = 0 ; |
11212 | PyObject * obj1 = 0 ; | |
11213 | char *kwnames[] = { | |
11214 | (char *) "self",(char *) "path", NULL | |
11215 | }; | |
11216 | ||
11217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11220 | { |
11221 | arg2 = wxString_in_helper(obj1); | |
11222 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11223 | temp2 = True; |
d14a1e28 RD |
11224 | } |
11225 | { | |
11226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11227 | (arg1)->SetPath((wxString const &)*arg2); | |
11228 | ||
11229 | wxPyEndAllowThreads(__tstate); | |
11230 | if (PyErr_Occurred()) SWIG_fail; | |
11231 | } | |
11232 | Py_INCREF(Py_None); resultobj = Py_None; | |
11233 | { | |
11234 | if (temp2) | |
11235 | delete arg2; | |
11236 | } | |
11237 | return resultobj; | |
11238 | fail: | |
11239 | { | |
11240 | if (temp2) | |
11241 | delete arg2; | |
11242 | } | |
11243 | return NULL; | |
11244 | } | |
11245 | ||
11246 | ||
2f4c0a16 | 11247 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11248 | PyObject *resultobj; |
11249 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11250 | wxString *arg2 = 0 ; | |
423f194a | 11251 | bool temp2 = False ; |
d14a1e28 RD |
11252 | PyObject * obj0 = 0 ; |
11253 | PyObject * obj1 = 0 ; | |
11254 | char *kwnames[] = { | |
11255 | (char *) "self",(char *) "dir", NULL | |
11256 | }; | |
11257 | ||
11258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11261 | { |
11262 | arg2 = wxString_in_helper(obj1); | |
11263 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11264 | temp2 = True; |
d14a1e28 RD |
11265 | } |
11266 | { | |
11267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11268 | (arg1)->SetDirectory((wxString const &)*arg2); | |
11269 | ||
11270 | wxPyEndAllowThreads(__tstate); | |
11271 | if (PyErr_Occurred()) SWIG_fail; | |
11272 | } | |
11273 | Py_INCREF(Py_None); resultobj = Py_None; | |
11274 | { | |
11275 | if (temp2) | |
11276 | delete arg2; | |
11277 | } | |
11278 | return resultobj; | |
11279 | fail: | |
11280 | { | |
11281 | if (temp2) | |
11282 | delete arg2; | |
11283 | } | |
11284 | return NULL; | |
11285 | } | |
11286 | ||
11287 | ||
2f4c0a16 | 11288 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11289 | PyObject *resultobj; |
11290 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11291 | wxString *arg2 = 0 ; | |
423f194a | 11292 | bool temp2 = False ; |
d14a1e28 RD |
11293 | PyObject * obj0 = 0 ; |
11294 | PyObject * obj1 = 0 ; | |
11295 | char *kwnames[] = { | |
11296 | (char *) "self",(char *) "name", NULL | |
11297 | }; | |
11298 | ||
11299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11300 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11302 | { |
11303 | arg2 = wxString_in_helper(obj1); | |
11304 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11305 | temp2 = True; |
d14a1e28 RD |
11306 | } |
11307 | { | |
11308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11309 | (arg1)->SetFilename((wxString const &)*arg2); | |
11310 | ||
11311 | wxPyEndAllowThreads(__tstate); | |
11312 | if (PyErr_Occurred()) SWIG_fail; | |
11313 | } | |
11314 | Py_INCREF(Py_None); resultobj = Py_None; | |
11315 | { | |
11316 | if (temp2) | |
11317 | delete arg2; | |
11318 | } | |
11319 | return resultobj; | |
11320 | fail: | |
11321 | { | |
11322 | if (temp2) | |
11323 | delete arg2; | |
11324 | } | |
11325 | return NULL; | |
11326 | } | |
11327 | ||
11328 | ||
2f4c0a16 | 11329 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11330 | PyObject *resultobj; |
11331 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11332 | wxString *arg2 = 0 ; | |
423f194a | 11333 | bool temp2 = False ; |
d14a1e28 RD |
11334 | PyObject * obj0 = 0 ; |
11335 | PyObject * obj1 = 0 ; | |
11336 | char *kwnames[] = { | |
11337 | (char *) "self",(char *) "wildCard", NULL | |
11338 | }; | |
11339 | ||
11340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11343 | { |
11344 | arg2 = wxString_in_helper(obj1); | |
11345 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11346 | temp2 = True; |
d14a1e28 RD |
11347 | } |
11348 | { | |
11349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11350 | (arg1)->SetWildcard((wxString const &)*arg2); | |
11351 | ||
11352 | wxPyEndAllowThreads(__tstate); | |
11353 | if (PyErr_Occurred()) SWIG_fail; | |
11354 | } | |
11355 | Py_INCREF(Py_None); resultobj = Py_None; | |
11356 | { | |
11357 | if (temp2) | |
11358 | delete arg2; | |
11359 | } | |
11360 | return resultobj; | |
11361 | fail: | |
11362 | { | |
11363 | if (temp2) | |
11364 | delete arg2; | |
11365 | } | |
11366 | return NULL; | |
11367 | } | |
11368 | ||
11369 | ||
2f4c0a16 | 11370 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11371 | PyObject *resultobj; |
11372 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11373 | long arg2 ; | |
11374 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11375 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11376 | char *kwnames[] = { |
11377 | (char *) "self",(char *) "style", NULL | |
11378 | }; | |
11379 | ||
8edf1c75 | 11380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
11381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11383 | arg2 = (long) SWIG_AsLong(obj1); | |
11384 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11385 | { |
11386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11387 | (arg1)->SetStyle(arg2); | |
11388 | ||
11389 | wxPyEndAllowThreads(__tstate); | |
11390 | if (PyErr_Occurred()) SWIG_fail; | |
11391 | } | |
11392 | Py_INCREF(Py_None); resultobj = Py_None; | |
11393 | return resultobj; | |
11394 | fail: | |
11395 | return NULL; | |
11396 | } | |
11397 | ||
11398 | ||
2f4c0a16 | 11399 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11400 | PyObject *resultobj; |
11401 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11402 | int arg2 ; | |
11403 | PyObject * obj0 = 0 ; | |
8edf1c75 | 11404 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11405 | char *kwnames[] = { |
11406 | (char *) "self",(char *) "filterIndex", NULL | |
11407 | }; | |
11408 | ||
8edf1c75 | 11409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
11410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11412 | arg2 = (int) SWIG_AsInt(obj1); | |
11413 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11414 | { |
11415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11416 | (arg1)->SetFilterIndex(arg2); | |
11417 | ||
11418 | wxPyEndAllowThreads(__tstate); | |
11419 | if (PyErr_Occurred()) SWIG_fail; | |
11420 | } | |
11421 | Py_INCREF(Py_None); resultobj = Py_None; | |
11422 | return resultobj; | |
11423 | fail: | |
11424 | return NULL; | |
11425 | } | |
11426 | ||
11427 | ||
2f4c0a16 | 11428 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11429 | PyObject *resultobj; |
11430 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11431 | wxString result; | |
11432 | PyObject * obj0 = 0 ; | |
11433 | char *kwnames[] = { | |
11434 | (char *) "self", NULL | |
11435 | }; | |
11436 | ||
11437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11438 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11439 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11440 | { |
11441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11442 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
11443 | ||
11444 | wxPyEndAllowThreads(__tstate); | |
11445 | if (PyErr_Occurred()) SWIG_fail; | |
11446 | } | |
11447 | { | |
11448 | #if wxUSE_UNICODE | |
11449 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11450 | #else | |
11451 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11452 | #endif | |
11453 | } | |
11454 | return resultobj; | |
11455 | fail: | |
11456 | return NULL; | |
11457 | } | |
11458 | ||
11459 | ||
2f4c0a16 | 11460 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11461 | PyObject *resultobj; |
11462 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11463 | wxString result; | |
11464 | PyObject * obj0 = 0 ; | |
11465 | char *kwnames[] = { | |
11466 | (char *) "self", NULL | |
11467 | }; | |
11468 | ||
11469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11470 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11471 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11472 | { |
11473 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11474 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
11475 | ||
11476 | wxPyEndAllowThreads(__tstate); | |
11477 | if (PyErr_Occurred()) SWIG_fail; | |
11478 | } | |
11479 | { | |
11480 | #if wxUSE_UNICODE | |
11481 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11482 | #else | |
11483 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11484 | #endif | |
11485 | } | |
11486 | return resultobj; | |
11487 | fail: | |
11488 | return NULL; | |
11489 | } | |
11490 | ||
11491 | ||
2f4c0a16 | 11492 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11493 | PyObject *resultobj; |
11494 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11495 | wxString result; | |
11496 | PyObject * obj0 = 0 ; | |
11497 | char *kwnames[] = { | |
11498 | (char *) "self", NULL | |
11499 | }; | |
11500 | ||
11501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11504 | { |
11505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11506 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
11507 | ||
11508 | wxPyEndAllowThreads(__tstate); | |
11509 | if (PyErr_Occurred()) SWIG_fail; | |
11510 | } | |
11511 | { | |
11512 | #if wxUSE_UNICODE | |
11513 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11514 | #else | |
11515 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11516 | #endif | |
11517 | } | |
11518 | return resultobj; | |
11519 | fail: | |
11520 | return NULL; | |
11521 | } | |
11522 | ||
11523 | ||
2f4c0a16 | 11524 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11525 | PyObject *resultobj; |
11526 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11527 | wxString result; | |
11528 | PyObject * obj0 = 0 ; | |
11529 | char *kwnames[] = { | |
11530 | (char *) "self", NULL | |
11531 | }; | |
11532 | ||
11533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11536 | { |
11537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11538 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
11539 | ||
11540 | wxPyEndAllowThreads(__tstate); | |
11541 | if (PyErr_Occurred()) SWIG_fail; | |
11542 | } | |
11543 | { | |
11544 | #if wxUSE_UNICODE | |
11545 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11546 | #else | |
11547 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11548 | #endif | |
11549 | } | |
11550 | return resultobj; | |
11551 | fail: | |
11552 | return NULL; | |
11553 | } | |
11554 | ||
11555 | ||
2f4c0a16 | 11556 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11557 | PyObject *resultobj; |
11558 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11559 | wxString result; | |
11560 | PyObject * obj0 = 0 ; | |
11561 | char *kwnames[] = { | |
11562 | (char *) "self", NULL | |
11563 | }; | |
11564 | ||
11565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11568 | { |
11569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11570 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
11571 | ||
11572 | wxPyEndAllowThreads(__tstate); | |
11573 | if (PyErr_Occurred()) SWIG_fail; | |
11574 | } | |
11575 | { | |
11576 | #if wxUSE_UNICODE | |
11577 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
11578 | #else | |
11579 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
11580 | #endif | |
11581 | } | |
11582 | return resultobj; | |
11583 | fail: | |
11584 | return NULL; | |
11585 | } | |
11586 | ||
11587 | ||
2f4c0a16 | 11588 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11589 | PyObject *resultobj; |
11590 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11591 | long result; | |
11592 | PyObject * obj0 = 0 ; | |
11593 | char *kwnames[] = { | |
11594 | (char *) "self", NULL | |
11595 | }; | |
11596 | ||
11597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11600 | { |
11601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11602 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
11603 | ||
11604 | wxPyEndAllowThreads(__tstate); | |
11605 | if (PyErr_Occurred()) SWIG_fail; | |
11606 | } | |
2f4c0a16 | 11607 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
11608 | return resultobj; |
11609 | fail: | |
11610 | return NULL; | |
11611 | } | |
11612 | ||
11613 | ||
2f4c0a16 | 11614 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11615 | PyObject *resultobj; |
11616 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11617 | int result; | |
11618 | PyObject * obj0 = 0 ; | |
11619 | char *kwnames[] = { | |
11620 | (char *) "self", NULL | |
11621 | }; | |
11622 | ||
11623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11626 | { |
11627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11628 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
11629 | ||
11630 | wxPyEndAllowThreads(__tstate); | |
11631 | if (PyErr_Occurred()) SWIG_fail; | |
11632 | } | |
2f4c0a16 | 11633 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
11634 | return resultobj; |
11635 | fail: | |
11636 | return NULL; | |
11637 | } | |
11638 | ||
11639 | ||
2f4c0a16 | 11640 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11641 | PyObject *resultobj; |
11642 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11643 | PyObject *result; | |
11644 | PyObject * obj0 = 0 ; | |
11645 | char *kwnames[] = { | |
11646 | (char *) "self", NULL | |
11647 | }; | |
11648 | ||
11649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11652 | { |
11653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11654 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
11655 | ||
11656 | wxPyEndAllowThreads(__tstate); | |
11657 | if (PyErr_Occurred()) SWIG_fail; | |
11658 | } | |
11659 | resultobj = result; | |
11660 | return resultobj; | |
11661 | fail: | |
11662 | return NULL; | |
11663 | } | |
11664 | ||
11665 | ||
2f4c0a16 | 11666 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11667 | PyObject *resultobj; |
11668 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
11669 | PyObject *result; | |
11670 | PyObject * obj0 = 0 ; | |
11671 | char *kwnames[] = { | |
11672 | (char *) "self", NULL | |
11673 | }; | |
11674 | ||
11675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
11677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11678 | { |
11679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11680 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
11681 | ||
11682 | wxPyEndAllowThreads(__tstate); | |
11683 | if (PyErr_Occurred()) SWIG_fail; | |
11684 | } | |
11685 | resultobj = result; | |
11686 | return resultobj; | |
11687 | fail: | |
11688 | return NULL; | |
11689 | } | |
11690 | ||
11691 | ||
2f4c0a16 | 11692 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11693 | PyObject *obj; |
11694 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11695 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
11696 | Py_INCREF(obj); | |
11697 | return Py_BuildValue((char *)""); | |
11698 | } | |
2f4c0a16 | 11699 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11700 | PyObject *resultobj; |
11701 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11702 | wxString *arg2 = 0 ; | |
11703 | wxString *arg3 = 0 ; | |
02a34c4c | 11704 | int arg4 = (int) 0 ; |
d14a1e28 RD |
11705 | wxString *arg5 = (wxString *) 0 ; |
11706 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11707 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11708 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11709 | wxMultiChoiceDialog *result; | |
423f194a RD |
11710 | bool temp2 = False ; |
11711 | bool temp3 = False ; | |
02a34c4c | 11712 | wxPoint temp6 ; |
d14a1e28 RD |
11713 | PyObject * obj0 = 0 ; |
11714 | PyObject * obj1 = 0 ; | |
11715 | PyObject * obj2 = 0 ; | |
8edf1c75 | 11716 | PyObject * obj3 = 0 ; |
d14a1e28 | 11717 | PyObject * obj4 = 0 ; |
8edf1c75 | 11718 | PyObject * obj5 = 0 ; |
d14a1e28 | 11719 | char *kwnames[] = { |
02a34c4c | 11720 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
11721 | }; |
11722 | ||
02a34c4c | 11723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
11724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11726 | { |
11727 | arg2 = wxString_in_helper(obj1); | |
11728 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11729 | temp2 = True; |
d14a1e28 RD |
11730 | } |
11731 | { | |
11732 | arg3 = wxString_in_helper(obj2); | |
11733 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11734 | temp3 = True; |
d14a1e28 | 11735 | } |
02a34c4c RD |
11736 | if (obj3) { |
11737 | { | |
11738 | arg4 = PyList_Size(obj3); | |
11739 | arg5 = wxString_LIST_helper(obj3); | |
11740 | if (arg5 == NULL) SWIG_fail; | |
11741 | } | |
dae0faa6 | 11742 | } |
02a34c4c | 11743 | if (obj4) { |
2f4c0a16 RD |
11744 | arg6 = (long) SWIG_AsLong(obj4); |
11745 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 11746 | } |
02a34c4c | 11747 | if (obj5) { |
d14a1e28 | 11748 | { |
02a34c4c RD |
11749 | arg7 = &temp6; |
11750 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
11751 | } |
11752 | } | |
11753 | { | |
11754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11755 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
11756 | ||
11757 | wxPyEndAllowThreads(__tstate); | |
11758 | if (PyErr_Occurred()) SWIG_fail; | |
11759 | } | |
2f4c0a16 | 11760 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
11761 | { |
11762 | if (temp2) | |
11763 | delete arg2; | |
11764 | } | |
11765 | { | |
11766 | if (temp3) | |
11767 | delete arg3; | |
11768 | } | |
dae0faa6 | 11769 | { |
02a34c4c | 11770 | if (arg5) delete [] arg5; |
dae0faa6 | 11771 | } |
d14a1e28 RD |
11772 | return resultobj; |
11773 | fail: | |
11774 | { | |
11775 | if (temp2) | |
11776 | delete arg2; | |
11777 | } | |
11778 | { | |
11779 | if (temp3) | |
11780 | delete arg3; | |
11781 | } | |
dae0faa6 | 11782 | { |
02a34c4c | 11783 | if (arg5) delete [] arg5; |
dae0faa6 | 11784 | } |
d14a1e28 RD |
11785 | return NULL; |
11786 | } | |
11787 | ||
11788 | ||
2f4c0a16 | 11789 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11790 | PyObject *resultobj; |
11791 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
11792 | wxArrayInt *arg2 = 0 ; | |
0ffb2aa6 | 11793 | bool temp2 = False ; |
d14a1e28 RD |
11794 | PyObject * obj0 = 0 ; |
11795 | PyObject * obj1 = 0 ; | |
11796 | char *kwnames[] = { | |
11797 | (char *) "self",(char *) "selections", NULL | |
11798 | }; | |
11799 | ||
11800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
11801 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
11802 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11803 | { |
11804 | if (! PySequence_Check(obj1)) { | |
11805 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
11806 | SWIG_fail; | |
11807 | } | |
11808 | arg2 = new wxArrayInt; | |
0ffb2aa6 | 11809 | temp2 = True; |
d14a1e28 RD |
11810 | int i, len=PySequence_Length(obj1); |
11811 | for (i=0; i<len; i++) { | |
11812 | PyObject* item = PySequence_GetItem(obj1, i); | |
11813 | PyObject* number = PyNumber_Int(item); | |
11814 | arg2->Add(PyInt_AS_LONG(number)); | |
11815 | Py_DECREF(item); | |
11816 | Py_DECREF(number); | |
11817 | } | |
11818 | } | |
11819 | { | |
11820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11821 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
11822 | ||
11823 | wxPyEndAllowThreads(__tstate); | |
11824 | if (PyErr_Occurred()) SWIG_fail; | |
11825 | } | |
11826 | Py_INCREF(Py_None); resultobj = Py_None; | |
11827 | { | |
0ffb2aa6 | 11828 | if (temp2) delete arg2; |
d14a1e28 RD |
11829 | } |
11830 | return resultobj; | |
11831 | fail: | |
11832 | { | |
0ffb2aa6 | 11833 | if (temp2) delete arg2; |
d14a1e28 RD |
11834 | } |
11835 | return NULL; | |
11836 | } | |
11837 | ||
11838 | ||
2f4c0a16 | 11839 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11840 | PyObject *resultobj; |
11841 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
11842 | PyObject *result; | |
11843 | PyObject * obj0 = 0 ; | |
11844 | char *kwnames[] = { | |
11845 | (char *) "self", NULL | |
11846 | }; | |
11847 | ||
11848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11849 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
11850 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11851 | { |
11852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11853 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
11854 | ||
11855 | wxPyEndAllowThreads(__tstate); | |
11856 | if (PyErr_Occurred()) SWIG_fail; | |
11857 | } | |
11858 | resultobj = result; | |
11859 | return resultobj; | |
11860 | fail: | |
11861 | return NULL; | |
11862 | } | |
11863 | ||
11864 | ||
2f4c0a16 | 11865 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11866 | PyObject *obj; |
11867 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11868 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
11869 | Py_INCREF(obj); | |
11870 | return Py_BuildValue((char *)""); | |
11871 | } | |
2f4c0a16 | 11872 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11873 | PyObject *resultobj; |
11874 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11875 | wxString *arg2 = 0 ; | |
11876 | wxString *arg3 = 0 ; | |
11877 | int arg4 ; | |
11878 | wxString *arg5 = (wxString *) 0 ; | |
11879 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
11880 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
11881 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
11882 | wxSingleChoiceDialog *result; | |
423f194a RD |
11883 | bool temp2 = False ; |
11884 | bool temp3 = False ; | |
d14a1e28 RD |
11885 | wxPoint temp6 ; |
11886 | PyObject * obj0 = 0 ; | |
11887 | PyObject * obj1 = 0 ; | |
11888 | PyObject * obj2 = 0 ; | |
11889 | PyObject * obj3 = 0 ; | |
8edf1c75 | 11890 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
11891 | PyObject * obj5 = 0 ; |
11892 | char *kwnames[] = { | |
11893 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
11894 | }; | |
11895 | ||
8edf1c75 | 11896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
11897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11899 | { |
11900 | arg2 = wxString_in_helper(obj1); | |
11901 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 11902 | temp2 = True; |
d14a1e28 RD |
11903 | } |
11904 | { | |
11905 | arg3 = wxString_in_helper(obj2); | |
11906 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 11907 | temp3 = True; |
d14a1e28 RD |
11908 | } |
11909 | { | |
11910 | arg4 = PyList_Size(obj3); | |
11911 | arg5 = wxString_LIST_helper(obj3); | |
11912 | if (arg5 == NULL) SWIG_fail; | |
11913 | } | |
8edf1c75 | 11914 | if (obj4) { |
2f4c0a16 RD |
11915 | arg6 = (long) SWIG_AsLong(obj4); |
11916 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 11917 | } |
d14a1e28 RD |
11918 | if (obj5) { |
11919 | { | |
11920 | arg7 = &temp6; | |
11921 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
11922 | } | |
11923 | } | |
11924 | { | |
11925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11926 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
11927 | ||
11928 | wxPyEndAllowThreads(__tstate); | |
11929 | if (PyErr_Occurred()) SWIG_fail; | |
11930 | } | |
2f4c0a16 | 11931 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
11932 | { |
11933 | if (temp2) | |
11934 | delete arg2; | |
11935 | } | |
11936 | { | |
11937 | if (temp3) | |
11938 | delete arg3; | |
11939 | } | |
11940 | { | |
11941 | if (arg5) delete [] arg5; | |
11942 | } | |
11943 | return resultobj; | |
11944 | fail: | |
11945 | { | |
11946 | if (temp2) | |
11947 | delete arg2; | |
11948 | } | |
11949 | { | |
11950 | if (temp3) | |
11951 | delete arg3; | |
11952 | } | |
11953 | { | |
11954 | if (arg5) delete [] arg5; | |
11955 | } | |
11956 | return NULL; | |
11957 | } | |
11958 | ||
11959 | ||
2f4c0a16 | 11960 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11961 | PyObject *resultobj; |
11962 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11963 | int result; | |
11964 | PyObject * obj0 = 0 ; | |
11965 | char *kwnames[] = { | |
11966 | (char *) "self", NULL | |
11967 | }; | |
11968 | ||
11969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
11971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11972 | { |
11973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11974 | result = (int)(arg1)->GetSelection(); | |
11975 | ||
11976 | wxPyEndAllowThreads(__tstate); | |
11977 | if (PyErr_Occurred()) SWIG_fail; | |
11978 | } | |
2f4c0a16 | 11979 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
11980 | return resultobj; |
11981 | fail: | |
11982 | return NULL; | |
11983 | } | |
11984 | ||
11985 | ||
2f4c0a16 | 11986 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11987 | PyObject *resultobj; |
11988 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
11989 | wxString result; | |
11990 | PyObject * obj0 = 0 ; | |
11991 | char *kwnames[] = { | |
11992 | (char *) "self", NULL | |
11993 | }; | |
11994 | ||
11995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
11996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
11997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11998 | { |
11999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12000 | result = (arg1)->GetStringSelection(); | |
12001 | ||
12002 | wxPyEndAllowThreads(__tstate); | |
12003 | if (PyErr_Occurred()) SWIG_fail; | |
12004 | } | |
12005 | { | |
12006 | #if wxUSE_UNICODE | |
12007 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12008 | #else | |
12009 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12010 | #endif | |
12011 | } | |
12012 | return resultobj; | |
12013 | fail: | |
12014 | return NULL; | |
12015 | } | |
12016 | ||
12017 | ||
2f4c0a16 | 12018 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12019 | PyObject *resultobj; |
12020 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
12021 | int arg2 ; | |
12022 | PyObject * obj0 = 0 ; | |
8edf1c75 | 12023 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12024 | char *kwnames[] = { |
12025 | (char *) "self",(char *) "sel", NULL | |
12026 | }; | |
12027 | ||
8edf1c75 | 12028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
12029 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
12030 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12031 | arg2 = (int) SWIG_AsInt(obj1); | |
12032 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12033 | { |
12034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12035 | (arg1)->SetSelection(arg2); | |
12036 | ||
12037 | wxPyEndAllowThreads(__tstate); | |
12038 | if (PyErr_Occurred()) SWIG_fail; | |
12039 | } | |
12040 | Py_INCREF(Py_None); resultobj = Py_None; | |
12041 | return resultobj; | |
12042 | fail: | |
12043 | return NULL; | |
12044 | } | |
12045 | ||
12046 | ||
2f4c0a16 | 12047 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12048 | PyObject *obj; |
12049 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12050 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
12051 | Py_INCREF(obj); | |
12052 | return Py_BuildValue((char *)""); | |
12053 | } | |
2f4c0a16 | 12054 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12055 | PyObject *resultobj; |
12056 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12057 | wxString *arg2 = 0 ; | |
12058 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
12059 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12060 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12061 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12062 | long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12063 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
12064 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
12065 | wxTextEntryDialog *result; | |
423f194a RD |
12066 | bool temp2 = False ; |
12067 | bool temp3 = False ; | |
12068 | bool temp4 = False ; | |
d14a1e28 RD |
12069 | wxPoint temp6 ; |
12070 | PyObject * obj0 = 0 ; | |
12071 | PyObject * obj1 = 0 ; | |
12072 | PyObject * obj2 = 0 ; | |
12073 | PyObject * obj3 = 0 ; | |
8edf1c75 | 12074 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12075 | PyObject * obj5 = 0 ; |
12076 | char *kwnames[] = { | |
12077 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
12078 | }; | |
12079 | ||
8edf1c75 | 12080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
12081 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12082 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12083 | { |
12084 | arg2 = wxString_in_helper(obj1); | |
12085 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12086 | temp2 = True; |
d14a1e28 RD |
12087 | } |
12088 | if (obj2) { | |
12089 | { | |
12090 | arg3 = wxString_in_helper(obj2); | |
12091 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12092 | temp3 = True; |
d14a1e28 RD |
12093 | } |
12094 | } | |
12095 | if (obj3) { | |
12096 | { | |
12097 | arg4 = wxString_in_helper(obj3); | |
12098 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 12099 | temp4 = True; |
d14a1e28 RD |
12100 | } |
12101 | } | |
8edf1c75 | 12102 | if (obj4) { |
2f4c0a16 RD |
12103 | arg5 = (long) SWIG_AsLong(obj4); |
12104 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12105 | } |
d14a1e28 RD |
12106 | if (obj5) { |
12107 | { | |
12108 | arg6 = &temp6; | |
12109 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
12110 | } | |
12111 | } | |
12112 | { | |
12113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12114 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
12115 | ||
12116 | wxPyEndAllowThreads(__tstate); | |
12117 | if (PyErr_Occurred()) SWIG_fail; | |
12118 | } | |
2f4c0a16 | 12119 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
12120 | { |
12121 | if (temp2) | |
12122 | delete arg2; | |
12123 | } | |
12124 | { | |
12125 | if (temp3) | |
12126 | delete arg3; | |
12127 | } | |
12128 | { | |
12129 | if (temp4) | |
12130 | delete arg4; | |
12131 | } | |
12132 | return resultobj; | |
12133 | fail: | |
12134 | { | |
12135 | if (temp2) | |
12136 | delete arg2; | |
12137 | } | |
12138 | { | |
12139 | if (temp3) | |
12140 | delete arg3; | |
12141 | } | |
12142 | { | |
12143 | if (temp4) | |
12144 | delete arg4; | |
12145 | } | |
12146 | return NULL; | |
12147 | } | |
12148 | ||
12149 | ||
2f4c0a16 | 12150 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12151 | PyObject *resultobj; |
12152 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12153 | wxString result; | |
12154 | PyObject * obj0 = 0 ; | |
12155 | char *kwnames[] = { | |
12156 | (char *) "self", NULL | |
12157 | }; | |
12158 | ||
12159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12162 | { |
12163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12164 | result = (arg1)->GetValue(); | |
12165 | ||
12166 | wxPyEndAllowThreads(__tstate); | |
12167 | if (PyErr_Occurred()) SWIG_fail; | |
12168 | } | |
12169 | { | |
12170 | #if wxUSE_UNICODE | |
12171 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12172 | #else | |
12173 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12174 | #endif | |
12175 | } | |
12176 | return resultobj; | |
12177 | fail: | |
12178 | return NULL; | |
12179 | } | |
12180 | ||
12181 | ||
2f4c0a16 | 12182 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12183 | PyObject *resultobj; |
12184 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
12185 | wxString *arg2 = 0 ; | |
423f194a | 12186 | bool temp2 = False ; |
d14a1e28 RD |
12187 | PyObject * obj0 = 0 ; |
12188 | PyObject * obj1 = 0 ; | |
12189 | char *kwnames[] = { | |
12190 | (char *) "self",(char *) "value", NULL | |
12191 | }; | |
12192 | ||
12193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12194 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
12195 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12196 | { |
12197 | arg2 = wxString_in_helper(obj1); | |
12198 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12199 | temp2 = True; |
d14a1e28 RD |
12200 | } |
12201 | { | |
12202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12203 | (arg1)->SetValue((wxString const &)*arg2); | |
12204 | ||
12205 | wxPyEndAllowThreads(__tstate); | |
12206 | if (PyErr_Occurred()) SWIG_fail; | |
12207 | } | |
12208 | Py_INCREF(Py_None); resultobj = Py_None; | |
12209 | { | |
12210 | if (temp2) | |
12211 | delete arg2; | |
12212 | } | |
12213 | return resultobj; | |
12214 | fail: | |
12215 | { | |
12216 | if (temp2) | |
12217 | delete arg2; | |
12218 | } | |
12219 | return NULL; | |
12220 | } | |
12221 | ||
12222 | ||
2f4c0a16 | 12223 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12224 | PyObject *obj; |
12225 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12226 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
12227 | Py_INCREF(obj); | |
12228 | return Py_BuildValue((char *)""); | |
12229 | } | |
2f4c0a16 | 12230 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12231 | PyObject *resultobj; |
12232 | wxFontData *result; | |
12233 | char *kwnames[] = { | |
12234 | NULL | |
12235 | }; | |
12236 | ||
12237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
12238 | { | |
12239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12240 | result = (wxFontData *)new wxFontData(); | |
12241 | ||
12242 | wxPyEndAllowThreads(__tstate); | |
12243 | if (PyErr_Occurred()) SWIG_fail; | |
12244 | } | |
2f4c0a16 | 12245 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
12246 | return resultobj; |
12247 | fail: | |
12248 | return NULL; | |
12249 | } | |
12250 | ||
12251 | ||
2f4c0a16 | 12252 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12253 | PyObject *resultobj; |
12254 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12255 | PyObject * obj0 = 0 ; | |
12256 | char *kwnames[] = { | |
12257 | (char *) "self", NULL | |
12258 | }; | |
12259 | ||
12260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12261 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12262 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12263 | { |
12264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12265 | delete arg1; | |
12266 | ||
12267 | wxPyEndAllowThreads(__tstate); | |
12268 | if (PyErr_Occurred()) SWIG_fail; | |
12269 | } | |
12270 | Py_INCREF(Py_None); resultobj = Py_None; | |
12271 | return resultobj; | |
12272 | fail: | |
12273 | return NULL; | |
12274 | } | |
12275 | ||
12276 | ||
2f4c0a16 | 12277 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12278 | PyObject *resultobj; |
12279 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12280 | bool arg2 ; | |
12281 | PyObject * obj0 = 0 ; | |
12282 | PyObject * obj1 = 0 ; | |
12283 | char *kwnames[] = { | |
12284 | (char *) "self",(char *) "enable", NULL | |
12285 | }; | |
12286 | ||
12287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12290 | arg2 = (bool) SWIG_AsBool(obj1); | |
12291 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12292 | { |
12293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12294 | (arg1)->EnableEffects(arg2); | |
12295 | ||
12296 | wxPyEndAllowThreads(__tstate); | |
12297 | if (PyErr_Occurred()) SWIG_fail; | |
12298 | } | |
12299 | Py_INCREF(Py_None); resultobj = Py_None; | |
12300 | return resultobj; | |
12301 | fail: | |
12302 | return NULL; | |
12303 | } | |
12304 | ||
12305 | ||
2f4c0a16 | 12306 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12307 | PyObject *resultobj; |
12308 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12309 | bool result; | |
12310 | PyObject * obj0 = 0 ; | |
12311 | char *kwnames[] = { | |
12312 | (char *) "self", NULL | |
12313 | }; | |
12314 | ||
12315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12318 | { |
12319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12320 | result = (bool)(arg1)->GetAllowSymbols(); | |
12321 | ||
12322 | wxPyEndAllowThreads(__tstate); | |
12323 | if (PyErr_Occurred()) SWIG_fail; | |
12324 | } | |
02a34c4c | 12325 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12326 | return resultobj; |
12327 | fail: | |
12328 | return NULL; | |
12329 | } | |
12330 | ||
12331 | ||
2f4c0a16 | 12332 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12333 | PyObject *resultobj; |
12334 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12335 | wxColour result; | |
12336 | PyObject * obj0 = 0 ; | |
12337 | char *kwnames[] = { | |
12338 | (char *) "self", NULL | |
12339 | }; | |
12340 | ||
12341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12344 | { |
12345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12346 | result = (arg1)->GetColour(); | |
12347 | ||
12348 | wxPyEndAllowThreads(__tstate); | |
12349 | if (PyErr_Occurred()) SWIG_fail; | |
12350 | } | |
12351 | { | |
12352 | wxColour * resultptr; | |
12353 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 12354 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
12355 | } |
12356 | return resultobj; | |
12357 | fail: | |
12358 | return NULL; | |
12359 | } | |
12360 | ||
12361 | ||
2f4c0a16 | 12362 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12363 | PyObject *resultobj; |
12364 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12365 | wxFont result; | |
12366 | PyObject * obj0 = 0 ; | |
12367 | char *kwnames[] = { | |
12368 | (char *) "self", NULL | |
12369 | }; | |
12370 | ||
12371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12374 | { |
12375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12376 | result = (arg1)->GetChosenFont(); | |
12377 | ||
12378 | wxPyEndAllowThreads(__tstate); | |
12379 | if (PyErr_Occurred()) SWIG_fail; | |
12380 | } | |
12381 | { | |
12382 | wxFont * resultptr; | |
12383 | resultptr = new wxFont((wxFont &) result); | |
2f4c0a16 | 12384 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12385 | } |
12386 | return resultobj; | |
12387 | fail: | |
12388 | return NULL; | |
12389 | } | |
12390 | ||
12391 | ||
2f4c0a16 | 12392 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12393 | PyObject *resultobj; |
12394 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12395 | bool result; | |
12396 | PyObject * obj0 = 0 ; | |
12397 | char *kwnames[] = { | |
12398 | (char *) "self", NULL | |
12399 | }; | |
12400 | ||
12401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12404 | { |
12405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12406 | result = (bool)(arg1)->GetEnableEffects(); | |
12407 | ||
12408 | wxPyEndAllowThreads(__tstate); | |
12409 | if (PyErr_Occurred()) SWIG_fail; | |
12410 | } | |
02a34c4c | 12411 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12412 | return resultobj; |
12413 | fail: | |
12414 | return NULL; | |
12415 | } | |
12416 | ||
12417 | ||
2f4c0a16 | 12418 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12419 | PyObject *resultobj; |
12420 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12421 | wxFont result; | |
12422 | PyObject * obj0 = 0 ; | |
12423 | char *kwnames[] = { | |
12424 | (char *) "self", NULL | |
12425 | }; | |
12426 | ||
12427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12430 | { |
12431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12432 | result = (arg1)->GetInitialFont(); | |
12433 | ||
12434 | wxPyEndAllowThreads(__tstate); | |
12435 | if (PyErr_Occurred()) SWIG_fail; | |
12436 | } | |
12437 | { | |
12438 | wxFont * resultptr; | |
12439 | resultptr = new wxFont((wxFont &) result); | |
2f4c0a16 | 12440 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
12441 | } |
12442 | return resultobj; | |
12443 | fail: | |
12444 | return NULL; | |
12445 | } | |
12446 | ||
12447 | ||
2f4c0a16 | 12448 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12449 | PyObject *resultobj; |
12450 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12451 | bool result; | |
12452 | PyObject * obj0 = 0 ; | |
12453 | char *kwnames[] = { | |
12454 | (char *) "self", NULL | |
12455 | }; | |
12456 | ||
12457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12458 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12459 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12460 | { |
12461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12462 | result = (bool)(arg1)->GetShowHelp(); | |
12463 | ||
12464 | wxPyEndAllowThreads(__tstate); | |
12465 | if (PyErr_Occurred()) SWIG_fail; | |
12466 | } | |
02a34c4c | 12467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12468 | return resultobj; |
12469 | fail: | |
12470 | return NULL; | |
12471 | } | |
12472 | ||
12473 | ||
2f4c0a16 | 12474 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12475 | PyObject *resultobj; |
12476 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12477 | bool arg2 ; | |
12478 | PyObject * obj0 = 0 ; | |
12479 | PyObject * obj1 = 0 ; | |
12480 | char *kwnames[] = { | |
12481 | (char *) "self",(char *) "allowSymbols", NULL | |
12482 | }; | |
12483 | ||
12484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12487 | arg2 = (bool) SWIG_AsBool(obj1); | |
12488 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12489 | { |
12490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12491 | (arg1)->SetAllowSymbols(arg2); | |
12492 | ||
12493 | wxPyEndAllowThreads(__tstate); | |
12494 | if (PyErr_Occurred()) SWIG_fail; | |
12495 | } | |
12496 | Py_INCREF(Py_None); resultobj = Py_None; | |
12497 | return resultobj; | |
12498 | fail: | |
12499 | return NULL; | |
12500 | } | |
12501 | ||
12502 | ||
2f4c0a16 | 12503 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12504 | PyObject *resultobj; |
12505 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12506 | wxFont *arg2 = 0 ; | |
12507 | PyObject * obj0 = 0 ; | |
12508 | PyObject * obj1 = 0 ; | |
12509 | char *kwnames[] = { | |
12510 | (char *) "self",(char *) "font", NULL | |
12511 | }; | |
12512 | ||
12513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12514 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12515 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12516 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12517 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12518 | SWIG_fail; | |
d14a1e28 | 12519 | if (arg2 == NULL) { |
2f4c0a16 RD |
12520 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12521 | SWIG_fail; | |
d14a1e28 RD |
12522 | } |
12523 | { | |
12524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12525 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
12526 | ||
12527 | wxPyEndAllowThreads(__tstate); | |
12528 | if (PyErr_Occurred()) SWIG_fail; | |
12529 | } | |
12530 | Py_INCREF(Py_None); resultobj = Py_None; | |
12531 | return resultobj; | |
12532 | fail: | |
12533 | return NULL; | |
12534 | } | |
12535 | ||
12536 | ||
2f4c0a16 | 12537 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12538 | PyObject *resultobj; |
12539 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12540 | wxColour *arg2 = 0 ; | |
12541 | wxColour temp2 ; | |
12542 | PyObject * obj0 = 0 ; | |
12543 | PyObject * obj1 = 0 ; | |
12544 | char *kwnames[] = { | |
12545 | (char *) "self",(char *) "colour", NULL | |
12546 | }; | |
12547 | ||
12548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12551 | { |
12552 | arg2 = &temp2; | |
12553 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
12554 | } | |
12555 | { | |
12556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12557 | (arg1)->SetColour((wxColour const &)*arg2); | |
12558 | ||
12559 | wxPyEndAllowThreads(__tstate); | |
12560 | if (PyErr_Occurred()) SWIG_fail; | |
12561 | } | |
12562 | Py_INCREF(Py_None); resultobj = Py_None; | |
12563 | return resultobj; | |
12564 | fail: | |
12565 | return NULL; | |
12566 | } | |
12567 | ||
12568 | ||
2f4c0a16 | 12569 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12570 | PyObject *resultobj; |
12571 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12572 | wxFont *arg2 = 0 ; | |
12573 | PyObject * obj0 = 0 ; | |
12574 | PyObject * obj1 = 0 ; | |
12575 | char *kwnames[] = { | |
12576 | (char *) "self",(char *) "font", NULL | |
12577 | }; | |
12578 | ||
12579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12580 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12581 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12582 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
12583 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12584 | SWIG_fail; | |
d14a1e28 | 12585 | if (arg2 == NULL) { |
2f4c0a16 RD |
12586 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12587 | SWIG_fail; | |
d14a1e28 RD |
12588 | } |
12589 | { | |
12590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12591 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
12592 | ||
12593 | wxPyEndAllowThreads(__tstate); | |
12594 | if (PyErr_Occurred()) SWIG_fail; | |
12595 | } | |
12596 | Py_INCREF(Py_None); resultobj = Py_None; | |
12597 | return resultobj; | |
12598 | fail: | |
12599 | return NULL; | |
12600 | } | |
12601 | ||
12602 | ||
2f4c0a16 | 12603 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12604 | PyObject *resultobj; |
12605 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12606 | int arg2 ; | |
12607 | int arg3 ; | |
12608 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
12609 | PyObject * obj1 = 0 ; |
12610 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
12611 | char *kwnames[] = { |
12612 | (char *) "self",(char *) "min",(char *) "max", NULL | |
12613 | }; | |
12614 | ||
8edf1c75 | 12615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
12616 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12618 | arg2 = (int) SWIG_AsInt(obj1); | |
12619 | if (PyErr_Occurred()) SWIG_fail; | |
12620 | arg3 = (int) SWIG_AsInt(obj2); | |
12621 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12622 | { |
12623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12624 | (arg1)->SetRange(arg2,arg3); | |
12625 | ||
12626 | wxPyEndAllowThreads(__tstate); | |
12627 | if (PyErr_Occurred()) SWIG_fail; | |
12628 | } | |
12629 | Py_INCREF(Py_None); resultobj = Py_None; | |
12630 | return resultobj; | |
12631 | fail: | |
12632 | return NULL; | |
12633 | } | |
12634 | ||
12635 | ||
2f4c0a16 | 12636 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12637 | PyObject *resultobj; |
12638 | wxFontData *arg1 = (wxFontData *) 0 ; | |
12639 | bool arg2 ; | |
12640 | PyObject * obj0 = 0 ; | |
12641 | PyObject * obj1 = 0 ; | |
12642 | char *kwnames[] = { | |
12643 | (char *) "self",(char *) "showHelp", NULL | |
12644 | }; | |
12645 | ||
12646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12647 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
12648 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12649 | arg2 = (bool) SWIG_AsBool(obj1); | |
12650 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12651 | { |
12652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12653 | (arg1)->SetShowHelp(arg2); | |
12654 | ||
12655 | wxPyEndAllowThreads(__tstate); | |
12656 | if (PyErr_Occurred()) SWIG_fail; | |
12657 | } | |
12658 | Py_INCREF(Py_None); resultobj = Py_None; | |
12659 | return resultobj; | |
12660 | fail: | |
12661 | return NULL; | |
12662 | } | |
12663 | ||
12664 | ||
2f4c0a16 | 12665 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12666 | PyObject *obj; |
12667 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12668 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
12669 | Py_INCREF(obj); | |
12670 | return Py_BuildValue((char *)""); | |
12671 | } | |
2f4c0a16 | 12672 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12673 | PyObject *resultobj; |
12674 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12675 | wxFontData *arg2 = 0 ; | |
12676 | wxFontDialog *result; | |
12677 | PyObject * obj0 = 0 ; | |
12678 | PyObject * obj1 = 0 ; | |
12679 | char *kwnames[] = { | |
12680 | (char *) "parent",(char *) "data", NULL | |
12681 | }; | |
12682 | ||
12683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
12684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12686 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
12687 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
12688 | SWIG_fail; | |
d14a1e28 | 12689 | if (arg2 == NULL) { |
2f4c0a16 RD |
12690 | PyErr_SetString(PyExc_TypeError,"null reference"); |
12691 | SWIG_fail; | |
d14a1e28 RD |
12692 | } |
12693 | { | |
12694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12695 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); | |
12696 | ||
12697 | wxPyEndAllowThreads(__tstate); | |
12698 | if (PyErr_Occurred()) SWIG_fail; | |
12699 | } | |
2f4c0a16 | 12700 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
12701 | return resultobj; |
12702 | fail: | |
12703 | return NULL; | |
12704 | } | |
12705 | ||
12706 | ||
2f4c0a16 | 12707 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12708 | PyObject *resultobj; |
12709 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
12710 | wxFontData *result; | |
12711 | PyObject * obj0 = 0 ; | |
12712 | char *kwnames[] = { | |
12713 | (char *) "self", NULL | |
12714 | }; | |
12715 | ||
12716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
12718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12719 | { |
12720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12721 | { | |
12722 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
12723 | result = (wxFontData *) &_result_ref; | |
12724 | } | |
12725 | ||
12726 | wxPyEndAllowThreads(__tstate); | |
12727 | if (PyErr_Occurred()) SWIG_fail; | |
12728 | } | |
2f4c0a16 | 12729 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
12730 | return resultobj; |
12731 | fail: | |
12732 | return NULL; | |
12733 | } | |
12734 | ||
12735 | ||
2f4c0a16 | 12736 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12737 | PyObject *obj; |
12738 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12739 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
12740 | Py_INCREF(obj); | |
12741 | return Py_BuildValue((char *)""); | |
12742 | } | |
2f4c0a16 | 12743 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12744 | PyObject *resultobj; |
12745 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12746 | wxString *arg2 = 0 ; | |
12747 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
12748 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12749 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
12750 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
12751 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
12752 | wxMessageDialog *result; | |
423f194a RD |
12753 | bool temp2 = False ; |
12754 | bool temp3 = False ; | |
d14a1e28 RD |
12755 | wxPoint temp5 ; |
12756 | PyObject * obj0 = 0 ; | |
12757 | PyObject * obj1 = 0 ; | |
12758 | PyObject * obj2 = 0 ; | |
8edf1c75 | 12759 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
12760 | PyObject * obj4 = 0 ; |
12761 | char *kwnames[] = { | |
12762 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
12763 | }; | |
12764 | ||
8edf1c75 | 12765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
12766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12768 | { |
12769 | arg2 = wxString_in_helper(obj1); | |
12770 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12771 | temp2 = True; |
d14a1e28 RD |
12772 | } |
12773 | if (obj2) { | |
12774 | { | |
12775 | arg3 = wxString_in_helper(obj2); | |
12776 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12777 | temp3 = True; |
d14a1e28 RD |
12778 | } |
12779 | } | |
8edf1c75 | 12780 | if (obj3) { |
2f4c0a16 RD |
12781 | arg4 = (long) SWIG_AsLong(obj3); |
12782 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12783 | } |
d14a1e28 RD |
12784 | if (obj4) { |
12785 | { | |
12786 | arg5 = &temp5; | |
12787 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
12788 | } | |
12789 | } | |
12790 | { | |
12791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12792 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
12793 | ||
12794 | wxPyEndAllowThreads(__tstate); | |
12795 | if (PyErr_Occurred()) SWIG_fail; | |
12796 | } | |
2f4c0a16 | 12797 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
12798 | { |
12799 | if (temp2) | |
12800 | delete arg2; | |
12801 | } | |
12802 | { | |
12803 | if (temp3) | |
12804 | delete arg3; | |
12805 | } | |
12806 | return resultobj; | |
12807 | fail: | |
12808 | { | |
12809 | if (temp2) | |
12810 | delete arg2; | |
12811 | } | |
12812 | { | |
12813 | if (temp3) | |
12814 | delete arg3; | |
12815 | } | |
12816 | return NULL; | |
12817 | } | |
12818 | ||
12819 | ||
2f4c0a16 | 12820 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12821 | PyObject *obj; |
12822 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12823 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
12824 | Py_INCREF(obj); | |
12825 | return Py_BuildValue((char *)""); | |
12826 | } | |
2f4c0a16 | 12827 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12828 | PyObject *resultobj; |
12829 | wxString *arg1 = 0 ; | |
12830 | wxString *arg2 = 0 ; | |
12831 | int arg3 = (int) 100 ; | |
12832 | wxWindow *arg4 = (wxWindow *) NULL ; | |
12833 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
12834 | wxProgressDialog *result; | |
423f194a RD |
12835 | bool temp1 = False ; |
12836 | bool temp2 = False ; | |
d14a1e28 RD |
12837 | PyObject * obj0 = 0 ; |
12838 | PyObject * obj1 = 0 ; | |
8edf1c75 | 12839 | PyObject * obj2 = 0 ; |
d14a1e28 | 12840 | PyObject * obj3 = 0 ; |
8edf1c75 | 12841 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
12842 | char *kwnames[] = { |
12843 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
12844 | }; | |
12845 | ||
8edf1c75 | 12846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
12847 | { |
12848 | arg1 = wxString_in_helper(obj0); | |
12849 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 12850 | temp1 = True; |
d14a1e28 RD |
12851 | } |
12852 | { | |
12853 | arg2 = wxString_in_helper(obj1); | |
12854 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 12855 | temp2 = True; |
d14a1e28 | 12856 | } |
8edf1c75 | 12857 | if (obj2) { |
2f4c0a16 RD |
12858 | arg3 = (int) SWIG_AsInt(obj2); |
12859 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12860 | } |
d14a1e28 | 12861 | if (obj3) { |
2f4c0a16 RD |
12862 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
12863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 12864 | } |
8edf1c75 | 12865 | if (obj4) { |
2f4c0a16 RD |
12866 | arg5 = (int) SWIG_AsInt(obj4); |
12867 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12868 | } |
d14a1e28 RD |
12869 | { |
12870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12871 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
12872 | ||
12873 | wxPyEndAllowThreads(__tstate); | |
12874 | if (PyErr_Occurred()) SWIG_fail; | |
12875 | } | |
2f4c0a16 | 12876 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
12877 | { |
12878 | if (temp1) | |
12879 | delete arg1; | |
12880 | } | |
12881 | { | |
12882 | if (temp2) | |
12883 | delete arg2; | |
12884 | } | |
12885 | return resultobj; | |
12886 | fail: | |
12887 | { | |
12888 | if (temp1) | |
12889 | delete arg1; | |
12890 | } | |
12891 | { | |
12892 | if (temp2) | |
12893 | delete arg2; | |
12894 | } | |
12895 | return NULL; | |
12896 | } | |
12897 | ||
12898 | ||
2f4c0a16 | 12899 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12900 | PyObject *resultobj; |
12901 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
12902 | int arg2 ; | |
12903 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12904 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12905 | bool result; | |
423f194a | 12906 | bool temp3 = False ; |
d14a1e28 | 12907 | PyObject * obj0 = 0 ; |
8edf1c75 | 12908 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12909 | PyObject * obj2 = 0 ; |
12910 | char *kwnames[] = { | |
12911 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
12912 | }; | |
12913 | ||
8edf1c75 | 12914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
12915 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
12916 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
12917 | arg2 = (int) SWIG_AsInt(obj1); | |
12918 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
12919 | if (obj2) { |
12920 | { | |
12921 | arg3 = wxString_in_helper(obj2); | |
12922 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 12923 | temp3 = True; |
d14a1e28 RD |
12924 | } |
12925 | } | |
12926 | { | |
12927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12928 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
12929 | ||
12930 | wxPyEndAllowThreads(__tstate); | |
12931 | if (PyErr_Occurred()) SWIG_fail; | |
12932 | } | |
02a34c4c | 12933 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
12934 | { |
12935 | if (temp3) | |
12936 | delete arg3; | |
12937 | } | |
12938 | return resultobj; | |
12939 | fail: | |
12940 | { | |
12941 | if (temp3) | |
12942 | delete arg3; | |
12943 | } | |
12944 | return NULL; | |
12945 | } | |
12946 | ||
12947 | ||
2f4c0a16 | 12948 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12949 | PyObject *resultobj; |
12950 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
12951 | PyObject * obj0 = 0 ; | |
12952 | char *kwnames[] = { | |
12953 | (char *) "self", NULL | |
12954 | }; | |
12955 | ||
12956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
12957 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
12958 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12959 | { |
12960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12961 | (arg1)->Resume(); | |
12962 | ||
12963 | wxPyEndAllowThreads(__tstate); | |
12964 | if (PyErr_Occurred()) SWIG_fail; | |
12965 | } | |
12966 | Py_INCREF(Py_None); resultobj = Py_None; | |
12967 | return resultobj; | |
12968 | fail: | |
12969 | return NULL; | |
12970 | } | |
12971 | ||
12972 | ||
2f4c0a16 | 12973 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12974 | PyObject *obj; |
12975 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12976 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
12977 | Py_INCREF(obj); | |
12978 | return Py_BuildValue((char *)""); | |
12979 | } | |
2f4c0a16 | 12980 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12981 | PyObject *resultobj; |
12982 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
12983 | int arg2 = (int) 0 ; | |
12984 | wxFindDialogEvent *result; | |
8edf1c75 RD |
12985 | PyObject * obj0 = 0 ; |
12986 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
12987 | char *kwnames[] = { |
12988 | (char *) "commandType",(char *) "id", NULL | |
12989 | }; | |
12990 | ||
8edf1c75 RD |
12991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
12992 | if (obj0) { | |
2f4c0a16 RD |
12993 | arg1 = (wxEventType) SWIG_AsInt(obj0); |
12994 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
12995 | } |
12996 | if (obj1) { | |
2f4c0a16 RD |
12997 | arg2 = (int) SWIG_AsInt(obj1); |
12998 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 12999 | } |
d14a1e28 RD |
13000 | { |
13001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13002 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
13003 | ||
13004 | wxPyEndAllowThreads(__tstate); | |
13005 | if (PyErr_Occurred()) SWIG_fail; | |
13006 | } | |
2f4c0a16 | 13007 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
13008 | return resultobj; |
13009 | fail: | |
13010 | return NULL; | |
13011 | } | |
13012 | ||
13013 | ||
2f4c0a16 | 13014 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13015 | PyObject *resultobj; |
13016 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13017 | int result; | |
13018 | PyObject * obj0 = 0 ; | |
13019 | char *kwnames[] = { | |
13020 | (char *) "self", NULL | |
13021 | }; | |
13022 | ||
13023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13024 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13025 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13026 | { |
13027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13028 | result = (int)(arg1)->GetFlags(); | |
13029 | ||
13030 | wxPyEndAllowThreads(__tstate); | |
13031 | if (PyErr_Occurred()) SWIG_fail; | |
13032 | } | |
2f4c0a16 | 13033 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13034 | return resultobj; |
13035 | fail: | |
13036 | return NULL; | |
13037 | } | |
13038 | ||
13039 | ||
2f4c0a16 | 13040 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13041 | PyObject *resultobj; |
13042 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
0f774bef | 13043 | wxString *result; |
d14a1e28 RD |
13044 | PyObject * obj0 = 0 ; |
13045 | char *kwnames[] = { | |
13046 | (char *) "self", NULL | |
13047 | }; | |
13048 | ||
13049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13050 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13051 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13052 | { |
13053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
0f774bef RD |
13054 | { |
13055 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13056 | result = (wxString *) &_result_ref; | |
13057 | } | |
d14a1e28 RD |
13058 | |
13059 | wxPyEndAllowThreads(__tstate); | |
13060 | if (PyErr_Occurred()) SWIG_fail; | |
13061 | } | |
13062 | { | |
13063 | #if wxUSE_UNICODE | |
0f774bef | 13064 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 13065 | #else |
0f774bef | 13066 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
13067 | #endif |
13068 | } | |
13069 | return resultobj; | |
13070 | fail: | |
13071 | return NULL; | |
13072 | } | |
13073 | ||
13074 | ||
2f4c0a16 | 13075 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13076 | PyObject *resultobj; |
13077 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13078 | wxString *result; | |
13079 | PyObject * obj0 = 0 ; | |
13080 | char *kwnames[] = { | |
13081 | (char *) "self", NULL | |
13082 | }; | |
13083 | ||
13084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13087 | { |
13088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13089 | { | |
13090 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13091 | result = (wxString *) &_result_ref; | |
13092 | } | |
13093 | ||
13094 | wxPyEndAllowThreads(__tstate); | |
13095 | if (PyErr_Occurred()) SWIG_fail; | |
13096 | } | |
0f774bef RD |
13097 | { |
13098 | #if wxUSE_UNICODE | |
13099 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13100 | #else | |
13101 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13102 | #endif | |
13103 | } | |
d14a1e28 RD |
13104 | return resultobj; |
13105 | fail: | |
13106 | return NULL; | |
13107 | } | |
13108 | ||
13109 | ||
2f4c0a16 | 13110 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13111 | PyObject *resultobj; |
13112 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13113 | wxFindReplaceDialog *result; | |
13114 | PyObject * obj0 = 0 ; | |
13115 | char *kwnames[] = { | |
13116 | (char *) "self", NULL | |
13117 | }; | |
13118 | ||
13119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13122 | { |
13123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13124 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
13125 | ||
13126 | wxPyEndAllowThreads(__tstate); | |
13127 | if (PyErr_Occurred()) SWIG_fail; | |
13128 | } | |
2f4c0a16 | 13129 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
13130 | return resultobj; |
13131 | fail: | |
13132 | return NULL; | |
13133 | } | |
13134 | ||
13135 | ||
2f4c0a16 | 13136 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13137 | PyObject *resultobj; |
13138 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13139 | int arg2 ; | |
13140 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13141 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13142 | char *kwnames[] = { |
13143 | (char *) "self",(char *) "flags", NULL | |
13144 | }; | |
13145 | ||
8edf1c75 | 13146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
13147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13149 | arg2 = (int) SWIG_AsInt(obj1); | |
13150 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13151 | { |
13152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13153 | (arg1)->SetFlags(arg2); | |
13154 | ||
13155 | wxPyEndAllowThreads(__tstate); | |
13156 | if (PyErr_Occurred()) SWIG_fail; | |
13157 | } | |
13158 | Py_INCREF(Py_None); resultobj = Py_None; | |
13159 | return resultobj; | |
13160 | fail: | |
13161 | return NULL; | |
13162 | } | |
13163 | ||
13164 | ||
2f4c0a16 | 13165 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13166 | PyObject *resultobj; |
13167 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13168 | wxString *arg2 = 0 ; | |
423f194a | 13169 | bool temp2 = False ; |
d14a1e28 RD |
13170 | PyObject * obj0 = 0 ; |
13171 | PyObject * obj1 = 0 ; | |
13172 | char *kwnames[] = { | |
13173 | (char *) "self",(char *) "str", NULL | |
13174 | }; | |
13175 | ||
13176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13177 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13178 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13179 | { |
13180 | arg2 = wxString_in_helper(obj1); | |
13181 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13182 | temp2 = True; |
d14a1e28 RD |
13183 | } |
13184 | { | |
13185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13186 | (arg1)->SetFindString((wxString const &)*arg2); | |
13187 | ||
13188 | wxPyEndAllowThreads(__tstate); | |
13189 | if (PyErr_Occurred()) SWIG_fail; | |
13190 | } | |
13191 | Py_INCREF(Py_None); resultobj = Py_None; | |
13192 | { | |
13193 | if (temp2) | |
13194 | delete arg2; | |
13195 | } | |
13196 | return resultobj; | |
13197 | fail: | |
13198 | { | |
13199 | if (temp2) | |
13200 | delete arg2; | |
13201 | } | |
13202 | return NULL; | |
13203 | } | |
13204 | ||
13205 | ||
2f4c0a16 | 13206 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13207 | PyObject *resultobj; |
13208 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
13209 | wxString *arg2 = 0 ; | |
423f194a | 13210 | bool temp2 = False ; |
d14a1e28 RD |
13211 | PyObject * obj0 = 0 ; |
13212 | PyObject * obj1 = 0 ; | |
13213 | char *kwnames[] = { | |
13214 | (char *) "self",(char *) "str", NULL | |
13215 | }; | |
13216 | ||
13217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13218 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
13219 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13220 | { |
13221 | arg2 = wxString_in_helper(obj1); | |
13222 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13223 | temp2 = True; |
d14a1e28 RD |
13224 | } |
13225 | { | |
13226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13227 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13228 | ||
13229 | wxPyEndAllowThreads(__tstate); | |
13230 | if (PyErr_Occurred()) SWIG_fail; | |
13231 | } | |
13232 | Py_INCREF(Py_None); resultobj = Py_None; | |
13233 | { | |
13234 | if (temp2) | |
13235 | delete arg2; | |
13236 | } | |
13237 | return resultobj; | |
13238 | fail: | |
13239 | { | |
13240 | if (temp2) | |
13241 | delete arg2; | |
13242 | } | |
13243 | return NULL; | |
13244 | } | |
13245 | ||
13246 | ||
2f4c0a16 | 13247 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13248 | PyObject *obj; |
13249 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13250 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
13251 | Py_INCREF(obj); | |
13252 | return Py_BuildValue((char *)""); | |
13253 | } | |
2f4c0a16 | 13254 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13255 | PyObject *resultobj; |
13256 | int arg1 = (int) 0 ; | |
13257 | wxFindReplaceData *result; | |
8edf1c75 | 13258 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
13259 | char *kwnames[] = { |
13260 | (char *) "flags", NULL | |
13261 | }; | |
13262 | ||
8edf1c75 RD |
13263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
13264 | if (obj0) { | |
2f4c0a16 RD |
13265 | arg1 = (int) SWIG_AsInt(obj0); |
13266 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13267 | } |
d14a1e28 RD |
13268 | { |
13269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13270 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
13271 | ||
13272 | wxPyEndAllowThreads(__tstate); | |
13273 | if (PyErr_Occurred()) SWIG_fail; | |
13274 | } | |
2f4c0a16 | 13275 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
13276 | return resultobj; |
13277 | fail: | |
13278 | return NULL; | |
13279 | } | |
13280 | ||
13281 | ||
2f4c0a16 | 13282 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13283 | PyObject *resultobj; |
13284 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13285 | PyObject * obj0 = 0 ; | |
13286 | char *kwnames[] = { | |
13287 | (char *) "self", NULL | |
13288 | }; | |
13289 | ||
13290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13291 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13292 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13293 | { |
13294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13295 | delete arg1; | |
13296 | ||
13297 | wxPyEndAllowThreads(__tstate); | |
13298 | if (PyErr_Occurred()) SWIG_fail; | |
13299 | } | |
13300 | Py_INCREF(Py_None); resultobj = Py_None; | |
13301 | return resultobj; | |
13302 | fail: | |
13303 | return NULL; | |
13304 | } | |
13305 | ||
13306 | ||
2f4c0a16 | 13307 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13308 | PyObject *resultobj; |
13309 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13310 | wxString *result; | |
13311 | PyObject * obj0 = 0 ; | |
13312 | char *kwnames[] = { | |
13313 | (char *) "self", NULL | |
13314 | }; | |
13315 | ||
13316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13319 | { |
13320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13321 | { | |
13322 | wxString const &_result_ref = (arg1)->GetFindString(); | |
13323 | result = (wxString *) &_result_ref; | |
13324 | } | |
13325 | ||
13326 | wxPyEndAllowThreads(__tstate); | |
13327 | if (PyErr_Occurred()) SWIG_fail; | |
13328 | } | |
0f774bef RD |
13329 | { |
13330 | #if wxUSE_UNICODE | |
13331 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13332 | #else | |
13333 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13334 | #endif | |
13335 | } | |
d14a1e28 RD |
13336 | return resultobj; |
13337 | fail: | |
13338 | return NULL; | |
13339 | } | |
13340 | ||
13341 | ||
2f4c0a16 | 13342 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13343 | PyObject *resultobj; |
13344 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13345 | wxString *result; | |
13346 | PyObject * obj0 = 0 ; | |
13347 | char *kwnames[] = { | |
13348 | (char *) "self", NULL | |
13349 | }; | |
13350 | ||
13351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13354 | { |
13355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13356 | { | |
13357 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
13358 | result = (wxString *) &_result_ref; | |
13359 | } | |
13360 | ||
13361 | wxPyEndAllowThreads(__tstate); | |
13362 | if (PyErr_Occurred()) SWIG_fail; | |
13363 | } | |
0f774bef RD |
13364 | { |
13365 | #if wxUSE_UNICODE | |
13366 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
13367 | #else | |
13368 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
13369 | #endif | |
13370 | } | |
d14a1e28 RD |
13371 | return resultobj; |
13372 | fail: | |
13373 | return NULL; | |
13374 | } | |
13375 | ||
13376 | ||
2f4c0a16 | 13377 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13378 | PyObject *resultobj; |
13379 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13380 | int result; | |
13381 | PyObject * obj0 = 0 ; | |
13382 | char *kwnames[] = { | |
13383 | (char *) "self", NULL | |
13384 | }; | |
13385 | ||
13386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13387 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13388 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13389 | { |
13390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13391 | result = (int)(arg1)->GetFlags(); | |
13392 | ||
13393 | wxPyEndAllowThreads(__tstate); | |
13394 | if (PyErr_Occurred()) SWIG_fail; | |
13395 | } | |
2f4c0a16 | 13396 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
13397 | return resultobj; |
13398 | fail: | |
13399 | return NULL; | |
13400 | } | |
13401 | ||
13402 | ||
2f4c0a16 | 13403 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13404 | PyObject *resultobj; |
13405 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13406 | int arg2 ; | |
13407 | PyObject * obj0 = 0 ; | |
8edf1c75 | 13408 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13409 | char *kwnames[] = { |
13410 | (char *) "self",(char *) "flags", NULL | |
13411 | }; | |
13412 | ||
8edf1c75 | 13413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
13414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13416 | arg2 = (int) SWIG_AsInt(obj1); | |
13417 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13418 | { |
13419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13420 | (arg1)->SetFlags(arg2); | |
13421 | ||
13422 | wxPyEndAllowThreads(__tstate); | |
13423 | if (PyErr_Occurred()) SWIG_fail; | |
13424 | } | |
13425 | Py_INCREF(Py_None); resultobj = Py_None; | |
13426 | return resultobj; | |
13427 | fail: | |
13428 | return NULL; | |
13429 | } | |
13430 | ||
13431 | ||
2f4c0a16 | 13432 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13433 | PyObject *resultobj; |
13434 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13435 | wxString *arg2 = 0 ; | |
423f194a | 13436 | bool temp2 = False ; |
d14a1e28 RD |
13437 | PyObject * obj0 = 0 ; |
13438 | PyObject * obj1 = 0 ; | |
13439 | char *kwnames[] = { | |
13440 | (char *) "self",(char *) "str", NULL | |
13441 | }; | |
13442 | ||
13443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13446 | { |
13447 | arg2 = wxString_in_helper(obj1); | |
13448 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13449 | temp2 = True; |
d14a1e28 RD |
13450 | } |
13451 | { | |
13452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13453 | (arg1)->SetFindString((wxString const &)*arg2); | |
13454 | ||
13455 | wxPyEndAllowThreads(__tstate); | |
13456 | if (PyErr_Occurred()) SWIG_fail; | |
13457 | } | |
13458 | Py_INCREF(Py_None); resultobj = Py_None; | |
13459 | { | |
13460 | if (temp2) | |
13461 | delete arg2; | |
13462 | } | |
13463 | return resultobj; | |
13464 | fail: | |
13465 | { | |
13466 | if (temp2) | |
13467 | delete arg2; | |
13468 | } | |
13469 | return NULL; | |
13470 | } | |
13471 | ||
13472 | ||
2f4c0a16 | 13473 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13474 | PyObject *resultobj; |
13475 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
13476 | wxString *arg2 = 0 ; | |
423f194a | 13477 | bool temp2 = False ; |
d14a1e28 RD |
13478 | PyObject * obj0 = 0 ; |
13479 | PyObject * obj1 = 0 ; | |
13480 | char *kwnames[] = { | |
13481 | (char *) "self",(char *) "str", NULL | |
13482 | }; | |
13483 | ||
13484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
13486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13487 | { |
13488 | arg2 = wxString_in_helper(obj1); | |
13489 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 13490 | temp2 = True; |
d14a1e28 RD |
13491 | } |
13492 | { | |
13493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13494 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
13495 | ||
13496 | wxPyEndAllowThreads(__tstate); | |
13497 | if (PyErr_Occurred()) SWIG_fail; | |
13498 | } | |
13499 | Py_INCREF(Py_None); resultobj = Py_None; | |
13500 | { | |
13501 | if (temp2) | |
13502 | delete arg2; | |
13503 | } | |
13504 | return resultobj; | |
13505 | fail: | |
13506 | { | |
13507 | if (temp2) | |
13508 | delete arg2; | |
13509 | } | |
13510 | return NULL; | |
13511 | } | |
13512 | ||
13513 | ||
2f4c0a16 | 13514 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13515 | PyObject *obj; |
13516 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13517 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
13518 | Py_INCREF(obj); | |
13519 | return Py_BuildValue((char *)""); | |
13520 | } | |
2f4c0a16 | 13521 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13522 | PyObject *resultobj; |
13523 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13524 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13525 | wxString *arg3 = 0 ; | |
13526 | int arg4 = (int) 0 ; | |
13527 | wxFindReplaceDialog *result; | |
423f194a | 13528 | bool temp3 = False ; |
d14a1e28 RD |
13529 | PyObject * obj0 = 0 ; |
13530 | PyObject * obj1 = 0 ; | |
13531 | PyObject * obj2 = 0 ; | |
8edf1c75 | 13532 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
13533 | char *kwnames[] = { |
13534 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13535 | }; | |
13536 | ||
8edf1c75 | 13537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
13538 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13540 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13542 | { |
13543 | arg3 = wxString_in_helper(obj2); | |
13544 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13545 | temp3 = True; |
d14a1e28 | 13546 | } |
8edf1c75 | 13547 | if (obj3) { |
2f4c0a16 RD |
13548 | arg4 = (int) SWIG_AsInt(obj3); |
13549 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13550 | } |
d14a1e28 RD |
13551 | { |
13552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13553 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
13554 | ||
13555 | wxPyEndAllowThreads(__tstate); | |
13556 | if (PyErr_Occurred()) SWIG_fail; | |
13557 | } | |
2f4c0a16 | 13558 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13559 | { |
13560 | if (temp3) | |
13561 | delete arg3; | |
13562 | } | |
13563 | return resultobj; | |
13564 | fail: | |
13565 | { | |
13566 | if (temp3) | |
13567 | delete arg3; | |
13568 | } | |
13569 | return NULL; | |
13570 | } | |
13571 | ||
13572 | ||
2f4c0a16 | 13573 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13574 | PyObject *resultobj; |
13575 | wxFindReplaceDialog *result; | |
13576 | char *kwnames[] = { | |
13577 | NULL | |
13578 | }; | |
13579 | ||
13580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
13581 | { | |
13582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13583 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
13584 | ||
13585 | wxPyEndAllowThreads(__tstate); | |
13586 | if (PyErr_Occurred()) SWIG_fail; | |
13587 | } | |
2f4c0a16 | 13588 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
13589 | return resultobj; |
13590 | fail: | |
13591 | return NULL; | |
13592 | } | |
13593 | ||
13594 | ||
2f4c0a16 | 13595 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13596 | PyObject *resultobj; |
13597 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13598 | wxWindow *arg2 = (wxWindow *) 0 ; | |
13599 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
13600 | wxString *arg4 = 0 ; | |
13601 | int arg5 = (int) 0 ; | |
13602 | bool result; | |
423f194a | 13603 | bool temp4 = False ; |
d14a1e28 RD |
13604 | PyObject * obj0 = 0 ; |
13605 | PyObject * obj1 = 0 ; | |
13606 | PyObject * obj2 = 0 ; | |
13607 | PyObject * obj3 = 0 ; | |
8edf1c75 | 13608 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13609 | char *kwnames[] = { |
13610 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
13611 | }; | |
13612 | ||
8edf1c75 | 13613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
13614 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13615 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13616 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
13617 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13618 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
13619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13620 | { |
13621 | arg4 = wxString_in_helper(obj3); | |
13622 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 13623 | temp4 = True; |
d14a1e28 | 13624 | } |
8edf1c75 | 13625 | if (obj4) { |
2f4c0a16 RD |
13626 | arg5 = (int) SWIG_AsInt(obj4); |
13627 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13628 | } |
d14a1e28 RD |
13629 | { |
13630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13631 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
13632 | ||
13633 | wxPyEndAllowThreads(__tstate); | |
13634 | if (PyErr_Occurred()) SWIG_fail; | |
13635 | } | |
02a34c4c | 13636 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13637 | { |
13638 | if (temp4) | |
13639 | delete arg4; | |
13640 | } | |
13641 | return resultobj; | |
13642 | fail: | |
13643 | { | |
13644 | if (temp4) | |
13645 | delete arg4; | |
13646 | } | |
13647 | return NULL; | |
13648 | } | |
13649 | ||
13650 | ||
2f4c0a16 | 13651 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13652 | PyObject *resultobj; |
13653 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13654 | wxFindReplaceData *result; | |
13655 | PyObject * obj0 = 0 ; | |
13656 | char *kwnames[] = { | |
13657 | (char *) "self", NULL | |
13658 | }; | |
13659 | ||
13660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13661 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13662 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13663 | { |
13664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13665 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
13666 | ||
13667 | wxPyEndAllowThreads(__tstate); | |
13668 | if (PyErr_Occurred()) SWIG_fail; | |
13669 | } | |
2f4c0a16 | 13670 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
13671 | return resultobj; |
13672 | fail: | |
13673 | return NULL; | |
13674 | } | |
13675 | ||
13676 | ||
2f4c0a16 | 13677 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13678 | PyObject *resultobj; |
13679 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
13680 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
13681 | PyObject * obj0 = 0 ; | |
13682 | PyObject * obj1 = 0 ; | |
13683 | char *kwnames[] = { | |
13684 | (char *) "self",(char *) "data", NULL | |
13685 | }; | |
13686 | ||
13687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
13688 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
13689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13690 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
13691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13692 | { |
13693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13694 | (arg1)->SetData(arg2); | |
13695 | ||
13696 | wxPyEndAllowThreads(__tstate); | |
13697 | if (PyErr_Occurred()) SWIG_fail; | |
13698 | } | |
13699 | Py_INCREF(Py_None); resultobj = Py_None; | |
13700 | return resultobj; | |
13701 | fail: | |
13702 | return NULL; | |
13703 | } | |
13704 | ||
13705 | ||
2f4c0a16 | 13706 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13707 | PyObject *obj; |
13708 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13709 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
13710 | Py_INCREF(obj); | |
13711 | return Py_BuildValue((char *)""); | |
13712 | } | |
2f4c0a16 | 13713 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13714 | PyObject *resultobj; |
13715 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 13716 | int arg2 ; |
d14a1e28 RD |
13717 | wxString *arg3 = 0 ; |
13718 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
13719 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
13720 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
13721 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
13722 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13723 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
13724 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
13725 | wxMDIParentFrame *result; | |
423f194a | 13726 | bool temp3 = False ; |
d14a1e28 RD |
13727 | wxPoint temp4 ; |
13728 | wxSize temp5 ; | |
423f194a | 13729 | bool temp7 = False ; |
d14a1e28 | 13730 | PyObject * obj0 = 0 ; |
8edf1c75 | 13731 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13732 | PyObject * obj2 = 0 ; |
13733 | PyObject * obj3 = 0 ; | |
13734 | PyObject * obj4 = 0 ; | |
8edf1c75 | 13735 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
13736 | PyObject * obj6 = 0 ; |
13737 | char *kwnames[] = { | |
13738 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13739 | }; | |
13740 | ||
8edf1c75 | 13741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
13742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13744 | arg2 = (int const) SWIG_AsInt(obj1); | |
13745 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13746 | { |
13747 | arg3 = wxString_in_helper(obj2); | |
13748 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 13749 | temp3 = True; |
d14a1e28 RD |
13750 | } |
13751 | if (obj3) { | |
13752 | { | |
13753 | arg4 = &temp4; | |
13754 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
13755 | } | |
13756 | } | |
13757 | if (obj4) { | |
13758 | { | |
13759 | arg5 = &temp5; | |
13760 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
13761 | } | |
13762 | } | |
8edf1c75 | 13763 | if (obj5) { |
2f4c0a16 RD |
13764 | arg6 = (long) SWIG_AsLong(obj5); |
13765 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13766 | } |
d14a1e28 RD |
13767 | if (obj6) { |
13768 | { | |
13769 | arg7 = wxString_in_helper(obj6); | |
13770 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 13771 | temp7 = True; |
d14a1e28 RD |
13772 | } |
13773 | } | |
13774 | { | |
13775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13776 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
13777 | ||
13778 | wxPyEndAllowThreads(__tstate); | |
13779 | if (PyErr_Occurred()) SWIG_fail; | |
13780 | } | |
2f4c0a16 | 13781 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
13782 | { |
13783 | if (temp3) | |
13784 | delete arg3; | |
13785 | } | |
13786 | { | |
13787 | if (temp7) | |
13788 | delete arg7; | |
13789 | } | |
13790 | return resultobj; | |
13791 | fail: | |
13792 | { | |
13793 | if (temp3) | |
13794 | delete arg3; | |
13795 | } | |
13796 | { | |
13797 | if (temp7) | |
13798 | delete arg7; | |
13799 | } | |
13800 | return NULL; | |
13801 | } | |
13802 | ||
13803 | ||
2f4c0a16 | 13804 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13805 | PyObject *resultobj; |
13806 | wxMDIParentFrame *result; | |
13807 | char *kwnames[] = { | |
13808 | NULL | |
13809 | }; | |
13810 | ||
13811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
13812 | { | |
13813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13814 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
13815 | ||
13816 | wxPyEndAllowThreads(__tstate); | |
13817 | if (PyErr_Occurred()) SWIG_fail; | |
13818 | } | |
2f4c0a16 | 13819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
13820 | return resultobj; |
13821 | fail: | |
13822 | return NULL; | |
13823 | } | |
13824 | ||
13825 | ||
2f4c0a16 | 13826 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13827 | PyObject *resultobj; |
13828 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13829 | wxWindow *arg2 = (wxWindow *) 0 ; | |
423f194a | 13830 | int arg3 ; |
d14a1e28 RD |
13831 | wxString *arg4 = 0 ; |
13832 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
13833 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
13834 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
13835 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
13836 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
13837 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
13838 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
13839 | bool result; | |
423f194a | 13840 | bool temp4 = False ; |
d14a1e28 RD |
13841 | wxPoint temp5 ; |
13842 | wxSize temp6 ; | |
423f194a | 13843 | bool temp8 = False ; |
d14a1e28 RD |
13844 | PyObject * obj0 = 0 ; |
13845 | PyObject * obj1 = 0 ; | |
8edf1c75 | 13846 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
13847 | PyObject * obj3 = 0 ; |
13848 | PyObject * obj4 = 0 ; | |
13849 | PyObject * obj5 = 0 ; | |
8edf1c75 | 13850 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
13851 | PyObject * obj7 = 0 ; |
13852 | char *kwnames[] = { | |
13853 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
13854 | }; | |
13855 | ||
8edf1c75 | 13856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
13857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
13858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13859 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
13860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13861 | arg3 = (int const) SWIG_AsInt(obj2); | |
13862 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
13863 | { |
13864 | arg4 = wxString_in_helper(obj3); | |
13865 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 13866 | temp4 = True; |
d14a1e28 RD |
13867 | } |
13868 | if (obj4) { | |
13869 | { | |
13870 | arg5 = &temp5; | |
13871 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
13872 | } | |
13873 | } | |
13874 | if (obj5) { | |
13875 | { | |
13876 | arg6 = &temp6; | |
13877 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
13878 | } | |
13879 | } | |
8edf1c75 | 13880 | if (obj6) { |
2f4c0a16 RD |
13881 | arg7 = (long) SWIG_AsLong(obj6); |
13882 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 13883 | } |
d14a1e28 RD |
13884 | if (obj7) { |
13885 | { | |
13886 | arg8 = wxString_in_helper(obj7); | |
13887 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 13888 | temp8 = True; |
d14a1e28 RD |
13889 | } |
13890 | } | |
13891 | { | |
13892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13893 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
13894 | ||
13895 | wxPyEndAllowThreads(__tstate); | |
13896 | if (PyErr_Occurred()) SWIG_fail; | |
13897 | } | |
02a34c4c | 13898 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
13899 | { |
13900 | if (temp4) | |
13901 | delete arg4; | |
13902 | } | |
13903 | { | |
13904 | if (temp8) | |
13905 | delete arg8; | |
13906 | } | |
13907 | return resultobj; | |
13908 | fail: | |
13909 | { | |
13910 | if (temp4) | |
13911 | delete arg4; | |
13912 | } | |
13913 | { | |
13914 | if (temp8) | |
13915 | delete arg8; | |
13916 | } | |
13917 | return NULL; | |
13918 | } | |
13919 | ||
13920 | ||
2f4c0a16 | 13921 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13922 | PyObject *resultobj; |
13923 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13924 | PyObject * obj0 = 0 ; | |
13925 | char *kwnames[] = { | |
13926 | (char *) "self", NULL | |
13927 | }; | |
13928 | ||
13929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
13931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13932 | { |
13933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13934 | (arg1)->ActivateNext(); | |
13935 | ||
13936 | wxPyEndAllowThreads(__tstate); | |
13937 | if (PyErr_Occurred()) SWIG_fail; | |
13938 | } | |
13939 | Py_INCREF(Py_None); resultobj = Py_None; | |
13940 | return resultobj; | |
13941 | fail: | |
13942 | return NULL; | |
13943 | } | |
13944 | ||
13945 | ||
2f4c0a16 | 13946 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13947 | PyObject *resultobj; |
13948 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13949 | PyObject * obj0 = 0 ; | |
13950 | char *kwnames[] = { | |
13951 | (char *) "self", NULL | |
13952 | }; | |
13953 | ||
13954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13955 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
13956 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13957 | { |
13958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13959 | (arg1)->ActivatePrevious(); | |
13960 | ||
13961 | wxPyEndAllowThreads(__tstate); | |
13962 | if (PyErr_Occurred()) SWIG_fail; | |
13963 | } | |
13964 | Py_INCREF(Py_None); resultobj = Py_None; | |
13965 | return resultobj; | |
13966 | fail: | |
13967 | return NULL; | |
13968 | } | |
13969 | ||
13970 | ||
2f4c0a16 | 13971 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13972 | PyObject *resultobj; |
13973 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13974 | PyObject * obj0 = 0 ; | |
13975 | char *kwnames[] = { | |
13976 | (char *) "self", NULL | |
13977 | }; | |
13978 | ||
13979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
13980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
13981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13982 | { |
13983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13984 | (arg1)->ArrangeIcons(); | |
13985 | ||
13986 | wxPyEndAllowThreads(__tstate); | |
13987 | if (PyErr_Occurred()) SWIG_fail; | |
13988 | } | |
13989 | Py_INCREF(Py_None); resultobj = Py_None; | |
13990 | return resultobj; | |
13991 | fail: | |
13992 | return NULL; | |
13993 | } | |
13994 | ||
13995 | ||
2f4c0a16 | 13996 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13997 | PyObject *resultobj; |
13998 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
13999 | PyObject * obj0 = 0 ; | |
14000 | char *kwnames[] = { | |
14001 | (char *) "self", NULL | |
14002 | }; | |
14003 | ||
14004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14007 | { |
14008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14009 | (arg1)->Cascade(); | |
14010 | ||
14011 | wxPyEndAllowThreads(__tstate); | |
14012 | if (PyErr_Occurred()) SWIG_fail; | |
14013 | } | |
14014 | Py_INCREF(Py_None); resultobj = Py_None; | |
14015 | return resultobj; | |
14016 | fail: | |
14017 | return NULL; | |
14018 | } | |
14019 | ||
14020 | ||
2f4c0a16 | 14021 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14022 | PyObject *resultobj; |
14023 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14024 | wxMDIChildFrame *result; | |
14025 | PyObject * obj0 = 0 ; | |
14026 | char *kwnames[] = { | |
14027 | (char *) "self", NULL | |
14028 | }; | |
14029 | ||
14030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14033 | { |
14034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14035 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
14036 | ||
14037 | wxPyEndAllowThreads(__tstate); | |
14038 | if (PyErr_Occurred()) SWIG_fail; | |
14039 | } | |
14040 | { | |
14041 | resultobj = wxPyMake_wxObject(result); | |
14042 | } | |
14043 | return resultobj; | |
14044 | fail: | |
14045 | return NULL; | |
14046 | } | |
14047 | ||
14048 | ||
2f4c0a16 | 14049 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14050 | PyObject *resultobj; |
14051 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14052 | wxMDIClientWindow *result; | |
14053 | PyObject * obj0 = 0 ; | |
14054 | char *kwnames[] = { | |
14055 | (char *) "self", NULL | |
14056 | }; | |
14057 | ||
14058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14061 | { |
14062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14063 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
14064 | ||
14065 | wxPyEndAllowThreads(__tstate); | |
14066 | if (PyErr_Occurred()) SWIG_fail; | |
14067 | } | |
14068 | { | |
14069 | resultobj = wxPyMake_wxObject(result); | |
14070 | } | |
14071 | return resultobj; | |
14072 | fail: | |
14073 | return NULL; | |
14074 | } | |
14075 | ||
14076 | ||
2f4c0a16 | 14077 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14078 | PyObject *resultobj; |
14079 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14080 | wxWindow *result; | |
14081 | PyObject * obj0 = 0 ; | |
14082 | char *kwnames[] = { | |
14083 | (char *) "self", NULL | |
14084 | }; | |
14085 | ||
14086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14087 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14089 | { |
14090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14091 | result = (wxWindow *)(arg1)->GetToolBar(); | |
14092 | ||
14093 | wxPyEndAllowThreads(__tstate); | |
14094 | if (PyErr_Occurred()) SWIG_fail; | |
14095 | } | |
14096 | { | |
14097 | resultobj = wxPyMake_wxObject(result); | |
14098 | } | |
14099 | return resultobj; | |
14100 | fail: | |
14101 | return NULL; | |
14102 | } | |
14103 | ||
14104 | ||
2f4c0a16 | 14105 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14106 | PyObject *resultobj; |
14107 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14108 | PyObject * obj0 = 0 ; | |
14109 | char *kwnames[] = { | |
14110 | (char *) "self", NULL | |
14111 | }; | |
14112 | ||
14113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14114 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14115 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14116 | { |
14117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14118 | (arg1)->Tile(); | |
14119 | ||
14120 | wxPyEndAllowThreads(__tstate); | |
14121 | if (PyErr_Occurred()) SWIG_fail; | |
14122 | } | |
14123 | Py_INCREF(Py_None); resultobj = Py_None; | |
14124 | return resultobj; | |
14125 | fail: | |
14126 | return NULL; | |
14127 | } | |
14128 | ||
14129 | ||
2f4c0a16 | 14130 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14131 | PyObject *obj; |
14132 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14133 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
14134 | Py_INCREF(obj); | |
14135 | return Py_BuildValue((char *)""); | |
14136 | } | |
2f4c0a16 | 14137 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14138 | PyObject *resultobj; |
14139 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14140 | int arg2 ; |
d14a1e28 RD |
14141 | wxString *arg3 = 0 ; |
14142 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
14143 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
14144 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
14145 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
14146 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
14147 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
14148 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
14149 | wxMDIChildFrame *result; | |
423f194a | 14150 | bool temp3 = False ; |
d14a1e28 RD |
14151 | wxPoint temp4 ; |
14152 | wxSize temp5 ; | |
423f194a | 14153 | bool temp7 = False ; |
d14a1e28 | 14154 | PyObject * obj0 = 0 ; |
8edf1c75 | 14155 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14156 | PyObject * obj2 = 0 ; |
14157 | PyObject * obj3 = 0 ; | |
14158 | PyObject * obj4 = 0 ; | |
8edf1c75 | 14159 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
14160 | PyObject * obj6 = 0 ; |
14161 | char *kwnames[] = { | |
14162 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14163 | }; | |
14164 | ||
8edf1c75 | 14165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
14166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14168 | arg2 = (int const) SWIG_AsInt(obj1); | |
14169 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14170 | { |
14171 | arg3 = wxString_in_helper(obj2); | |
14172 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 14173 | temp3 = True; |
d14a1e28 RD |
14174 | } |
14175 | if (obj3) { | |
14176 | { | |
14177 | arg4 = &temp4; | |
14178 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
14179 | } | |
14180 | } | |
14181 | if (obj4) { | |
14182 | { | |
14183 | arg5 = &temp5; | |
14184 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
14185 | } | |
14186 | } | |
8edf1c75 | 14187 | if (obj5) { |
2f4c0a16 RD |
14188 | arg6 = (long) SWIG_AsLong(obj5); |
14189 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14190 | } |
d14a1e28 RD |
14191 | if (obj6) { |
14192 | { | |
14193 | arg7 = wxString_in_helper(obj6); | |
14194 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 14195 | temp7 = True; |
d14a1e28 RD |
14196 | } |
14197 | } | |
14198 | { | |
14199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14200 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
14201 | ||
14202 | wxPyEndAllowThreads(__tstate); | |
14203 | if (PyErr_Occurred()) SWIG_fail; | |
14204 | } | |
14205 | { | |
14206 | resultobj = wxPyMake_wxObject(result); | |
14207 | } | |
14208 | { | |
14209 | if (temp3) | |
14210 | delete arg3; | |
14211 | } | |
14212 | { | |
14213 | if (temp7) | |
14214 | delete arg7; | |
14215 | } | |
14216 | return resultobj; | |
14217 | fail: | |
14218 | { | |
14219 | if (temp3) | |
14220 | delete arg3; | |
14221 | } | |
14222 | { | |
14223 | if (temp7) | |
14224 | delete arg7; | |
14225 | } | |
14226 | return NULL; | |
14227 | } | |
14228 | ||
14229 | ||
2f4c0a16 | 14230 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14231 | PyObject *resultobj; |
14232 | wxMDIChildFrame *result; | |
14233 | char *kwnames[] = { | |
14234 | NULL | |
14235 | }; | |
14236 | ||
14237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
14238 | { | |
14239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14240 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
14241 | ||
14242 | wxPyEndAllowThreads(__tstate); | |
14243 | if (PyErr_Occurred()) SWIG_fail; | |
14244 | } | |
14245 | { | |
14246 | resultobj = wxPyMake_wxObject(result); | |
14247 | } | |
14248 | return resultobj; | |
14249 | fail: | |
14250 | return NULL; | |
14251 | } | |
14252 | ||
14253 | ||
2f4c0a16 | 14254 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14255 | PyObject *resultobj; |
14256 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14257 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
423f194a | 14258 | int arg3 ; |
d14a1e28 RD |
14259 | wxString *arg4 = 0 ; |
14260 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14261 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14262 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
14263 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
14264 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
14265 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
14266 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
14267 | bool result; | |
423f194a | 14268 | bool temp4 = False ; |
d14a1e28 RD |
14269 | wxPoint temp5 ; |
14270 | wxSize temp6 ; | |
423f194a | 14271 | bool temp8 = False ; |
d14a1e28 RD |
14272 | PyObject * obj0 = 0 ; |
14273 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14274 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14275 | PyObject * obj3 = 0 ; |
14276 | PyObject * obj4 = 0 ; | |
14277 | PyObject * obj5 = 0 ; | |
8edf1c75 | 14278 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
14279 | PyObject * obj7 = 0 ; |
14280 | char *kwnames[] = { | |
14281 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14282 | }; | |
14283 | ||
8edf1c75 | 14284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
14285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14287 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14289 | arg3 = (int const) SWIG_AsInt(obj2); | |
14290 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14291 | { |
14292 | arg4 = wxString_in_helper(obj3); | |
14293 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 14294 | temp4 = True; |
d14a1e28 RD |
14295 | } |
14296 | if (obj4) { | |
14297 | { | |
14298 | arg5 = &temp5; | |
14299 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14300 | } | |
14301 | } | |
14302 | if (obj5) { | |
14303 | { | |
14304 | arg6 = &temp6; | |
14305 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
14306 | } | |
14307 | } | |
8edf1c75 | 14308 | if (obj6) { |
2f4c0a16 RD |
14309 | arg7 = (long) SWIG_AsLong(obj6); |
14310 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14311 | } |
d14a1e28 RD |
14312 | if (obj7) { |
14313 | { | |
14314 | arg8 = wxString_in_helper(obj7); | |
14315 | if (arg8 == NULL) SWIG_fail; | |
423f194a | 14316 | temp8 = True; |
d14a1e28 RD |
14317 | } |
14318 | } | |
14319 | { | |
14320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14321 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
14322 | ||
14323 | wxPyEndAllowThreads(__tstate); | |
14324 | if (PyErr_Occurred()) SWIG_fail; | |
14325 | } | |
02a34c4c | 14326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14327 | { |
14328 | if (temp4) | |
14329 | delete arg4; | |
14330 | } | |
14331 | { | |
14332 | if (temp8) | |
14333 | delete arg8; | |
14334 | } | |
14335 | return resultobj; | |
14336 | fail: | |
14337 | { | |
14338 | if (temp4) | |
14339 | delete arg4; | |
14340 | } | |
14341 | { | |
14342 | if (temp8) | |
14343 | delete arg8; | |
14344 | } | |
14345 | return NULL; | |
14346 | } | |
14347 | ||
14348 | ||
2f4c0a16 | 14349 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14350 | PyObject *resultobj; |
14351 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14352 | PyObject * obj0 = 0 ; | |
14353 | char *kwnames[] = { | |
14354 | (char *) "self", NULL | |
14355 | }; | |
14356 | ||
14357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14358 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14359 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14360 | { |
14361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14362 | (arg1)->Activate(); | |
14363 | ||
14364 | wxPyEndAllowThreads(__tstate); | |
14365 | if (PyErr_Occurred()) SWIG_fail; | |
14366 | } | |
14367 | Py_INCREF(Py_None); resultobj = Py_None; | |
14368 | return resultobj; | |
14369 | fail: | |
14370 | return NULL; | |
14371 | } | |
14372 | ||
14373 | ||
2f4c0a16 | 14374 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14375 | PyObject *resultobj; |
14376 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14377 | bool arg2 ; | |
14378 | PyObject * obj0 = 0 ; | |
14379 | PyObject * obj1 = 0 ; | |
14380 | char *kwnames[] = { | |
14381 | (char *) "self",(char *) "maximize", NULL | |
14382 | }; | |
14383 | ||
14384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
14385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14387 | arg2 = (bool) SWIG_AsBool(obj1); | |
14388 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14389 | { |
14390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14391 | (arg1)->Maximize(arg2); | |
14392 | ||
14393 | wxPyEndAllowThreads(__tstate); | |
14394 | if (PyErr_Occurred()) SWIG_fail; | |
14395 | } | |
14396 | Py_INCREF(Py_None); resultobj = Py_None; | |
14397 | return resultobj; | |
14398 | fail: | |
14399 | return NULL; | |
14400 | } | |
14401 | ||
14402 | ||
2f4c0a16 | 14403 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14404 | PyObject *resultobj; |
14405 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
14406 | PyObject * obj0 = 0 ; | |
14407 | char *kwnames[] = { | |
14408 | (char *) "self", NULL | |
14409 | }; | |
14410 | ||
14411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
14413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14414 | { |
14415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14416 | (arg1)->Restore(); | |
14417 | ||
14418 | wxPyEndAllowThreads(__tstate); | |
14419 | if (PyErr_Occurred()) SWIG_fail; | |
14420 | } | |
14421 | Py_INCREF(Py_None); resultobj = Py_None; | |
14422 | return resultobj; | |
14423 | fail: | |
14424 | return NULL; | |
14425 | } | |
14426 | ||
14427 | ||
2f4c0a16 | 14428 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14429 | PyObject *obj; |
14430 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14431 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
14432 | Py_INCREF(obj); | |
14433 | return Py_BuildValue((char *)""); | |
14434 | } | |
2f4c0a16 | 14435 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14436 | PyObject *resultobj; |
14437 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
14438 | long arg2 = (long) 0 ; | |
14439 | wxMDIClientWindow *result; | |
14440 | PyObject * obj0 = 0 ; | |
8edf1c75 | 14441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14442 | char *kwnames[] = { |
14443 | (char *) "parent",(char *) "style", NULL | |
14444 | }; | |
14445 | ||
8edf1c75 | 14446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
14447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
14448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 14449 | if (obj1) { |
2f4c0a16 RD |
14450 | arg2 = (long) SWIG_AsLong(obj1); |
14451 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14452 | } |
d14a1e28 RD |
14453 | { |
14454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14455 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
14456 | ||
14457 | wxPyEndAllowThreads(__tstate); | |
14458 | if (PyErr_Occurred()) SWIG_fail; | |
14459 | } | |
14460 | { | |
14461 | resultobj = wxPyMake_wxObject(result); | |
14462 | } | |
14463 | return resultobj; | |
14464 | fail: | |
14465 | return NULL; | |
14466 | } | |
14467 | ||
14468 | ||
2f4c0a16 | 14469 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14470 | PyObject *resultobj; |
14471 | wxMDIClientWindow *result; | |
14472 | char *kwnames[] = { | |
14473 | NULL | |
14474 | }; | |
14475 | ||
14476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
14477 | { | |
14478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14479 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
14480 | ||
14481 | wxPyEndAllowThreads(__tstate); | |
14482 | if (PyErr_Occurred()) SWIG_fail; | |
14483 | } | |
14484 | { | |
14485 | resultobj = wxPyMake_wxObject(result); | |
14486 | } | |
14487 | return resultobj; | |
14488 | fail: | |
14489 | return NULL; | |
14490 | } | |
14491 | ||
14492 | ||
2f4c0a16 | 14493 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14494 | PyObject *resultobj; |
14495 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
14496 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
14497 | long arg3 = (long) 0 ; | |
14498 | bool result; | |
14499 | PyObject * obj0 = 0 ; | |
14500 | PyObject * obj1 = 0 ; | |
8edf1c75 | 14501 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
14502 | char *kwnames[] = { |
14503 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
14504 | }; | |
14505 | ||
8edf1c75 | 14506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
14507 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
14508 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14509 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
14510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 14511 | if (obj2) { |
2f4c0a16 RD |
14512 | arg3 = (long) SWIG_AsLong(obj2); |
14513 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14514 | } |
d14a1e28 RD |
14515 | { |
14516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14517 | result = (bool)(arg1)->Create(arg2,arg3); | |
14518 | ||
14519 | wxPyEndAllowThreads(__tstate); | |
14520 | if (PyErr_Occurred()) SWIG_fail; | |
14521 | } | |
02a34c4c | 14522 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
14523 | return resultobj; |
14524 | fail: | |
14525 | return NULL; | |
14526 | } | |
14527 | ||
14528 | ||
2f4c0a16 | 14529 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14530 | PyObject *obj; |
14531 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14532 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
14533 | Py_INCREF(obj); | |
14534 | return Py_BuildValue((char *)""); | |
14535 | } | |
2f4c0a16 | 14536 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14537 | PyObject *resultobj; |
14538 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 14539 | int arg2 ; |
d14a1e28 RD |
14540 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
14541 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
14542 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
14543 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
14544 | long arg5 = (long) 0 ; | |
14545 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
14546 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
14547 | wxPyWindow *result; | |
14548 | wxPoint temp3 ; | |
14549 | wxSize temp4 ; | |
423f194a | 14550 | bool temp6 = False ; |
d14a1e28 | 14551 | PyObject * obj0 = 0 ; |
8edf1c75 | 14552 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14553 | PyObject * obj2 = 0 ; |
14554 | PyObject * obj3 = 0 ; | |
8edf1c75 | 14555 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14556 | PyObject * obj5 = 0 ; |
14557 | char *kwnames[] = { | |
14558 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
14559 | }; | |
14560 | ||
8edf1c75 | 14561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
14562 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14564 | arg2 = (int const) SWIG_AsInt(obj1); | |
14565 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14566 | if (obj2) { |
14567 | { | |
14568 | arg3 = &temp3; | |
14569 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
14570 | } | |
14571 | } | |
14572 | if (obj3) { | |
14573 | { | |
14574 | arg4 = &temp4; | |
14575 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
14576 | } | |
14577 | } | |
8edf1c75 | 14578 | if (obj4) { |
2f4c0a16 RD |
14579 | arg5 = (long) SWIG_AsLong(obj4); |
14580 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14581 | } |
d14a1e28 RD |
14582 | if (obj5) { |
14583 | { | |
14584 | arg6 = wxString_in_helper(obj5); | |
14585 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 14586 | temp6 = True; |
d14a1e28 RD |
14587 | } |
14588 | } | |
14589 | { | |
14590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14591 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
14592 | ||
14593 | wxPyEndAllowThreads(__tstate); | |
14594 | if (PyErr_Occurred()) SWIG_fail; | |
14595 | } | |
2f4c0a16 | 14596 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
14597 | { |
14598 | if (temp6) | |
14599 | delete arg6; | |
14600 | } | |
14601 | return resultobj; | |
14602 | fail: | |
14603 | { | |
14604 | if (temp6) | |
14605 | delete arg6; | |
14606 | } | |
14607 | return NULL; | |
14608 | } | |
14609 | ||
14610 | ||
2f4c0a16 | 14611 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14612 | PyObject *resultobj; |
14613 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14614 | PyObject *arg2 = (PyObject *) 0 ; | |
14615 | PyObject *arg3 = (PyObject *) 0 ; | |
14616 | PyObject * obj0 = 0 ; | |
14617 | PyObject * obj1 = 0 ; | |
14618 | PyObject * obj2 = 0 ; | |
14619 | char *kwnames[] = { | |
14620 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
14621 | }; | |
14622 | ||
14623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
14624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14626 | arg2 = obj1; |
14627 | arg3 = obj2; | |
14628 | { | |
14629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14630 | (arg1)->_setCallbackInfo(arg2,arg3); | |
14631 | ||
14632 | wxPyEndAllowThreads(__tstate); | |
14633 | if (PyErr_Occurred()) SWIG_fail; | |
14634 | } | |
14635 | Py_INCREF(Py_None); resultobj = Py_None; | |
14636 | return resultobj; | |
14637 | fail: | |
14638 | return NULL; | |
14639 | } | |
14640 | ||
14641 | ||
2f4c0a16 | 14642 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14643 | PyObject *resultobj; |
14644 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14645 | int arg2 ; | |
14646 | int arg3 ; | |
14647 | int arg4 ; | |
14648 | int arg5 ; | |
14649 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
14650 | PyObject * obj1 = 0 ; |
14651 | PyObject * obj2 = 0 ; | |
14652 | PyObject * obj3 = 0 ; | |
14653 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
14654 | char *kwnames[] = { |
14655 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
14656 | }; | |
14657 | ||
8edf1c75 | 14658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
14659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14661 | arg2 = (int) SWIG_AsInt(obj1); | |
14662 | if (PyErr_Occurred()) SWIG_fail; | |
14663 | arg3 = (int) SWIG_AsInt(obj2); | |
14664 | if (PyErr_Occurred()) SWIG_fail; | |
14665 | arg4 = (int) SWIG_AsInt(obj3); | |
14666 | if (PyErr_Occurred()) SWIG_fail; | |
14667 | arg5 = (int) SWIG_AsInt(obj4); | |
14668 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14669 | { |
14670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14671 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
14672 | ||
14673 | wxPyEndAllowThreads(__tstate); | |
14674 | if (PyErr_Occurred()) SWIG_fail; | |
14675 | } | |
14676 | Py_INCREF(Py_None); resultobj = Py_None; | |
14677 | return resultobj; | |
14678 | fail: | |
14679 | return NULL; | |
14680 | } | |
14681 | ||
14682 | ||
2f4c0a16 | 14683 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14684 | PyObject *resultobj; |
14685 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14686 | int arg2 ; | |
14687 | int arg3 ; | |
14688 | int arg4 ; | |
14689 | int arg5 ; | |
14690 | int arg6 = (int) wxSIZE_AUTO ; | |
14691 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
14692 | PyObject * obj1 = 0 ; |
14693 | PyObject * obj2 = 0 ; | |
14694 | PyObject * obj3 = 0 ; | |
14695 | PyObject * obj4 = 0 ; | |
14696 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
14697 | char *kwnames[] = { |
14698 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
14699 | }; | |
14700 | ||
8edf1c75 | 14701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
14702 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14703 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14704 | arg2 = (int) SWIG_AsInt(obj1); | |
14705 | if (PyErr_Occurred()) SWIG_fail; | |
14706 | arg3 = (int) SWIG_AsInt(obj2); | |
14707 | if (PyErr_Occurred()) SWIG_fail; | |
14708 | arg4 = (int) SWIG_AsInt(obj3); | |
14709 | if (PyErr_Occurred()) SWIG_fail; | |
14710 | arg5 = (int) SWIG_AsInt(obj4); | |
14711 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14712 | if (obj5) { |
2f4c0a16 RD |
14713 | arg6 = (int) SWIG_AsInt(obj5); |
14714 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 14715 | } |
d14a1e28 RD |
14716 | { |
14717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14718 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
14719 | ||
14720 | wxPyEndAllowThreads(__tstate); | |
14721 | if (PyErr_Occurred()) SWIG_fail; | |
14722 | } | |
14723 | Py_INCREF(Py_None); resultobj = Py_None; | |
14724 | return resultobj; | |
14725 | fail: | |
14726 | return NULL; | |
14727 | } | |
14728 | ||
14729 | ||
2f4c0a16 | 14730 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14731 | PyObject *resultobj; |
14732 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14733 | int arg2 ; | |
14734 | int arg3 ; | |
14735 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
14736 | PyObject * obj1 = 0 ; |
14737 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
14738 | char *kwnames[] = { |
14739 | (char *) "self",(char *) "width",(char *) "height", NULL | |
14740 | }; | |
14741 | ||
8edf1c75 | 14742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
14743 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14744 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14745 | arg2 = (int) SWIG_AsInt(obj1); | |
14746 | if (PyErr_Occurred()) SWIG_fail; | |
14747 | arg3 = (int) SWIG_AsInt(obj2); | |
14748 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14749 | { |
14750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14751 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
14752 | ||
14753 | wxPyEndAllowThreads(__tstate); | |
14754 | if (PyErr_Occurred()) SWIG_fail; | |
14755 | } | |
14756 | Py_INCREF(Py_None); resultobj = Py_None; | |
14757 | return resultobj; | |
14758 | fail: | |
14759 | return NULL; | |
14760 | } | |
14761 | ||
14762 | ||
2f4c0a16 | 14763 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14764 | PyObject *resultobj; |
14765 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14766 | int arg2 ; | |
14767 | int arg3 ; | |
14768 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
14769 | PyObject * obj1 = 0 ; |
14770 | PyObject * obj2 = 0 ; | |
d14a1e28 | 14771 | char *kwnames[] = { |
2f4c0a16 RD |
14772 | (char *) "self",(char *) "x",(char *) "y", NULL |
14773 | }; | |
14774 | ||
14775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
14776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
14777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14778 | arg2 = (int) SWIG_AsInt(obj1); | |
14779 | if (PyErr_Occurred()) SWIG_fail; | |
14780 | arg3 = (int) SWIG_AsInt(obj2); | |
14781 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
14782 | { |
14783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14784 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
14785 | ||
14786 | wxPyEndAllowThreads(__tstate); | |
14787 | if (PyErr_Occurred()) SWIG_fail; | |
14788 | } | |
14789 | Py_INCREF(Py_None); resultobj = Py_None; | |
14790 | return resultobj; | |
14791 | fail: | |
14792 | return NULL; | |
14793 | } | |
14794 | ||
14795 | ||
2f4c0a16 | 14796 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14797 | PyObject *resultobj; |
14798 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14799 | int *arg2 = (int *) 0 ; | |
14800 | int *arg3 = (int *) 0 ; | |
14801 | int temp2 ; | |
14802 | int temp3 ; | |
14803 | PyObject * obj0 = 0 ; | |
14804 | char *kwnames[] = { | |
14805 | (char *) "self", NULL | |
14806 | }; | |
14807 | ||
14808 | arg2 = &temp2; | |
14809 | arg3 = &temp3; | |
14810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14811 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14812 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14813 | { |
14814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14815 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
14816 | ||
14817 | wxPyEndAllowThreads(__tstate); | |
14818 | if (PyErr_Occurred()) SWIG_fail; | |
14819 | } | |
14820 | Py_INCREF(Py_None); resultobj = Py_None; | |
14821 | { | |
14822 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14823 | resultobj = t_output_helper(resultobj,o); | |
14824 | } | |
14825 | { | |
14826 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14827 | resultobj = t_output_helper(resultobj,o); | |
14828 | } | |
14829 | return resultobj; | |
14830 | fail: | |
14831 | return NULL; | |
14832 | } | |
14833 | ||
14834 | ||
2f4c0a16 | 14835 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14836 | PyObject *resultobj; |
14837 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14838 | int *arg2 = (int *) 0 ; | |
14839 | int *arg3 = (int *) 0 ; | |
14840 | int temp2 ; | |
14841 | int temp3 ; | |
14842 | PyObject * obj0 = 0 ; | |
14843 | char *kwnames[] = { | |
14844 | (char *) "self", NULL | |
14845 | }; | |
14846 | ||
14847 | arg2 = &temp2; | |
14848 | arg3 = &temp3; | |
14849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14850 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14851 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14852 | { |
14853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14854 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
14855 | ||
14856 | wxPyEndAllowThreads(__tstate); | |
14857 | if (PyErr_Occurred()) SWIG_fail; | |
14858 | } | |
14859 | Py_INCREF(Py_None); resultobj = Py_None; | |
14860 | { | |
14861 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14862 | resultobj = t_output_helper(resultobj,o); | |
14863 | } | |
14864 | { | |
14865 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14866 | resultobj = t_output_helper(resultobj,o); | |
14867 | } | |
14868 | return resultobj; | |
14869 | fail: | |
14870 | return NULL; | |
14871 | } | |
14872 | ||
14873 | ||
2f4c0a16 | 14874 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14875 | PyObject *resultobj; |
14876 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14877 | int *arg2 = (int *) 0 ; | |
14878 | int *arg3 = (int *) 0 ; | |
14879 | int temp2 ; | |
14880 | int temp3 ; | |
14881 | PyObject * obj0 = 0 ; | |
14882 | char *kwnames[] = { | |
14883 | (char *) "self", NULL | |
14884 | }; | |
14885 | ||
14886 | arg2 = &temp2; | |
14887 | arg3 = &temp3; | |
14888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14891 | { |
14892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14893 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
14894 | ||
14895 | wxPyEndAllowThreads(__tstate); | |
14896 | if (PyErr_Occurred()) SWIG_fail; | |
14897 | } | |
14898 | Py_INCREF(Py_None); resultobj = Py_None; | |
14899 | { | |
14900 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
14901 | resultobj = t_output_helper(resultobj,o); | |
14902 | } | |
14903 | { | |
14904 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
14905 | resultobj = t_output_helper(resultobj,o); | |
14906 | } | |
14907 | return resultobj; | |
14908 | fail: | |
14909 | return NULL; | |
14910 | } | |
14911 | ||
14912 | ||
2f4c0a16 | 14913 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14914 | PyObject *resultobj; |
14915 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14916 | wxSize result; | |
14917 | PyObject * obj0 = 0 ; | |
14918 | char *kwnames[] = { | |
14919 | (char *) "self", NULL | |
14920 | }; | |
14921 | ||
14922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14925 | { |
14926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14927 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
14928 | ||
14929 | wxPyEndAllowThreads(__tstate); | |
14930 | if (PyErr_Occurred()) SWIG_fail; | |
14931 | } | |
14932 | { | |
14933 | wxSize * resultptr; | |
14934 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 14935 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
14936 | } |
14937 | return resultobj; | |
14938 | fail: | |
14939 | return NULL; | |
14940 | } | |
14941 | ||
14942 | ||
2f4c0a16 | 14943 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14944 | PyObject *resultobj; |
14945 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14946 | wxSize result; | |
14947 | PyObject * obj0 = 0 ; | |
14948 | char *kwnames[] = { | |
14949 | (char *) "self", NULL | |
14950 | }; | |
14951 | ||
14952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14953 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14954 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14955 | { |
14956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14957 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
14958 | ||
14959 | wxPyEndAllowThreads(__tstate); | |
14960 | if (PyErr_Occurred()) SWIG_fail; | |
14961 | } | |
14962 | { | |
14963 | wxSize * resultptr; | |
14964 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 14965 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
14966 | } |
14967 | return resultobj; | |
14968 | fail: | |
14969 | return NULL; | |
14970 | } | |
14971 | ||
14972 | ||
2f4c0a16 | 14973 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14974 | PyObject *resultobj; |
14975 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
14976 | PyObject * obj0 = 0 ; | |
14977 | char *kwnames[] = { | |
14978 | (char *) "self", NULL | |
14979 | }; | |
14980 | ||
14981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
14982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
14983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14984 | { |
14985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14986 | (arg1)->base_InitDialog(); | |
14987 | ||
14988 | wxPyEndAllowThreads(__tstate); | |
14989 | if (PyErr_Occurred()) SWIG_fail; | |
14990 | } | |
14991 | Py_INCREF(Py_None); resultobj = Py_None; | |
14992 | return resultobj; | |
14993 | fail: | |
14994 | return NULL; | |
14995 | } | |
14996 | ||
14997 | ||
2f4c0a16 | 14998 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14999 | PyObject *resultobj; |
15000 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15001 | bool result; | |
15002 | PyObject * obj0 = 0 ; | |
15003 | char *kwnames[] = { | |
15004 | (char *) "self", NULL | |
15005 | }; | |
15006 | ||
15007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15010 | { |
15011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15012 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15013 | ||
15014 | wxPyEndAllowThreads(__tstate); | |
15015 | if (PyErr_Occurred()) SWIG_fail; | |
15016 | } | |
02a34c4c | 15017 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15018 | return resultobj; |
15019 | fail: | |
15020 | return NULL; | |
15021 | } | |
15022 | ||
15023 | ||
2f4c0a16 | 15024 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15025 | PyObject *resultobj; |
15026 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15027 | bool result; | |
15028 | PyObject * obj0 = 0 ; | |
15029 | char *kwnames[] = { | |
15030 | (char *) "self", NULL | |
15031 | }; | |
15032 | ||
15033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15036 | { |
15037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15038 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15039 | ||
15040 | wxPyEndAllowThreads(__tstate); | |
15041 | if (PyErr_Occurred()) SWIG_fail; | |
15042 | } | |
02a34c4c | 15043 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15044 | return resultobj; |
15045 | fail: | |
15046 | return NULL; | |
15047 | } | |
15048 | ||
15049 | ||
2f4c0a16 | 15050 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15051 | PyObject *resultobj; |
15052 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15053 | bool result; | |
15054 | PyObject * obj0 = 0 ; | |
15055 | char *kwnames[] = { | |
15056 | (char *) "self", NULL | |
15057 | }; | |
15058 | ||
15059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15060 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15061 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15062 | { |
15063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15064 | result = (bool)(arg1)->base_Validate(); | |
15065 | ||
15066 | wxPyEndAllowThreads(__tstate); | |
15067 | if (PyErr_Occurred()) SWIG_fail; | |
15068 | } | |
02a34c4c | 15069 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15070 | return resultobj; |
15071 | fail: | |
15072 | return NULL; | |
15073 | } | |
15074 | ||
15075 | ||
2f4c0a16 | 15076 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15077 | PyObject *resultobj; |
15078 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15079 | bool result; | |
15080 | PyObject * obj0 = 0 ; | |
15081 | char *kwnames[] = { | |
15082 | (char *) "self", NULL | |
15083 | }; | |
15084 | ||
15085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15088 | { |
15089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15090 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
15091 | ||
15092 | wxPyEndAllowThreads(__tstate); | |
15093 | if (PyErr_Occurred()) SWIG_fail; | |
15094 | } | |
02a34c4c | 15095 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15096 | return resultobj; |
15097 | fail: | |
15098 | return NULL; | |
15099 | } | |
15100 | ||
15101 | ||
2f4c0a16 | 15102 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15103 | PyObject *resultobj; |
15104 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15105 | bool result; | |
15106 | PyObject * obj0 = 0 ; | |
15107 | char *kwnames[] = { | |
15108 | (char *) "self", NULL | |
15109 | }; | |
15110 | ||
15111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15112 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15113 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15114 | { |
15115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15116 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15117 | ||
15118 | wxPyEndAllowThreads(__tstate); | |
15119 | if (PyErr_Occurred()) SWIG_fail; | |
15120 | } | |
02a34c4c | 15121 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15122 | return resultobj; |
15123 | fail: | |
15124 | return NULL; | |
15125 | } | |
15126 | ||
15127 | ||
2f4c0a16 | 15128 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15129 | PyObject *resultobj; |
15130 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15131 | wxSize result; | |
15132 | PyObject * obj0 = 0 ; | |
15133 | char *kwnames[] = { | |
15134 | (char *) "self", NULL | |
15135 | }; | |
15136 | ||
15137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15140 | { |
15141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15142 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
15143 | ||
15144 | wxPyEndAllowThreads(__tstate); | |
15145 | if (PyErr_Occurred()) SWIG_fail; | |
15146 | } | |
15147 | { | |
15148 | wxSize * resultptr; | |
15149 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15150 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15151 | } |
15152 | return resultobj; | |
15153 | fail: | |
15154 | return NULL; | |
15155 | } | |
15156 | ||
15157 | ||
2f4c0a16 | 15158 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15159 | PyObject *resultobj; |
15160 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15161 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15162 | PyObject * obj0 = 0 ; | |
15163 | PyObject * obj1 = 0 ; | |
15164 | char *kwnames[] = { | |
15165 | (char *) "self",(char *) "child", NULL | |
15166 | }; | |
15167 | ||
15168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15171 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15173 | { |
15174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15175 | (arg1)->base_AddChild(arg2); | |
15176 | ||
15177 | wxPyEndAllowThreads(__tstate); | |
15178 | if (PyErr_Occurred()) SWIG_fail; | |
15179 | } | |
15180 | Py_INCREF(Py_None); resultobj = Py_None; | |
15181 | return resultobj; | |
15182 | fail: | |
15183 | return NULL; | |
15184 | } | |
15185 | ||
15186 | ||
2f4c0a16 | 15187 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15188 | PyObject *resultobj; |
15189 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
15190 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15191 | PyObject * obj0 = 0 ; | |
15192 | PyObject * obj1 = 0 ; | |
15193 | char *kwnames[] = { | |
15194 | (char *) "self",(char *) "child", NULL | |
15195 | }; | |
15196 | ||
15197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
15199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15200 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15202 | { |
15203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15204 | (arg1)->base_RemoveChild(arg2); | |
15205 | ||
15206 | wxPyEndAllowThreads(__tstate); | |
15207 | if (PyErr_Occurred()) SWIG_fail; | |
15208 | } | |
15209 | Py_INCREF(Py_None); resultobj = Py_None; | |
15210 | return resultobj; | |
15211 | fail: | |
15212 | return NULL; | |
15213 | } | |
15214 | ||
15215 | ||
2f4c0a16 | 15216 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15217 | PyObject *obj; |
15218 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15219 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
15220 | Py_INCREF(obj); | |
15221 | return Py_BuildValue((char *)""); | |
15222 | } | |
2f4c0a16 | 15223 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15224 | PyObject *resultobj; |
15225 | wxWindow *arg1 = (wxWindow *) 0 ; | |
423f194a | 15226 | int arg2 ; |
d14a1e28 RD |
15227 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15228 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15229 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15230 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15231 | long arg5 = (long) 0 ; | |
15232 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15233 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15234 | wxPyPanel *result; | |
15235 | wxPoint temp3 ; | |
15236 | wxSize temp4 ; | |
423f194a | 15237 | bool temp6 = False ; |
d14a1e28 | 15238 | PyObject * obj0 = 0 ; |
8edf1c75 | 15239 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15240 | PyObject * obj2 = 0 ; |
15241 | PyObject * obj3 = 0 ; | |
8edf1c75 | 15242 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15243 | PyObject * obj5 = 0 ; |
15244 | char *kwnames[] = { | |
15245 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15246 | }; | |
15247 | ||
8edf1c75 | 15248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15251 | arg2 = (int const) SWIG_AsInt(obj1); | |
15252 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15253 | if (obj2) { |
15254 | { | |
15255 | arg3 = &temp3; | |
15256 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15257 | } | |
15258 | } | |
15259 | if (obj3) { | |
15260 | { | |
15261 | arg4 = &temp4; | |
15262 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15263 | } | |
15264 | } | |
8edf1c75 | 15265 | if (obj4) { |
2f4c0a16 RD |
15266 | arg5 = (long) SWIG_AsLong(obj4); |
15267 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15268 | } |
d14a1e28 RD |
15269 | if (obj5) { |
15270 | { | |
15271 | arg6 = wxString_in_helper(obj5); | |
15272 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 15273 | temp6 = True; |
d14a1e28 RD |
15274 | } |
15275 | } | |
15276 | { | |
15277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15278 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
15279 | ||
15280 | wxPyEndAllowThreads(__tstate); | |
15281 | if (PyErr_Occurred()) SWIG_fail; | |
15282 | } | |
2f4c0a16 | 15283 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
15284 | { |
15285 | if (temp6) | |
15286 | delete arg6; | |
15287 | } | |
15288 | return resultobj; | |
15289 | fail: | |
15290 | { | |
15291 | if (temp6) | |
15292 | delete arg6; | |
15293 | } | |
15294 | return NULL; | |
15295 | } | |
15296 | ||
15297 | ||
2f4c0a16 | 15298 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15299 | PyObject *resultobj; |
15300 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15301 | PyObject *arg2 = (PyObject *) 0 ; | |
15302 | PyObject *arg3 = (PyObject *) 0 ; | |
15303 | PyObject * obj0 = 0 ; | |
15304 | PyObject * obj1 = 0 ; | |
15305 | PyObject * obj2 = 0 ; | |
15306 | char *kwnames[] = { | |
15307 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
15308 | }; | |
15309 | ||
15310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
15311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15313 | arg2 = obj1; |
15314 | arg3 = obj2; | |
15315 | { | |
15316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15317 | (arg1)->_setCallbackInfo(arg2,arg3); | |
15318 | ||
15319 | wxPyEndAllowThreads(__tstate); | |
15320 | if (PyErr_Occurred()) SWIG_fail; | |
15321 | } | |
15322 | Py_INCREF(Py_None); resultobj = Py_None; | |
15323 | return resultobj; | |
15324 | fail: | |
15325 | return NULL; | |
15326 | } | |
15327 | ||
15328 | ||
2f4c0a16 | 15329 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15330 | PyObject *resultobj; |
15331 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15332 | int arg2 ; | |
15333 | int arg3 ; | |
15334 | int arg4 ; | |
15335 | int arg5 ; | |
15336 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15337 | PyObject * obj1 = 0 ; |
15338 | PyObject * obj2 = 0 ; | |
15339 | PyObject * obj3 = 0 ; | |
15340 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
15341 | char *kwnames[] = { |
15342 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
15343 | }; | |
15344 | ||
8edf1c75 | 15345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
15346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15348 | arg2 = (int) SWIG_AsInt(obj1); | |
15349 | if (PyErr_Occurred()) SWIG_fail; | |
15350 | arg3 = (int) SWIG_AsInt(obj2); | |
15351 | if (PyErr_Occurred()) SWIG_fail; | |
15352 | arg4 = (int) SWIG_AsInt(obj3); | |
15353 | if (PyErr_Occurred()) SWIG_fail; | |
15354 | arg5 = (int) SWIG_AsInt(obj4); | |
15355 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15356 | { |
15357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15358 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
15359 | ||
15360 | wxPyEndAllowThreads(__tstate); | |
15361 | if (PyErr_Occurred()) SWIG_fail; | |
15362 | } | |
15363 | Py_INCREF(Py_None); resultobj = Py_None; | |
15364 | return resultobj; | |
15365 | fail: | |
15366 | return NULL; | |
15367 | } | |
15368 | ||
15369 | ||
2f4c0a16 | 15370 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15371 | PyObject *resultobj; |
15372 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15373 | int arg2 ; | |
15374 | int arg3 ; | |
15375 | int arg4 ; | |
15376 | int arg5 ; | |
15377 | int arg6 = (int) wxSIZE_AUTO ; | |
15378 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15379 | PyObject * obj1 = 0 ; |
15380 | PyObject * obj2 = 0 ; | |
15381 | PyObject * obj3 = 0 ; | |
15382 | PyObject * obj4 = 0 ; | |
15383 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
15384 | char *kwnames[] = { |
15385 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
15386 | }; | |
15387 | ||
8edf1c75 | 15388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
15389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15391 | arg2 = (int) SWIG_AsInt(obj1); | |
15392 | if (PyErr_Occurred()) SWIG_fail; | |
15393 | arg3 = (int) SWIG_AsInt(obj2); | |
15394 | if (PyErr_Occurred()) SWIG_fail; | |
15395 | arg4 = (int) SWIG_AsInt(obj3); | |
15396 | if (PyErr_Occurred()) SWIG_fail; | |
15397 | arg5 = (int) SWIG_AsInt(obj4); | |
15398 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15399 | if (obj5) { |
2f4c0a16 RD |
15400 | arg6 = (int) SWIG_AsInt(obj5); |
15401 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 15402 | } |
d14a1e28 RD |
15403 | { |
15404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15405 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
15406 | ||
15407 | wxPyEndAllowThreads(__tstate); | |
15408 | if (PyErr_Occurred()) SWIG_fail; | |
15409 | } | |
15410 | Py_INCREF(Py_None); resultobj = Py_None; | |
15411 | return resultobj; | |
15412 | fail: | |
15413 | return NULL; | |
15414 | } | |
15415 | ||
15416 | ||
2f4c0a16 | 15417 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15418 | PyObject *resultobj; |
15419 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15420 | int arg2 ; | |
15421 | int arg3 ; | |
15422 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15423 | PyObject * obj1 = 0 ; |
15424 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15425 | char *kwnames[] = { |
15426 | (char *) "self",(char *) "width",(char *) "height", NULL | |
15427 | }; | |
15428 | ||
8edf1c75 | 15429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
15430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15432 | arg2 = (int) SWIG_AsInt(obj1); | |
15433 | if (PyErr_Occurred()) SWIG_fail; | |
15434 | arg3 = (int) SWIG_AsInt(obj2); | |
15435 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15436 | { |
15437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15438 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
15439 | ||
15440 | wxPyEndAllowThreads(__tstate); | |
15441 | if (PyErr_Occurred()) SWIG_fail; | |
15442 | } | |
15443 | Py_INCREF(Py_None); resultobj = Py_None; | |
15444 | return resultobj; | |
15445 | fail: | |
15446 | return NULL; | |
15447 | } | |
15448 | ||
15449 | ||
2f4c0a16 | 15450 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15451 | PyObject *resultobj; |
15452 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15453 | int arg2 ; | |
15454 | int arg3 ; | |
15455 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
15456 | PyObject * obj1 = 0 ; |
15457 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
15458 | char *kwnames[] = { |
15459 | (char *) "self",(char *) "x",(char *) "y", NULL | |
15460 | }; | |
15461 | ||
8edf1c75 | 15462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
15463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15465 | arg2 = (int) SWIG_AsInt(obj1); | |
15466 | if (PyErr_Occurred()) SWIG_fail; | |
15467 | arg3 = (int) SWIG_AsInt(obj2); | |
15468 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
15469 | { |
15470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15471 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
15472 | ||
15473 | wxPyEndAllowThreads(__tstate); | |
15474 | if (PyErr_Occurred()) SWIG_fail; | |
15475 | } | |
15476 | Py_INCREF(Py_None); resultobj = Py_None; | |
15477 | return resultobj; | |
15478 | fail: | |
15479 | return NULL; | |
15480 | } | |
15481 | ||
15482 | ||
2f4c0a16 | 15483 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15484 | PyObject *resultobj; |
15485 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15486 | int *arg2 = (int *) 0 ; | |
15487 | int *arg3 = (int *) 0 ; | |
15488 | int temp2 ; | |
15489 | int temp3 ; | |
15490 | PyObject * obj0 = 0 ; | |
15491 | char *kwnames[] = { | |
15492 | (char *) "self", NULL | |
15493 | }; | |
15494 | ||
15495 | arg2 = &temp2; | |
15496 | arg3 = &temp3; | |
15497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15498 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15500 | { |
15501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15502 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
15503 | ||
15504 | wxPyEndAllowThreads(__tstate); | |
15505 | if (PyErr_Occurred()) SWIG_fail; | |
15506 | } | |
15507 | Py_INCREF(Py_None); resultobj = Py_None; | |
15508 | { | |
15509 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15510 | resultobj = t_output_helper(resultobj,o); | |
15511 | } | |
15512 | { | |
15513 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15514 | resultobj = t_output_helper(resultobj,o); | |
15515 | } | |
15516 | return resultobj; | |
15517 | fail: | |
15518 | return NULL; | |
15519 | } | |
15520 | ||
15521 | ||
2f4c0a16 | 15522 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15523 | PyObject *resultobj; |
15524 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15525 | int *arg2 = (int *) 0 ; | |
15526 | int *arg3 = (int *) 0 ; | |
15527 | int temp2 ; | |
15528 | int temp3 ; | |
15529 | PyObject * obj0 = 0 ; | |
15530 | char *kwnames[] = { | |
15531 | (char *) "self", NULL | |
15532 | }; | |
15533 | ||
15534 | arg2 = &temp2; | |
15535 | arg3 = &temp3; | |
15536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15539 | { |
15540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15541 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
15542 | ||
15543 | wxPyEndAllowThreads(__tstate); | |
15544 | if (PyErr_Occurred()) SWIG_fail; | |
15545 | } | |
15546 | Py_INCREF(Py_None); resultobj = Py_None; | |
15547 | { | |
15548 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15549 | resultobj = t_output_helper(resultobj,o); | |
15550 | } | |
15551 | { | |
15552 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15553 | resultobj = t_output_helper(resultobj,o); | |
15554 | } | |
15555 | return resultobj; | |
15556 | fail: | |
15557 | return NULL; | |
15558 | } | |
15559 | ||
15560 | ||
2f4c0a16 | 15561 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15562 | PyObject *resultobj; |
15563 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15564 | int *arg2 = (int *) 0 ; | |
15565 | int *arg3 = (int *) 0 ; | |
15566 | int temp2 ; | |
15567 | int temp3 ; | |
15568 | PyObject * obj0 = 0 ; | |
15569 | char *kwnames[] = { | |
15570 | (char *) "self", NULL | |
15571 | }; | |
15572 | ||
15573 | arg2 = &temp2; | |
15574 | arg3 = &temp3; | |
15575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15576 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15577 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15578 | { |
15579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15580 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
15581 | ||
15582 | wxPyEndAllowThreads(__tstate); | |
15583 | if (PyErr_Occurred()) SWIG_fail; | |
15584 | } | |
15585 | Py_INCREF(Py_None); resultobj = Py_None; | |
15586 | { | |
15587 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
15588 | resultobj = t_output_helper(resultobj,o); | |
15589 | } | |
15590 | { | |
15591 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
15592 | resultobj = t_output_helper(resultobj,o); | |
15593 | } | |
15594 | return resultobj; | |
15595 | fail: | |
15596 | return NULL; | |
15597 | } | |
15598 | ||
15599 | ||
2f4c0a16 | 15600 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15601 | PyObject *resultobj; |
15602 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15603 | wxSize result; | |
15604 | PyObject * obj0 = 0 ; | |
15605 | char *kwnames[] = { | |
15606 | (char *) "self", NULL | |
15607 | }; | |
15608 | ||
15609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15612 | { |
15613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15614 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
15615 | ||
15616 | wxPyEndAllowThreads(__tstate); | |
15617 | if (PyErr_Occurred()) SWIG_fail; | |
15618 | } | |
15619 | { | |
15620 | wxSize * resultptr; | |
15621 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15622 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15623 | } |
15624 | return resultobj; | |
15625 | fail: | |
15626 | return NULL; | |
15627 | } | |
15628 | ||
15629 | ||
2f4c0a16 | 15630 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15631 | PyObject *resultobj; |
15632 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15633 | wxSize result; | |
15634 | PyObject * obj0 = 0 ; | |
15635 | char *kwnames[] = { | |
15636 | (char *) "self", NULL | |
15637 | }; | |
15638 | ||
15639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15642 | { |
15643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15644 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
15645 | ||
15646 | wxPyEndAllowThreads(__tstate); | |
15647 | if (PyErr_Occurred()) SWIG_fail; | |
15648 | } | |
15649 | { | |
15650 | wxSize * resultptr; | |
15651 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15652 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15653 | } |
15654 | return resultobj; | |
15655 | fail: | |
15656 | return NULL; | |
15657 | } | |
15658 | ||
15659 | ||
2f4c0a16 | 15660 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15661 | PyObject *resultobj; |
15662 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15663 | PyObject * obj0 = 0 ; | |
15664 | char *kwnames[] = { | |
15665 | (char *) "self", NULL | |
15666 | }; | |
15667 | ||
15668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15671 | { |
15672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15673 | (arg1)->base_InitDialog(); | |
15674 | ||
15675 | wxPyEndAllowThreads(__tstate); | |
15676 | if (PyErr_Occurred()) SWIG_fail; | |
15677 | } | |
15678 | Py_INCREF(Py_None); resultobj = Py_None; | |
15679 | return resultobj; | |
15680 | fail: | |
15681 | return NULL; | |
15682 | } | |
15683 | ||
15684 | ||
2f4c0a16 | 15685 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15686 | PyObject *resultobj; |
15687 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15688 | bool result; | |
15689 | PyObject * obj0 = 0 ; | |
15690 | char *kwnames[] = { | |
15691 | (char *) "self", NULL | |
15692 | }; | |
15693 | ||
15694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15697 | { |
15698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15699 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
15700 | ||
15701 | wxPyEndAllowThreads(__tstate); | |
15702 | if (PyErr_Occurred()) SWIG_fail; | |
15703 | } | |
02a34c4c | 15704 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15705 | return resultobj; |
15706 | fail: | |
15707 | return NULL; | |
15708 | } | |
15709 | ||
15710 | ||
2f4c0a16 | 15711 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15712 | PyObject *resultobj; |
15713 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15714 | bool result; | |
15715 | PyObject * obj0 = 0 ; | |
15716 | char *kwnames[] = { | |
15717 | (char *) "self", NULL | |
15718 | }; | |
15719 | ||
15720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15721 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15722 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15723 | { |
15724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15725 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
15726 | ||
15727 | wxPyEndAllowThreads(__tstate); | |
15728 | if (PyErr_Occurred()) SWIG_fail; | |
15729 | } | |
02a34c4c | 15730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15731 | return resultobj; |
15732 | fail: | |
15733 | return NULL; | |
15734 | } | |
15735 | ||
15736 | ||
2f4c0a16 | 15737 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15738 | PyObject *resultobj; |
15739 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15740 | bool result; | |
15741 | PyObject * obj0 = 0 ; | |
15742 | char *kwnames[] = { | |
15743 | (char *) "self", NULL | |
15744 | }; | |
15745 | ||
15746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15747 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15748 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15749 | { |
15750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15751 | result = (bool)(arg1)->base_Validate(); | |
15752 | ||
15753 | wxPyEndAllowThreads(__tstate); | |
15754 | if (PyErr_Occurred()) SWIG_fail; | |
15755 | } | |
02a34c4c | 15756 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15757 | return resultobj; |
15758 | fail: | |
15759 | return NULL; | |
15760 | } | |
15761 | ||
15762 | ||
2f4c0a16 | 15763 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15764 | PyObject *resultobj; |
15765 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15766 | bool result; | |
15767 | PyObject * obj0 = 0 ; | |
15768 | char *kwnames[] = { | |
15769 | (char *) "self", NULL | |
15770 | }; | |
15771 | ||
15772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15773 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15774 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15775 | { |
15776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15777 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
15778 | ||
15779 | wxPyEndAllowThreads(__tstate); | |
15780 | if (PyErr_Occurred()) SWIG_fail; | |
15781 | } | |
02a34c4c | 15782 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15783 | return resultobj; |
15784 | fail: | |
15785 | return NULL; | |
15786 | } | |
15787 | ||
15788 | ||
2f4c0a16 | 15789 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15790 | PyObject *resultobj; |
15791 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15792 | bool result; | |
15793 | PyObject * obj0 = 0 ; | |
15794 | char *kwnames[] = { | |
15795 | (char *) "self", NULL | |
15796 | }; | |
15797 | ||
15798 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15799 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15800 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15801 | { |
15802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15803 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
15804 | ||
15805 | wxPyEndAllowThreads(__tstate); | |
15806 | if (PyErr_Occurred()) SWIG_fail; | |
15807 | } | |
02a34c4c | 15808 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
15809 | return resultobj; |
15810 | fail: | |
15811 | return NULL; | |
15812 | } | |
15813 | ||
15814 | ||
2f4c0a16 | 15815 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15816 | PyObject *resultobj; |
15817 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15818 | wxSize result; | |
15819 | PyObject * obj0 = 0 ; | |
15820 | char *kwnames[] = { | |
15821 | (char *) "self", NULL | |
15822 | }; | |
15823 | ||
15824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15827 | { |
15828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15829 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
15830 | ||
15831 | wxPyEndAllowThreads(__tstate); | |
15832 | if (PyErr_Occurred()) SWIG_fail; | |
15833 | } | |
15834 | { | |
15835 | wxSize * resultptr; | |
15836 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 15837 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
15838 | } |
15839 | return resultobj; | |
15840 | fail: | |
15841 | return NULL; | |
15842 | } | |
15843 | ||
15844 | ||
2f4c0a16 | 15845 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15846 | PyObject *resultobj; |
15847 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15848 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15849 | PyObject * obj0 = 0 ; | |
15850 | PyObject * obj1 = 0 ; | |
15851 | char *kwnames[] = { | |
15852 | (char *) "self",(char *) "child", NULL | |
15853 | }; | |
15854 | ||
15855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15858 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15860 | { |
15861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15862 | (arg1)->base_AddChild(arg2); | |
15863 | ||
15864 | wxPyEndAllowThreads(__tstate); | |
15865 | if (PyErr_Occurred()) SWIG_fail; | |
15866 | } | |
15867 | Py_INCREF(Py_None); resultobj = Py_None; | |
15868 | return resultobj; | |
15869 | fail: | |
15870 | return NULL; | |
15871 | } | |
15872 | ||
15873 | ||
2f4c0a16 | 15874 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15875 | PyObject *resultobj; |
15876 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
15877 | wxWindow *arg2 = (wxWindow *) 0 ; | |
15878 | PyObject * obj0 = 0 ; | |
15879 | PyObject * obj1 = 0 ; | |
15880 | char *kwnames[] = { | |
15881 | (char *) "self",(char *) "child", NULL | |
15882 | }; | |
15883 | ||
15884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
15885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
15886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15887 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15889 | { |
15890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15891 | (arg1)->base_RemoveChild(arg2); | |
15892 | ||
15893 | wxPyEndAllowThreads(__tstate); | |
15894 | if (PyErr_Occurred()) SWIG_fail; | |
15895 | } | |
15896 | Py_INCREF(Py_None); resultobj = Py_None; | |
15897 | return resultobj; | |
15898 | fail: | |
15899 | return NULL; | |
15900 | } | |
15901 | ||
15902 | ||
2f4c0a16 | 15903 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15904 | PyObject *obj; |
15905 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15906 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
15907 | Py_INCREF(obj); | |
15908 | return Py_BuildValue((char *)""); | |
15909 | } | |
8edf1c75 | 15910 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
cbd72d4f RD |
15911 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
15912 | return 1; | |
15913 | } | |
15914 | ||
15915 | ||
15916 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
15917 | PyObject *pyobj; | |
15918 | ||
15919 | { | |
15920 | #if wxUSE_UNICODE | |
15921 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
15922 | #else | |
15923 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
15924 | #endif | |
15925 | } | |
15926 | return pyobj; | |
15927 | } | |
15928 | ||
15929 | ||
8edf1c75 | 15930 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
cbd72d4f RD |
15931 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
15932 | return 1; | |
15933 | } | |
15934 | ||
15935 | ||
15936 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
15937 | PyObject *pyobj; | |
15938 | ||
15939 | { | |
15940 | #if wxUSE_UNICODE | |
15941 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
15942 | #else | |
15943 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
15944 | #endif | |
15945 | } | |
15946 | return pyobj; | |
15947 | } | |
15948 | ||
15949 | ||
2f4c0a16 | 15950 | static PyObject *_wrap_new_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15951 | PyObject *resultobj; |
15952 | wxPrintData *result; | |
15953 | char *kwnames[] = { | |
15954 | NULL | |
15955 | }; | |
15956 | ||
15957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail; | |
15958 | { | |
15959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15960 | result = (wxPrintData *)new wxPrintData(); | |
15961 | ||
15962 | wxPyEndAllowThreads(__tstate); | |
15963 | if (PyErr_Occurred()) SWIG_fail; | |
15964 | } | |
2f4c0a16 | 15965 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); |
d14a1e28 RD |
15966 | return resultobj; |
15967 | fail: | |
15968 | return NULL; | |
15969 | } | |
15970 | ||
15971 | ||
2f4c0a16 | 15972 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15973 | PyObject *resultobj; |
15974 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
15975 | PyObject * obj0 = 0 ; | |
15976 | char *kwnames[] = { | |
15977 | (char *) "self", NULL | |
15978 | }; | |
15979 | ||
15980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
15981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
15982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15983 | { |
15984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15985 | delete arg1; | |
15986 | ||
15987 | wxPyEndAllowThreads(__tstate); | |
15988 | if (PyErr_Occurred()) SWIG_fail; | |
15989 | } | |
15990 | Py_INCREF(Py_None); resultobj = Py_None; | |
15991 | return resultobj; | |
15992 | fail: | |
15993 | return NULL; | |
15994 | } | |
15995 | ||
15996 | ||
2f4c0a16 | 15997 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15998 | PyObject *resultobj; |
15999 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16000 | int result; | |
16001 | PyObject * obj0 = 0 ; | |
16002 | char *kwnames[] = { | |
16003 | (char *) "self", NULL | |
16004 | }; | |
16005 | ||
16006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16009 | { |
16010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16011 | result = (int)(arg1)->GetNoCopies(); | |
16012 | ||
16013 | wxPyEndAllowThreads(__tstate); | |
16014 | if (PyErr_Occurred()) SWIG_fail; | |
16015 | } | |
2f4c0a16 | 16016 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16017 | return resultobj; |
16018 | fail: | |
16019 | return NULL; | |
16020 | } | |
16021 | ||
16022 | ||
2f4c0a16 | 16023 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16024 | PyObject *resultobj; |
16025 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16026 | bool result; | |
16027 | PyObject * obj0 = 0 ; | |
16028 | char *kwnames[] = { | |
16029 | (char *) "self", NULL | |
16030 | }; | |
16031 | ||
16032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16033 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16034 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16035 | { |
16036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16037 | result = (bool)(arg1)->GetCollate(); | |
16038 | ||
16039 | wxPyEndAllowThreads(__tstate); | |
16040 | if (PyErr_Occurred()) SWIG_fail; | |
16041 | } | |
02a34c4c | 16042 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16043 | return resultobj; |
16044 | fail: | |
16045 | return NULL; | |
16046 | } | |
16047 | ||
16048 | ||
2f4c0a16 | 16049 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16050 | PyObject *resultobj; |
16051 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16052 | int result; | |
16053 | PyObject * obj0 = 0 ; | |
16054 | char *kwnames[] = { | |
16055 | (char *) "self", NULL | |
16056 | }; | |
16057 | ||
16058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16061 | { |
16062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16063 | result = (int)(arg1)->GetOrientation(); | |
16064 | ||
16065 | wxPyEndAllowThreads(__tstate); | |
16066 | if (PyErr_Occurred()) SWIG_fail; | |
16067 | } | |
2f4c0a16 | 16068 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16069 | return resultobj; |
16070 | fail: | |
16071 | return NULL; | |
16072 | } | |
16073 | ||
16074 | ||
2f4c0a16 | 16075 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16076 | PyObject *resultobj; |
16077 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16078 | bool result; | |
16079 | PyObject * obj0 = 0 ; | |
16080 | char *kwnames[] = { | |
16081 | (char *) "self", NULL | |
16082 | }; | |
16083 | ||
16084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16087 | { |
16088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16089 | result = (bool)(arg1)->Ok(); | |
16090 | ||
16091 | wxPyEndAllowThreads(__tstate); | |
16092 | if (PyErr_Occurred()) SWIG_fail; | |
16093 | } | |
02a34c4c | 16094 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16095 | return resultobj; |
16096 | fail: | |
16097 | return NULL; | |
16098 | } | |
16099 | ||
16100 | ||
2f4c0a16 | 16101 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16102 | PyObject *resultobj; |
16103 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16104 | wxString *result; | |
16105 | PyObject * obj0 = 0 ; | |
16106 | char *kwnames[] = { | |
16107 | (char *) "self", NULL | |
16108 | }; | |
16109 | ||
16110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16111 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16112 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16113 | { |
16114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16115 | { | |
16116 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
16117 | result = (wxString *) &_result_ref; | |
16118 | } | |
16119 | ||
16120 | wxPyEndAllowThreads(__tstate); | |
16121 | if (PyErr_Occurred()) SWIG_fail; | |
16122 | } | |
0f774bef RD |
16123 | { |
16124 | #if wxUSE_UNICODE | |
16125 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16126 | #else | |
16127 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16128 | #endif | |
16129 | } | |
d14a1e28 RD |
16130 | return resultobj; |
16131 | fail: | |
16132 | return NULL; | |
16133 | } | |
16134 | ||
16135 | ||
2f4c0a16 | 16136 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16137 | PyObject *resultobj; |
16138 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16139 | bool result; | |
16140 | PyObject * obj0 = 0 ; | |
16141 | char *kwnames[] = { | |
16142 | (char *) "self", NULL | |
16143 | }; | |
16144 | ||
16145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16148 | { |
16149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16150 | result = (bool)(arg1)->GetColour(); | |
16151 | ||
16152 | wxPyEndAllowThreads(__tstate); | |
16153 | if (PyErr_Occurred()) SWIG_fail; | |
16154 | } | |
02a34c4c | 16155 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
16156 | return resultobj; |
16157 | fail: | |
16158 | return NULL; | |
16159 | } | |
16160 | ||
16161 | ||
2f4c0a16 | 16162 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16163 | PyObject *resultobj; |
16164 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16165 | int result; | |
16166 | PyObject * obj0 = 0 ; | |
16167 | char *kwnames[] = { | |
16168 | (char *) "self", NULL | |
16169 | }; | |
16170 | ||
16171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16172 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16173 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16174 | { |
16175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16176 | result = (int)(arg1)->GetDuplex(); | |
16177 | ||
16178 | wxPyEndAllowThreads(__tstate); | |
16179 | if (PyErr_Occurred()) SWIG_fail; | |
16180 | } | |
2f4c0a16 | 16181 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16182 | return resultobj; |
16183 | fail: | |
16184 | return NULL; | |
16185 | } | |
16186 | ||
16187 | ||
2f4c0a16 | 16188 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16189 | PyObject *resultobj; |
16190 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16191 | int result; | |
16192 | PyObject * obj0 = 0 ; | |
16193 | char *kwnames[] = { | |
16194 | (char *) "self", NULL | |
16195 | }; | |
16196 | ||
16197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16200 | { |
16201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16202 | result = (int)(arg1)->GetPaperId(); | |
16203 | ||
16204 | wxPyEndAllowThreads(__tstate); | |
16205 | if (PyErr_Occurred()) SWIG_fail; | |
16206 | } | |
2f4c0a16 | 16207 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16208 | return resultobj; |
16209 | fail: | |
16210 | return NULL; | |
16211 | } | |
16212 | ||
16213 | ||
2f4c0a16 | 16214 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16215 | PyObject *resultobj; |
16216 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16217 | wxSize *result; | |
16218 | PyObject * obj0 = 0 ; | |
16219 | char *kwnames[] = { | |
16220 | (char *) "self", NULL | |
16221 | }; | |
16222 | ||
16223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16226 | { |
16227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16228 | { | |
16229 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
16230 | result = (wxSize *) &_result_ref; | |
16231 | } | |
16232 | ||
16233 | wxPyEndAllowThreads(__tstate); | |
16234 | if (PyErr_Occurred()) SWIG_fail; | |
16235 | } | |
2f4c0a16 | 16236 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
16237 | return resultobj; |
16238 | fail: | |
16239 | return NULL; | |
16240 | } | |
16241 | ||
16242 | ||
2f4c0a16 | 16243 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16244 | PyObject *resultobj; |
16245 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
cbd72d4f | 16246 | int result; |
d14a1e28 RD |
16247 | PyObject * obj0 = 0 ; |
16248 | char *kwnames[] = { | |
16249 | (char *) "self", NULL | |
16250 | }; | |
16251 | ||
16252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16255 | { |
16256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cbd72d4f | 16257 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
16258 | |
16259 | wxPyEndAllowThreads(__tstate); | |
16260 | if (PyErr_Occurred()) SWIG_fail; | |
16261 | } | |
2f4c0a16 | 16262 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16263 | return resultobj; |
16264 | fail: | |
16265 | return NULL; | |
16266 | } | |
16267 | ||
16268 | ||
2f4c0a16 | 16269 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16270 | PyObject *resultobj; |
16271 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16272 | int arg2 ; | |
16273 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16274 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16275 | char *kwnames[] = { |
16276 | (char *) "self",(char *) "v", NULL | |
16277 | }; | |
16278 | ||
8edf1c75 | 16279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16282 | arg2 = (int) SWIG_AsInt(obj1); | |
16283 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16284 | { |
16285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16286 | (arg1)->SetNoCopies(arg2); | |
16287 | ||
16288 | wxPyEndAllowThreads(__tstate); | |
16289 | if (PyErr_Occurred()) SWIG_fail; | |
16290 | } | |
16291 | Py_INCREF(Py_None); resultobj = Py_None; | |
16292 | return resultobj; | |
16293 | fail: | |
16294 | return NULL; | |
16295 | } | |
16296 | ||
16297 | ||
2f4c0a16 | 16298 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16299 | PyObject *resultobj; |
16300 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16301 | bool arg2 ; | |
16302 | PyObject * obj0 = 0 ; | |
16303 | PyObject * obj1 = 0 ; | |
16304 | char *kwnames[] = { | |
16305 | (char *) "self",(char *) "flag", NULL | |
16306 | }; | |
16307 | ||
16308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16309 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16310 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16311 | arg2 = (bool) SWIG_AsBool(obj1); | |
16312 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16313 | { |
16314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16315 | (arg1)->SetCollate(arg2); | |
16316 | ||
16317 | wxPyEndAllowThreads(__tstate); | |
16318 | if (PyErr_Occurred()) SWIG_fail; | |
16319 | } | |
16320 | Py_INCREF(Py_None); resultobj = Py_None; | |
16321 | return resultobj; | |
16322 | fail: | |
16323 | return NULL; | |
16324 | } | |
16325 | ||
16326 | ||
2f4c0a16 | 16327 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16328 | PyObject *resultobj; |
16329 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16330 | int arg2 ; | |
16331 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16332 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16333 | char *kwnames[] = { |
16334 | (char *) "self",(char *) "orient", NULL | |
16335 | }; | |
16336 | ||
8edf1c75 | 16337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16340 | arg2 = (int) SWIG_AsInt(obj1); | |
16341 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16342 | { |
16343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16344 | (arg1)->SetOrientation(arg2); | |
16345 | ||
16346 | wxPyEndAllowThreads(__tstate); | |
16347 | if (PyErr_Occurred()) SWIG_fail; | |
16348 | } | |
16349 | Py_INCREF(Py_None); resultobj = Py_None; | |
16350 | return resultobj; | |
16351 | fail: | |
16352 | return NULL; | |
16353 | } | |
16354 | ||
16355 | ||
2f4c0a16 | 16356 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16357 | PyObject *resultobj; |
16358 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16359 | wxString *arg2 = 0 ; | |
423f194a | 16360 | bool temp2 = False ; |
d14a1e28 RD |
16361 | PyObject * obj0 = 0 ; |
16362 | PyObject * obj1 = 0 ; | |
16363 | char *kwnames[] = { | |
16364 | (char *) "self",(char *) "name", NULL | |
16365 | }; | |
16366 | ||
16367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16370 | { |
16371 | arg2 = wxString_in_helper(obj1); | |
16372 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16373 | temp2 = True; |
d14a1e28 RD |
16374 | } |
16375 | { | |
16376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16377 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
16378 | ||
16379 | wxPyEndAllowThreads(__tstate); | |
16380 | if (PyErr_Occurred()) SWIG_fail; | |
16381 | } | |
16382 | Py_INCREF(Py_None); resultobj = Py_None; | |
16383 | { | |
16384 | if (temp2) | |
16385 | delete arg2; | |
16386 | } | |
16387 | return resultobj; | |
16388 | fail: | |
16389 | { | |
16390 | if (temp2) | |
16391 | delete arg2; | |
16392 | } | |
16393 | return NULL; | |
16394 | } | |
16395 | ||
16396 | ||
2f4c0a16 | 16397 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16398 | PyObject *resultobj; |
16399 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16400 | bool arg2 ; | |
16401 | PyObject * obj0 = 0 ; | |
16402 | PyObject * obj1 = 0 ; | |
16403 | char *kwnames[] = { | |
16404 | (char *) "self",(char *) "colour", NULL | |
16405 | }; | |
16406 | ||
16407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16408 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16409 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16410 | arg2 = (bool) SWIG_AsBool(obj1); | |
16411 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16412 | { |
16413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16414 | (arg1)->SetColour(arg2); | |
16415 | ||
16416 | wxPyEndAllowThreads(__tstate); | |
16417 | if (PyErr_Occurred()) SWIG_fail; | |
16418 | } | |
16419 | Py_INCREF(Py_None); resultobj = Py_None; | |
16420 | return resultobj; | |
16421 | fail: | |
16422 | return NULL; | |
16423 | } | |
16424 | ||
16425 | ||
2f4c0a16 | 16426 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16427 | PyObject *resultobj; |
16428 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16429 | int arg2 ; | |
16430 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16431 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16432 | char *kwnames[] = { |
16433 | (char *) "self",(char *) "duplex", NULL | |
16434 | }; | |
16435 | ||
8edf1c75 | 16436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16437 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16438 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16439 | arg2 = (wxDuplexMode) SWIG_AsInt(obj1); | |
16440 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16441 | { |
16442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16443 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
16444 | ||
16445 | wxPyEndAllowThreads(__tstate); | |
16446 | if (PyErr_Occurred()) SWIG_fail; | |
16447 | } | |
16448 | Py_INCREF(Py_None); resultobj = Py_None; | |
16449 | return resultobj; | |
16450 | fail: | |
16451 | return NULL; | |
16452 | } | |
16453 | ||
16454 | ||
2f4c0a16 | 16455 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16456 | PyObject *resultobj; |
16457 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16458 | int arg2 ; | |
16459 | PyObject * obj0 = 0 ; | |
8edf1c75 | 16460 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16461 | char *kwnames[] = { |
16462 | (char *) "self",(char *) "sizeId", NULL | |
16463 | }; | |
16464 | ||
8edf1c75 | 16465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16466 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16467 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16468 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
16469 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16470 | { |
16471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16472 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
16473 | ||
16474 | wxPyEndAllowThreads(__tstate); | |
16475 | if (PyErr_Occurred()) SWIG_fail; | |
16476 | } | |
16477 | Py_INCREF(Py_None); resultobj = Py_None; | |
16478 | return resultobj; | |
16479 | fail: | |
16480 | return NULL; | |
16481 | } | |
16482 | ||
16483 | ||
2f4c0a16 | 16484 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16485 | PyObject *resultobj; |
16486 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16487 | wxSize *arg2 = 0 ; | |
16488 | wxSize temp2 ; | |
16489 | PyObject * obj0 = 0 ; | |
16490 | PyObject * obj1 = 0 ; | |
16491 | char *kwnames[] = { | |
16492 | (char *) "self",(char *) "sz", NULL | |
16493 | }; | |
16494 | ||
16495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16496 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16498 | { |
16499 | arg2 = &temp2; | |
16500 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16501 | } | |
16502 | { | |
16503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16504 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
16505 | ||
16506 | wxPyEndAllowThreads(__tstate); | |
16507 | if (PyErr_Occurred()) SWIG_fail; | |
16508 | } | |
16509 | Py_INCREF(Py_None); resultobj = Py_None; | |
16510 | return resultobj; | |
16511 | fail: | |
16512 | return NULL; | |
16513 | } | |
16514 | ||
16515 | ||
2f4c0a16 | 16516 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16517 | PyObject *resultobj; |
16518 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
cbd72d4f | 16519 | int arg2 ; |
d14a1e28 | 16520 | PyObject * obj0 = 0 ; |
8edf1c75 | 16521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16522 | char *kwnames[] = { |
16523 | (char *) "self",(char *) "quality", NULL | |
16524 | }; | |
16525 | ||
8edf1c75 | 16526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
16527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16529 | arg2 = (int) SWIG_AsInt(obj1); | |
16530 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
16531 | { |
16532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16533 | (arg1)->SetQuality(arg2); | |
16534 | ||
16535 | wxPyEndAllowThreads(__tstate); | |
16536 | if (PyErr_Occurred()) SWIG_fail; | |
16537 | } | |
16538 | Py_INCREF(Py_None); resultobj = Py_None; | |
16539 | return resultobj; | |
16540 | fail: | |
16541 | return NULL; | |
16542 | } | |
16543 | ||
16544 | ||
2f4c0a16 | 16545 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16546 | PyObject *resultobj; |
16547 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16548 | wxString *result; | |
16549 | PyObject * obj0 = 0 ; | |
16550 | char *kwnames[] = { | |
16551 | (char *) "self", NULL | |
16552 | }; | |
16553 | ||
16554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16557 | { |
16558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16559 | { | |
16560 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); | |
16561 | result = (wxString *) &_result_ref; | |
16562 | } | |
16563 | ||
16564 | wxPyEndAllowThreads(__tstate); | |
16565 | if (PyErr_Occurred()) SWIG_fail; | |
16566 | } | |
0f774bef RD |
16567 | { |
16568 | #if wxUSE_UNICODE | |
16569 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16570 | #else | |
16571 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16572 | #endif | |
16573 | } | |
d14a1e28 RD |
16574 | return resultobj; |
16575 | fail: | |
16576 | return NULL; | |
16577 | } | |
16578 | ||
16579 | ||
2f4c0a16 | 16580 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16581 | PyObject *resultobj; |
16582 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16583 | wxString *result; | |
16584 | PyObject * obj0 = 0 ; | |
16585 | char *kwnames[] = { | |
16586 | (char *) "self", NULL | |
16587 | }; | |
16588 | ||
16589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16590 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16591 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16592 | { |
16593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16594 | { | |
16595 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); | |
16596 | result = (wxString *) &_result_ref; | |
16597 | } | |
16598 | ||
16599 | wxPyEndAllowThreads(__tstate); | |
16600 | if (PyErr_Occurred()) SWIG_fail; | |
16601 | } | |
0f774bef RD |
16602 | { |
16603 | #if wxUSE_UNICODE | |
16604 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16605 | #else | |
16606 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16607 | #endif | |
16608 | } | |
d14a1e28 RD |
16609 | return resultobj; |
16610 | fail: | |
16611 | return NULL; | |
16612 | } | |
16613 | ||
16614 | ||
2f4c0a16 | 16615 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16616 | PyObject *resultobj; |
16617 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16618 | wxString *result; | |
16619 | PyObject * obj0 = 0 ; | |
16620 | char *kwnames[] = { | |
16621 | (char *) "self", NULL | |
16622 | }; | |
16623 | ||
16624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16625 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16626 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16627 | { |
16628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16629 | { | |
16630 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); | |
16631 | result = (wxString *) &_result_ref; | |
16632 | } | |
16633 | ||
16634 | wxPyEndAllowThreads(__tstate); | |
16635 | if (PyErr_Occurred()) SWIG_fail; | |
16636 | } | |
0f774bef RD |
16637 | { |
16638 | #if wxUSE_UNICODE | |
16639 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16640 | #else | |
16641 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16642 | #endif | |
16643 | } | |
d14a1e28 RD |
16644 | return resultobj; |
16645 | fail: | |
16646 | return NULL; | |
16647 | } | |
16648 | ||
16649 | ||
2f4c0a16 | 16650 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16651 | PyObject *resultobj; |
16652 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16653 | wxString *result; | |
16654 | PyObject * obj0 = 0 ; | |
16655 | char *kwnames[] = { | |
16656 | (char *) "self", NULL | |
16657 | }; | |
16658 | ||
16659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16662 | { |
16663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16664 | { | |
16665 | wxString const &_result_ref = (arg1)->GetFilename(); | |
16666 | result = (wxString *) &_result_ref; | |
16667 | } | |
16668 | ||
16669 | wxPyEndAllowThreads(__tstate); | |
16670 | if (PyErr_Occurred()) SWIG_fail; | |
16671 | } | |
0f774bef RD |
16672 | { |
16673 | #if wxUSE_UNICODE | |
16674 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16675 | #else | |
16676 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16677 | #endif | |
16678 | } | |
d14a1e28 RD |
16679 | return resultobj; |
16680 | fail: | |
16681 | return NULL; | |
16682 | } | |
16683 | ||
16684 | ||
2f4c0a16 | 16685 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16686 | PyObject *resultobj; |
16687 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16688 | wxString *result; | |
16689 | PyObject * obj0 = 0 ; | |
16690 | char *kwnames[] = { | |
16691 | (char *) "self", NULL | |
16692 | }; | |
16693 | ||
16694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16695 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16696 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16697 | { |
16698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16699 | { | |
16700 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
16701 | result = (wxString *) &_result_ref; | |
16702 | } | |
16703 | ||
16704 | wxPyEndAllowThreads(__tstate); | |
16705 | if (PyErr_Occurred()) SWIG_fail; | |
16706 | } | |
0f774bef RD |
16707 | { |
16708 | #if wxUSE_UNICODE | |
16709 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
16710 | #else | |
16711 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
16712 | #endif | |
16713 | } | |
d14a1e28 RD |
16714 | return resultobj; |
16715 | fail: | |
16716 | return NULL; | |
16717 | } | |
16718 | ||
16719 | ||
2f4c0a16 | 16720 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16721 | PyObject *resultobj; |
16722 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16723 | double result; | |
16724 | PyObject * obj0 = 0 ; | |
16725 | char *kwnames[] = { | |
16726 | (char *) "self", NULL | |
16727 | }; | |
16728 | ||
16729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16730 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16731 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16732 | { |
16733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16734 | result = (double)(arg1)->GetPrinterScaleX(); | |
16735 | ||
16736 | wxPyEndAllowThreads(__tstate); | |
16737 | if (PyErr_Occurred()) SWIG_fail; | |
16738 | } | |
2f4c0a16 | 16739 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
16740 | return resultobj; |
16741 | fail: | |
16742 | return NULL; | |
16743 | } | |
16744 | ||
16745 | ||
2f4c0a16 | 16746 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16747 | PyObject *resultobj; |
16748 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16749 | double result; | |
16750 | PyObject * obj0 = 0 ; | |
16751 | char *kwnames[] = { | |
16752 | (char *) "self", NULL | |
16753 | }; | |
16754 | ||
16755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16756 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16757 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16758 | { |
16759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16760 | result = (double)(arg1)->GetPrinterScaleY(); | |
16761 | ||
16762 | wxPyEndAllowThreads(__tstate); | |
16763 | if (PyErr_Occurred()) SWIG_fail; | |
16764 | } | |
2f4c0a16 | 16765 | resultobj = SWIG_FromDouble((double)result); |
d14a1e28 RD |
16766 | return resultobj; |
16767 | fail: | |
16768 | return NULL; | |
16769 | } | |
16770 | ||
16771 | ||
2f4c0a16 | 16772 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16773 | PyObject *resultobj; |
16774 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16775 | long result; | |
16776 | PyObject * obj0 = 0 ; | |
16777 | char *kwnames[] = { | |
16778 | (char *) "self", NULL | |
16779 | }; | |
16780 | ||
16781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16782 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16784 | { |
16785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16786 | result = (long)(arg1)->GetPrinterTranslateX(); | |
16787 | ||
16788 | wxPyEndAllowThreads(__tstate); | |
16789 | if (PyErr_Occurred()) SWIG_fail; | |
16790 | } | |
2f4c0a16 | 16791 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
16792 | return resultobj; |
16793 | fail: | |
16794 | return NULL; | |
16795 | } | |
16796 | ||
16797 | ||
2f4c0a16 | 16798 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16799 | PyObject *resultobj; |
16800 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16801 | long result; | |
16802 | PyObject * obj0 = 0 ; | |
16803 | char *kwnames[] = { | |
16804 | (char *) "self", NULL | |
16805 | }; | |
16806 | ||
16807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16810 | { |
16811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16812 | result = (long)(arg1)->GetPrinterTranslateY(); | |
16813 | ||
16814 | wxPyEndAllowThreads(__tstate); | |
16815 | if (PyErr_Occurred()) SWIG_fail; | |
16816 | } | |
2f4c0a16 | 16817 | resultobj = SWIG_FromLong((long)result); |
d14a1e28 RD |
16818 | return resultobj; |
16819 | fail: | |
16820 | return NULL; | |
16821 | } | |
16822 | ||
16823 | ||
2f4c0a16 | 16824 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16825 | PyObject *resultobj; |
16826 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16827 | int result; | |
16828 | PyObject * obj0 = 0 ; | |
16829 | char *kwnames[] = { | |
16830 | (char *) "self", NULL | |
16831 | }; | |
16832 | ||
16833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
16834 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16835 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16836 | { |
16837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16838 | result = (int)(arg1)->GetPrintMode(); | |
16839 | ||
16840 | wxPyEndAllowThreads(__tstate); | |
16841 | if (PyErr_Occurred()) SWIG_fail; | |
16842 | } | |
2f4c0a16 | 16843 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
16844 | return resultobj; |
16845 | fail: | |
16846 | return NULL; | |
16847 | } | |
16848 | ||
16849 | ||
2f4c0a16 | 16850 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16851 | PyObject *resultobj; |
16852 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16853 | wxString *arg2 = 0 ; | |
423f194a | 16854 | bool temp2 = False ; |
d14a1e28 RD |
16855 | PyObject * obj0 = 0 ; |
16856 | PyObject * obj1 = 0 ; | |
16857 | char *kwnames[] = { | |
16858 | (char *) "self",(char *) "command", NULL | |
16859 | }; | |
16860 | ||
16861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16864 | { |
16865 | arg2 = wxString_in_helper(obj1); | |
16866 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16867 | temp2 = True; |
d14a1e28 RD |
16868 | } |
16869 | { | |
16870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16871 | (arg1)->SetPrinterCommand((wxString const &)*arg2); | |
16872 | ||
16873 | wxPyEndAllowThreads(__tstate); | |
16874 | if (PyErr_Occurred()) SWIG_fail; | |
16875 | } | |
16876 | Py_INCREF(Py_None); resultobj = Py_None; | |
16877 | { | |
16878 | if (temp2) | |
16879 | delete arg2; | |
16880 | } | |
16881 | return resultobj; | |
16882 | fail: | |
16883 | { | |
16884 | if (temp2) | |
16885 | delete arg2; | |
16886 | } | |
16887 | return NULL; | |
16888 | } | |
16889 | ||
16890 | ||
2f4c0a16 | 16891 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16892 | PyObject *resultobj; |
16893 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16894 | wxString *arg2 = 0 ; | |
423f194a | 16895 | bool temp2 = False ; |
d14a1e28 RD |
16896 | PyObject * obj0 = 0 ; |
16897 | PyObject * obj1 = 0 ; | |
16898 | char *kwnames[] = { | |
16899 | (char *) "self",(char *) "options", NULL | |
16900 | }; | |
16901 | ||
16902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16905 | { |
16906 | arg2 = wxString_in_helper(obj1); | |
16907 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16908 | temp2 = True; |
d14a1e28 RD |
16909 | } |
16910 | { | |
16911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16912 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
16913 | ||
16914 | wxPyEndAllowThreads(__tstate); | |
16915 | if (PyErr_Occurred()) SWIG_fail; | |
16916 | } | |
16917 | Py_INCREF(Py_None); resultobj = Py_None; | |
16918 | { | |
16919 | if (temp2) | |
16920 | delete arg2; | |
16921 | } | |
16922 | return resultobj; | |
16923 | fail: | |
16924 | { | |
16925 | if (temp2) | |
16926 | delete arg2; | |
16927 | } | |
16928 | return NULL; | |
16929 | } | |
16930 | ||
16931 | ||
2f4c0a16 | 16932 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16933 | PyObject *resultobj; |
16934 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16935 | wxString *arg2 = 0 ; | |
423f194a | 16936 | bool temp2 = False ; |
d14a1e28 RD |
16937 | PyObject * obj0 = 0 ; |
16938 | PyObject * obj1 = 0 ; | |
16939 | char *kwnames[] = { | |
16940 | (char *) "self",(char *) "command", NULL | |
16941 | }; | |
16942 | ||
16943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16946 | { |
16947 | arg2 = wxString_in_helper(obj1); | |
16948 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16949 | temp2 = True; |
d14a1e28 RD |
16950 | } |
16951 | { | |
16952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16953 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
16954 | ||
16955 | wxPyEndAllowThreads(__tstate); | |
16956 | if (PyErr_Occurred()) SWIG_fail; | |
16957 | } | |
16958 | Py_INCREF(Py_None); resultobj = Py_None; | |
16959 | { | |
16960 | if (temp2) | |
16961 | delete arg2; | |
16962 | } | |
16963 | return resultobj; | |
16964 | fail: | |
16965 | { | |
16966 | if (temp2) | |
16967 | delete arg2; | |
16968 | } | |
16969 | return NULL; | |
16970 | } | |
16971 | ||
16972 | ||
2f4c0a16 | 16973 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16974 | PyObject *resultobj; |
16975 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
16976 | wxString *arg2 = 0 ; | |
423f194a | 16977 | bool temp2 = False ; |
d14a1e28 RD |
16978 | PyObject * obj0 = 0 ; |
16979 | PyObject * obj1 = 0 ; | |
16980 | char *kwnames[] = { | |
16981 | (char *) "self",(char *) "filename", NULL | |
16982 | }; | |
16983 | ||
16984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
16985 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
16986 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16987 | { |
16988 | arg2 = wxString_in_helper(obj1); | |
16989 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 16990 | temp2 = True; |
d14a1e28 RD |
16991 | } |
16992 | { | |
16993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16994 | (arg1)->SetFilename((wxString const &)*arg2); | |
16995 | ||
16996 | wxPyEndAllowThreads(__tstate); | |
16997 | if (PyErr_Occurred()) SWIG_fail; | |
16998 | } | |
16999 | Py_INCREF(Py_None); resultobj = Py_None; | |
17000 | { | |
17001 | if (temp2) | |
17002 | delete arg2; | |
17003 | } | |
17004 | return resultobj; | |
17005 | fail: | |
17006 | { | |
17007 | if (temp2) | |
17008 | delete arg2; | |
17009 | } | |
17010 | return NULL; | |
17011 | } | |
17012 | ||
17013 | ||
2f4c0a16 | 17014 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17015 | PyObject *resultobj; |
17016 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17017 | wxString *arg2 = 0 ; | |
423f194a | 17018 | bool temp2 = False ; |
d14a1e28 RD |
17019 | PyObject * obj0 = 0 ; |
17020 | PyObject * obj1 = 0 ; | |
17021 | char *kwnames[] = { | |
17022 | (char *) "self",(char *) "path", NULL | |
17023 | }; | |
17024 | ||
17025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17026 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17027 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17028 | { |
17029 | arg2 = wxString_in_helper(obj1); | |
17030 | if (arg2 == NULL) SWIG_fail; | |
423f194a | 17031 | temp2 = True; |
d14a1e28 RD |
17032 | } |
17033 | { | |
17034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17035 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
17036 | ||
17037 | wxPyEndAllowThreads(__tstate); | |
17038 | if (PyErr_Occurred()) SWIG_fail; | |
17039 | } | |
17040 | Py_INCREF(Py_None); resultobj = Py_None; | |
17041 | { | |
17042 | if (temp2) | |
17043 | delete arg2; | |
17044 | } | |
17045 | return resultobj; | |
17046 | fail: | |
17047 | { | |
17048 | if (temp2) | |
17049 | delete arg2; | |
17050 | } | |
17051 | return NULL; | |
17052 | } | |
17053 | ||
17054 | ||
2f4c0a16 | 17055 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17056 | PyObject *resultobj; |
17057 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17058 | double arg2 ; | |
17059 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17060 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17061 | char *kwnames[] = { |
17062 | (char *) "self",(char *) "x", NULL | |
17063 | }; | |
17064 | ||
8edf1c75 | 17065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17068 | arg2 = (double) SWIG_AsDouble(obj1); | |
17069 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17070 | { |
17071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17072 | (arg1)->SetPrinterScaleX(arg2); | |
17073 | ||
17074 | wxPyEndAllowThreads(__tstate); | |
17075 | if (PyErr_Occurred()) SWIG_fail; | |
17076 | } | |
17077 | Py_INCREF(Py_None); resultobj = Py_None; | |
17078 | return resultobj; | |
17079 | fail: | |
17080 | return NULL; | |
17081 | } | |
17082 | ||
17083 | ||
2f4c0a16 | 17084 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17085 | PyObject *resultobj; |
17086 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17087 | double arg2 ; | |
17088 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17089 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17090 | char *kwnames[] = { |
17091 | (char *) "self",(char *) "y", NULL | |
17092 | }; | |
17093 | ||
8edf1c75 | 17094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17095 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17096 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17097 | arg2 = (double) SWIG_AsDouble(obj1); | |
17098 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17099 | { |
17100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17101 | (arg1)->SetPrinterScaleY(arg2); | |
17102 | ||
17103 | wxPyEndAllowThreads(__tstate); | |
17104 | if (PyErr_Occurred()) SWIG_fail; | |
17105 | } | |
17106 | Py_INCREF(Py_None); resultobj = Py_None; | |
17107 | return resultobj; | |
17108 | fail: | |
17109 | return NULL; | |
17110 | } | |
17111 | ||
17112 | ||
2f4c0a16 | 17113 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17114 | PyObject *resultobj; |
17115 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17116 | double arg2 ; | |
17117 | double arg3 ; | |
17118 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17119 | PyObject * obj1 = 0 ; |
17120 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17121 | char *kwnames[] = { |
17122 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17123 | }; | |
17124 | ||
8edf1c75 | 17125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
17126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17128 | arg2 = (double) SWIG_AsDouble(obj1); | |
17129 | if (PyErr_Occurred()) SWIG_fail; | |
17130 | arg3 = (double) SWIG_AsDouble(obj2); | |
17131 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17132 | { |
17133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17134 | (arg1)->SetPrinterScaling(arg2,arg3); | |
17135 | ||
17136 | wxPyEndAllowThreads(__tstate); | |
17137 | if (PyErr_Occurred()) SWIG_fail; | |
17138 | } | |
17139 | Py_INCREF(Py_None); resultobj = Py_None; | |
17140 | return resultobj; | |
17141 | fail: | |
17142 | return NULL; | |
17143 | } | |
17144 | ||
17145 | ||
2f4c0a16 | 17146 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17147 | PyObject *resultobj; |
17148 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17149 | long arg2 ; | |
17150 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17151 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17152 | char *kwnames[] = { |
17153 | (char *) "self",(char *) "x", NULL | |
17154 | }; | |
17155 | ||
8edf1c75 | 17156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17159 | arg2 = (long) SWIG_AsLong(obj1); | |
17160 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17161 | { |
17162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17163 | (arg1)->SetPrinterTranslateX(arg2); | |
17164 | ||
17165 | wxPyEndAllowThreads(__tstate); | |
17166 | if (PyErr_Occurred()) SWIG_fail; | |
17167 | } | |
17168 | Py_INCREF(Py_None); resultobj = Py_None; | |
17169 | return resultobj; | |
17170 | fail: | |
17171 | return NULL; | |
17172 | } | |
17173 | ||
17174 | ||
2f4c0a16 | 17175 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17176 | PyObject *resultobj; |
17177 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17178 | long arg2 ; | |
17179 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17180 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17181 | char *kwnames[] = { |
17182 | (char *) "self",(char *) "y", NULL | |
17183 | }; | |
17184 | ||
8edf1c75 | 17185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17188 | arg2 = (long) SWIG_AsLong(obj1); | |
17189 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17190 | { |
17191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17192 | (arg1)->SetPrinterTranslateY(arg2); | |
17193 | ||
17194 | wxPyEndAllowThreads(__tstate); | |
17195 | if (PyErr_Occurred()) SWIG_fail; | |
17196 | } | |
17197 | Py_INCREF(Py_None); resultobj = Py_None; | |
17198 | return resultobj; | |
17199 | fail: | |
17200 | return NULL; | |
17201 | } | |
17202 | ||
17203 | ||
2f4c0a16 | 17204 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17205 | PyObject *resultobj; |
17206 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17207 | long arg2 ; | |
17208 | long arg3 ; | |
17209 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
17210 | PyObject * obj1 = 0 ; |
17211 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17212 | char *kwnames[] = { |
17213 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17214 | }; | |
17215 | ||
8edf1c75 | 17216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
17217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17219 | arg2 = (long) SWIG_AsLong(obj1); | |
17220 | if (PyErr_Occurred()) SWIG_fail; | |
17221 | arg3 = (long) SWIG_AsLong(obj2); | |
17222 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17223 | { |
17224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17225 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
17226 | ||
17227 | wxPyEndAllowThreads(__tstate); | |
17228 | if (PyErr_Occurred()) SWIG_fail; | |
17229 | } | |
17230 | Py_INCREF(Py_None); resultobj = Py_None; | |
17231 | return resultobj; | |
17232 | fail: | |
17233 | return NULL; | |
17234 | } | |
17235 | ||
17236 | ||
2f4c0a16 | 17237 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17238 | PyObject *resultobj; |
17239 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17240 | int arg2 ; | |
17241 | PyObject * obj0 = 0 ; | |
8edf1c75 | 17242 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
17243 | char *kwnames[] = { |
17244 | (char *) "self",(char *) "printMode", NULL | |
17245 | }; | |
17246 | ||
8edf1c75 | 17247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
17248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17250 | arg2 = (wxPrintMode) SWIG_AsInt(obj1); | |
17251 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17252 | { |
17253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17254 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
17255 | ||
17256 | wxPyEndAllowThreads(__tstate); | |
17257 | if (PyErr_Occurred()) SWIG_fail; | |
17258 | } | |
17259 | Py_INCREF(Py_None); resultobj = Py_None; | |
17260 | return resultobj; | |
17261 | fail: | |
17262 | return NULL; | |
17263 | } | |
17264 | ||
17265 | ||
2f4c0a16 | 17266 | static PyObject *_wrap_PrintData_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { |
0ffb2aa6 RD |
17267 | PyObject *resultobj; |
17268 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17269 | wxOutputStream *result; | |
17270 | PyObject * obj0 = 0 ; | |
17271 | char *kwnames[] = { | |
17272 | (char *) "self", NULL | |
17273 | }; | |
17274 | ||
17275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
0ffb2aa6 RD |
17278 | { |
17279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17280 | result = (wxOutputStream *)(arg1)->GetOutputStream(); | |
17281 | ||
17282 | wxPyEndAllowThreads(__tstate); | |
17283 | if (PyErr_Occurred()) SWIG_fail; | |
17284 | } | |
2f4c0a16 | 17285 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0); |
0ffb2aa6 RD |
17286 | return resultobj; |
17287 | fail: | |
17288 | return NULL; | |
17289 | } | |
17290 | ||
17291 | ||
2f4c0a16 | 17292 | static PyObject *_wrap_PrintData_SetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) { |
0ffb2aa6 RD |
17293 | PyObject *resultobj; |
17294 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
17295 | wxOutputStream *arg2 = (wxOutputStream *) 0 ; | |
17296 | PyObject * obj0 = 0 ; | |
17297 | PyObject * obj1 = 0 ; | |
17298 | char *kwnames[] = { | |
17299 | (char *) "self",(char *) "outputstream", NULL | |
17300 | }; | |
17301 | ||
17302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
17304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17305 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxOutputStream, | |
17306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
0ffb2aa6 RD |
17307 | { |
17308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17309 | (arg1)->SetOutputStream(arg2); | |
17310 | ||
17311 | wxPyEndAllowThreads(__tstate); | |
17312 | if (PyErr_Occurred()) SWIG_fail; | |
17313 | } | |
17314 | Py_INCREF(Py_None); resultobj = Py_None; | |
17315 | return resultobj; | |
17316 | fail: | |
17317 | return NULL; | |
17318 | } | |
17319 | ||
17320 | ||
2f4c0a16 | 17321 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
17322 | PyObject *obj; |
17323 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17324 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
17325 | Py_INCREF(obj); | |
17326 | return Py_BuildValue((char *)""); | |
17327 | } | |
2f4c0a16 | 17328 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17329 | PyObject *resultobj; |
17330 | wxPageSetupDialogData *result; | |
17331 | char *kwnames[] = { | |
17332 | NULL | |
17333 | }; | |
17334 | ||
17335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail; | |
17336 | { | |
17337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17338 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
17339 | ||
17340 | wxPyEndAllowThreads(__tstate); | |
17341 | if (PyErr_Occurred()) SWIG_fail; | |
17342 | } | |
2f4c0a16 | 17343 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
17344 | return resultobj; |
17345 | fail: | |
17346 | return NULL; | |
17347 | } | |
17348 | ||
17349 | ||
2f4c0a16 | 17350 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17351 | PyObject *resultobj; |
17352 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17353 | PyObject * obj0 = 0 ; | |
17354 | char *kwnames[] = { | |
17355 | (char *) "self", NULL | |
17356 | }; | |
17357 | ||
17358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17359 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17360 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17361 | { |
17362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17363 | delete arg1; | |
17364 | ||
17365 | wxPyEndAllowThreads(__tstate); | |
17366 | if (PyErr_Occurred()) SWIG_fail; | |
17367 | } | |
17368 | Py_INCREF(Py_None); resultobj = Py_None; | |
17369 | return resultobj; | |
17370 | fail: | |
17371 | return NULL; | |
17372 | } | |
17373 | ||
17374 | ||
2f4c0a16 | 17375 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17376 | PyObject *resultobj; |
17377 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17378 | bool arg2 ; | |
17379 | PyObject * obj0 = 0 ; | |
17380 | PyObject * obj1 = 0 ; | |
17381 | char *kwnames[] = { | |
17382 | (char *) "self",(char *) "flag", NULL | |
17383 | }; | |
17384 | ||
17385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17386 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17387 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17388 | arg2 = (bool) SWIG_AsBool(obj1); | |
17389 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17390 | { |
17391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17392 | (arg1)->EnableHelp(arg2); | |
17393 | ||
17394 | wxPyEndAllowThreads(__tstate); | |
17395 | if (PyErr_Occurred()) SWIG_fail; | |
17396 | } | |
17397 | Py_INCREF(Py_None); resultobj = Py_None; | |
17398 | return resultobj; | |
17399 | fail: | |
17400 | return NULL; | |
17401 | } | |
17402 | ||
17403 | ||
2f4c0a16 | 17404 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17405 | PyObject *resultobj; |
17406 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17407 | bool arg2 ; | |
17408 | PyObject * obj0 = 0 ; | |
17409 | PyObject * obj1 = 0 ; | |
17410 | char *kwnames[] = { | |
17411 | (char *) "self",(char *) "flag", NULL | |
17412 | }; | |
17413 | ||
17414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17417 | arg2 = (bool) SWIG_AsBool(obj1); | |
17418 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17419 | { |
17420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17421 | (arg1)->EnableMargins(arg2); | |
17422 | ||
17423 | wxPyEndAllowThreads(__tstate); | |
17424 | if (PyErr_Occurred()) SWIG_fail; | |
17425 | } | |
17426 | Py_INCREF(Py_None); resultobj = Py_None; | |
17427 | return resultobj; | |
17428 | fail: | |
17429 | return NULL; | |
17430 | } | |
17431 | ||
17432 | ||
2f4c0a16 | 17433 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17434 | PyObject *resultobj; |
17435 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17436 | bool arg2 ; | |
17437 | PyObject * obj0 = 0 ; | |
17438 | PyObject * obj1 = 0 ; | |
17439 | char *kwnames[] = { | |
17440 | (char *) "self",(char *) "flag", NULL | |
17441 | }; | |
17442 | ||
17443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17444 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17445 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17446 | arg2 = (bool) SWIG_AsBool(obj1); | |
17447 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17448 | { |
17449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17450 | (arg1)->EnableOrientation(arg2); | |
17451 | ||
17452 | wxPyEndAllowThreads(__tstate); | |
17453 | if (PyErr_Occurred()) SWIG_fail; | |
17454 | } | |
17455 | Py_INCREF(Py_None); resultobj = Py_None; | |
17456 | return resultobj; | |
17457 | fail: | |
17458 | return NULL; | |
17459 | } | |
17460 | ||
17461 | ||
2f4c0a16 | 17462 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17463 | PyObject *resultobj; |
17464 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17465 | bool arg2 ; | |
17466 | PyObject * obj0 = 0 ; | |
17467 | PyObject * obj1 = 0 ; | |
17468 | char *kwnames[] = { | |
17469 | (char *) "self",(char *) "flag", NULL | |
17470 | }; | |
17471 | ||
17472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17475 | arg2 = (bool) SWIG_AsBool(obj1); | |
17476 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17477 | { |
17478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17479 | (arg1)->EnablePaper(arg2); | |
17480 | ||
17481 | wxPyEndAllowThreads(__tstate); | |
17482 | if (PyErr_Occurred()) SWIG_fail; | |
17483 | } | |
17484 | Py_INCREF(Py_None); resultobj = Py_None; | |
17485 | return resultobj; | |
17486 | fail: | |
17487 | return NULL; | |
17488 | } | |
17489 | ||
17490 | ||
2f4c0a16 | 17491 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17492 | PyObject *resultobj; |
17493 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17494 | bool arg2 ; | |
17495 | PyObject * obj0 = 0 ; | |
17496 | PyObject * obj1 = 0 ; | |
17497 | char *kwnames[] = { | |
17498 | (char *) "self",(char *) "flag", NULL | |
17499 | }; | |
17500 | ||
17501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17502 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17503 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17504 | arg2 = (bool) SWIG_AsBool(obj1); | |
17505 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17506 | { |
17507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17508 | (arg1)->EnablePrinter(arg2); | |
17509 | ||
17510 | wxPyEndAllowThreads(__tstate); | |
17511 | if (PyErr_Occurred()) SWIG_fail; | |
17512 | } | |
17513 | Py_INCREF(Py_None); resultobj = Py_None; | |
17514 | return resultobj; | |
17515 | fail: | |
17516 | return NULL; | |
17517 | } | |
17518 | ||
17519 | ||
2f4c0a16 | 17520 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17521 | PyObject *resultobj; |
17522 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17523 | bool result; | |
17524 | PyObject * obj0 = 0 ; | |
17525 | char *kwnames[] = { | |
17526 | (char *) "self", NULL | |
17527 | }; | |
17528 | ||
17529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17532 | { |
17533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17534 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
17535 | ||
17536 | wxPyEndAllowThreads(__tstate); | |
17537 | if (PyErr_Occurred()) SWIG_fail; | |
17538 | } | |
02a34c4c | 17539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17540 | return resultobj; |
17541 | fail: | |
17542 | return NULL; | |
17543 | } | |
17544 | ||
17545 | ||
2f4c0a16 | 17546 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17547 | PyObject *resultobj; |
17548 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17549 | bool result; | |
17550 | PyObject * obj0 = 0 ; | |
17551 | char *kwnames[] = { | |
17552 | (char *) "self", NULL | |
17553 | }; | |
17554 | ||
17555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17558 | { |
17559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17560 | result = (bool)(arg1)->GetEnableMargins(); | |
17561 | ||
17562 | wxPyEndAllowThreads(__tstate); | |
17563 | if (PyErr_Occurred()) SWIG_fail; | |
17564 | } | |
02a34c4c | 17565 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17566 | return resultobj; |
17567 | fail: | |
17568 | return NULL; | |
17569 | } | |
17570 | ||
17571 | ||
2f4c0a16 | 17572 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17573 | PyObject *resultobj; |
17574 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17575 | bool result; | |
17576 | PyObject * obj0 = 0 ; | |
17577 | char *kwnames[] = { | |
17578 | (char *) "self", NULL | |
17579 | }; | |
17580 | ||
17581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17582 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17583 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17584 | { |
17585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17586 | result = (bool)(arg1)->GetEnableOrientation(); | |
17587 | ||
17588 | wxPyEndAllowThreads(__tstate); | |
17589 | if (PyErr_Occurred()) SWIG_fail; | |
17590 | } | |
02a34c4c | 17591 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17592 | return resultobj; |
17593 | fail: | |
17594 | return NULL; | |
17595 | } | |
17596 | ||
17597 | ||
2f4c0a16 | 17598 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17599 | PyObject *resultobj; |
17600 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17601 | bool result; | |
17602 | PyObject * obj0 = 0 ; | |
17603 | char *kwnames[] = { | |
17604 | (char *) "self", NULL | |
17605 | }; | |
17606 | ||
17607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17608 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17609 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17610 | { |
17611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17612 | result = (bool)(arg1)->GetEnablePaper(); | |
17613 | ||
17614 | wxPyEndAllowThreads(__tstate); | |
17615 | if (PyErr_Occurred()) SWIG_fail; | |
17616 | } | |
02a34c4c | 17617 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17618 | return resultobj; |
17619 | fail: | |
17620 | return NULL; | |
17621 | } | |
17622 | ||
17623 | ||
2f4c0a16 | 17624 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17625 | PyObject *resultobj; |
17626 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17627 | bool result; | |
17628 | PyObject * obj0 = 0 ; | |
17629 | char *kwnames[] = { | |
17630 | (char *) "self", NULL | |
17631 | }; | |
17632 | ||
17633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17636 | { |
17637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17638 | result = (bool)(arg1)->GetEnablePrinter(); | |
17639 | ||
17640 | wxPyEndAllowThreads(__tstate); | |
17641 | if (PyErr_Occurred()) SWIG_fail; | |
17642 | } | |
02a34c4c | 17643 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17644 | return resultobj; |
17645 | fail: | |
17646 | return NULL; | |
17647 | } | |
17648 | ||
17649 | ||
2f4c0a16 | 17650 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17651 | PyObject *resultobj; |
17652 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17653 | bool result; | |
17654 | PyObject * obj0 = 0 ; | |
17655 | char *kwnames[] = { | |
17656 | (char *) "self", NULL | |
17657 | }; | |
17658 | ||
17659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17662 | { |
17663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17664 | result = (bool)(arg1)->GetEnableHelp(); | |
17665 | ||
17666 | wxPyEndAllowThreads(__tstate); | |
17667 | if (PyErr_Occurred()) SWIG_fail; | |
17668 | } | |
02a34c4c | 17669 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17670 | return resultobj; |
17671 | fail: | |
17672 | return NULL; | |
17673 | } | |
17674 | ||
17675 | ||
2f4c0a16 | 17676 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17677 | PyObject *resultobj; |
17678 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17679 | bool result; | |
17680 | PyObject * obj0 = 0 ; | |
17681 | char *kwnames[] = { | |
17682 | (char *) "self", NULL | |
17683 | }; | |
17684 | ||
17685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17688 | { |
17689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17690 | result = (bool)(arg1)->GetDefaultInfo(); | |
17691 | ||
17692 | wxPyEndAllowThreads(__tstate); | |
17693 | if (PyErr_Occurred()) SWIG_fail; | |
17694 | } | |
02a34c4c | 17695 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17696 | return resultobj; |
17697 | fail: | |
17698 | return NULL; | |
17699 | } | |
17700 | ||
17701 | ||
2f4c0a16 | 17702 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17703 | PyObject *resultobj; |
17704 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17705 | wxPoint result; | |
17706 | PyObject * obj0 = 0 ; | |
17707 | char *kwnames[] = { | |
17708 | (char *) "self", NULL | |
17709 | }; | |
17710 | ||
17711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17714 | { |
17715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17716 | result = (arg1)->GetMarginTopLeft(); | |
17717 | ||
17718 | wxPyEndAllowThreads(__tstate); | |
17719 | if (PyErr_Occurred()) SWIG_fail; | |
17720 | } | |
17721 | { | |
17722 | wxPoint * resultptr; | |
17723 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 17724 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
17725 | } |
17726 | return resultobj; | |
17727 | fail: | |
17728 | return NULL; | |
17729 | } | |
17730 | ||
17731 | ||
2f4c0a16 | 17732 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17733 | PyObject *resultobj; |
17734 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17735 | wxPoint result; | |
17736 | PyObject * obj0 = 0 ; | |
17737 | char *kwnames[] = { | |
17738 | (char *) "self", NULL | |
17739 | }; | |
17740 | ||
17741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17744 | { |
17745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17746 | result = (arg1)->GetMarginBottomRight(); | |
17747 | ||
17748 | wxPyEndAllowThreads(__tstate); | |
17749 | if (PyErr_Occurred()) SWIG_fail; | |
17750 | } | |
17751 | { | |
17752 | wxPoint * resultptr; | |
17753 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 17754 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
17755 | } |
17756 | return resultobj; | |
17757 | fail: | |
17758 | return NULL; | |
17759 | } | |
17760 | ||
17761 | ||
2f4c0a16 | 17762 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17763 | PyObject *resultobj; |
17764 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17765 | wxPoint result; | |
17766 | PyObject * obj0 = 0 ; | |
17767 | char *kwnames[] = { | |
17768 | (char *) "self", NULL | |
17769 | }; | |
17770 | ||
17771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17774 | { |
17775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17776 | result = (arg1)->GetMinMarginTopLeft(); | |
17777 | ||
17778 | wxPyEndAllowThreads(__tstate); | |
17779 | if (PyErr_Occurred()) SWIG_fail; | |
17780 | } | |
17781 | { | |
17782 | wxPoint * resultptr; | |
17783 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 17784 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
17785 | } |
17786 | return resultobj; | |
17787 | fail: | |
17788 | return NULL; | |
17789 | } | |
17790 | ||
17791 | ||
2f4c0a16 | 17792 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17793 | PyObject *resultobj; |
17794 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17795 | wxPoint result; | |
17796 | PyObject * obj0 = 0 ; | |
17797 | char *kwnames[] = { | |
17798 | (char *) "self", NULL | |
17799 | }; | |
17800 | ||
17801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17802 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17803 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17804 | { |
17805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17806 | result = (arg1)->GetMinMarginBottomRight(); | |
17807 | ||
17808 | wxPyEndAllowThreads(__tstate); | |
17809 | if (PyErr_Occurred()) SWIG_fail; | |
17810 | } | |
17811 | { | |
17812 | wxPoint * resultptr; | |
17813 | resultptr = new wxPoint((wxPoint &) result); | |
2f4c0a16 | 17814 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
17815 | } |
17816 | return resultobj; | |
17817 | fail: | |
17818 | return NULL; | |
17819 | } | |
17820 | ||
17821 | ||
2f4c0a16 | 17822 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17823 | PyObject *resultobj; |
17824 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17825 | int result; | |
17826 | PyObject * obj0 = 0 ; | |
17827 | char *kwnames[] = { | |
17828 | (char *) "self", NULL | |
17829 | }; | |
17830 | ||
17831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17832 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17833 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17834 | { |
17835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17836 | result = (int)(arg1)->GetPaperId(); | |
17837 | ||
17838 | wxPyEndAllowThreads(__tstate); | |
17839 | if (PyErr_Occurred()) SWIG_fail; | |
17840 | } | |
2f4c0a16 | 17841 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
17842 | return resultobj; |
17843 | fail: | |
17844 | return NULL; | |
17845 | } | |
17846 | ||
17847 | ||
2f4c0a16 | 17848 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17849 | PyObject *resultobj; |
17850 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17851 | wxSize result; | |
17852 | PyObject * obj0 = 0 ; | |
17853 | char *kwnames[] = { | |
17854 | (char *) "self", NULL | |
17855 | }; | |
17856 | ||
17857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17858 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17859 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17860 | { |
17861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17862 | result = (arg1)->GetPaperSize(); | |
17863 | ||
17864 | wxPyEndAllowThreads(__tstate); | |
17865 | if (PyErr_Occurred()) SWIG_fail; | |
17866 | } | |
17867 | { | |
17868 | wxSize * resultptr; | |
17869 | resultptr = new wxSize((wxSize &) result); | |
2f4c0a16 | 17870 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
17871 | } |
17872 | return resultobj; | |
17873 | fail: | |
17874 | return NULL; | |
17875 | } | |
17876 | ||
17877 | ||
2f4c0a16 | 17878 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17879 | PyObject *resultobj; |
17880 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17881 | wxPrintData *result; | |
17882 | PyObject * obj0 = 0 ; | |
17883 | char *kwnames[] = { | |
17884 | (char *) "self", NULL | |
17885 | }; | |
17886 | ||
17887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17890 | { |
17891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17892 | { | |
17893 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
17894 | result = (wxPrintData *) &_result_ref; | |
17895 | } | |
17896 | ||
17897 | wxPyEndAllowThreads(__tstate); | |
17898 | if (PyErr_Occurred()) SWIG_fail; | |
17899 | } | |
2f4c0a16 | 17900 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
17901 | return resultobj; |
17902 | fail: | |
17903 | return NULL; | |
17904 | } | |
17905 | ||
17906 | ||
2f4c0a16 | 17907 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17908 | PyObject *resultobj; |
17909 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17910 | bool result; | |
17911 | PyObject * obj0 = 0 ; | |
17912 | char *kwnames[] = { | |
17913 | (char *) "self", NULL | |
17914 | }; | |
17915 | ||
17916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
17917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17919 | { |
17920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17921 | result = (bool)(arg1)->Ok(); | |
17922 | ||
17923 | wxPyEndAllowThreads(__tstate); | |
17924 | if (PyErr_Occurred()) SWIG_fail; | |
17925 | } | |
02a34c4c | 17926 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
17927 | return resultobj; |
17928 | fail: | |
17929 | return NULL; | |
17930 | } | |
17931 | ||
17932 | ||
2f4c0a16 | 17933 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17934 | PyObject *resultobj; |
17935 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17936 | bool arg2 ; | |
17937 | PyObject * obj0 = 0 ; | |
17938 | PyObject * obj1 = 0 ; | |
17939 | char *kwnames[] = { | |
17940 | (char *) "self",(char *) "flag", NULL | |
17941 | }; | |
17942 | ||
17943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17944 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17945 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17946 | arg2 = (bool) SWIG_AsBool(obj1); | |
17947 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17948 | { |
17949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17950 | (arg1)->SetDefaultInfo(arg2); | |
17951 | ||
17952 | wxPyEndAllowThreads(__tstate); | |
17953 | if (PyErr_Occurred()) SWIG_fail; | |
17954 | } | |
17955 | Py_INCREF(Py_None); resultobj = Py_None; | |
17956 | return resultobj; | |
17957 | fail: | |
17958 | return NULL; | |
17959 | } | |
17960 | ||
17961 | ||
2f4c0a16 | 17962 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17963 | PyObject *resultobj; |
17964 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17965 | bool arg2 ; | |
17966 | PyObject * obj0 = 0 ; | |
17967 | PyObject * obj1 = 0 ; | |
17968 | char *kwnames[] = { | |
17969 | (char *) "self",(char *) "flag", NULL | |
17970 | }; | |
17971 | ||
17972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
17973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
17974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17975 | arg2 = (bool) SWIG_AsBool(obj1); | |
17976 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
17977 | { |
17978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17979 | (arg1)->SetDefaultMinMargins(arg2); | |
17980 | ||
17981 | wxPyEndAllowThreads(__tstate); | |
17982 | if (PyErr_Occurred()) SWIG_fail; | |
17983 | } | |
17984 | Py_INCREF(Py_None); resultobj = Py_None; | |
17985 | return resultobj; | |
17986 | fail: | |
17987 | return NULL; | |
17988 | } | |
17989 | ||
17990 | ||
2f4c0a16 | 17991 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17992 | PyObject *resultobj; |
17993 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
17994 | wxPoint *arg2 = 0 ; | |
17995 | wxPoint temp2 ; | |
17996 | PyObject * obj0 = 0 ; | |
17997 | PyObject * obj1 = 0 ; | |
17998 | char *kwnames[] = { | |
17999 | (char *) "self",(char *) "pt", NULL | |
18000 | }; | |
18001 | ||
18002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18005 | { |
18006 | arg2 = &temp2; | |
18007 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18008 | } | |
18009 | { | |
18010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18011 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
18012 | ||
18013 | wxPyEndAllowThreads(__tstate); | |
18014 | if (PyErr_Occurred()) SWIG_fail; | |
18015 | } | |
18016 | Py_INCREF(Py_None); resultobj = Py_None; | |
18017 | return resultobj; | |
18018 | fail: | |
18019 | return NULL; | |
18020 | } | |
18021 | ||
18022 | ||
2f4c0a16 | 18023 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18024 | PyObject *resultobj; |
18025 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18026 | wxPoint *arg2 = 0 ; | |
18027 | wxPoint temp2 ; | |
18028 | PyObject * obj0 = 0 ; | |
18029 | PyObject * obj1 = 0 ; | |
18030 | char *kwnames[] = { | |
18031 | (char *) "self",(char *) "pt", NULL | |
18032 | }; | |
18033 | ||
18034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18037 | { |
18038 | arg2 = &temp2; | |
18039 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18040 | } | |
18041 | { | |
18042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18043 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
18044 | ||
18045 | wxPyEndAllowThreads(__tstate); | |
18046 | if (PyErr_Occurred()) SWIG_fail; | |
18047 | } | |
18048 | Py_INCREF(Py_None); resultobj = Py_None; | |
18049 | return resultobj; | |
18050 | fail: | |
18051 | return NULL; | |
18052 | } | |
18053 | ||
18054 | ||
2f4c0a16 | 18055 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18056 | PyObject *resultobj; |
18057 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18058 | wxPoint *arg2 = 0 ; | |
18059 | wxPoint temp2 ; | |
18060 | PyObject * obj0 = 0 ; | |
18061 | PyObject * obj1 = 0 ; | |
18062 | char *kwnames[] = { | |
18063 | (char *) "self",(char *) "pt", NULL | |
18064 | }; | |
18065 | ||
18066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18067 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18068 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18069 | { |
18070 | arg2 = &temp2; | |
18071 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18072 | } | |
18073 | { | |
18074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18075 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
18076 | ||
18077 | wxPyEndAllowThreads(__tstate); | |
18078 | if (PyErr_Occurred()) SWIG_fail; | |
18079 | } | |
18080 | Py_INCREF(Py_None); resultobj = Py_None; | |
18081 | return resultobj; | |
18082 | fail: | |
18083 | return NULL; | |
18084 | } | |
18085 | ||
18086 | ||
2f4c0a16 | 18087 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18088 | PyObject *resultobj; |
18089 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18090 | wxPoint *arg2 = 0 ; | |
18091 | wxPoint temp2 ; | |
18092 | PyObject * obj0 = 0 ; | |
18093 | PyObject * obj1 = 0 ; | |
18094 | char *kwnames[] = { | |
18095 | (char *) "self",(char *) "pt", NULL | |
18096 | }; | |
18097 | ||
18098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18099 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18100 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18101 | { |
18102 | arg2 = &temp2; | |
18103 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
18104 | } | |
18105 | { | |
18106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18107 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
18108 | ||
18109 | wxPyEndAllowThreads(__tstate); | |
18110 | if (PyErr_Occurred()) SWIG_fail; | |
18111 | } | |
18112 | Py_INCREF(Py_None); resultobj = Py_None; | |
18113 | return resultobj; | |
18114 | fail: | |
18115 | return NULL; | |
18116 | } | |
18117 | ||
18118 | ||
2f4c0a16 | 18119 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18120 | PyObject *resultobj; |
18121 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18122 | int arg2 ; | |
18123 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18124 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18125 | char *kwnames[] = { |
18126 | (char *) "self",(char *) "id", NULL | |
18127 | }; | |
18128 | ||
8edf1c75 | 18129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18130 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18131 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18132 | arg2 = (wxPaperSize) SWIG_AsInt(obj1); | |
18133 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18134 | { |
18135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18136 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
18137 | ||
18138 | wxPyEndAllowThreads(__tstate); | |
18139 | if (PyErr_Occurred()) SWIG_fail; | |
18140 | } | |
18141 | Py_INCREF(Py_None); resultobj = Py_None; | |
18142 | return resultobj; | |
18143 | fail: | |
18144 | return NULL; | |
18145 | } | |
18146 | ||
18147 | ||
2f4c0a16 | 18148 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18149 | PyObject *resultobj; |
18150 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18151 | wxSize *arg2 = 0 ; | |
18152 | wxSize temp2 ; | |
18153 | PyObject * obj0 = 0 ; | |
18154 | PyObject * obj1 = 0 ; | |
18155 | char *kwnames[] = { | |
18156 | (char *) "self",(char *) "size", NULL | |
18157 | }; | |
18158 | ||
18159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18160 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18161 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18162 | { |
18163 | arg2 = &temp2; | |
18164 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
18165 | } | |
18166 | { | |
18167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18168 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
18169 | ||
18170 | wxPyEndAllowThreads(__tstate); | |
18171 | if (PyErr_Occurred()) SWIG_fail; | |
18172 | } | |
18173 | Py_INCREF(Py_None); resultobj = Py_None; | |
18174 | return resultobj; | |
18175 | fail: | |
18176 | return NULL; | |
18177 | } | |
18178 | ||
18179 | ||
2f4c0a16 | 18180 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18181 | PyObject *resultobj; |
18182 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
18183 | wxPrintData *arg2 = 0 ; | |
18184 | PyObject * obj0 = 0 ; | |
18185 | PyObject * obj1 = 0 ; | |
18186 | char *kwnames[] = { | |
18187 | (char *) "self",(char *) "printData", NULL | |
18188 | }; | |
18189 | ||
18190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18191 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
18192 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18193 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
18194 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18195 | SWIG_fail; | |
d14a1e28 | 18196 | if (arg2 == NULL) { |
2f4c0a16 RD |
18197 | PyErr_SetString(PyExc_TypeError,"null reference"); |
18198 | SWIG_fail; | |
d14a1e28 RD |
18199 | } |
18200 | { | |
18201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18202 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
18203 | ||
18204 | wxPyEndAllowThreads(__tstate); | |
18205 | if (PyErr_Occurred()) SWIG_fail; | |
18206 | } | |
18207 | Py_INCREF(Py_None); resultobj = Py_None; | |
18208 | return resultobj; | |
18209 | fail: | |
18210 | return NULL; | |
18211 | } | |
18212 | ||
18213 | ||
2f4c0a16 | 18214 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18215 | PyObject *obj; |
18216 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18217 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
18218 | Py_INCREF(obj); | |
18219 | return Py_BuildValue((char *)""); | |
18220 | } | |
2f4c0a16 | 18221 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18222 | PyObject *resultobj; |
18223 | wxWindow *arg1 = (wxWindow *) 0 ; | |
18224 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
18225 | wxPageSetupDialog *result; | |
18226 | PyObject * obj0 = 0 ; | |
18227 | PyObject * obj1 = 0 ; | |
18228 | char *kwnames[] = { | |
18229 | (char *) "parent",(char *) "data", NULL | |
18230 | }; | |
18231 | ||
18232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18233 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
18234 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 18235 | if (obj1) { |
2f4c0a16 RD |
18236 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
18237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18238 | } |
18239 | { | |
18240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18241 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
18242 | ||
18243 | wxPyEndAllowThreads(__tstate); | |
18244 | if (PyErr_Occurred()) SWIG_fail; | |
18245 | } | |
2f4c0a16 | 18246 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
18247 | return resultobj; |
18248 | fail: | |
18249 | return NULL; | |
18250 | } | |
18251 | ||
18252 | ||
2f4c0a16 | 18253 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18254 | PyObject *resultobj; |
18255 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18256 | wxPageSetupDialogData *result; | |
18257 | PyObject * obj0 = 0 ; | |
18258 | char *kwnames[] = { | |
18259 | (char *) "self", NULL | |
18260 | }; | |
18261 | ||
18262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18265 | { |
18266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18267 | { | |
18268 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
18269 | result = (wxPageSetupDialogData *) &_result_ref; | |
18270 | } | |
18271 | ||
18272 | wxPyEndAllowThreads(__tstate); | |
18273 | if (PyErr_Occurred()) SWIG_fail; | |
18274 | } | |
2f4c0a16 | 18275 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
18276 | return resultobj; |
18277 | fail: | |
18278 | return NULL; | |
18279 | } | |
18280 | ||
18281 | ||
2f4c0a16 | 18282 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18283 | PyObject *resultobj; |
18284 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
18285 | int result; | |
18286 | PyObject * obj0 = 0 ; | |
18287 | char *kwnames[] = { | |
18288 | (char *) "self", NULL | |
18289 | }; | |
18290 | ||
18291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
18293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18294 | { |
18295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18296 | result = (int)(arg1)->ShowModal(); | |
18297 | ||
18298 | wxPyEndAllowThreads(__tstate); | |
18299 | if (PyErr_Occurred()) SWIG_fail; | |
18300 | } | |
2f4c0a16 | 18301 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18302 | return resultobj; |
18303 | fail: | |
18304 | return NULL; | |
18305 | } | |
18306 | ||
18307 | ||
2f4c0a16 | 18308 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
18309 | PyObject *obj; |
18310 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18311 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
18312 | Py_INCREF(obj); | |
18313 | return Py_BuildValue((char *)""); | |
18314 | } | |
ce7284bd | 18315 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
18316 | PyObject *resultobj; |
18317 | wxPrintDialogData *result; | |
d14a1e28 | 18318 | |
ce7284bd | 18319 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
18320 | { |
18321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18322 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
18323 | ||
18324 | wxPyEndAllowThreads(__tstate); | |
18325 | if (PyErr_Occurred()) SWIG_fail; | |
18326 | } | |
2f4c0a16 | 18327 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
18328 | return resultobj; |
18329 | fail: | |
18330 | return NULL; | |
18331 | } | |
18332 | ||
18333 | ||
ce7284bd RD |
18334 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
18335 | PyObject *resultobj; | |
18336 | wxPrintData *arg1 = 0 ; | |
18337 | wxPrintDialogData *result; | |
18338 | PyObject * obj0 = 0 ; | |
18339 | ||
18340 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
18341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18342 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18343 | SWIG_fail; | |
18344 | if (arg1 == NULL) { | |
18345 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18346 | SWIG_fail; | |
18347 | } | |
18348 | { | |
18349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18350 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
18351 | ||
18352 | wxPyEndAllowThreads(__tstate); | |
18353 | if (PyErr_Occurred()) SWIG_fail; | |
18354 | } | |
18355 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
18356 | return resultobj; | |
18357 | fail: | |
18358 | return NULL; | |
18359 | } | |
18360 | ||
18361 | ||
18362 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
18363 | int argc; | |
18364 | PyObject *argv[2]; | |
18365 | int ii; | |
18366 | ||
18367 | argc = PyObject_Length(args); | |
18368 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18369 | argv[ii] = PyTuple_GetItem(args,ii); | |
18370 | } | |
18371 | if (argc == 0) { | |
18372 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
18373 | } | |
18374 | if (argc == 1) { | |
18375 | int _v; | |
18376 | { | |
18377 | void *ptr; | |
18378 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18379 | _v = 0; | |
18380 | PyErr_Clear(); | |
18381 | } else { | |
18382 | _v = 1; | |
18383 | } | |
18384 | } | |
18385 | if (_v) { | |
18386 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
18387 | } | |
18388 | } | |
18389 | ||
18390 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
18391 | return NULL; | |
18392 | } | |
18393 | ||
18394 | ||
2f4c0a16 | 18395 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18396 | PyObject *resultobj; |
18397 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18398 | PyObject * obj0 = 0 ; | |
18399 | char *kwnames[] = { | |
18400 | (char *) "self", NULL | |
18401 | }; | |
18402 | ||
18403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18406 | { |
18407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18408 | delete arg1; | |
18409 | ||
18410 | wxPyEndAllowThreads(__tstate); | |
18411 | if (PyErr_Occurred()) SWIG_fail; | |
18412 | } | |
18413 | Py_INCREF(Py_None); resultobj = Py_None; | |
18414 | return resultobj; | |
18415 | fail: | |
18416 | return NULL; | |
18417 | } | |
18418 | ||
18419 | ||
2f4c0a16 | 18420 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18421 | PyObject *resultobj; |
18422 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18423 | int result; | |
18424 | PyObject * obj0 = 0 ; | |
18425 | char *kwnames[] = { | |
18426 | (char *) "self", NULL | |
18427 | }; | |
18428 | ||
18429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18432 | { |
18433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18434 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
18435 | ||
18436 | wxPyEndAllowThreads(__tstate); | |
18437 | if (PyErr_Occurred()) SWIG_fail; | |
18438 | } | |
2f4c0a16 | 18439 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18440 | return resultobj; |
18441 | fail: | |
18442 | return NULL; | |
18443 | } | |
18444 | ||
18445 | ||
2f4c0a16 | 18446 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18447 | PyObject *resultobj; |
18448 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18449 | int result; | |
18450 | PyObject * obj0 = 0 ; | |
18451 | char *kwnames[] = { | |
18452 | (char *) "self", NULL | |
18453 | }; | |
18454 | ||
18455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18458 | { |
18459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18460 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
18461 | ||
18462 | wxPyEndAllowThreads(__tstate); | |
18463 | if (PyErr_Occurred()) SWIG_fail; | |
18464 | } | |
2f4c0a16 | 18465 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18466 | return resultobj; |
18467 | fail: | |
18468 | return NULL; | |
18469 | } | |
18470 | ||
18471 | ||
2f4c0a16 | 18472 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18473 | PyObject *resultobj; |
18474 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18475 | int result; | |
18476 | PyObject * obj0 = 0 ; | |
18477 | char *kwnames[] = { | |
18478 | (char *) "self", NULL | |
18479 | }; | |
18480 | ||
18481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18482 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18483 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18484 | { |
18485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18486 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
18487 | ||
18488 | wxPyEndAllowThreads(__tstate); | |
18489 | if (PyErr_Occurred()) SWIG_fail; | |
18490 | } | |
2f4c0a16 | 18491 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18492 | return resultobj; |
18493 | fail: | |
18494 | return NULL; | |
18495 | } | |
18496 | ||
18497 | ||
2f4c0a16 | 18498 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18499 | PyObject *resultobj; |
18500 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18501 | int result; | |
18502 | PyObject * obj0 = 0 ; | |
18503 | char *kwnames[] = { | |
18504 | (char *) "self", NULL | |
18505 | }; | |
18506 | ||
18507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18510 | { |
18511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18512 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
18513 | ||
18514 | wxPyEndAllowThreads(__tstate); | |
18515 | if (PyErr_Occurred()) SWIG_fail; | |
18516 | } | |
2f4c0a16 | 18517 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18518 | return resultobj; |
18519 | fail: | |
18520 | return NULL; | |
18521 | } | |
18522 | ||
18523 | ||
2f4c0a16 | 18524 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18525 | PyObject *resultobj; |
18526 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18527 | int result; | |
18528 | PyObject * obj0 = 0 ; | |
18529 | char *kwnames[] = { | |
18530 | (char *) "self", NULL | |
18531 | }; | |
18532 | ||
18533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18536 | { |
18537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18538 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
18539 | ||
18540 | wxPyEndAllowThreads(__tstate); | |
18541 | if (PyErr_Occurred()) SWIG_fail; | |
18542 | } | |
2f4c0a16 | 18543 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
18544 | return resultobj; |
18545 | fail: | |
18546 | return NULL; | |
18547 | } | |
18548 | ||
18549 | ||
2f4c0a16 | 18550 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18551 | PyObject *resultobj; |
18552 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18553 | bool result; | |
18554 | PyObject * obj0 = 0 ; | |
18555 | char *kwnames[] = { | |
18556 | (char *) "self", NULL | |
18557 | }; | |
18558 | ||
18559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18562 | { |
18563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18564 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
18565 | ||
18566 | wxPyEndAllowThreads(__tstate); | |
18567 | if (PyErr_Occurred()) SWIG_fail; | |
18568 | } | |
02a34c4c | 18569 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18570 | return resultobj; |
18571 | fail: | |
18572 | return NULL; | |
18573 | } | |
18574 | ||
18575 | ||
2f4c0a16 | 18576 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18577 | PyObject *resultobj; |
18578 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18579 | bool result; | |
18580 | PyObject * obj0 = 0 ; | |
18581 | char *kwnames[] = { | |
18582 | (char *) "self", NULL | |
18583 | }; | |
18584 | ||
18585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18588 | { |
18589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18590 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
18591 | ||
18592 | wxPyEndAllowThreads(__tstate); | |
18593 | if (PyErr_Occurred()) SWIG_fail; | |
18594 | } | |
02a34c4c | 18595 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18596 | return resultobj; |
18597 | fail: | |
18598 | return NULL; | |
18599 | } | |
18600 | ||
18601 | ||
2f4c0a16 | 18602 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18603 | PyObject *resultobj; |
18604 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18605 | bool result; | |
18606 | PyObject * obj0 = 0 ; | |
18607 | char *kwnames[] = { | |
18608 | (char *) "self", NULL | |
18609 | }; | |
18610 | ||
18611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18612 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18614 | { |
18615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18616 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
18617 | ||
18618 | wxPyEndAllowThreads(__tstate); | |
18619 | if (PyErr_Occurred()) SWIG_fail; | |
18620 | } | |
02a34c4c | 18621 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18622 | return resultobj; |
18623 | fail: | |
18624 | return NULL; | |
18625 | } | |
18626 | ||
18627 | ||
2f4c0a16 | 18628 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18629 | PyObject *resultobj; |
18630 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18631 | bool result; | |
18632 | PyObject * obj0 = 0 ; | |
18633 | char *kwnames[] = { | |
18634 | (char *) "self", NULL | |
18635 | }; | |
18636 | ||
18637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18640 | { |
18641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18642 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
18643 | ||
18644 | wxPyEndAllowThreads(__tstate); | |
18645 | if (PyErr_Occurred()) SWIG_fail; | |
18646 | } | |
02a34c4c | 18647 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18648 | return resultobj; |
18649 | fail: | |
18650 | return NULL; | |
18651 | } | |
18652 | ||
18653 | ||
2f4c0a16 | 18654 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18655 | PyObject *resultobj; |
18656 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18657 | bool result; | |
18658 | PyObject * obj0 = 0 ; | |
18659 | char *kwnames[] = { | |
18660 | (char *) "self", NULL | |
18661 | }; | |
18662 | ||
18663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
18664 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18665 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18666 | { |
18667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18668 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
18669 | ||
18670 | wxPyEndAllowThreads(__tstate); | |
18671 | if (PyErr_Occurred()) SWIG_fail; | |
18672 | } | |
02a34c4c | 18673 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
18674 | return resultobj; |
18675 | fail: | |
18676 | return NULL; | |
18677 | } | |
18678 | ||
18679 | ||
2f4c0a16 | 18680 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18681 | PyObject *resultobj; |
18682 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18683 | int arg2 ; | |
18684 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18685 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18686 | char *kwnames[] = { |
18687 | (char *) "self",(char *) "v", NULL | |
18688 | }; | |
18689 | ||
8edf1c75 | 18690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18693 | arg2 = (int) SWIG_AsInt(obj1); | |
18694 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18695 | { |
18696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18697 | (arg1)->SetFromPage(arg2); | |
18698 | ||
18699 | wxPyEndAllowThreads(__tstate); | |
18700 | if (PyErr_Occurred()) SWIG_fail; | |
18701 | } | |
18702 | Py_INCREF(Py_None); resultobj = Py_None; | |
18703 | return resultobj; | |
18704 | fail: | |
18705 | return NULL; | |
18706 | } | |
18707 | ||
18708 | ||
2f4c0a16 | 18709 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18710 | PyObject *resultobj; |
18711 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18712 | int arg2 ; | |
18713 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18714 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18715 | char *kwnames[] = { |
18716 | (char *) "self",(char *) "v", NULL | |
18717 | }; | |
18718 | ||
8edf1c75 | 18719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18722 | arg2 = (int) SWIG_AsInt(obj1); | |
18723 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18724 | { |
18725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18726 | (arg1)->SetToPage(arg2); | |
18727 | ||
18728 | wxPyEndAllowThreads(__tstate); | |
18729 | if (PyErr_Occurred()) SWIG_fail; | |
18730 | } | |
18731 | Py_INCREF(Py_None); resultobj = Py_None; | |
18732 | return resultobj; | |
18733 | fail: | |
18734 | return NULL; | |
18735 | } | |
18736 | ||
18737 | ||
2f4c0a16 | 18738 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18739 | PyObject *resultobj; |
18740 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18741 | int arg2 ; | |
18742 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18743 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18744 | char *kwnames[] = { |
18745 | (char *) "self",(char *) "v", NULL | |
18746 | }; | |
18747 | ||
8edf1c75 | 18748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18751 | arg2 = (int) SWIG_AsInt(obj1); | |
18752 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18753 | { |
18754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18755 | (arg1)->SetMinPage(arg2); | |
18756 | ||
18757 | wxPyEndAllowThreads(__tstate); | |
18758 | if (PyErr_Occurred()) SWIG_fail; | |
18759 | } | |
18760 | Py_INCREF(Py_None); resultobj = Py_None; | |
18761 | return resultobj; | |
18762 | fail: | |
18763 | return NULL; | |
18764 | } | |
18765 | ||
18766 | ||
2f4c0a16 | 18767 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18768 | PyObject *resultobj; |
18769 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18770 | int arg2 ; | |
18771 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18772 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18773 | char *kwnames[] = { |
18774 | (char *) "self",(char *) "v", NULL | |
18775 | }; | |
18776 | ||
8edf1c75 | 18777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18778 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18779 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18780 | arg2 = (int) SWIG_AsInt(obj1); | |
18781 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18782 | { |
18783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18784 | (arg1)->SetMaxPage(arg2); | |
18785 | ||
18786 | wxPyEndAllowThreads(__tstate); | |
18787 | if (PyErr_Occurred()) SWIG_fail; | |
18788 | } | |
18789 | Py_INCREF(Py_None); resultobj = Py_None; | |
18790 | return resultobj; | |
18791 | fail: | |
18792 | return NULL; | |
18793 | } | |
18794 | ||
18795 | ||
2f4c0a16 | 18796 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18797 | PyObject *resultobj; |
18798 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18799 | int arg2 ; | |
18800 | PyObject * obj0 = 0 ; | |
8edf1c75 | 18801 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18802 | char *kwnames[] = { |
18803 | (char *) "self",(char *) "v", NULL | |
18804 | }; | |
18805 | ||
8edf1c75 | 18806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
18807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18809 | arg2 = (int) SWIG_AsInt(obj1); | |
18810 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18811 | { |
18812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18813 | (arg1)->SetNoCopies(arg2); | |
18814 | ||
18815 | wxPyEndAllowThreads(__tstate); | |
18816 | if (PyErr_Occurred()) SWIG_fail; | |
18817 | } | |
18818 | Py_INCREF(Py_None); resultobj = Py_None; | |
18819 | return resultobj; | |
18820 | fail: | |
18821 | return NULL; | |
18822 | } | |
18823 | ||
18824 | ||
2f4c0a16 | 18825 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18826 | PyObject *resultobj; |
18827 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18828 | bool arg2 ; | |
18829 | PyObject * obj0 = 0 ; | |
18830 | PyObject * obj1 = 0 ; | |
18831 | char *kwnames[] = { | |
18832 | (char *) "self",(char *) "flag", NULL | |
18833 | }; | |
18834 | ||
18835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18838 | arg2 = (bool) SWIG_AsBool(obj1); | |
18839 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18840 | { |
18841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18842 | (arg1)->SetAllPages(arg2); | |
18843 | ||
18844 | wxPyEndAllowThreads(__tstate); | |
18845 | if (PyErr_Occurred()) SWIG_fail; | |
18846 | } | |
18847 | Py_INCREF(Py_None); resultobj = Py_None; | |
18848 | return resultobj; | |
18849 | fail: | |
18850 | return NULL; | |
18851 | } | |
18852 | ||
18853 | ||
2f4c0a16 | 18854 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18855 | PyObject *resultobj; |
18856 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18857 | bool arg2 ; | |
18858 | PyObject * obj0 = 0 ; | |
18859 | PyObject * obj1 = 0 ; | |
18860 | char *kwnames[] = { | |
18861 | (char *) "self",(char *) "flag", NULL | |
18862 | }; | |
18863 | ||
18864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18867 | arg2 = (bool) SWIG_AsBool(obj1); | |
18868 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18869 | { |
18870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18871 | (arg1)->SetSelection(arg2); | |
18872 | ||
18873 | wxPyEndAllowThreads(__tstate); | |
18874 | if (PyErr_Occurred()) SWIG_fail; | |
18875 | } | |
18876 | Py_INCREF(Py_None); resultobj = Py_None; | |
18877 | return resultobj; | |
18878 | fail: | |
18879 | return NULL; | |
18880 | } | |
18881 | ||
18882 | ||
2f4c0a16 | 18883 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18884 | PyObject *resultobj; |
18885 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18886 | bool arg2 ; | |
18887 | PyObject * obj0 = 0 ; | |
18888 | PyObject * obj1 = 0 ; | |
18889 | char *kwnames[] = { | |
18890 | (char *) "self",(char *) "flag", NULL | |
18891 | }; | |
18892 | ||
18893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18894 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18895 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18896 | arg2 = (bool) SWIG_AsBool(obj1); | |
18897 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18898 | { |
18899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18900 | (arg1)->SetCollate(arg2); | |
18901 | ||
18902 | wxPyEndAllowThreads(__tstate); | |
18903 | if (PyErr_Occurred()) SWIG_fail; | |
18904 | } | |
18905 | Py_INCREF(Py_None); resultobj = Py_None; | |
18906 | return resultobj; | |
18907 | fail: | |
18908 | return NULL; | |
18909 | } | |
18910 | ||
18911 | ||
2f4c0a16 | 18912 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18913 | PyObject *resultobj; |
18914 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18915 | bool arg2 ; | |
18916 | PyObject * obj0 = 0 ; | |
18917 | PyObject * obj1 = 0 ; | |
18918 | char *kwnames[] = { | |
18919 | (char *) "self",(char *) "flag", NULL | |
18920 | }; | |
18921 | ||
18922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18925 | arg2 = (bool) SWIG_AsBool(obj1); | |
18926 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18927 | { |
18928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18929 | (arg1)->SetPrintToFile(arg2); | |
18930 | ||
18931 | wxPyEndAllowThreads(__tstate); | |
18932 | if (PyErr_Occurred()) SWIG_fail; | |
18933 | } | |
18934 | Py_INCREF(Py_None); resultobj = Py_None; | |
18935 | return resultobj; | |
18936 | fail: | |
18937 | return NULL; | |
18938 | } | |
18939 | ||
18940 | ||
2f4c0a16 | 18941 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18942 | PyObject *resultobj; |
18943 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18944 | bool arg2 ; | |
18945 | PyObject * obj0 = 0 ; | |
18946 | PyObject * obj1 = 0 ; | |
18947 | char *kwnames[] = { | |
18948 | (char *) "self",(char *) "flag", NULL | |
18949 | }; | |
18950 | ||
18951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18954 | arg2 = (bool) SWIG_AsBool(obj1); | |
18955 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18956 | { |
18957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18958 | (arg1)->SetSetupDialog(arg2); | |
18959 | ||
18960 | wxPyEndAllowThreads(__tstate); | |
18961 | if (PyErr_Occurred()) SWIG_fail; | |
18962 | } | |
18963 | Py_INCREF(Py_None); resultobj = Py_None; | |
18964 | return resultobj; | |
18965 | fail: | |
18966 | return NULL; | |
18967 | } | |
18968 | ||
18969 | ||
2f4c0a16 | 18970 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18971 | PyObject *resultobj; |
18972 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
18973 | bool arg2 ; | |
18974 | PyObject * obj0 = 0 ; | |
18975 | PyObject * obj1 = 0 ; | |
18976 | char *kwnames[] = { | |
18977 | (char *) "self",(char *) "flag", NULL | |
18978 | }; | |
18979 | ||
18980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
18981 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
18982 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18983 | arg2 = (bool) SWIG_AsBool(obj1); | |
18984 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
18985 | { |
18986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18987 | (arg1)->EnablePrintToFile(arg2); | |
18988 | ||
18989 | wxPyEndAllowThreads(__tstate); | |
18990 | if (PyErr_Occurred()) SWIG_fail; | |
18991 | } | |
18992 | Py_INCREF(Py_None); resultobj = Py_None; | |
18993 | return resultobj; | |
18994 | fail: | |
18995 | return NULL; | |
18996 | } | |
18997 | ||
18998 | ||
2f4c0a16 | 18999 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19000 | PyObject *resultobj; |
19001 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19002 | bool arg2 ; | |
19003 | PyObject * obj0 = 0 ; | |
19004 | PyObject * obj1 = 0 ; | |
19005 | char *kwnames[] = { | |
19006 | (char *) "self",(char *) "flag", NULL | |
19007 | }; | |
19008 | ||
19009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19010 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19012 | arg2 = (bool) SWIG_AsBool(obj1); | |
19013 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19014 | { |
19015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19016 | (arg1)->EnableSelection(arg2); | |
19017 | ||
19018 | wxPyEndAllowThreads(__tstate); | |
19019 | if (PyErr_Occurred()) SWIG_fail; | |
19020 | } | |
19021 | Py_INCREF(Py_None); resultobj = Py_None; | |
19022 | return resultobj; | |
19023 | fail: | |
19024 | return NULL; | |
19025 | } | |
19026 | ||
19027 | ||
2f4c0a16 | 19028 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19029 | PyObject *resultobj; |
19030 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19031 | bool arg2 ; | |
19032 | PyObject * obj0 = 0 ; | |
19033 | PyObject * obj1 = 0 ; | |
19034 | char *kwnames[] = { | |
19035 | (char *) "self",(char *) "flag", NULL | |
19036 | }; | |
19037 | ||
19038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19041 | arg2 = (bool) SWIG_AsBool(obj1); | |
19042 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19043 | { |
19044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19045 | (arg1)->EnablePageNumbers(arg2); | |
19046 | ||
19047 | wxPyEndAllowThreads(__tstate); | |
19048 | if (PyErr_Occurred()) SWIG_fail; | |
19049 | } | |
19050 | Py_INCREF(Py_None); resultobj = Py_None; | |
19051 | return resultobj; | |
19052 | fail: | |
19053 | return NULL; | |
19054 | } | |
19055 | ||
19056 | ||
2f4c0a16 | 19057 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19058 | PyObject *resultobj; |
19059 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19060 | bool arg2 ; | |
19061 | PyObject * obj0 = 0 ; | |
19062 | PyObject * obj1 = 0 ; | |
19063 | char *kwnames[] = { | |
19064 | (char *) "self",(char *) "flag", NULL | |
19065 | }; | |
19066 | ||
19067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19070 | arg2 = (bool) SWIG_AsBool(obj1); | |
19071 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19072 | { |
19073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19074 | (arg1)->EnableHelp(arg2); | |
19075 | ||
19076 | wxPyEndAllowThreads(__tstate); | |
19077 | if (PyErr_Occurred()) SWIG_fail; | |
19078 | } | |
19079 | Py_INCREF(Py_None); resultobj = Py_None; | |
19080 | return resultobj; | |
19081 | fail: | |
19082 | return NULL; | |
19083 | } | |
19084 | ||
19085 | ||
2f4c0a16 | 19086 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19087 | PyObject *resultobj; |
19088 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19089 | bool result; | |
19090 | PyObject * obj0 = 0 ; | |
19091 | char *kwnames[] = { | |
19092 | (char *) "self", NULL | |
19093 | }; | |
19094 | ||
19095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19096 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19097 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19098 | { |
19099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19100 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
19101 | ||
19102 | wxPyEndAllowThreads(__tstate); | |
19103 | if (PyErr_Occurred()) SWIG_fail; | |
19104 | } | |
02a34c4c | 19105 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19106 | return resultobj; |
19107 | fail: | |
19108 | return NULL; | |
19109 | } | |
19110 | ||
19111 | ||
2f4c0a16 | 19112 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19113 | PyObject *resultobj; |
19114 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19115 | bool result; | |
19116 | PyObject * obj0 = 0 ; | |
19117 | char *kwnames[] = { | |
19118 | (char *) "self", NULL | |
19119 | }; | |
19120 | ||
19121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19122 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19123 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19124 | { |
19125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19126 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
19127 | ||
19128 | wxPyEndAllowThreads(__tstate); | |
19129 | if (PyErr_Occurred()) SWIG_fail; | |
19130 | } | |
02a34c4c | 19131 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19132 | return resultobj; |
19133 | fail: | |
19134 | return NULL; | |
19135 | } | |
19136 | ||
19137 | ||
2f4c0a16 | 19138 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19139 | PyObject *resultobj; |
19140 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19141 | bool result; | |
19142 | PyObject * obj0 = 0 ; | |
19143 | char *kwnames[] = { | |
19144 | (char *) "self", NULL | |
19145 | }; | |
19146 | ||
19147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19150 | { |
19151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19152 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
19153 | ||
19154 | wxPyEndAllowThreads(__tstate); | |
19155 | if (PyErr_Occurred()) SWIG_fail; | |
19156 | } | |
02a34c4c | 19157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19158 | return resultobj; |
19159 | fail: | |
19160 | return NULL; | |
19161 | } | |
19162 | ||
19163 | ||
2f4c0a16 | 19164 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19165 | PyObject *resultobj; |
19166 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19167 | bool result; | |
19168 | PyObject * obj0 = 0 ; | |
19169 | char *kwnames[] = { | |
19170 | (char *) "self", NULL | |
19171 | }; | |
19172 | ||
19173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19176 | { |
19177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19178 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
19179 | ||
19180 | wxPyEndAllowThreads(__tstate); | |
19181 | if (PyErr_Occurred()) SWIG_fail; | |
19182 | } | |
02a34c4c | 19183 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19184 | return resultobj; |
19185 | fail: | |
19186 | return NULL; | |
19187 | } | |
19188 | ||
19189 | ||
2f4c0a16 | 19190 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19191 | PyObject *resultobj; |
19192 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19193 | bool result; | |
19194 | PyObject * obj0 = 0 ; | |
19195 | char *kwnames[] = { | |
19196 | (char *) "self", NULL | |
19197 | }; | |
19198 | ||
19199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19202 | { |
19203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19204 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
19205 | ||
19206 | wxPyEndAllowThreads(__tstate); | |
19207 | if (PyErr_Occurred()) SWIG_fail; | |
19208 | } | |
02a34c4c | 19209 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19210 | return resultobj; |
19211 | fail: | |
19212 | return NULL; | |
19213 | } | |
19214 | ||
19215 | ||
2f4c0a16 | 19216 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19217 | PyObject *resultobj; |
19218 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19219 | wxPrintData *result; | |
19220 | PyObject * obj0 = 0 ; | |
19221 | char *kwnames[] = { | |
19222 | (char *) "self", NULL | |
19223 | }; | |
19224 | ||
19225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19226 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19227 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19228 | { |
19229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19230 | { | |
19231 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
19232 | result = (wxPrintData *) &_result_ref; | |
19233 | } | |
19234 | ||
19235 | wxPyEndAllowThreads(__tstate); | |
19236 | if (PyErr_Occurred()) SWIG_fail; | |
19237 | } | |
2f4c0a16 | 19238 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
19239 | return resultobj; |
19240 | fail: | |
19241 | return NULL; | |
19242 | } | |
19243 | ||
19244 | ||
2f4c0a16 | 19245 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19246 | PyObject *resultobj; |
19247 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
19248 | wxPrintData *arg2 = 0 ; | |
19249 | PyObject * obj0 = 0 ; | |
19250 | PyObject * obj1 = 0 ; | |
19251 | char *kwnames[] = { | |
19252 | (char *) "self",(char *) "printData", NULL | |
19253 | }; | |
19254 | ||
19255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19258 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
19259 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19260 | SWIG_fail; | |
d14a1e28 | 19261 | if (arg2 == NULL) { |
2f4c0a16 RD |
19262 | PyErr_SetString(PyExc_TypeError,"null reference"); |
19263 | SWIG_fail; | |
d14a1e28 RD |
19264 | } |
19265 | { | |
19266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19267 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
19268 | ||
19269 | wxPyEndAllowThreads(__tstate); | |
19270 | if (PyErr_Occurred()) SWIG_fail; | |
19271 | } | |
19272 | Py_INCREF(Py_None); resultobj = Py_None; | |
19273 | return resultobj; | |
19274 | fail: | |
19275 | return NULL; | |
19276 | } | |
19277 | ||
19278 | ||
2f4c0a16 | 19279 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19280 | PyObject *obj; |
19281 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19282 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
19283 | Py_INCREF(obj); | |
19284 | return Py_BuildValue((char *)""); | |
19285 | } | |
2f4c0a16 | 19286 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19287 | PyObject *resultobj; |
19288 | wxWindow *arg1 = (wxWindow *) 0 ; | |
19289 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
19290 | wxPrintDialog *result; | |
19291 | PyObject * obj0 = 0 ; | |
19292 | PyObject * obj1 = 0 ; | |
19293 | char *kwnames[] = { | |
19294 | (char *) "parent",(char *) "data", NULL | |
19295 | }; | |
19296 | ||
19297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19298 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
19299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 19300 | if (obj1) { |
2f4c0a16 RD |
19301 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
19302 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19303 | } |
19304 | { | |
19305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19306 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
19307 | ||
19308 | wxPyEndAllowThreads(__tstate); | |
19309 | if (PyErr_Occurred()) SWIG_fail; | |
19310 | } | |
2f4c0a16 | 19311 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
19312 | return resultobj; |
19313 | fail: | |
19314 | return NULL; | |
19315 | } | |
19316 | ||
19317 | ||
2f4c0a16 | 19318 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19319 | PyObject *resultobj; |
19320 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19321 | wxPrintDialogData *result; | |
19322 | PyObject * obj0 = 0 ; | |
19323 | char *kwnames[] = { | |
19324 | (char *) "self", NULL | |
19325 | }; | |
19326 | ||
19327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19330 | { |
19331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19332 | { | |
19333 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19334 | result = (wxPrintDialogData *) &_result_ref; | |
19335 | } | |
19336 | ||
19337 | wxPyEndAllowThreads(__tstate); | |
19338 | if (PyErr_Occurred()) SWIG_fail; | |
19339 | } | |
2f4c0a16 | 19340 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19341 | return resultobj; |
19342 | fail: | |
19343 | return NULL; | |
19344 | } | |
19345 | ||
19346 | ||
2f4c0a16 | 19347 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19348 | PyObject *resultobj; |
19349 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19350 | wxDC *result; | |
19351 | PyObject * obj0 = 0 ; | |
19352 | char *kwnames[] = { | |
19353 | (char *) "self", NULL | |
19354 | }; | |
19355 | ||
19356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19357 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19359 | { |
19360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19361 | result = (wxDC *)(arg1)->GetPrintDC(); | |
19362 | ||
19363 | wxPyEndAllowThreads(__tstate); | |
19364 | if (PyErr_Occurred()) SWIG_fail; | |
19365 | } | |
19366 | { | |
19367 | resultobj = wxPyMake_wxObject(result); | |
19368 | } | |
19369 | return resultobj; | |
19370 | fail: | |
19371 | return NULL; | |
19372 | } | |
19373 | ||
19374 | ||
2f4c0a16 | 19375 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19376 | PyObject *resultobj; |
19377 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
19378 | int result; | |
19379 | PyObject * obj0 = 0 ; | |
19380 | char *kwnames[] = { | |
19381 | (char *) "self", NULL | |
19382 | }; | |
19383 | ||
19384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19385 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
19386 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19387 | { |
19388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19389 | result = (int)(arg1)->ShowModal(); | |
19390 | ||
19391 | wxPyEndAllowThreads(__tstate); | |
19392 | if (PyErr_Occurred()) SWIG_fail; | |
19393 | } | |
2f4c0a16 | 19394 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19395 | return resultobj; |
19396 | fail: | |
19397 | return NULL; | |
19398 | } | |
19399 | ||
19400 | ||
2f4c0a16 | 19401 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19402 | PyObject *obj; |
19403 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19404 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
19405 | Py_INCREF(obj); | |
19406 | return Py_BuildValue((char *)""); | |
19407 | } | |
2f4c0a16 | 19408 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19409 | PyObject *resultobj; |
19410 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
19411 | wxPrinter *result; | |
19412 | PyObject * obj0 = 0 ; | |
19413 | char *kwnames[] = { | |
19414 | (char *) "data", NULL | |
19415 | }; | |
19416 | ||
19417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
19418 | if (obj0) { | |
2f4c0a16 RD |
19419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
19420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19421 | } |
19422 | { | |
19423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19424 | result = (wxPrinter *)new wxPrinter(arg1); | |
19425 | ||
19426 | wxPyEndAllowThreads(__tstate); | |
19427 | if (PyErr_Occurred()) SWIG_fail; | |
19428 | } | |
2f4c0a16 | 19429 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
19430 | return resultobj; |
19431 | fail: | |
19432 | return NULL; | |
19433 | } | |
19434 | ||
19435 | ||
2f4c0a16 | 19436 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19437 | PyObject *resultobj; |
19438 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19439 | PyObject * obj0 = 0 ; | |
19440 | char *kwnames[] = { | |
19441 | (char *) "self", NULL | |
19442 | }; | |
19443 | ||
19444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19445 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19446 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19447 | { |
19448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19449 | delete arg1; | |
19450 | ||
19451 | wxPyEndAllowThreads(__tstate); | |
19452 | if (PyErr_Occurred()) SWIG_fail; | |
19453 | } | |
19454 | Py_INCREF(Py_None); resultobj = Py_None; | |
19455 | return resultobj; | |
19456 | fail: | |
19457 | return NULL; | |
19458 | } | |
19459 | ||
19460 | ||
2f4c0a16 | 19461 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19462 | PyObject *resultobj; |
19463 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19464 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19465 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19466 | PyObject * obj0 = 0 ; | |
19467 | PyObject * obj1 = 0 ; | |
19468 | PyObject * obj2 = 0 ; | |
19469 | char *kwnames[] = { | |
19470 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
19471 | }; | |
19472 | ||
19473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
19474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19476 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19478 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19479 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19480 | { |
19481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19482 | (arg1)->CreateAbortWindow(arg2,arg3); | |
19483 | ||
19484 | wxPyEndAllowThreads(__tstate); | |
19485 | if (PyErr_Occurred()) SWIG_fail; | |
19486 | } | |
19487 | Py_INCREF(Py_None); resultobj = Py_None; | |
19488 | return resultobj; | |
19489 | fail: | |
19490 | return NULL; | |
19491 | } | |
19492 | ||
19493 | ||
2f4c0a16 | 19494 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19495 | PyObject *resultobj; |
19496 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19497 | wxPrintDialogData *result; | |
19498 | PyObject * obj0 = 0 ; | |
19499 | char *kwnames[] = { | |
19500 | (char *) "self", NULL | |
19501 | }; | |
19502 | ||
19503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19506 | { |
19507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19508 | { | |
19509 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
19510 | result = (wxPrintDialogData *) &_result_ref; | |
19511 | } | |
19512 | ||
19513 | wxPyEndAllowThreads(__tstate); | |
19514 | if (PyErr_Occurred()) SWIG_fail; | |
19515 | } | |
2f4c0a16 | 19516 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
19517 | return resultobj; |
19518 | fail: | |
19519 | return NULL; | |
19520 | } | |
19521 | ||
19522 | ||
2f4c0a16 | 19523 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19524 | PyObject *resultobj; |
19525 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19526 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19527 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
423f194a | 19528 | int arg4 = (int) True ; |
d14a1e28 RD |
19529 | bool result; |
19530 | PyObject * obj0 = 0 ; | |
19531 | PyObject * obj1 = 0 ; | |
19532 | PyObject * obj2 = 0 ; | |
8edf1c75 | 19533 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
19534 | char *kwnames[] = { |
19535 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL | |
19536 | }; | |
19537 | ||
8edf1c75 | 19538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
19539 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19540 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19541 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19543 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 19545 | if (obj3) { |
2f4c0a16 RD |
19546 | arg4 = (int) SWIG_AsInt(obj3); |
19547 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 19548 | } |
d14a1e28 RD |
19549 | { |
19550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19551 | result = (bool)(arg1)->Print(arg2,arg3,arg4); | |
19552 | ||
19553 | wxPyEndAllowThreads(__tstate); | |
19554 | if (PyErr_Occurred()) SWIG_fail; | |
19555 | } | |
02a34c4c | 19556 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19557 | return resultobj; |
19558 | fail: | |
19559 | return NULL; | |
19560 | } | |
19561 | ||
19562 | ||
2f4c0a16 | 19563 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19564 | PyObject *resultobj; |
19565 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19566 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19567 | wxDC *result; | |
19568 | PyObject * obj0 = 0 ; | |
19569 | PyObject * obj1 = 0 ; | |
19570 | char *kwnames[] = { | |
19571 | (char *) "self",(char *) "parent", NULL | |
19572 | }; | |
19573 | ||
19574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19577 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19578 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19579 | { |
19580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19581 | result = (wxDC *)(arg1)->PrintDialog(arg2); | |
19582 | ||
19583 | wxPyEndAllowThreads(__tstate); | |
19584 | if (PyErr_Occurred()) SWIG_fail; | |
19585 | } | |
19586 | { | |
19587 | resultobj = wxPyMake_wxObject(result); | |
19588 | } | |
19589 | return resultobj; | |
19590 | fail: | |
19591 | return NULL; | |
19592 | } | |
19593 | ||
19594 | ||
2f4c0a16 | 19595 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19596 | PyObject *resultobj; |
19597 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19598 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19599 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; | |
19600 | wxString *arg4 = 0 ; | |
423f194a | 19601 | bool temp4 = False ; |
d14a1e28 RD |
19602 | PyObject * obj0 = 0 ; |
19603 | PyObject * obj1 = 0 ; | |
19604 | PyObject * obj2 = 0 ; | |
19605 | PyObject * obj3 = 0 ; | |
19606 | char *kwnames[] = { | |
19607 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL | |
19608 | }; | |
19609 | ||
19610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
19611 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19612 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19613 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19615 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, | |
19616 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19617 | { |
19618 | arg4 = wxString_in_helper(obj3); | |
19619 | if (arg4 == NULL) SWIG_fail; | |
423f194a | 19620 | temp4 = True; |
d14a1e28 RD |
19621 | } |
19622 | { | |
19623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19624 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); | |
19625 | ||
19626 | wxPyEndAllowThreads(__tstate); | |
19627 | if (PyErr_Occurred()) SWIG_fail; | |
19628 | } | |
19629 | Py_INCREF(Py_None); resultobj = Py_None; | |
19630 | { | |
19631 | if (temp4) | |
19632 | delete arg4; | |
19633 | } | |
19634 | return resultobj; | |
19635 | fail: | |
19636 | { | |
19637 | if (temp4) | |
19638 | delete arg4; | |
19639 | } | |
19640 | return NULL; | |
19641 | } | |
19642 | ||
19643 | ||
2f4c0a16 | 19644 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19645 | PyObject *resultobj; |
19646 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19647 | wxWindow *arg2 = (wxWindow *) 0 ; | |
19648 | bool result; | |
19649 | PyObject * obj0 = 0 ; | |
19650 | PyObject * obj1 = 0 ; | |
19651 | char *kwnames[] = { | |
19652 | (char *) "self",(char *) "parent", NULL | |
19653 | }; | |
19654 | ||
19655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19658 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
19659 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19660 | { |
19661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19662 | result = (bool)(arg1)->Setup(arg2); | |
19663 | ||
19664 | wxPyEndAllowThreads(__tstate); | |
19665 | if (PyErr_Occurred()) SWIG_fail; | |
19666 | } | |
02a34c4c | 19667 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19668 | return resultobj; |
19669 | fail: | |
19670 | return NULL; | |
19671 | } | |
19672 | ||
19673 | ||
2f4c0a16 | 19674 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19675 | PyObject *resultobj; |
19676 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
19677 | bool result; | |
19678 | PyObject * obj0 = 0 ; | |
19679 | char *kwnames[] = { | |
19680 | (char *) "self", NULL | |
19681 | }; | |
19682 | ||
19683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
19685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19686 | { |
19687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19688 | result = (bool)(arg1)->GetAbort(); | |
19689 | ||
19690 | wxPyEndAllowThreads(__tstate); | |
19691 | if (PyErr_Occurred()) SWIG_fail; | |
19692 | } | |
02a34c4c | 19693 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
19694 | return resultobj; |
19695 | fail: | |
19696 | return NULL; | |
19697 | } | |
19698 | ||
19699 | ||
2f4c0a16 | 19700 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19701 | PyObject *resultobj; |
19702 | int result; | |
19703 | char *kwnames[] = { | |
19704 | NULL | |
19705 | }; | |
19706 | ||
19707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
19708 | { | |
19709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19710 | result = (int)wxPrinter::GetLastError(); | |
19711 | ||
19712 | wxPyEndAllowThreads(__tstate); | |
19713 | if (PyErr_Occurred()) SWIG_fail; | |
19714 | } | |
2f4c0a16 | 19715 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
19716 | return resultobj; |
19717 | fail: | |
19718 | return NULL; | |
19719 | } | |
19720 | ||
19721 | ||
2f4c0a16 | 19722 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19723 | PyObject *obj; |
19724 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19725 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
19726 | Py_INCREF(obj); | |
19727 | return Py_BuildValue((char *)""); | |
19728 | } | |
2f4c0a16 | 19729 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19730 | PyObject *resultobj; |
19731 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
19732 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
19733 | wxPyPrintout *result; | |
423f194a | 19734 | bool temp1 = False ; |
d14a1e28 RD |
19735 | PyObject * obj0 = 0 ; |
19736 | char *kwnames[] = { | |
19737 | (char *) "title", NULL | |
19738 | }; | |
19739 | ||
19740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
19741 | if (obj0) { | |
19742 | { | |
19743 | arg1 = wxString_in_helper(obj0); | |
19744 | if (arg1 == NULL) SWIG_fail; | |
423f194a | 19745 | temp1 = True; |
d14a1e28 RD |
19746 | } |
19747 | } | |
19748 | { | |
19749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19750 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
19751 | ||
19752 | wxPyEndAllowThreads(__tstate); | |
19753 | if (PyErr_Occurred()) SWIG_fail; | |
19754 | } | |
19755 | { | |
19756 | resultobj = wxPyMake_wxObject(result); | |
19757 | } | |
19758 | { | |
19759 | if (temp1) | |
19760 | delete arg1; | |
19761 | } | |
19762 | return resultobj; | |
19763 | fail: | |
19764 | { | |
19765 | if (temp1) | |
19766 | delete arg1; | |
19767 | } | |
19768 | return NULL; | |
19769 | } | |
19770 | ||
19771 | ||
2f4c0a16 | 19772 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19773 | PyObject *resultobj; |
19774 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19775 | PyObject *arg2 = (PyObject *) 0 ; | |
19776 | PyObject *arg3 = (PyObject *) 0 ; | |
19777 | PyObject * obj0 = 0 ; | |
19778 | PyObject * obj1 = 0 ; | |
19779 | PyObject * obj2 = 0 ; | |
19780 | char *kwnames[] = { | |
19781 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
19782 | }; | |
19783 | ||
19784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
19785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19787 | arg2 = obj1; |
19788 | arg3 = obj2; | |
19789 | { | |
19790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19791 | (arg1)->_setCallbackInfo(arg2,arg3); | |
19792 | ||
19793 | wxPyEndAllowThreads(__tstate); | |
19794 | if (PyErr_Occurred()) SWIG_fail; | |
19795 | } | |
19796 | Py_INCREF(Py_None); resultobj = Py_None; | |
19797 | return resultobj; | |
19798 | fail: | |
19799 | return NULL; | |
19800 | } | |
19801 | ||
19802 | ||
2f4c0a16 | 19803 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19804 | PyObject *resultobj; |
19805 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19806 | wxString result; | |
19807 | PyObject * obj0 = 0 ; | |
19808 | char *kwnames[] = { | |
19809 | (char *) "self", NULL | |
19810 | }; | |
19811 | ||
19812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19815 | { |
19816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19817 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
19818 | ||
19819 | wxPyEndAllowThreads(__tstate); | |
19820 | if (PyErr_Occurred()) SWIG_fail; | |
19821 | } | |
19822 | { | |
19823 | #if wxUSE_UNICODE | |
19824 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
19825 | #else | |
19826 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
19827 | #endif | |
19828 | } | |
19829 | return resultobj; | |
19830 | fail: | |
19831 | return NULL; | |
19832 | } | |
19833 | ||
19834 | ||
2f4c0a16 | 19835 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19836 | PyObject *resultobj; |
19837 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19838 | wxDC *result; | |
19839 | PyObject * obj0 = 0 ; | |
19840 | char *kwnames[] = { | |
19841 | (char *) "self", NULL | |
19842 | }; | |
19843 | ||
19844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19845 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19846 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19847 | { |
19848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19849 | result = (wxDC *)(arg1)->GetDC(); | |
19850 | ||
19851 | wxPyEndAllowThreads(__tstate); | |
19852 | if (PyErr_Occurred()) SWIG_fail; | |
19853 | } | |
19854 | { | |
19855 | resultobj = wxPyMake_wxObject(result); | |
19856 | } | |
19857 | return resultobj; | |
19858 | fail: | |
19859 | return NULL; | |
19860 | } | |
19861 | ||
19862 | ||
2f4c0a16 | 19863 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19864 | PyObject *resultobj; |
19865 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19866 | wxDC *arg2 = (wxDC *) 0 ; | |
19867 | PyObject * obj0 = 0 ; | |
19868 | PyObject * obj1 = 0 ; | |
19869 | char *kwnames[] = { | |
19870 | (char *) "self",(char *) "dc", NULL | |
19871 | }; | |
19872 | ||
19873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
19874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19876 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
19877 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19878 | { |
19879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19880 | (arg1)->SetDC(arg2); | |
19881 | ||
19882 | wxPyEndAllowThreads(__tstate); | |
19883 | if (PyErr_Occurred()) SWIG_fail; | |
19884 | } | |
19885 | Py_INCREF(Py_None); resultobj = Py_None; | |
19886 | return resultobj; | |
19887 | fail: | |
19888 | return NULL; | |
19889 | } | |
19890 | ||
19891 | ||
2f4c0a16 | 19892 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19893 | PyObject *resultobj; |
19894 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
19895 | int arg2 ; |
19896 | int arg3 ; | |
d14a1e28 | 19897 | PyObject * obj0 = 0 ; |
8edf1c75 RD |
19898 | PyObject * obj1 = 0 ; |
19899 | PyObject * obj2 = 0 ; | |
d14a1e28 | 19900 | char *kwnames[] = { |
44127b65 | 19901 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
19902 | }; |
19903 | ||
8edf1c75 | 19904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
19905 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19906 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19907 | arg2 = (int) SWIG_AsInt(obj1); | |
19908 | if (PyErr_Occurred()) SWIG_fail; | |
19909 | arg3 = (int) SWIG_AsInt(obj2); | |
19910 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19911 | { |
19912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 19913 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
19914 | |
19915 | wxPyEndAllowThreads(__tstate); | |
19916 | if (PyErr_Occurred()) SWIG_fail; | |
19917 | } | |
19918 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
19919 | return resultobj; |
19920 | fail: | |
19921 | return NULL; | |
19922 | } | |
19923 | ||
19924 | ||
2f4c0a16 | 19925 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19926 | PyObject *resultobj; |
19927 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
44127b65 RD |
19928 | int *arg2 = (int *) 0 ; |
19929 | int *arg3 = (int *) 0 ; | |
19930 | int temp2 ; | |
19931 | int temp3 ; | |
d14a1e28 RD |
19932 | PyObject * obj0 = 0 ; |
19933 | char *kwnames[] = { | |
44127b65 | 19934 | (char *) "self", NULL |
d14a1e28 RD |
19935 | }; |
19936 | ||
44127b65 RD |
19937 | arg2 = &temp2; |
19938 | arg3 = &temp3; | |
19939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
19940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19942 | { |
19943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
44127b65 | 19944 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
19945 | |
19946 | wxPyEndAllowThreads(__tstate); | |
19947 | if (PyErr_Occurred()) SWIG_fail; | |
19948 | } | |
19949 | Py_INCREF(Py_None); resultobj = Py_None; | |
44127b65 RD |
19950 | { |
19951 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
19952 | resultobj = t_output_helper(resultobj,o); | |
19953 | } | |
19954 | { | |
19955 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
19956 | resultobj = t_output_helper(resultobj,o); | |
19957 | } | |
d14a1e28 RD |
19958 | return resultobj; |
19959 | fail: | |
19960 | return NULL; | |
19961 | } | |
19962 | ||
19963 | ||
2f4c0a16 | 19964 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19965 | PyObject *resultobj; |
19966 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
19967 | int arg2 ; | |
19968 | int arg3 ; | |
19969 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
19970 | PyObject * obj1 = 0 ; |
19971 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19972 | char *kwnames[] = { |
19973 | (char *) "self",(char *) "w",(char *) "h", NULL | |
19974 | }; | |
19975 | ||
8edf1c75 | 19976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
19977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
19978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19979 | arg2 = (int) SWIG_AsInt(obj1); | |
19980 | if (PyErr_Occurred()) SWIG_fail; | |
19981 | arg3 = (int) SWIG_AsInt(obj2); | |
19982 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
19983 | { |
19984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19985 | (arg1)->SetPageSizeMM(arg2,arg3); | |
19986 | ||
19987 | wxPyEndAllowThreads(__tstate); | |
19988 | if (PyErr_Occurred()) SWIG_fail; | |
19989 | } | |
19990 | Py_INCREF(Py_None); resultobj = Py_None; | |
19991 | return resultobj; | |
19992 | fail: | |
19993 | return NULL; | |
19994 | } | |
19995 | ||
19996 | ||
2f4c0a16 | 19997 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19998 | PyObject *resultobj; |
19999 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20000 | int *arg2 = (int *) 0 ; | |
20001 | int *arg3 = (int *) 0 ; | |
20002 | int temp2 ; | |
20003 | int temp3 ; | |
20004 | PyObject * obj0 = 0 ; | |
20005 | char *kwnames[] = { | |
20006 | (char *) "self", NULL | |
20007 | }; | |
20008 | ||
20009 | arg2 = &temp2; | |
20010 | arg3 = &temp3; | |
20011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20014 | { |
20015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20016 | (arg1)->GetPageSizeMM(arg2,arg3); | |
20017 | ||
20018 | wxPyEndAllowThreads(__tstate); | |
20019 | if (PyErr_Occurred()) SWIG_fail; | |
20020 | } | |
20021 | Py_INCREF(Py_None); resultobj = Py_None; | |
20022 | { | |
20023 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20024 | resultobj = t_output_helper(resultobj,o); | |
20025 | } | |
20026 | { | |
20027 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20028 | resultobj = t_output_helper(resultobj,o); | |
20029 | } | |
20030 | return resultobj; | |
20031 | fail: | |
20032 | return NULL; | |
20033 | } | |
20034 | ||
20035 | ||
2f4c0a16 | 20036 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20037 | PyObject *resultobj; |
20038 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20039 | int arg2 ; | |
20040 | int arg3 ; | |
20041 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20042 | PyObject * obj1 = 0 ; |
20043 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20044 | char *kwnames[] = { |
20045 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20046 | }; | |
20047 | ||
8edf1c75 | 20048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20051 | arg2 = (int) SWIG_AsInt(obj1); | |
20052 | if (PyErr_Occurred()) SWIG_fail; | |
20053 | arg3 = (int) SWIG_AsInt(obj2); | |
20054 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20055 | { |
20056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20057 | (arg1)->SetPPIScreen(arg2,arg3); | |
20058 | ||
20059 | wxPyEndAllowThreads(__tstate); | |
20060 | if (PyErr_Occurred()) SWIG_fail; | |
20061 | } | |
20062 | Py_INCREF(Py_None); resultobj = Py_None; | |
20063 | return resultobj; | |
20064 | fail: | |
20065 | return NULL; | |
20066 | } | |
20067 | ||
20068 | ||
2f4c0a16 | 20069 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20070 | PyObject *resultobj; |
20071 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20072 | int *arg2 = (int *) 0 ; | |
20073 | int *arg3 = (int *) 0 ; | |
20074 | int temp2 ; | |
20075 | int temp3 ; | |
20076 | PyObject * obj0 = 0 ; | |
20077 | char *kwnames[] = { | |
20078 | (char *) "self", NULL | |
20079 | }; | |
20080 | ||
20081 | arg2 = &temp2; | |
20082 | arg3 = &temp3; | |
20083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20086 | { |
20087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20088 | (arg1)->GetPPIScreen(arg2,arg3); | |
20089 | ||
20090 | wxPyEndAllowThreads(__tstate); | |
20091 | if (PyErr_Occurred()) SWIG_fail; | |
20092 | } | |
20093 | Py_INCREF(Py_None); resultobj = Py_None; | |
20094 | { | |
20095 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20096 | resultobj = t_output_helper(resultobj,o); | |
20097 | } | |
20098 | { | |
20099 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20100 | resultobj = t_output_helper(resultobj,o); | |
20101 | } | |
20102 | return resultobj; | |
20103 | fail: | |
20104 | return NULL; | |
20105 | } | |
20106 | ||
20107 | ||
2f4c0a16 | 20108 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20109 | PyObject *resultobj; |
20110 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20111 | int arg2 ; | |
20112 | int arg3 ; | |
20113 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20114 | PyObject * obj1 = 0 ; |
20115 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20116 | char *kwnames[] = { |
20117 | (char *) "self",(char *) "x",(char *) "y", NULL | |
20118 | }; | |
20119 | ||
8edf1c75 | 20120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20123 | arg2 = (int) SWIG_AsInt(obj1); | |
20124 | if (PyErr_Occurred()) SWIG_fail; | |
20125 | arg3 = (int) SWIG_AsInt(obj2); | |
20126 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20127 | { |
20128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20129 | (arg1)->SetPPIPrinter(arg2,arg3); | |
20130 | ||
20131 | wxPyEndAllowThreads(__tstate); | |
20132 | if (PyErr_Occurred()) SWIG_fail; | |
20133 | } | |
20134 | Py_INCREF(Py_None); resultobj = Py_None; | |
20135 | return resultobj; | |
20136 | fail: | |
20137 | return NULL; | |
20138 | } | |
20139 | ||
20140 | ||
2f4c0a16 | 20141 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20142 | PyObject *resultobj; |
20143 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20144 | int *arg2 = (int *) 0 ; | |
20145 | int *arg3 = (int *) 0 ; | |
20146 | int temp2 ; | |
20147 | int temp3 ; | |
20148 | PyObject * obj0 = 0 ; | |
20149 | char *kwnames[] = { | |
20150 | (char *) "self", NULL | |
20151 | }; | |
20152 | ||
20153 | arg2 = &temp2; | |
20154 | arg3 = &temp3; | |
20155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20158 | { |
20159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20160 | (arg1)->GetPPIPrinter(arg2,arg3); | |
20161 | ||
20162 | wxPyEndAllowThreads(__tstate); | |
20163 | if (PyErr_Occurred()) SWIG_fail; | |
20164 | } | |
20165 | Py_INCREF(Py_None); resultobj = Py_None; | |
20166 | { | |
20167 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20168 | resultobj = t_output_helper(resultobj,o); | |
20169 | } | |
20170 | { | |
20171 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20172 | resultobj = t_output_helper(resultobj,o); | |
20173 | } | |
20174 | return resultobj; | |
20175 | fail: | |
20176 | return NULL; | |
20177 | } | |
20178 | ||
20179 | ||
2f4c0a16 | 20180 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20181 | PyObject *resultobj; |
20182 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20183 | bool result; | |
20184 | PyObject * obj0 = 0 ; | |
20185 | char *kwnames[] = { | |
20186 | (char *) "self", NULL | |
20187 | }; | |
20188 | ||
20189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20190 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20191 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20192 | { |
20193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20194 | result = (bool)(arg1)->IsPreview(); | |
20195 | ||
20196 | wxPyEndAllowThreads(__tstate); | |
20197 | if (PyErr_Occurred()) SWIG_fail; | |
20198 | } | |
02a34c4c | 20199 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20200 | return resultobj; |
20201 | fail: | |
20202 | return NULL; | |
20203 | } | |
20204 | ||
20205 | ||
2f4c0a16 | 20206 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20207 | PyObject *resultobj; |
20208 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20209 | bool arg2 ; | |
20210 | PyObject * obj0 = 0 ; | |
20211 | PyObject * obj1 = 0 ; | |
20212 | char *kwnames[] = { | |
20213 | (char *) "self",(char *) "p", NULL | |
20214 | }; | |
20215 | ||
20216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
20217 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20219 | arg2 = (bool) SWIG_AsBool(obj1); | |
20220 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20221 | { |
20222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20223 | (arg1)->SetIsPreview(arg2); | |
20224 | ||
20225 | wxPyEndAllowThreads(__tstate); | |
20226 | if (PyErr_Occurred()) SWIG_fail; | |
20227 | } | |
20228 | Py_INCREF(Py_None); resultobj = Py_None; | |
20229 | return resultobj; | |
20230 | fail: | |
20231 | return NULL; | |
20232 | } | |
20233 | ||
20234 | ||
2f4c0a16 | 20235 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20236 | PyObject *resultobj; |
20237 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20238 | int arg2 ; | |
20239 | int arg3 ; | |
20240 | bool result; | |
20241 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
20242 | PyObject * obj1 = 0 ; |
20243 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
20244 | char *kwnames[] = { |
20245 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
20246 | }; | |
20247 | ||
8edf1c75 | 20248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
20249 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20250 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20251 | arg2 = (int) SWIG_AsInt(obj1); | |
20252 | if (PyErr_Occurred()) SWIG_fail; | |
20253 | arg3 = (int) SWIG_AsInt(obj2); | |
20254 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20255 | { |
20256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20257 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
20258 | ||
20259 | wxPyEndAllowThreads(__tstate); | |
20260 | if (PyErr_Occurred()) SWIG_fail; | |
20261 | } | |
02a34c4c | 20262 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
20263 | return resultobj; |
20264 | fail: | |
20265 | return NULL; | |
20266 | } | |
20267 | ||
20268 | ||
2f4c0a16 | 20269 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20270 | PyObject *resultobj; |
20271 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20272 | PyObject * obj0 = 0 ; | |
20273 | char *kwnames[] = { | |
20274 | (char *) "self", NULL | |
20275 | }; | |
20276 | ||
20277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20280 | { |
20281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20282 | (arg1)->base_OnEndDocument(); | |
20283 | ||
20284 | wxPyEndAllowThreads(__tstate); | |
20285 | if (PyErr_Occurred()) SWIG_fail; | |
20286 | } | |
20287 | Py_INCREF(Py_None); resultobj = Py_None; | |
20288 | return resultobj; | |
20289 | fail: | |
20290 | return NULL; | |
20291 | } | |
20292 | ||
20293 | ||
2f4c0a16 | 20294 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20295 | PyObject *resultobj; |
20296 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20297 | PyObject * obj0 = 0 ; | |
20298 | char *kwnames[] = { | |
20299 | (char *) "self", NULL | |
20300 | }; | |
20301 | ||
20302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20303 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20304 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20305 | { |
20306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20307 | (arg1)->base_OnBeginPrinting(); | |
20308 | ||
20309 | wxPyEndAllowThreads(__tstate); | |
20310 | if (PyErr_Occurred()) SWIG_fail; | |
20311 | } | |
20312 | Py_INCREF(Py_None); resultobj = Py_None; | |
20313 | return resultobj; | |
20314 | fail: | |
20315 | return NULL; | |
20316 | } | |
20317 | ||
20318 | ||
2f4c0a16 | 20319 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20320 | PyObject *resultobj; |
20321 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20322 | PyObject * obj0 = 0 ; | |
20323 | char *kwnames[] = { | |
20324 | (char *) "self", NULL | |
20325 | }; | |
20326 | ||
20327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20328 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20330 | { |
20331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20332 | (arg1)->base_OnEndPrinting(); | |
20333 | ||
20334 | wxPyEndAllowThreads(__tstate); | |
20335 | if (PyErr_Occurred()) SWIG_fail; | |
20336 | } | |
20337 | Py_INCREF(Py_None); resultobj = Py_None; | |
20338 | return resultobj; | |
20339 | fail: | |
20340 | return NULL; | |
20341 | } | |
20342 | ||
20343 | ||
2f4c0a16 | 20344 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20345 | PyObject *resultobj; |
20346 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20347 | PyObject * obj0 = 0 ; | |
20348 | char *kwnames[] = { | |
20349 | (char *) "self", NULL | |
20350 | }; | |
20351 | ||
20352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20353 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20354 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20355 | { |
20356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20357 | (arg1)->base_OnPreparePrinting(); | |
20358 | ||
20359 | wxPyEndAllowThreads(__tstate); | |
20360 | if (PyErr_Occurred()) SWIG_fail; | |
20361 | } | |
20362 | Py_INCREF(Py_None); resultobj = Py_None; | |
20363 | return resultobj; | |
20364 | fail: | |
20365 | return NULL; | |
20366 | } | |
20367 | ||
20368 | ||
2f4c0a16 | 20369 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
44127b65 RD |
20370 | PyObject *resultobj; |
20371 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20372 | int arg2 ; | |
20373 | bool result; | |
20374 | PyObject * obj0 = 0 ; | |
8edf1c75 | 20375 | PyObject * obj1 = 0 ; |
44127b65 RD |
20376 | char *kwnames[] = { |
20377 | (char *) "self",(char *) "page", NULL | |
20378 | }; | |
20379 | ||
8edf1c75 | 20380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
20381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20383 | arg2 = (int) SWIG_AsInt(obj1); | |
20384 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
20385 | { |
20386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20387 | result = (bool)(arg1)->base_HasPage(arg2); | |
20388 | ||
20389 | wxPyEndAllowThreads(__tstate); | |
20390 | if (PyErr_Occurred()) SWIG_fail; | |
20391 | } | |
02a34c4c | 20392 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
44127b65 RD |
20393 | return resultobj; |
20394 | fail: | |
20395 | return NULL; | |
20396 | } | |
20397 | ||
20398 | ||
2f4c0a16 | 20399 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20400 | PyObject *resultobj; |
20401 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
20402 | int *arg2 = (int *) 0 ; | |
20403 | int *arg3 = (int *) 0 ; | |
20404 | int *arg4 = (int *) 0 ; | |
20405 | int *arg5 = (int *) 0 ; | |
20406 | int temp2 ; | |
20407 | int temp3 ; | |
20408 | int temp4 ; | |
20409 | int temp5 ; | |
20410 | PyObject * obj0 = 0 ; | |
20411 | char *kwnames[] = { | |
20412 | (char *) "self", NULL | |
20413 | }; | |
20414 | ||
20415 | arg2 = &temp2; | |
20416 | arg3 = &temp3; | |
20417 | arg4 = &temp4; | |
20418 | arg5 = &temp5; | |
20419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
20421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20422 | { |
20423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20424 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
20425 | ||
20426 | wxPyEndAllowThreads(__tstate); | |
20427 | if (PyErr_Occurred()) SWIG_fail; | |
20428 | } | |
20429 | Py_INCREF(Py_None); resultobj = Py_None; | |
20430 | { | |
20431 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
20432 | resultobj = t_output_helper(resultobj,o); | |
20433 | } | |
20434 | { | |
20435 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
20436 | resultobj = t_output_helper(resultobj,o); | |
20437 | } | |
20438 | { | |
20439 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
20440 | resultobj = t_output_helper(resultobj,o); | |
20441 | } | |
20442 | { | |
20443 | PyObject *o = PyInt_FromLong((long) (*arg5)); | |
20444 | resultobj = t_output_helper(resultobj,o); | |
20445 | } | |
20446 | return resultobj; | |
20447 | fail: | |
20448 | return NULL; | |
20449 | } | |
20450 | ||
20451 | ||
2f4c0a16 | 20452 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20453 | PyObject *obj; |
20454 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20455 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
20456 | Py_INCREF(obj); | |
20457 | return Py_BuildValue((char *)""); | |
20458 | } | |
2f4c0a16 | 20459 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20460 | PyObject *resultobj; |
20461 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20462 | wxWindow *arg2 = (wxWindow *) 0 ; | |
20463 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
20464 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
20465 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
20466 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
20467 | long arg5 = (long) 0 ; | |
20468 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
20469 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
20470 | wxPreviewCanvas *result; | |
20471 | wxPoint temp3 ; | |
20472 | wxSize temp4 ; | |
423f194a | 20473 | bool temp6 = False ; |
d14a1e28 RD |
20474 | PyObject * obj0 = 0 ; |
20475 | PyObject * obj1 = 0 ; | |
20476 | PyObject * obj2 = 0 ; | |
20477 | PyObject * obj3 = 0 ; | |
8edf1c75 | 20478 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
20479 | PyObject * obj5 = 0 ; |
20480 | char *kwnames[] = { | |
20481 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20482 | }; | |
20483 | ||
8edf1c75 | 20484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
20485 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20486 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20487 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
20488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20489 | if (obj2) { |
20490 | { | |
20491 | arg3 = &temp3; | |
20492 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
20493 | } | |
20494 | } | |
20495 | if (obj3) { | |
20496 | { | |
20497 | arg4 = &temp4; | |
20498 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
20499 | } | |
20500 | } | |
8edf1c75 | 20501 | if (obj4) { |
2f4c0a16 RD |
20502 | arg5 = (long) SWIG_AsLong(obj4); |
20503 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 20504 | } |
d14a1e28 RD |
20505 | if (obj5) { |
20506 | { | |
20507 | arg6 = wxString_in_helper(obj5); | |
20508 | if (arg6 == NULL) SWIG_fail; | |
423f194a | 20509 | temp6 = True; |
d14a1e28 RD |
20510 | } |
20511 | } | |
20512 | { | |
20513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20514 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
20515 | ||
20516 | wxPyEndAllowThreads(__tstate); | |
20517 | if (PyErr_Occurred()) SWIG_fail; | |
20518 | } | |
2f4c0a16 | 20519 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
20520 | { |
20521 | if (temp6) | |
20522 | delete arg6; | |
20523 | } | |
20524 | return resultobj; | |
20525 | fail: | |
20526 | { | |
20527 | if (temp6) | |
20528 | delete arg6; | |
20529 | } | |
20530 | return NULL; | |
20531 | } | |
20532 | ||
20533 | ||
2f4c0a16 | 20534 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20535 | PyObject *obj; |
20536 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20537 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
20538 | Py_INCREF(obj); | |
20539 | return Py_BuildValue((char *)""); | |
20540 | } | |
2f4c0a16 | 20541 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20542 | PyObject *resultobj; |
20543 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20544 | wxFrame *arg2 = (wxFrame *) 0 ; | |
20545 | wxString *arg3 = 0 ; | |
20546 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20547 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20548 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20549 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20550 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
20551 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
20552 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20553 | wxPreviewFrame *result; | |
423f194a | 20554 | bool temp3 = False ; |
d14a1e28 RD |
20555 | wxPoint temp4 ; |
20556 | wxSize temp5 ; | |
423f194a | 20557 | bool temp7 = False ; |
d14a1e28 RD |
20558 | PyObject * obj0 = 0 ; |
20559 | PyObject * obj1 = 0 ; | |
20560 | PyObject * obj2 = 0 ; | |
20561 | PyObject * obj3 = 0 ; | |
20562 | PyObject * obj4 = 0 ; | |
8edf1c75 | 20563 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20564 | PyObject * obj6 = 0 ; |
20565 | char *kwnames[] = { | |
20566 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20567 | }; | |
20568 | ||
8edf1c75 | 20569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
20570 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20571 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20572 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
20573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20574 | { |
20575 | arg3 = wxString_in_helper(obj2); | |
20576 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 20577 | temp3 = True; |
d14a1e28 RD |
20578 | } |
20579 | if (obj3) { | |
20580 | { | |
20581 | arg4 = &temp4; | |
20582 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20583 | } | |
20584 | } | |
20585 | if (obj4) { | |
20586 | { | |
20587 | arg5 = &temp5; | |
20588 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20589 | } | |
20590 | } | |
8edf1c75 | 20591 | if (obj5) { |
2f4c0a16 RD |
20592 | arg6 = (long) SWIG_AsLong(obj5); |
20593 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 20594 | } |
d14a1e28 RD |
20595 | if (obj6) { |
20596 | { | |
20597 | arg7 = wxString_in_helper(obj6); | |
20598 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 20599 | temp7 = True; |
d14a1e28 RD |
20600 | } |
20601 | } | |
20602 | { | |
20603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20604 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20605 | ||
20606 | wxPyEndAllowThreads(__tstate); | |
20607 | if (PyErr_Occurred()) SWIG_fail; | |
20608 | } | |
2f4c0a16 | 20609 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
20610 | { |
20611 | if (temp3) | |
20612 | delete arg3; | |
20613 | } | |
20614 | { | |
20615 | if (temp7) | |
20616 | delete arg7; | |
20617 | } | |
20618 | return resultobj; | |
20619 | fail: | |
20620 | { | |
20621 | if (temp3) | |
20622 | delete arg3; | |
20623 | } | |
20624 | { | |
20625 | if (temp7) | |
20626 | delete arg7; | |
20627 | } | |
20628 | return NULL; | |
20629 | } | |
20630 | ||
20631 | ||
2f4c0a16 | 20632 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20633 | PyObject *resultobj; |
20634 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20635 | PyObject * obj0 = 0 ; | |
20636 | char *kwnames[] = { | |
20637 | (char *) "self", NULL | |
20638 | }; | |
20639 | ||
20640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20643 | { |
20644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20645 | (arg1)->Initialize(); | |
20646 | ||
20647 | wxPyEndAllowThreads(__tstate); | |
20648 | if (PyErr_Occurred()) SWIG_fail; | |
20649 | } | |
20650 | Py_INCREF(Py_None); resultobj = Py_None; | |
20651 | return resultobj; | |
20652 | fail: | |
20653 | return NULL; | |
20654 | } | |
20655 | ||
20656 | ||
2f4c0a16 | 20657 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20658 | PyObject *resultobj; |
20659 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20660 | PyObject * obj0 = 0 ; | |
20661 | char *kwnames[] = { | |
20662 | (char *) "self", NULL | |
20663 | }; | |
20664 | ||
20665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20666 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20667 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20668 | { |
20669 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20670 | (arg1)->CreateControlBar(); | |
20671 | ||
20672 | wxPyEndAllowThreads(__tstate); | |
20673 | if (PyErr_Occurred()) SWIG_fail; | |
20674 | } | |
20675 | Py_INCREF(Py_None); resultobj = Py_None; | |
20676 | return resultobj; | |
20677 | fail: | |
20678 | return NULL; | |
20679 | } | |
20680 | ||
20681 | ||
2f4c0a16 | 20682 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20683 | PyObject *resultobj; |
20684 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20685 | PyObject * obj0 = 0 ; | |
20686 | char *kwnames[] = { | |
20687 | (char *) "self", NULL | |
20688 | }; | |
20689 | ||
20690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20691 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20692 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20693 | { |
20694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20695 | (arg1)->CreateCanvas(); | |
20696 | ||
20697 | wxPyEndAllowThreads(__tstate); | |
20698 | if (PyErr_Occurred()) SWIG_fail; | |
20699 | } | |
20700 | Py_INCREF(Py_None); resultobj = Py_None; | |
20701 | return resultobj; | |
20702 | fail: | |
20703 | return NULL; | |
20704 | } | |
20705 | ||
20706 | ||
2f4c0a16 | 20707 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20708 | PyObject *resultobj; |
20709 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
20710 | wxPreviewControlBar *result; | |
20711 | PyObject * obj0 = 0 ; | |
20712 | char *kwnames[] = { | |
20713 | (char *) "self", NULL | |
20714 | }; | |
20715 | ||
20716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20717 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
20718 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20719 | { |
20720 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20721 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
20722 | ||
20723 | wxPyEndAllowThreads(__tstate); | |
20724 | if (PyErr_Occurred()) SWIG_fail; | |
20725 | } | |
2f4c0a16 | 20726 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
20727 | return resultobj; |
20728 | fail: | |
20729 | return NULL; | |
20730 | } | |
20731 | ||
20732 | ||
2f4c0a16 | 20733 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20734 | PyObject *obj; |
20735 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20736 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
20737 | Py_INCREF(obj); | |
20738 | return Py_BuildValue((char *)""); | |
20739 | } | |
2f4c0a16 | 20740 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20741 | PyObject *resultobj; |
20742 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
20743 | long arg2 ; | |
20744 | wxWindow *arg3 = (wxWindow *) 0 ; | |
20745 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
20746 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
20747 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
20748 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
20749 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
20750 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
20751 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
20752 | wxPreviewControlBar *result; | |
20753 | wxPoint temp4 ; | |
20754 | wxSize temp5 ; | |
423f194a | 20755 | bool temp7 = False ; |
d14a1e28 | 20756 | PyObject * obj0 = 0 ; |
8edf1c75 | 20757 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20758 | PyObject * obj2 = 0 ; |
20759 | PyObject * obj3 = 0 ; | |
20760 | PyObject * obj4 = 0 ; | |
8edf1c75 | 20761 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
20762 | PyObject * obj6 = 0 ; |
20763 | char *kwnames[] = { | |
20764 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
20765 | }; | |
20766 | ||
8edf1c75 | 20767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
20768 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
20769 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20770 | arg2 = (long) SWIG_AsLong(obj1); | |
20771 | if (PyErr_Occurred()) SWIG_fail; | |
20772 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
20773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20774 | if (obj3) { |
20775 | { | |
20776 | arg4 = &temp4; | |
20777 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
20778 | } | |
20779 | } | |
20780 | if (obj4) { | |
20781 | { | |
20782 | arg5 = &temp5; | |
20783 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
20784 | } | |
20785 | } | |
8edf1c75 | 20786 | if (obj5) { |
2f4c0a16 RD |
20787 | arg6 = (long) SWIG_AsLong(obj5); |
20788 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 20789 | } |
d14a1e28 RD |
20790 | if (obj6) { |
20791 | { | |
20792 | arg7 = wxString_in_helper(obj6); | |
20793 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 20794 | temp7 = True; |
d14a1e28 RD |
20795 | } |
20796 | } | |
20797 | { | |
20798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20799 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
20800 | ||
20801 | wxPyEndAllowThreads(__tstate); | |
20802 | if (PyErr_Occurred()) SWIG_fail; | |
20803 | } | |
2f4c0a16 | 20804 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
20805 | { |
20806 | if (temp7) | |
20807 | delete arg7; | |
20808 | } | |
20809 | return resultobj; | |
20810 | fail: | |
20811 | { | |
20812 | if (temp7) | |
20813 | delete arg7; | |
20814 | } | |
20815 | return NULL; | |
20816 | } | |
20817 | ||
20818 | ||
2f4c0a16 | 20819 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20820 | PyObject *resultobj; |
20821 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20822 | int result; | |
20823 | PyObject * obj0 = 0 ; | |
20824 | char *kwnames[] = { | |
20825 | (char *) "self", NULL | |
20826 | }; | |
20827 | ||
20828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20829 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20830 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20831 | { |
20832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20833 | result = (int)(arg1)->GetZoomControl(); | |
20834 | ||
20835 | wxPyEndAllowThreads(__tstate); | |
20836 | if (PyErr_Occurred()) SWIG_fail; | |
20837 | } | |
2f4c0a16 | 20838 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
20839 | return resultobj; |
20840 | fail: | |
20841 | return NULL; | |
20842 | } | |
20843 | ||
20844 | ||
2f4c0a16 | 20845 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20846 | PyObject *resultobj; |
20847 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20848 | int arg2 ; | |
20849 | PyObject * obj0 = 0 ; | |
8edf1c75 | 20850 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20851 | char *kwnames[] = { |
20852 | (char *) "self",(char *) "zoom", NULL | |
20853 | }; | |
20854 | ||
8edf1c75 | 20855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
20856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20858 | arg2 = (int) SWIG_AsInt(obj1); | |
20859 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
20860 | { |
20861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20862 | (arg1)->SetZoomControl(arg2); | |
20863 | ||
20864 | wxPyEndAllowThreads(__tstate); | |
20865 | if (PyErr_Occurred()) SWIG_fail; | |
20866 | } | |
20867 | Py_INCREF(Py_None); resultobj = Py_None; | |
20868 | return resultobj; | |
20869 | fail: | |
20870 | return NULL; | |
20871 | } | |
20872 | ||
20873 | ||
2f4c0a16 | 20874 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20875 | PyObject *resultobj; |
20876 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20877 | wxPrintPreview *result; | |
20878 | PyObject * obj0 = 0 ; | |
20879 | char *kwnames[] = { | |
20880 | (char *) "self", NULL | |
20881 | }; | |
20882 | ||
20883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20886 | { |
20887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20888 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
20889 | ||
20890 | wxPyEndAllowThreads(__tstate); | |
20891 | if (PyErr_Occurred()) SWIG_fail; | |
20892 | } | |
2f4c0a16 | 20893 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
20894 | return resultobj; |
20895 | fail: | |
20896 | return NULL; | |
20897 | } | |
20898 | ||
20899 | ||
2f4c0a16 | 20900 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20901 | PyObject *resultobj; |
20902 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20903 | PyObject * obj0 = 0 ; | |
20904 | char *kwnames[] = { | |
20905 | (char *) "self", NULL | |
20906 | }; | |
20907 | ||
20908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20909 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20910 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20911 | { |
20912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20913 | (arg1)->OnNext(); | |
20914 | ||
20915 | wxPyEndAllowThreads(__tstate); | |
20916 | if (PyErr_Occurred()) SWIG_fail; | |
20917 | } | |
20918 | Py_INCREF(Py_None); resultobj = Py_None; | |
20919 | return resultobj; | |
20920 | fail: | |
20921 | return NULL; | |
20922 | } | |
20923 | ||
20924 | ||
2f4c0a16 | 20925 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20926 | PyObject *resultobj; |
20927 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20928 | PyObject * obj0 = 0 ; | |
20929 | char *kwnames[] = { | |
20930 | (char *) "self", NULL | |
20931 | }; | |
20932 | ||
20933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20936 | { |
20937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20938 | (arg1)->OnPrevious(); | |
20939 | ||
20940 | wxPyEndAllowThreads(__tstate); | |
20941 | if (PyErr_Occurred()) SWIG_fail; | |
20942 | } | |
20943 | Py_INCREF(Py_None); resultobj = Py_None; | |
20944 | return resultobj; | |
20945 | fail: | |
20946 | return NULL; | |
20947 | } | |
20948 | ||
20949 | ||
2f4c0a16 | 20950 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20951 | PyObject *resultobj; |
20952 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20953 | PyObject * obj0 = 0 ; | |
20954 | char *kwnames[] = { | |
20955 | (char *) "self", NULL | |
20956 | }; | |
20957 | ||
20958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20959 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20960 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20961 | { |
20962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20963 | (arg1)->OnFirst(); | |
20964 | ||
20965 | wxPyEndAllowThreads(__tstate); | |
20966 | if (PyErr_Occurred()) SWIG_fail; | |
20967 | } | |
20968 | Py_INCREF(Py_None); resultobj = Py_None; | |
20969 | return resultobj; | |
20970 | fail: | |
20971 | return NULL; | |
20972 | } | |
20973 | ||
20974 | ||
2f4c0a16 | 20975 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20976 | PyObject *resultobj; |
20977 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
20978 | PyObject * obj0 = 0 ; | |
20979 | char *kwnames[] = { | |
20980 | (char *) "self", NULL | |
20981 | }; | |
20982 | ||
20983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
20984 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
20985 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20986 | { |
20987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20988 | (arg1)->OnLast(); | |
20989 | ||
20990 | wxPyEndAllowThreads(__tstate); | |
20991 | if (PyErr_Occurred()) SWIG_fail; | |
20992 | } | |
20993 | Py_INCREF(Py_None); resultobj = Py_None; | |
20994 | return resultobj; | |
20995 | fail: | |
20996 | return NULL; | |
20997 | } | |
20998 | ||
20999 | ||
2f4c0a16 | 21000 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21001 | PyObject *resultobj; |
21002 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
21003 | PyObject * obj0 = 0 ; | |
21004 | char *kwnames[] = { | |
21005 | (char *) "self", NULL | |
21006 | }; | |
21007 | ||
21008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
21010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21011 | { |
21012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21013 | (arg1)->OnGoto(); | |
21014 | ||
21015 | wxPyEndAllowThreads(__tstate); | |
21016 | if (PyErr_Occurred()) SWIG_fail; | |
21017 | } | |
21018 | Py_INCREF(Py_None); resultobj = Py_None; | |
21019 | return resultobj; | |
21020 | fail: | |
21021 | return NULL; | |
21022 | } | |
21023 | ||
21024 | ||
2f4c0a16 | 21025 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21026 | PyObject *obj; |
21027 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21028 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
21029 | Py_INCREF(obj); | |
21030 | return Py_BuildValue((char *)""); | |
21031 | } | |
ce7284bd | 21032 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
21033 | PyObject *resultobj; |
21034 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21035 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
ce7284bd | 21036 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
21037 | wxPrintPreview *result; |
21038 | PyObject * obj0 = 0 ; | |
21039 | PyObject * obj1 = 0 ; | |
21040 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21041 | |
ce7284bd | 21042 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
21043 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21044 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21045 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21046 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21047 | if (obj2) { |
ce7284bd | 21048 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
2f4c0a16 | 21049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
21050 | } |
21051 | { | |
21052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21053 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21054 | ||
21055 | wxPyEndAllowThreads(__tstate); | |
21056 | if (PyErr_Occurred()) SWIG_fail; | |
21057 | } | |
2f4c0a16 | 21058 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
21059 | return resultobj; |
21060 | fail: | |
21061 | return NULL; | |
21062 | } | |
21063 | ||
21064 | ||
ce7284bd RD |
21065 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
21066 | PyObject *resultobj; | |
21067 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21068 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21069 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
21070 | wxPrintPreview *result; | |
21071 | PyObject * obj0 = 0 ; | |
21072 | PyObject * obj1 = 0 ; | |
21073 | PyObject * obj2 = 0 ; | |
21074 | ||
21075 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
21076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
21077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21078 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21079 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21080 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
21081 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21082 | { | |
21083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21084 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
21085 | ||
21086 | wxPyEndAllowThreads(__tstate); | |
21087 | if (PyErr_Occurred()) SWIG_fail; | |
21088 | } | |
21089 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
21090 | return resultobj; | |
21091 | fail: | |
21092 | return NULL; | |
21093 | } | |
21094 | ||
21095 | ||
21096 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
21097 | int argc; | |
21098 | PyObject *argv[4]; | |
21099 | int ii; | |
21100 | ||
21101 | argc = PyObject_Length(args); | |
21102 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
21103 | argv[ii] = PyTuple_GetItem(args,ii); | |
21104 | } | |
21105 | if ((argc >= 2) && (argc <= 3)) { | |
21106 | int _v; | |
21107 | { | |
21108 | void *ptr; | |
21109 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21110 | _v = 0; | |
21111 | PyErr_Clear(); | |
21112 | } else { | |
21113 | _v = 1; | |
21114 | } | |
21115 | } | |
21116 | if (_v) { | |
21117 | { | |
21118 | void *ptr; | |
21119 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21120 | _v = 0; | |
21121 | PyErr_Clear(); | |
21122 | } else { | |
21123 | _v = 1; | |
21124 | } | |
21125 | } | |
21126 | if (_v) { | |
21127 | if (argc <= 2) { | |
21128 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21129 | } | |
21130 | { | |
21131 | void *ptr; | |
21132 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
21133 | _v = 0; | |
21134 | PyErr_Clear(); | |
21135 | } else { | |
21136 | _v = 1; | |
21137 | } | |
21138 | } | |
21139 | if (_v) { | |
21140 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
21141 | } | |
21142 | } | |
21143 | } | |
21144 | } | |
21145 | if (argc == 3) { | |
21146 | int _v; | |
21147 | { | |
21148 | void *ptr; | |
21149 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21150 | _v = 0; | |
21151 | PyErr_Clear(); | |
21152 | } else { | |
21153 | _v = 1; | |
21154 | } | |
21155 | } | |
21156 | if (_v) { | |
21157 | { | |
21158 | void *ptr; | |
21159 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21160 | _v = 0; | |
21161 | PyErr_Clear(); | |
21162 | } else { | |
21163 | _v = 1; | |
21164 | } | |
21165 | } | |
21166 | if (_v) { | |
21167 | { | |
21168 | void *ptr; | |
21169 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21170 | _v = 0; | |
21171 | PyErr_Clear(); | |
21172 | } else { | |
21173 | _v = 1; | |
21174 | } | |
21175 | } | |
21176 | if (_v) { | |
21177 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
21178 | } | |
21179 | } | |
21180 | } | |
21181 | } | |
21182 | ||
21183 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
21184 | return NULL; | |
21185 | } | |
21186 | ||
21187 | ||
2f4c0a16 | 21188 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21189 | PyObject *resultobj; |
21190 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21191 | int arg2 ; | |
21192 | bool result; | |
21193 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21194 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21195 | char *kwnames[] = { |
21196 | (char *) "self",(char *) "pageNum", NULL | |
21197 | }; | |
21198 | ||
8edf1c75 | 21199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
21200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21202 | arg2 = (int) SWIG_AsInt(obj1); | |
21203 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21204 | { |
21205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21206 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
21207 | ||
21208 | wxPyEndAllowThreads(__tstate); | |
21209 | if (PyErr_Occurred()) SWIG_fail; | |
21210 | } | |
02a34c4c | 21211 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21212 | return resultobj; |
21213 | fail: | |
21214 | return NULL; | |
21215 | } | |
21216 | ||
21217 | ||
2f4c0a16 | 21218 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21219 | PyObject *resultobj; |
21220 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21221 | int result; | |
21222 | PyObject * obj0 = 0 ; | |
21223 | char *kwnames[] = { | |
21224 | (char *) "self", NULL | |
21225 | }; | |
21226 | ||
21227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21228 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21229 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21230 | { |
21231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21232 | result = (int)(arg1)->GetCurrentPage(); | |
21233 | ||
21234 | wxPyEndAllowThreads(__tstate); | |
21235 | if (PyErr_Occurred()) SWIG_fail; | |
21236 | } | |
2f4c0a16 | 21237 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21238 | return resultobj; |
21239 | fail: | |
21240 | return NULL; | |
21241 | } | |
21242 | ||
21243 | ||
2f4c0a16 | 21244 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21245 | PyObject *resultobj; |
21246 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21247 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21248 | PyObject * obj0 = 0 ; | |
21249 | PyObject * obj1 = 0 ; | |
21250 | char *kwnames[] = { | |
21251 | (char *) "self",(char *) "printout", NULL | |
21252 | }; | |
21253 | ||
21254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21255 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21256 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21257 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21259 | { |
21260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21261 | (arg1)->SetPrintout(arg2); | |
21262 | ||
21263 | wxPyEndAllowThreads(__tstate); | |
21264 | if (PyErr_Occurred()) SWIG_fail; | |
21265 | } | |
21266 | Py_INCREF(Py_None); resultobj = Py_None; | |
21267 | return resultobj; | |
21268 | fail: | |
21269 | return NULL; | |
21270 | } | |
21271 | ||
21272 | ||
2f4c0a16 | 21273 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21274 | PyObject *resultobj; |
21275 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21276 | wxPyPrintout *result; | |
21277 | PyObject * obj0 = 0 ; | |
21278 | char *kwnames[] = { | |
21279 | (char *) "self", NULL | |
21280 | }; | |
21281 | ||
21282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21285 | { |
21286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21287 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
21288 | ||
21289 | wxPyEndAllowThreads(__tstate); | |
21290 | if (PyErr_Occurred()) SWIG_fail; | |
21291 | } | |
21292 | { | |
21293 | resultobj = wxPyMake_wxObject(result); | |
21294 | } | |
21295 | return resultobj; | |
21296 | fail: | |
21297 | return NULL; | |
21298 | } | |
21299 | ||
21300 | ||
2f4c0a16 | 21301 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21302 | PyObject *resultobj; |
21303 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21304 | wxPyPrintout *result; | |
21305 | PyObject * obj0 = 0 ; | |
21306 | char *kwnames[] = { | |
21307 | (char *) "self", NULL | |
21308 | }; | |
21309 | ||
21310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21311 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21312 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21313 | { |
21314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21315 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
21316 | ||
21317 | wxPyEndAllowThreads(__tstate); | |
21318 | if (PyErr_Occurred()) SWIG_fail; | |
21319 | } | |
21320 | { | |
21321 | resultobj = wxPyMake_wxObject(result); | |
21322 | } | |
21323 | return resultobj; | |
21324 | fail: | |
21325 | return NULL; | |
21326 | } | |
21327 | ||
21328 | ||
2f4c0a16 | 21329 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21330 | PyObject *resultobj; |
21331 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21332 | wxFrame *arg2 = (wxFrame *) 0 ; | |
21333 | PyObject * obj0 = 0 ; | |
21334 | PyObject * obj1 = 0 ; | |
21335 | char *kwnames[] = { | |
21336 | (char *) "self",(char *) "frame", NULL | |
21337 | }; | |
21338 | ||
21339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21340 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21342 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
21343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21344 | { |
21345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21346 | (arg1)->SetFrame(arg2); | |
21347 | ||
21348 | wxPyEndAllowThreads(__tstate); | |
21349 | if (PyErr_Occurred()) SWIG_fail; | |
21350 | } | |
21351 | Py_INCREF(Py_None); resultobj = Py_None; | |
21352 | return resultobj; | |
21353 | fail: | |
21354 | return NULL; | |
21355 | } | |
21356 | ||
21357 | ||
2f4c0a16 | 21358 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21359 | PyObject *resultobj; |
21360 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21361 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21362 | PyObject * obj0 = 0 ; | |
21363 | PyObject * obj1 = 0 ; | |
21364 | char *kwnames[] = { | |
21365 | (char *) "self",(char *) "canvas", NULL | |
21366 | }; | |
21367 | ||
21368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21371 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21372 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21373 | { |
21374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21375 | (arg1)->SetCanvas(arg2); | |
21376 | ||
21377 | wxPyEndAllowThreads(__tstate); | |
21378 | if (PyErr_Occurred()) SWIG_fail; | |
21379 | } | |
21380 | Py_INCREF(Py_None); resultobj = Py_None; | |
21381 | return resultobj; | |
21382 | fail: | |
21383 | return NULL; | |
21384 | } | |
21385 | ||
21386 | ||
2f4c0a16 | 21387 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21388 | PyObject *resultobj; |
21389 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21390 | wxFrame *result; | |
21391 | PyObject * obj0 = 0 ; | |
21392 | char *kwnames[] = { | |
21393 | (char *) "self", NULL | |
21394 | }; | |
21395 | ||
21396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21399 | { |
21400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21401 | result = (wxFrame *)(arg1)->GetFrame(); | |
21402 | ||
21403 | wxPyEndAllowThreads(__tstate); | |
21404 | if (PyErr_Occurred()) SWIG_fail; | |
21405 | } | |
21406 | { | |
21407 | resultobj = wxPyMake_wxObject(result); | |
21408 | } | |
21409 | return resultobj; | |
21410 | fail: | |
21411 | return NULL; | |
21412 | } | |
21413 | ||
21414 | ||
2f4c0a16 | 21415 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21416 | PyObject *resultobj; |
21417 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21418 | wxPreviewCanvas *result; | |
21419 | PyObject * obj0 = 0 ; | |
21420 | char *kwnames[] = { | |
21421 | (char *) "self", NULL | |
21422 | }; | |
21423 | ||
21424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21427 | { |
21428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21429 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
21430 | ||
21431 | wxPyEndAllowThreads(__tstate); | |
21432 | if (PyErr_Occurred()) SWIG_fail; | |
21433 | } | |
2f4c0a16 | 21434 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
21435 | return resultobj; |
21436 | fail: | |
21437 | return NULL; | |
21438 | } | |
21439 | ||
21440 | ||
2f4c0a16 | 21441 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21442 | PyObject *resultobj; |
21443 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21444 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21445 | wxDC *arg3 = 0 ; | |
21446 | bool result; | |
21447 | PyObject * obj0 = 0 ; | |
21448 | PyObject * obj1 = 0 ; | |
21449 | PyObject * obj2 = 0 ; | |
21450 | char *kwnames[] = { | |
21451 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21452 | }; | |
21453 | ||
21454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
21455 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21456 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21457 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21459 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21460 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21461 | SWIG_fail; | |
d14a1e28 | 21462 | if (arg3 == NULL) { |
2f4c0a16 RD |
21463 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21464 | SWIG_fail; | |
d14a1e28 RD |
21465 | } |
21466 | { | |
21467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21468 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
21469 | ||
21470 | wxPyEndAllowThreads(__tstate); | |
21471 | if (PyErr_Occurred()) SWIG_fail; | |
21472 | } | |
02a34c4c | 21473 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21474 | return resultobj; |
21475 | fail: | |
21476 | return NULL; | |
21477 | } | |
21478 | ||
21479 | ||
2f4c0a16 | 21480 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21481 | PyObject *resultobj; |
21482 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21483 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21484 | wxDC *arg3 = 0 ; | |
21485 | bool result; | |
21486 | PyObject * obj0 = 0 ; | |
21487 | PyObject * obj1 = 0 ; | |
21488 | PyObject * obj2 = 0 ; | |
21489 | char *kwnames[] = { | |
21490 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
21491 | }; | |
21492 | ||
21493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
21494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21496 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21497 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21498 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
21499 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21500 | SWIG_fail; | |
d14a1e28 | 21501 | if (arg3 == NULL) { |
2f4c0a16 RD |
21502 | PyErr_SetString(PyExc_TypeError,"null reference"); |
21503 | SWIG_fail; | |
d14a1e28 RD |
21504 | } |
21505 | { | |
21506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21507 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
21508 | ||
21509 | wxPyEndAllowThreads(__tstate); | |
21510 | if (PyErr_Occurred()) SWIG_fail; | |
21511 | } | |
02a34c4c | 21512 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21513 | return resultobj; |
21514 | fail: | |
21515 | return NULL; | |
21516 | } | |
21517 | ||
21518 | ||
2f4c0a16 | 21519 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21520 | PyObject *resultobj; |
21521 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21522 | int arg2 ; | |
21523 | bool result; | |
21524 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21525 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21526 | char *kwnames[] = { |
21527 | (char *) "self",(char *) "pageNum", NULL | |
21528 | }; | |
21529 | ||
8edf1c75 | 21530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
21531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21533 | arg2 = (int) SWIG_AsInt(obj1); | |
21534 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21535 | { |
21536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21537 | result = (bool)(arg1)->RenderPage(arg2); | |
21538 | ||
21539 | wxPyEndAllowThreads(__tstate); | |
21540 | if (PyErr_Occurred()) SWIG_fail; | |
21541 | } | |
02a34c4c | 21542 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21543 | return resultobj; |
21544 | fail: | |
21545 | return NULL; | |
21546 | } | |
21547 | ||
21548 | ||
2f4c0a16 | 21549 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21550 | PyObject *resultobj; |
21551 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21552 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
21553 | PyObject * obj0 = 0 ; | |
21554 | PyObject * obj1 = 0 ; | |
21555 | char *kwnames[] = { | |
21556 | (char *) "self",(char *) "canvas", NULL | |
21557 | }; | |
21558 | ||
21559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21560 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21561 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21562 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
21563 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21564 | { |
21565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21566 | (arg1)->AdjustScrollbars(arg2); | |
21567 | ||
21568 | wxPyEndAllowThreads(__tstate); | |
21569 | if (PyErr_Occurred()) SWIG_fail; | |
21570 | } | |
21571 | Py_INCREF(Py_None); resultobj = Py_None; | |
21572 | return resultobj; | |
21573 | fail: | |
21574 | return NULL; | |
21575 | } | |
21576 | ||
21577 | ||
2f4c0a16 | 21578 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21579 | PyObject *resultobj; |
21580 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21581 | wxPrintDialogData *result; | |
21582 | PyObject * obj0 = 0 ; | |
21583 | char *kwnames[] = { | |
21584 | (char *) "self", NULL | |
21585 | }; | |
21586 | ||
21587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21588 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21590 | { |
21591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21592 | { | |
21593 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
21594 | result = (wxPrintDialogData *) &_result_ref; | |
21595 | } | |
21596 | ||
21597 | wxPyEndAllowThreads(__tstate); | |
21598 | if (PyErr_Occurred()) SWIG_fail; | |
21599 | } | |
2f4c0a16 | 21600 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
21601 | return resultobj; |
21602 | fail: | |
21603 | return NULL; | |
21604 | } | |
21605 | ||
21606 | ||
2f4c0a16 | 21607 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21608 | PyObject *resultobj; |
21609 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21610 | int arg2 ; | |
21611 | PyObject * obj0 = 0 ; | |
8edf1c75 | 21612 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21613 | char *kwnames[] = { |
21614 | (char *) "self",(char *) "percent", NULL | |
21615 | }; | |
21616 | ||
8edf1c75 | 21617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
21618 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21619 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21620 | arg2 = (int) SWIG_AsInt(obj1); | |
21621 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21622 | { |
21623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21624 | (arg1)->SetZoom(arg2); | |
21625 | ||
21626 | wxPyEndAllowThreads(__tstate); | |
21627 | if (PyErr_Occurred()) SWIG_fail; | |
21628 | } | |
21629 | Py_INCREF(Py_None); resultobj = Py_None; | |
21630 | return resultobj; | |
21631 | fail: | |
21632 | return NULL; | |
21633 | } | |
21634 | ||
21635 | ||
2f4c0a16 | 21636 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21637 | PyObject *resultobj; |
21638 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21639 | int result; | |
21640 | PyObject * obj0 = 0 ; | |
21641 | char *kwnames[] = { | |
21642 | (char *) "self", NULL | |
21643 | }; | |
21644 | ||
21645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21648 | { |
21649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21650 | result = (int)(arg1)->GetZoom(); | |
21651 | ||
21652 | wxPyEndAllowThreads(__tstate); | |
21653 | if (PyErr_Occurred()) SWIG_fail; | |
21654 | } | |
2f4c0a16 | 21655 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21656 | return resultobj; |
21657 | fail: | |
21658 | return NULL; | |
21659 | } | |
21660 | ||
21661 | ||
2f4c0a16 | 21662 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21663 | PyObject *resultobj; |
21664 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21665 | int result; | |
21666 | PyObject * obj0 = 0 ; | |
21667 | char *kwnames[] = { | |
21668 | (char *) "self", NULL | |
21669 | }; | |
21670 | ||
21671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21672 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21673 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21674 | { |
21675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21676 | result = (int)(arg1)->GetMaxPage(); | |
21677 | ||
21678 | wxPyEndAllowThreads(__tstate); | |
21679 | if (PyErr_Occurred()) SWIG_fail; | |
21680 | } | |
2f4c0a16 | 21681 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21682 | return resultobj; |
21683 | fail: | |
21684 | return NULL; | |
21685 | } | |
21686 | ||
21687 | ||
2f4c0a16 | 21688 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21689 | PyObject *resultobj; |
21690 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21691 | int result; | |
21692 | PyObject * obj0 = 0 ; | |
21693 | char *kwnames[] = { | |
21694 | (char *) "self", NULL | |
21695 | }; | |
21696 | ||
21697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21698 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21699 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21700 | { |
21701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21702 | result = (int)(arg1)->GetMinPage(); | |
21703 | ||
21704 | wxPyEndAllowThreads(__tstate); | |
21705 | if (PyErr_Occurred()) SWIG_fail; | |
21706 | } | |
2f4c0a16 | 21707 | resultobj = SWIG_FromInt((int)result); |
d14a1e28 RD |
21708 | return resultobj; |
21709 | fail: | |
21710 | return NULL; | |
21711 | } | |
21712 | ||
21713 | ||
2f4c0a16 | 21714 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21715 | PyObject *resultobj; |
21716 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21717 | bool result; | |
21718 | PyObject * obj0 = 0 ; | |
21719 | char *kwnames[] = { | |
21720 | (char *) "self", NULL | |
21721 | }; | |
21722 | ||
21723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21726 | { |
21727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21728 | result = (bool)(arg1)->Ok(); | |
21729 | ||
21730 | wxPyEndAllowThreads(__tstate); | |
21731 | if (PyErr_Occurred()) SWIG_fail; | |
21732 | } | |
02a34c4c | 21733 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21734 | return resultobj; |
21735 | fail: | |
21736 | return NULL; | |
21737 | } | |
21738 | ||
21739 | ||
2f4c0a16 | 21740 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21741 | PyObject *resultobj; |
21742 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21743 | bool arg2 ; | |
21744 | PyObject * obj0 = 0 ; | |
21745 | PyObject * obj1 = 0 ; | |
21746 | char *kwnames[] = { | |
21747 | (char *) "self",(char *) "ok", NULL | |
21748 | }; | |
21749 | ||
21750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21753 | arg2 = (bool) SWIG_AsBool(obj1); | |
21754 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21755 | { |
21756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21757 | (arg1)->SetOk(arg2); | |
21758 | ||
21759 | wxPyEndAllowThreads(__tstate); | |
21760 | if (PyErr_Occurred()) SWIG_fail; | |
21761 | } | |
21762 | Py_INCREF(Py_None); resultobj = Py_None; | |
21763 | return resultobj; | |
21764 | fail: | |
21765 | return NULL; | |
21766 | } | |
21767 | ||
21768 | ||
2f4c0a16 | 21769 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21770 | PyObject *resultobj; |
21771 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21772 | bool arg2 ; | |
21773 | bool result; | |
21774 | PyObject * obj0 = 0 ; | |
21775 | PyObject * obj1 = 0 ; | |
21776 | char *kwnames[] = { | |
21777 | (char *) "self",(char *) "interactive", NULL | |
21778 | }; | |
21779 | ||
21780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
21781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21783 | arg2 = (bool) SWIG_AsBool(obj1); | |
21784 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
21785 | { |
21786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21787 | result = (bool)(arg1)->Print(arg2); | |
21788 | ||
21789 | wxPyEndAllowThreads(__tstate); | |
21790 | if (PyErr_Occurred()) SWIG_fail; | |
21791 | } | |
02a34c4c | 21792 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
21793 | return resultobj; |
21794 | fail: | |
21795 | return NULL; | |
21796 | } | |
21797 | ||
21798 | ||
2f4c0a16 | 21799 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21800 | PyObject *resultobj; |
21801 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
21802 | PyObject * obj0 = 0 ; | |
21803 | char *kwnames[] = { | |
21804 | (char *) "self", NULL | |
21805 | }; | |
21806 | ||
21807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
21808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
21809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21810 | { |
21811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21812 | (arg1)->DetermineScaling(); | |
21813 | ||
21814 | wxPyEndAllowThreads(__tstate); | |
21815 | if (PyErr_Occurred()) SWIG_fail; | |
21816 | } | |
21817 | Py_INCREF(Py_None); resultobj = Py_None; | |
21818 | return resultobj; | |
21819 | fail: | |
21820 | return NULL; | |
21821 | } | |
21822 | ||
21823 | ||
2f4c0a16 | 21824 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21825 | PyObject *obj; |
21826 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21827 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
21828 | Py_INCREF(obj); | |
21829 | return Py_BuildValue((char *)""); | |
21830 | } | |
ce7284bd | 21831 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
21832 | PyObject *resultobj; |
21833 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21834 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
ce7284bd | 21835 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
21836 | wxPyPrintPreview *result; |
21837 | PyObject * obj0 = 0 ; | |
21838 | PyObject * obj1 = 0 ; | |
21839 | PyObject * obj2 = 0 ; | |
d14a1e28 | 21840 | |
ce7284bd | 21841 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
21842 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
21843 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21844 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21845 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 21846 | if (obj2) { |
ce7284bd | 21847 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
2f4c0a16 | 21848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
21849 | } |
21850 | { | |
21851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21852 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
21853 | ||
21854 | wxPyEndAllowThreads(__tstate); | |
21855 | if (PyErr_Occurred()) SWIG_fail; | |
21856 | } | |
2f4c0a16 | 21857 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
21858 | return resultobj; |
21859 | fail: | |
21860 | return NULL; | |
21861 | } | |
21862 | ||
21863 | ||
ce7284bd RD |
21864 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
21865 | PyObject *resultobj; | |
21866 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
21867 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
21868 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
21869 | wxPyPrintPreview *result; | |
21870 | PyObject * obj0 = 0 ; | |
21871 | PyObject * obj1 = 0 ; | |
21872 | PyObject * obj2 = 0 ; | |
21873 | ||
21874 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
21875 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
21876 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21877 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
21878 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21879 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
21880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21881 | { | |
21882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21883 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
21884 | ||
21885 | wxPyEndAllowThreads(__tstate); | |
21886 | if (PyErr_Occurred()) SWIG_fail; | |
21887 | } | |
21888 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
21889 | return resultobj; | |
21890 | fail: | |
21891 | return NULL; | |
21892 | } | |
21893 | ||
21894 | ||
21895 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
21896 | int argc; | |
21897 | PyObject *argv[4]; | |
21898 | int ii; | |
21899 | ||
21900 | argc = PyObject_Length(args); | |
21901 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
21902 | argv[ii] = PyTuple_GetItem(args,ii); | |
21903 | } | |
21904 | if ((argc >= 2) && (argc <= 3)) { | |
21905 | int _v; | |
21906 | { | |
21907 | void *ptr; | |
21908 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21909 | _v = 0; | |
21910 | PyErr_Clear(); | |
21911 | } else { | |
21912 | _v = 1; | |
21913 | } | |
21914 | } | |
21915 | if (_v) { | |
21916 | { | |
21917 | void *ptr; | |
21918 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21919 | _v = 0; | |
21920 | PyErr_Clear(); | |
21921 | } else { | |
21922 | _v = 1; | |
21923 | } | |
21924 | } | |
21925 | if (_v) { | |
21926 | if (argc <= 2) { | |
21927 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
21928 | } | |
21929 | { | |
21930 | void *ptr; | |
21931 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
21932 | _v = 0; | |
21933 | PyErr_Clear(); | |
21934 | } else { | |
21935 | _v = 1; | |
21936 | } | |
21937 | } | |
21938 | if (_v) { | |
21939 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
21940 | } | |
21941 | } | |
21942 | } | |
21943 | } | |
21944 | if (argc == 3) { | |
21945 | int _v; | |
21946 | { | |
21947 | void *ptr; | |
21948 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21949 | _v = 0; | |
21950 | PyErr_Clear(); | |
21951 | } else { | |
21952 | _v = 1; | |
21953 | } | |
21954 | } | |
21955 | if (_v) { | |
21956 | { | |
21957 | void *ptr; | |
21958 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
21959 | _v = 0; | |
21960 | PyErr_Clear(); | |
21961 | } else { | |
21962 | _v = 1; | |
21963 | } | |
21964 | } | |
21965 | if (_v) { | |
21966 | { | |
21967 | void *ptr; | |
21968 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21969 | _v = 0; | |
21970 | PyErr_Clear(); | |
21971 | } else { | |
21972 | _v = 1; | |
21973 | } | |
21974 | } | |
21975 | if (_v) { | |
21976 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
21977 | } | |
21978 | } | |
21979 | } | |
21980 | } | |
21981 | ||
21982 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
21983 | return NULL; | |
21984 | } | |
21985 | ||
21986 | ||
2f4c0a16 | 21987 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21988 | PyObject *resultobj; |
21989 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
21990 | PyObject *arg2 = (PyObject *) 0 ; | |
21991 | PyObject *arg3 = (PyObject *) 0 ; | |
21992 | PyObject * obj0 = 0 ; | |
21993 | PyObject * obj1 = 0 ; | |
21994 | PyObject * obj2 = 0 ; | |
21995 | char *kwnames[] = { | |
21996 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
21997 | }; | |
21998 | ||
21999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22000 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22001 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22002 | arg2 = obj1; |
22003 | arg3 = obj2; | |
22004 | { | |
22005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22006 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22007 | ||
22008 | wxPyEndAllowThreads(__tstate); | |
22009 | if (PyErr_Occurred()) SWIG_fail; | |
22010 | } | |
22011 | Py_INCREF(Py_None); resultobj = Py_None; | |
22012 | return resultobj; | |
22013 | fail: | |
22014 | return NULL; | |
22015 | } | |
22016 | ||
22017 | ||
2f4c0a16 | 22018 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22019 | PyObject *resultobj; |
22020 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22021 | int arg2 ; | |
22022 | bool result; | |
22023 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22024 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22025 | char *kwnames[] = { |
22026 | (char *) "self",(char *) "pageNum", NULL | |
22027 | }; | |
22028 | ||
8edf1c75 | 22029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22032 | arg2 = (int) SWIG_AsInt(obj1); | |
22033 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22034 | { |
22035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22036 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
22037 | ||
22038 | wxPyEndAllowThreads(__tstate); | |
22039 | if (PyErr_Occurred()) SWIG_fail; | |
22040 | } | |
02a34c4c | 22041 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22042 | return resultobj; |
22043 | fail: | |
22044 | return NULL; | |
22045 | } | |
22046 | ||
22047 | ||
2f4c0a16 | 22048 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22049 | PyObject *resultobj; |
22050 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 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:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
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)->base_PaintPage(arg2,*arg3); | |
22076 | ||
22077 | wxPyEndAllowThreads(__tstate); | |
22078 | if (PyErr_Occurred()) SWIG_fail; | |
22079 | } | |
02a34c4c | 22080 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22081 | return resultobj; |
22082 | fail: | |
22083 | return NULL; | |
22084 | } | |
22085 | ||
22086 | ||
2f4c0a16 | 22087 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22088 | PyObject *resultobj; |
22089 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22090 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22091 | wxDC *arg3 = 0 ; | |
22092 | bool result; | |
22093 | PyObject * obj0 = 0 ; | |
22094 | PyObject * obj1 = 0 ; | |
22095 | PyObject * obj2 = 0 ; | |
22096 | char *kwnames[] = { | |
22097 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
22098 | }; | |
22099 | ||
22100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22101 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22102 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22103 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22105 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
22106 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
22107 | SWIG_fail; | |
d14a1e28 | 22108 | if (arg3 == NULL) { |
2f4c0a16 RD |
22109 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22110 | SWIG_fail; | |
d14a1e28 RD |
22111 | } |
22112 | { | |
22113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22114 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
22115 | ||
22116 | wxPyEndAllowThreads(__tstate); | |
22117 | if (PyErr_Occurred()) SWIG_fail; | |
22118 | } | |
02a34c4c | 22119 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22120 | return resultobj; |
22121 | fail: | |
22122 | return NULL; | |
22123 | } | |
22124 | ||
22125 | ||
2f4c0a16 | 22126 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22127 | PyObject *resultobj; |
22128 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22129 | int arg2 ; | |
22130 | bool result; | |
22131 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22132 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22133 | char *kwnames[] = { |
22134 | (char *) "self",(char *) "pageNum", NULL | |
22135 | }; | |
22136 | ||
8edf1c75 | 22137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22138 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22139 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22140 | arg2 = (int) SWIG_AsInt(obj1); | |
22141 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22142 | { |
22143 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22144 | result = (bool)(arg1)->base_RenderPage(arg2); | |
22145 | ||
22146 | wxPyEndAllowThreads(__tstate); | |
22147 | if (PyErr_Occurred()) SWIG_fail; | |
22148 | } | |
02a34c4c | 22149 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22150 | return resultobj; |
22151 | fail: | |
22152 | return NULL; | |
22153 | } | |
22154 | ||
22155 | ||
2f4c0a16 | 22156 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22157 | PyObject *resultobj; |
22158 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22159 | int arg2 ; | |
22160 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22161 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22162 | char *kwnames[] = { |
22163 | (char *) "self",(char *) "percent", NULL | |
22164 | }; | |
22165 | ||
8edf1c75 | 22166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22167 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22168 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22169 | arg2 = (int) SWIG_AsInt(obj1); | |
22170 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22171 | { |
22172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22173 | (arg1)->base_SetZoom(arg2); | |
22174 | ||
22175 | wxPyEndAllowThreads(__tstate); | |
22176 | if (PyErr_Occurred()) SWIG_fail; | |
22177 | } | |
22178 | Py_INCREF(Py_None); resultobj = Py_None; | |
22179 | return resultobj; | |
22180 | fail: | |
22181 | return NULL; | |
22182 | } | |
22183 | ||
22184 | ||
2f4c0a16 | 22185 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22186 | PyObject *resultobj; |
22187 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22188 | bool arg2 ; | |
22189 | bool result; | |
22190 | PyObject * obj0 = 0 ; | |
22191 | PyObject * obj1 = 0 ; | |
22192 | char *kwnames[] = { | |
22193 | (char *) "self",(char *) "interactive", NULL | |
22194 | }; | |
22195 | ||
22196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22199 | arg2 = (bool) SWIG_AsBool(obj1); | |
22200 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22201 | { |
22202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22203 | result = (bool)(arg1)->base_Print(arg2); | |
22204 | ||
22205 | wxPyEndAllowThreads(__tstate); | |
22206 | if (PyErr_Occurred()) SWIG_fail; | |
22207 | } | |
02a34c4c | 22208 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22209 | return resultobj; |
22210 | fail: | |
22211 | return NULL; | |
22212 | } | |
22213 | ||
22214 | ||
2f4c0a16 | 22215 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22216 | PyObject *resultobj; |
22217 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
22218 | PyObject * obj0 = 0 ; | |
22219 | char *kwnames[] = { | |
22220 | (char *) "self", NULL | |
22221 | }; | |
22222 | ||
22223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
22225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22226 | { |
22227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22228 | (arg1)->base_DetermineScaling(); | |
22229 | ||
22230 | wxPyEndAllowThreads(__tstate); | |
22231 | if (PyErr_Occurred()) SWIG_fail; | |
22232 | } | |
22233 | Py_INCREF(Py_None); resultobj = Py_None; | |
22234 | return resultobj; | |
22235 | fail: | |
22236 | return NULL; | |
22237 | } | |
22238 | ||
22239 | ||
2f4c0a16 | 22240 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22241 | PyObject *obj; |
22242 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22243 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
22244 | Py_INCREF(obj); | |
22245 | return Py_BuildValue((char *)""); | |
22246 | } | |
2f4c0a16 | 22247 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22248 | PyObject *resultobj; |
22249 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22250 | wxFrame *arg2 = (wxFrame *) 0 ; | |
22251 | wxString *arg3 = 0 ; | |
22252 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22253 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22254 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22255 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22256 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
22257 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
22258 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22259 | wxPyPreviewFrame *result; | |
423f194a | 22260 | bool temp3 = False ; |
d14a1e28 RD |
22261 | wxPoint temp4 ; |
22262 | wxSize temp5 ; | |
423f194a | 22263 | bool temp7 = False ; |
d14a1e28 RD |
22264 | PyObject * obj0 = 0 ; |
22265 | PyObject * obj1 = 0 ; | |
22266 | PyObject * obj2 = 0 ; | |
22267 | PyObject * obj3 = 0 ; | |
22268 | PyObject * obj4 = 0 ; | |
8edf1c75 | 22269 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22270 | PyObject * obj6 = 0 ; |
22271 | char *kwnames[] = { | |
22272 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22273 | }; | |
22274 | ||
8edf1c75 | 22275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
22276 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22277 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22278 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
22279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22280 | { |
22281 | arg3 = wxString_in_helper(obj2); | |
22282 | if (arg3 == NULL) SWIG_fail; | |
423f194a | 22283 | temp3 = True; |
d14a1e28 RD |
22284 | } |
22285 | if (obj3) { | |
22286 | { | |
22287 | arg4 = &temp4; | |
22288 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22289 | } | |
22290 | } | |
22291 | if (obj4) { | |
22292 | { | |
22293 | arg5 = &temp5; | |
22294 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22295 | } | |
22296 | } | |
8edf1c75 | 22297 | if (obj5) { |
2f4c0a16 RD |
22298 | arg6 = (long) SWIG_AsLong(obj5); |
22299 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 22300 | } |
d14a1e28 RD |
22301 | if (obj6) { |
22302 | { | |
22303 | arg7 = wxString_in_helper(obj6); | |
22304 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 22305 | temp7 = True; |
d14a1e28 RD |
22306 | } |
22307 | } | |
22308 | { | |
22309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22310 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22311 | ||
22312 | wxPyEndAllowThreads(__tstate); | |
22313 | if (PyErr_Occurred()) SWIG_fail; | |
22314 | } | |
2f4c0a16 | 22315 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
22316 | { |
22317 | if (temp3) | |
22318 | delete arg3; | |
22319 | } | |
22320 | { | |
22321 | if (temp7) | |
22322 | delete arg7; | |
22323 | } | |
22324 | return resultobj; | |
22325 | fail: | |
22326 | { | |
22327 | if (temp3) | |
22328 | delete arg3; | |
22329 | } | |
22330 | { | |
22331 | if (temp7) | |
22332 | delete arg7; | |
22333 | } | |
22334 | return NULL; | |
22335 | } | |
22336 | ||
22337 | ||
2f4c0a16 | 22338 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22339 | PyObject *resultobj; |
22340 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22341 | PyObject *arg2 = (PyObject *) 0 ; | |
22342 | PyObject *arg3 = (PyObject *) 0 ; | |
22343 | PyObject * obj0 = 0 ; | |
22344 | PyObject * obj1 = 0 ; | |
22345 | PyObject * obj2 = 0 ; | |
22346 | char *kwnames[] = { | |
22347 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22348 | }; | |
22349 | ||
22350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22351 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22352 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22353 | arg2 = obj1; |
22354 | arg3 = obj2; | |
22355 | { | |
22356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22357 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22358 | ||
22359 | wxPyEndAllowThreads(__tstate); | |
22360 | if (PyErr_Occurred()) SWIG_fail; | |
22361 | } | |
22362 | Py_INCREF(Py_None); resultobj = Py_None; | |
22363 | return resultobj; | |
22364 | fail: | |
22365 | return NULL; | |
22366 | } | |
22367 | ||
22368 | ||
2f4c0a16 | 22369 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22370 | PyObject *resultobj; |
22371 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22372 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
22373 | PyObject * obj0 = 0 ; | |
22374 | PyObject * obj1 = 0 ; | |
22375 | char *kwnames[] = { | |
22376 | (char *) "self",(char *) "canvas", NULL | |
22377 | }; | |
22378 | ||
22379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22380 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22381 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22382 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
22383 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22384 | { |
22385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22386 | (arg1)->SetPreviewCanvas(arg2); | |
22387 | ||
22388 | wxPyEndAllowThreads(__tstate); | |
22389 | if (PyErr_Occurred()) SWIG_fail; | |
22390 | } | |
22391 | Py_INCREF(Py_None); resultobj = Py_None; | |
22392 | return resultobj; | |
22393 | fail: | |
22394 | return NULL; | |
22395 | } | |
22396 | ||
22397 | ||
2f4c0a16 | 22398 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22399 | PyObject *resultobj; |
22400 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22401 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
22402 | PyObject * obj0 = 0 ; | |
22403 | PyObject * obj1 = 0 ; | |
22404 | char *kwnames[] = { | |
22405 | (char *) "self",(char *) "bar", NULL | |
22406 | }; | |
22407 | ||
22408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22411 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
22412 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22413 | { |
22414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22415 | (arg1)->SetControlBar(arg2); | |
22416 | ||
22417 | wxPyEndAllowThreads(__tstate); | |
22418 | if (PyErr_Occurred()) SWIG_fail; | |
22419 | } | |
22420 | Py_INCREF(Py_None); resultobj = Py_None; | |
22421 | return resultobj; | |
22422 | fail: | |
22423 | return NULL; | |
22424 | } | |
22425 | ||
22426 | ||
2f4c0a16 | 22427 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22428 | PyObject *resultobj; |
22429 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22430 | PyObject * obj0 = 0 ; | |
22431 | char *kwnames[] = { | |
22432 | (char *) "self", NULL | |
22433 | }; | |
22434 | ||
22435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22436 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22437 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22438 | { |
22439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22440 | (arg1)->base_Initialize(); | |
22441 | ||
22442 | wxPyEndAllowThreads(__tstate); | |
22443 | if (PyErr_Occurred()) SWIG_fail; | |
22444 | } | |
22445 | Py_INCREF(Py_None); resultobj = Py_None; | |
22446 | return resultobj; | |
22447 | fail: | |
22448 | return NULL; | |
22449 | } | |
22450 | ||
22451 | ||
2f4c0a16 | 22452 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22453 | PyObject *resultobj; |
22454 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22455 | PyObject * obj0 = 0 ; | |
22456 | char *kwnames[] = { | |
22457 | (char *) "self", NULL | |
22458 | }; | |
22459 | ||
22460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22461 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22462 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22463 | { |
22464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22465 | (arg1)->base_CreateCanvas(); | |
22466 | ||
22467 | wxPyEndAllowThreads(__tstate); | |
22468 | if (PyErr_Occurred()) SWIG_fail; | |
22469 | } | |
22470 | Py_INCREF(Py_None); resultobj = Py_None; | |
22471 | return resultobj; | |
22472 | fail: | |
22473 | return NULL; | |
22474 | } | |
22475 | ||
22476 | ||
2f4c0a16 | 22477 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22478 | PyObject *resultobj; |
22479 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
22480 | PyObject * obj0 = 0 ; | |
22481 | char *kwnames[] = { | |
22482 | (char *) "self", NULL | |
22483 | }; | |
22484 | ||
22485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
22487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22488 | { |
22489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22490 | (arg1)->base_CreateControlBar(); | |
22491 | ||
22492 | wxPyEndAllowThreads(__tstate); | |
22493 | if (PyErr_Occurred()) SWIG_fail; | |
22494 | } | |
22495 | Py_INCREF(Py_None); resultobj = Py_None; | |
22496 | return resultobj; | |
22497 | fail: | |
22498 | return NULL; | |
22499 | } | |
22500 | ||
22501 | ||
2f4c0a16 | 22502 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22503 | PyObject *obj; |
22504 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22505 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
22506 | Py_INCREF(obj); | |
22507 | return Py_BuildValue((char *)""); | |
22508 | } | |
2f4c0a16 | 22509 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22510 | PyObject *resultobj; |
22511 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
22512 | long arg2 ; | |
22513 | wxWindow *arg3 = (wxWindow *) 0 ; | |
22514 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
22515 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
22516 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
22517 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
22518 | long arg6 = (long) 0 ; | |
22519 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
22520 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
22521 | wxPyPreviewControlBar *result; | |
22522 | wxPoint temp4 ; | |
22523 | wxSize temp5 ; | |
423f194a | 22524 | bool temp7 = False ; |
d14a1e28 | 22525 | PyObject * obj0 = 0 ; |
8edf1c75 | 22526 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22527 | PyObject * obj2 = 0 ; |
22528 | PyObject * obj3 = 0 ; | |
22529 | PyObject * obj4 = 0 ; | |
8edf1c75 | 22530 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
22531 | PyObject * obj6 = 0 ; |
22532 | char *kwnames[] = { | |
22533 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
22534 | }; | |
22535 | ||
8edf1c75 | 22536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
22537 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
22538 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22539 | arg2 = (long) SWIG_AsLong(obj1); | |
22540 | if (PyErr_Occurred()) SWIG_fail; | |
22541 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
22542 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22543 | if (obj3) { |
22544 | { | |
22545 | arg4 = &temp4; | |
22546 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
22547 | } | |
22548 | } | |
22549 | if (obj4) { | |
22550 | { | |
22551 | arg5 = &temp5; | |
22552 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
22553 | } | |
22554 | } | |
8edf1c75 | 22555 | if (obj5) { |
2f4c0a16 RD |
22556 | arg6 = (long) SWIG_AsLong(obj5); |
22557 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 22558 | } |
d14a1e28 RD |
22559 | if (obj6) { |
22560 | { | |
22561 | arg7 = wxString_in_helper(obj6); | |
22562 | if (arg7 == NULL) SWIG_fail; | |
423f194a | 22563 | temp7 = True; |
d14a1e28 RD |
22564 | } |
22565 | } | |
22566 | { | |
22567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22568 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
22569 | ||
22570 | wxPyEndAllowThreads(__tstate); | |
22571 | if (PyErr_Occurred()) SWIG_fail; | |
22572 | } | |
2f4c0a16 | 22573 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
22574 | { |
22575 | if (temp7) | |
22576 | delete arg7; | |
22577 | } | |
22578 | return resultobj; | |
22579 | fail: | |
22580 | { | |
22581 | if (temp7) | |
22582 | delete arg7; | |
22583 | } | |
22584 | return NULL; | |
22585 | } | |
22586 | ||
22587 | ||
2f4c0a16 | 22588 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22589 | PyObject *resultobj; |
22590 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22591 | PyObject *arg2 = (PyObject *) 0 ; | |
22592 | PyObject *arg3 = (PyObject *) 0 ; | |
22593 | PyObject * obj0 = 0 ; | |
22594 | PyObject * obj1 = 0 ; | |
22595 | PyObject * obj2 = 0 ; | |
22596 | char *kwnames[] = { | |
22597 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22598 | }; | |
22599 | ||
22600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
22601 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22602 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22603 | arg2 = obj1; |
22604 | arg3 = obj2; | |
22605 | { | |
22606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22607 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22608 | ||
22609 | wxPyEndAllowThreads(__tstate); | |
22610 | if (PyErr_Occurred()) SWIG_fail; | |
22611 | } | |
22612 | Py_INCREF(Py_None); resultobj = Py_None; | |
22613 | return resultobj; | |
22614 | fail: | |
22615 | return NULL; | |
22616 | } | |
22617 | ||
22618 | ||
2f4c0a16 | 22619 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22620 | PyObject *resultobj; |
22621 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22622 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
22623 | PyObject * obj0 = 0 ; | |
22624 | PyObject * obj1 = 0 ; | |
22625 | char *kwnames[] = { | |
22626 | (char *) "self",(char *) "preview", NULL | |
22627 | }; | |
22628 | ||
22629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
22630 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22631 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22632 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
22633 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22634 | { |
22635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22636 | (arg1)->SetPrintPreview(arg2); | |
22637 | ||
22638 | wxPyEndAllowThreads(__tstate); | |
22639 | if (PyErr_Occurred()) SWIG_fail; | |
22640 | } | |
22641 | Py_INCREF(Py_None); resultobj = Py_None; | |
22642 | return resultobj; | |
22643 | fail: | |
22644 | return NULL; | |
22645 | } | |
22646 | ||
22647 | ||
2f4c0a16 | 22648 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22649 | PyObject *resultobj; |
22650 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22651 | PyObject * obj0 = 0 ; | |
22652 | char *kwnames[] = { | |
22653 | (char *) "self", NULL | |
22654 | }; | |
22655 | ||
22656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
22657 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22659 | { |
22660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22661 | (arg1)->base_CreateButtons(); | |
22662 | ||
22663 | wxPyEndAllowThreads(__tstate); | |
22664 | if (PyErr_Occurred()) SWIG_fail; | |
22665 | } | |
22666 | Py_INCREF(Py_None); resultobj = Py_None; | |
22667 | return resultobj; | |
22668 | fail: | |
22669 | return NULL; | |
22670 | } | |
22671 | ||
22672 | ||
2f4c0a16 | 22673 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22674 | PyObject *resultobj; |
22675 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
22676 | int arg2 ; | |
22677 | PyObject * obj0 = 0 ; | |
8edf1c75 | 22678 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
22679 | char *kwnames[] = { |
22680 | (char *) "self",(char *) "zoom", NULL | |
22681 | }; | |
22682 | ||
8edf1c75 | 22683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
22684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
22685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22686 | arg2 = (int) SWIG_AsInt(obj1); | |
22687 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
22688 | { |
22689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22690 | (arg1)->base_SetZoomControl(arg2); | |
22691 | ||
22692 | wxPyEndAllowThreads(__tstate); | |
22693 | if (PyErr_Occurred()) SWIG_fail; | |
22694 | } | |
22695 | Py_INCREF(Py_None); resultobj = Py_None; | |
22696 | return resultobj; | |
22697 | fail: | |
22698 | return NULL; | |
22699 | } | |
22700 | ||
22701 | ||
2f4c0a16 | 22702 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22703 | PyObject *obj; |
22704 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22705 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
22706 | Py_INCREF(obj); | |
22707 | return Py_BuildValue((char *)""); | |
22708 | } | |
22709 | static PyMethodDef SwigMethods[] = { | |
2f4c0a16 RD |
22710 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL }, |
22711 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22712 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22713 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22714 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL }, | |
22715 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22716 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22717 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22718 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22719 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22720 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22721 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22722 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22723 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22724 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22725 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22726 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22727 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22728 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22729 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL }, | |
22730 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL }, | |
22731 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22732 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22733 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22734 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22735 | { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22736 | { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22737 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
22738 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22739 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22740 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22741 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22742 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22743 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22744 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22745 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22746 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22747 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22748 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22749 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22750 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22751 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL }, | |
22752 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22753 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22754 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22755 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22756 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22757 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22758 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22759 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22760 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22761 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22762 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22763 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22764 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22765 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22766 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22767 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22768 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22769 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22770 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22771 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22772 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22773 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22774 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL }, | |
22775 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22776 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22777 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22778 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22779 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22780 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22781 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22782 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22783 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22784 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22785 | { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22786 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL }, | |
22787 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22788 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22789 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22790 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL }, | |
22791 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22792 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22793 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22794 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL }, | |
22795 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22796 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22797 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22798 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22799 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL }, | |
22800 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22801 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22802 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22803 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22804 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22805 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22806 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22807 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22808 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22809 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22810 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22811 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22812 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22813 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22814 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL }, | |
22815 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22816 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22817 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22818 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22819 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22820 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22821 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22822 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22823 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22824 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22825 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22826 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22827 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22828 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22829 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22830 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22831 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22832 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22833 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22834 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22835 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22836 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22837 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22838 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22839 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22840 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL }, | |
22841 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22842 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22843 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22844 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22845 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22846 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22847 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL }, | |
22848 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22849 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22850 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22851 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22852 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22853 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22854 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22855 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22856 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22857 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22858 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22859 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22860 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22861 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22862 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22863 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22864 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22865 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22866 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22867 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22868 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22869 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22870 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL }, | |
22871 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22872 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22873 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22874 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22875 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22876 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22877 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22878 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL }, | |
22879 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22880 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22881 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22882 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22883 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22884 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22885 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22886 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22887 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22888 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22889 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22890 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL }, | |
22891 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22892 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22893 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22894 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22895 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22896 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL }, | |
22897 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22898 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22899 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22900 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22901 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22902 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22903 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22904 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22905 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL }, | |
22906 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22907 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22908 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22909 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22910 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22911 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL }, | |
22912 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22913 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22914 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL }, | |
22915 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22916 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22917 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL }, | |
22918 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22919 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22920 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22921 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL }, | |
22922 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22923 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22924 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22925 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22926 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22927 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22928 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22929 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22930 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22931 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22932 | { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22933 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22934 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22935 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22936 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22937 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22938 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22939 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
22940 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22941 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22942 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22943 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22944 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22945 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22946 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22947 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22948 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22949 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22950 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22951 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22952 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22953 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22954 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22955 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22956 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22957 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22958 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22959 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22960 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22961 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22962 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22963 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22964 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22965 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL }, | |
22966 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22967 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22968 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22969 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22970 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22971 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22972 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL }, | |
22973 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22974 | { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22975 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL }, | |
22976 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22977 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL }, | |
22978 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22979 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22980 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22981 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22982 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22983 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22984 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22985 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22986 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL }, | |
22987 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22988 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22989 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL }, | |
22990 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22991 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22992 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22993 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22994 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22995 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22996 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL }, | |
22997 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22998 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
22999 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23000 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23001 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23002 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23003 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23004 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23005 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23006 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23007 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23008 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23009 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23010 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23011 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23012 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23013 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23014 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL }, | |
23015 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23016 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23017 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23018 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
23019 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23020 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23021 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23022 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23023 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
23024 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23025 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23026 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23027 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL }, | |
23028 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23029 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23030 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23031 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23032 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23033 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23034 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23035 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23036 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23037 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23038 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23039 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23040 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23041 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23042 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23043 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL }, | |
23044 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23045 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23046 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL }, | |
23047 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23048 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL }, | |
23049 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23050 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23051 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23052 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL }, | |
23053 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23054 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23055 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23056 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23057 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23058 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23059 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23060 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23061 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL }, | |
23062 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23063 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23064 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23065 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23066 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23067 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23068 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23069 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23070 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL }, | |
23071 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23072 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23073 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23074 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23075 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23076 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL }, | |
23077 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23078 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23079 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23080 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23081 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23082 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23083 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23084 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23085 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23086 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23087 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23088 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL }, | |
23089 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23090 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23091 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23092 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23093 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23094 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23095 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL }, | |
23096 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23097 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23098 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23099 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL }, | |
23100 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23101 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23102 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23103 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23104 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23105 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23106 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23107 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23108 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23109 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23110 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23111 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23112 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23113 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23114 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23115 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23116 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23117 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23118 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23119 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23120 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL }, | |
23121 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23122 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23123 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23124 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23125 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23126 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23127 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23128 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23129 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23130 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23131 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23132 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23133 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23134 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23135 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23136 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23137 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23138 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23139 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23140 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23141 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL }, | |
23142 | { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23143 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23144 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23145 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23146 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23147 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23148 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23149 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23150 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23151 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23152 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23153 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23154 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23155 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23156 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23157 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23158 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23159 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23160 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23161 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23162 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23163 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23164 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23165 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23166 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23167 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23168 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23169 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23170 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23171 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23172 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23173 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23174 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23175 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23176 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23177 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23178 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23179 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23180 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23181 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23182 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23183 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23184 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23185 | { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23186 | { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23187 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL }, | |
23188 | { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23189 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23190 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23191 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23192 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23193 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23194 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23195 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23196 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23197 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23198 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23199 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23200 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23201 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23202 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23203 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23204 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23205 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23206 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23207 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23208 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23209 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23210 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23211 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23212 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23213 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23214 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23215 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23216 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23217 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23218 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23219 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL }, | |
23220 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23221 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23222 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23223 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL }, | |
ce7284bd | 23224 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL }, |
2f4c0a16 RD |
23225 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
23226 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23227 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23228 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23229 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23230 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23231 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23232 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23233 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23234 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23235 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23236 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23237 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23238 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23239 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23240 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23241 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23242 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23243 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23244 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23245 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23246 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23247 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23248 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23249 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23250 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23251 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23252 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23253 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23254 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23255 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23256 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23257 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL }, | |
23258 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23259 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23260 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23261 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23262 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL }, | |
23263 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23264 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23265 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23266 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23267 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23268 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23269 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23270 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23271 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23272 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23273 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL }, | |
23274 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23275 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23276 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23277 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23278 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23279 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23280 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23281 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23282 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23283 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23284 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23285 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23286 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23287 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23288 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23289 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23290 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23291 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23292 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23293 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23294 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23295 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23296 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL }, | |
23297 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23298 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL }, | |
23299 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23300 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23301 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23302 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23303 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23304 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL }, | |
23305 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23306 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23307 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23308 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23309 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23310 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23311 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23312 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23313 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23314 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
ce7284bd | 23315 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL }, |
2f4c0a16 RD |
23316 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
23317 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23318 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23319 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23320 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23321 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23322 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23323 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23324 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23325 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23326 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23327 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23328 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23329 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23330 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23331 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23332 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23333 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23334 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23335 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23336 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23337 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23338 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL }, | |
ce7284bd | 23339 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL }, |
2f4c0a16 RD |
23340 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
23341 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23342 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23343 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23344 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23345 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23346 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23347 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23348 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL }, | |
23349 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23350 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23351 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23352 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23353 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23354 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23355 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23356 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL }, | |
23357 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23358 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23359 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23360 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23361 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
23362 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
23363 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
23364 | }; |
23365 | ||
23366 | ||
23367 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
23368 | ||
23369 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
23370 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23371 | } | |
23372 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
23373 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
23374 | } | |
23375 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
23376 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
23377 | } | |
23378 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
23379 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
23380 | } | |
23381 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
23382 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
23383 | } | |
23384 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
23385 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
23386 | } | |
23387 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
23388 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
23389 | } | |
23390 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
23391 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23392 | } | |
23393 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
23394 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
23395 | } | |
23396 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
23397 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
23398 | } | |
23399 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
23400 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23401 | } | |
23402 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
23403 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
23404 | } | |
23405 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
23406 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23407 | } | |
23408 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
23409 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23410 | } | |
23411 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
23412 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
23413 | } | |
23414 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
23415 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23416 | } | |
23417 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
23418 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23419 | } | |
23420 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
23421 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
23422 | } | |
23423 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
23424 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
23425 | } | |
23426 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
23427 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
23428 | } | |
23429 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
23430 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
23431 | } | |
23432 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
23433 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
23434 | } | |
23435 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
23436 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
23437 | } | |
23438 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
23439 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
23440 | } | |
23441 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
23442 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23443 | } | |
23444 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
23445 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23446 | } | |
23447 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
23448 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23449 | } | |
23450 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
23451 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23452 | } | |
23453 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
23454 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23455 | } | |
23456 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
23457 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
23458 | } | |
23459 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
23460 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
23461 | } | |
23462 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
23463 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
23464 | } | |
23465 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
23466 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
23467 | } | |
23468 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
23469 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23470 | } | |
23471 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
23472 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
23473 | } | |
23474 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
23475 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
23476 | } | |
23477 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
23478 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
23479 | } | |
23480 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
23481 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23482 | } | |
23483 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
23484 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23485 | } | |
23486 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
23487 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
23488 | } | |
23489 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
23490 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
23491 | } | |
23492 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
23493 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23494 | } | |
23495 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
23496 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23497 | } | |
23498 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
23499 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23500 | } | |
23501 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
23502 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23503 | } | |
23504 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
23505 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23506 | } | |
23507 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
23508 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
23509 | } | |
23510 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
23511 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
23512 | } | |
23513 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
23514 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
23515 | } | |
23516 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
23517 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
23518 | } | |
23519 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
23520 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23521 | } | |
23522 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23523 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23524 | } | |
23525 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
23526 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23527 | } | |
23528 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
23529 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23530 | } | |
23531 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
23532 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23533 | } | |
23534 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
23535 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23536 | } | |
23537 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
23538 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23539 | } | |
23540 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
23541 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
23542 | } | |
23543 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
23544 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
23545 | } | |
23546 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23547 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23548 | } | |
23549 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
23550 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
23551 | } | |
23552 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
23553 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23554 | } | |
23555 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
23556 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
23557 | } | |
23558 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
23559 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23560 | } | |
23561 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
23562 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
23563 | } | |
23564 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
23565 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
23566 | } | |
23567 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
23568 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
23569 | } | |
23570 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
23571 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
23572 | } | |
23573 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
23574 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23575 | } | |
23576 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
23577 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
23578 | } | |
23579 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
23580 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
23581 | } | |
23582 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
23583 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
23584 | } | |
23585 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23586 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23587 | } | |
23588 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
23589 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23590 | } | |
23591 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
23592 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23593 | } | |
23594 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
23595 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
23596 | } | |
23597 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
23598 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
23599 | } | |
23600 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
23601 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
23602 | } | |
23603 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
23604 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23605 | } | |
23606 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
23607 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23608 | } | |
23609 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
23610 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23611 | } | |
23612 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23613 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
23614 | } | |
23615 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
23616 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
23617 | } | |
23618 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
23619 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23620 | } | |
23621 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
23622 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23623 | } | |
23624 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
23625 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
23626 | } | |
23627 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
23628 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23629 | } | |
23630 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
23631 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23632 | } | |
23633 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
23634 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23635 | } | |
23636 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
23637 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
23638 | } | |
23639 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
23640 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
23641 | } | |
23642 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
23643 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23644 | } | |
23645 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
23646 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23647 | } | |
23648 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
23649 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
23650 | } | |
23651 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
23652 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
23653 | } | |
23654 | static void *_p_wxTipWindowTo_p_wxFrame(void *x) { | |
23655 | return (void *)((wxFrame *) ((wxTipWindow *) x)); | |
23656 | } | |
23657 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
23658 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
23659 | } | |
23660 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
23661 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23662 | } | |
23663 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
23664 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
23665 | } | |
23666 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
23667 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
23668 | } | |
23669 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
23670 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
23671 | } | |
23672 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
23673 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
23674 | } | |
23675 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
23676 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
23677 | } | |
23678 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
23679 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
23680 | } | |
23681 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
23682 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
23683 | } | |
23684 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
23685 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
23686 | } | |
23687 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
23688 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
23689 | } | |
23690 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
23691 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
23692 | } | |
23693 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
23694 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
23695 | } | |
23696 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
23697 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
23698 | } | |
23699 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
23700 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
23701 | } | |
23702 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
23703 | return (void *)((wxObject *) ((wxSizer *) x)); | |
23704 | } | |
23705 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
23706 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
23707 | } | |
23708 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
23709 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
23710 | } | |
23711 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
23712 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
23713 | } | |
23714 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
23715 | return (void *)((wxObject *) ((wxEvent *) x)); | |
23716 | } | |
23717 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
23718 | return (void *)((wxObject *) ((wxFontData *) x)); | |
23719 | } | |
23720 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
23721 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
23722 | } | |
23723 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
23724 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
23725 | } | |
23726 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
23727 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
23728 | } | |
23729 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
23730 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
23731 | } | |
23732 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
23733 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
23734 | } | |
23735 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
23736 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
23737 | } | |
23738 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
23739 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
23740 | } | |
23741 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
23742 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
23743 | } | |
23744 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
23745 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
23746 | } | |
23747 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
23748 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
23749 | } | |
23750 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
23751 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
23752 | } | |
23753 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
23754 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
23755 | } | |
23756 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
23757 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
23758 | } | |
23759 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
23760 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
23761 | } | |
23762 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
23763 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
23764 | } | |
23765 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
23766 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
23767 | } | |
23768 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
23769 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
23770 | } | |
23771 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
23772 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
23773 | } | |
23774 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
23775 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
23776 | } | |
23777 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
23778 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
23779 | } | |
23780 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
23781 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
23782 | } | |
23783 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
23784 | return (void *)((wxObject *) ((wxColourData *) x)); | |
23785 | } | |
23786 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
23787 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
23788 | } | |
23789 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
23790 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
23791 | } | |
23792 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
23793 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
23794 | } | |
23795 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
23796 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
23797 | } | |
23798 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
23799 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
23800 | } | |
23801 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
23802 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
23803 | } | |
23804 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
23805 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
23806 | } | |
23807 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
23808 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
23809 | } | |
23810 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
23811 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
23812 | } | |
23813 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
23814 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
23815 | } | |
23816 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
23817 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
23818 | } | |
23819 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
23820 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
23821 | } | |
23822 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
23823 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
23824 | } | |
23825 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
23826 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
23827 | } | |
23828 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
23829 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
23830 | } | |
23831 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
23832 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
23833 | } | |
23834 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
23835 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
23836 | } | |
23837 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
23838 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
23839 | } | |
23840 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
23841 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
23842 | } | |
23843 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
23844 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
23845 | } | |
23846 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
23847 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
23848 | } | |
23849 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
23850 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
23851 | } | |
23852 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
23853 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
23854 | } | |
23855 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
23856 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
23857 | } | |
23858 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
23859 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
23860 | } | |
23861 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
23862 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
23863 | } | |
23864 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
23865 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
23866 | } | |
23867 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
23868 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
23869 | } | |
23870 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
23871 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
23872 | } | |
23873 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
23874 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
23875 | } | |
23876 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
23877 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
23878 | } | |
23879 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
23880 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
23881 | } | |
23882 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
23883 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
23884 | } | |
23885 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
23886 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
23887 | } | |
23888 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
23889 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
23890 | } | |
23891 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
23892 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
23893 | } | |
23894 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
23895 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
23896 | } | |
23897 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
23898 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
23899 | } | |
23900 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
23901 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
23902 | } | |
23903 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
23904 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
23905 | } | |
23906 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
23907 | return (void *)((wxObject *) ((wxImage *) x)); | |
23908 | } | |
23909 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
23910 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
23911 | } | |
23912 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
23913 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
23914 | } | |
23915 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
23916 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
23917 | } | |
23918 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
23919 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
23920 | } | |
23921 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
23922 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
23923 | } | |
23924 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
23925 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
23926 | } | |
23927 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
23928 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
23929 | } | |
23930 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
23931 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
23932 | } | |
23933 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
23934 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
23935 | } | |
d14a1e28 RD |
23936 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
23937 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
23938 | } | |
23939 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
23940 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
23941 | } | |
23942 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
23943 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
23944 | } | |
41f1cec7 RD |
23945 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
23946 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
23947 | } | |
d14a1e28 RD |
23948 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
23949 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
23950 | } | |
23951 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
23952 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
23953 | } | |
23954 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
23955 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
23956 | } | |
23957 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
23958 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
23959 | } | |
23960 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
23961 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
23962 | } | |
23963 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
23964 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
23965 | } | |
23966 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
23967 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
23968 | } | |
23969 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
23970 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
23971 | } | |
23972 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
23973 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
23974 | } | |
23975 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
23976 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
23977 | } | |
23978 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
23979 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
23980 | } | |
23981 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
23982 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
23983 | } | |
23984 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
23985 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
23986 | } | |
23987 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
23988 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
23989 | } | |
23990 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
23991 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
23992 | } | |
23993 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
23994 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
23995 | } | |
23996 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
23997 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
23998 | } | |
23999 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
24000 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24001 | } | |
24002 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
24003 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24004 | } | |
24005 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
24006 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24007 | } | |
24008 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
24009 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
24010 | } | |
24011 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
24012 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24013 | } | |
24014 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
24015 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
24016 | } | |
24017 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
24018 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
24019 | } | |
24020 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
24021 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
24022 | } | |
24023 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
24024 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
24025 | } | |
24026 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
24027 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
24028 | } | |
24029 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
24030 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24031 | } | |
24032 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
24033 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
24034 | } | |
24035 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
24036 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
24037 | } | |
24038 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
24039 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24040 | } | |
24041 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
24042 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
24043 | } | |
24044 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
24045 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
24046 | } | |
24047 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
24048 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24049 | } | |
24050 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
24051 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
24052 | } | |
24053 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
24054 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
24055 | } | |
24056 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
24057 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
24058 | } | |
24059 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
24060 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
24061 | } | |
24062 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
24063 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
24064 | } | |
24065 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24066 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24067 | } | |
24068 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
24069 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24070 | } | |
24071 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
24072 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24073 | } | |
24074 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
24075 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24076 | } | |
24077 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
24078 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
24079 | } | |
24080 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
24081 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
24082 | } | |
24083 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
24084 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
24085 | } | |
24086 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
24087 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
24088 | } | |
24089 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
24090 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
24091 | } | |
24092 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
24093 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
24094 | } | |
24095 | static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) { | |
24096 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x)); | |
24097 | } | |
24098 | static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) { | |
24099 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x)); | |
24100 | } | |
24101 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { | |
24102 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
24103 | } | |
24104 | static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) { | |
24105 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x)); | |
24106 | } | |
24107 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
24108 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
24109 | } | |
24110 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
24111 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
24112 | } | |
24113 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { | |
24114 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
24115 | } | |
24116 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
24117 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
24118 | } | |
24119 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { | |
24120 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
24121 | } | |
24122 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24123 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24124 | } | |
24125 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
24126 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24127 | } | |
24128 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
24129 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
24130 | } | |
24131 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { | |
24132 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
24133 | } | |
24134 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24135 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
24136 | } | |
24137 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
24138 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24139 | } | |
24140 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
24141 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
24142 | } | |
24143 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
24144 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
24145 | } | |
24146 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
24147 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
24148 | } | |
24149 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
24150 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
24151 | } | |
24152 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
24153 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
24154 | } | |
24155 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
24156 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
24157 | } | |
24158 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
24159 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
24160 | } | |
24161 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
24162 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
24163 | } | |
24164 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
24165 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24166 | } | |
24167 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
24168 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24169 | } | |
24170 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
24171 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
24172 | } | |
24173 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
24174 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
24175 | } | |
24176 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
24177 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
24178 | } | |
24179 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
24180 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
24181 | } | |
24182 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
24183 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24184 | } | |
24185 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
24186 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); | |
24187 | } | |
24188 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
24189 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
24190 | } | |
24191 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
24192 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
24193 | } | |
24194 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
24195 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
24196 | } | |
24197 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
24198 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
24199 | } | |
24200 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
24201 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
24202 | } | |
24203 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
24204 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
24205 | } | |
24206 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
24207 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
24208 | } | |
24209 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
24210 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
24211 | } | |
24212 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
24213 | return (void *)((wxWindow *) ((wxControl *) x)); | |
24214 | } | |
24215 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
24216 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
24217 | } | |
24218 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
24219 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
24220 | } | |
24221 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
24222 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
24223 | } | |
24224 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
24225 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
24226 | } | |
24227 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
24228 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
24229 | } | |
24230 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
24231 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24232 | } | |
24233 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
24234 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24235 | } | |
24236 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
24237 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24238 | } | |
24239 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
24240 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
24241 | } | |
24242 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
24243 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24244 | } | |
24245 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
24246 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
24247 | } | |
24248 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
24249 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
24250 | } | |
24251 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
24252 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
24253 | } | |
24254 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
24255 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
24256 | } | |
24257 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
24258 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
24259 | } | |
24260 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
24261 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
24262 | } | |
24263 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
24264 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
24265 | } | |
24266 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
24267 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
24268 | } | |
24269 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
24270 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24271 | } | |
24272 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
24273 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
24274 | } | |
24275 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
24276 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
24277 | } | |
24278 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
24279 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
24280 | } | |
24281 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
24282 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
24283 | } | |
24284 | static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) { | |
24285 | return (void *)((wxDialog *) ((wxPageSetupDialog *) x)); | |
24286 | } | |
24287 | static void *_p_wxPrintDialogTo_p_wxDialog(void *x) { | |
24288 | return (void *)((wxDialog *) ((wxPrintDialog *) x)); | |
24289 | } | |
24290 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { | |
24291 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
24292 | } | |
24293 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
24294 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
24295 | } | |
24296 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
24297 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
24298 | } | |
24299 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
24300 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
24301 | } | |
24302 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { | |
24303 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
24304 | } | |
24305 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
24306 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
24307 | } | |
24308 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
24309 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
24310 | } | |
24311 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
24312 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
24313 | } | |
24314 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
24315 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
24316 | } | |
24317 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
24318 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
24319 | } | |
24320 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
24321 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
24322 | } | |
24323 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
24324 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
24325 | } | |
24326 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
24327 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
24328 | } | |
24329 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
24330 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24331 | } | |
24332 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
24333 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
24334 | } | |
24335 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
24336 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
24337 | } | |
24338 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
24339 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
24340 | } | |
24341 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
24342 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
24343 | } | |
24344 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
24345 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
24346 | } | |
24347 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
24348 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
24349 | } | |
24350 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
24351 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
24352 | } | |
24353 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
24354 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
24355 | } | |
24356 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
24357 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
24358 | } | |
24359 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
24360 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
24361 | } | |
24362 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
24363 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
24364 | } | |
24365 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
24366 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
24367 | } | |
2f4c0a16 RD |
24368 | 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}}; |
24369 | 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}}; | |
24370 | 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}}; | |
24371 | 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}}; | |
24372 | 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}}; | |
24373 | 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}}; | |
24374 | 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}}; | |
24375 | 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}}; | |
24376 | 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}}; | |
24377 | 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}}; | |
24378 | 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}}; | |
24379 | 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}}; | |
24380 | 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}}; | |
24381 | 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}}; | |
24382 | 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}}; | |
24383 | 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}}; | |
24384 | 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}}; | |
24385 | 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}}; | |
24386 | 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}}; | |
24387 | 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}}; | |
24388 | 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}}; | |
24389 | 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}}; | |
24390 | 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}}; | |
24391 | 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}}; | |
24392 | 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}}; | |
24393 | 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}}; | |
24394 | 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}}; | |
24395 | 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}}; | |
24396 | 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}}; | |
24397 | 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}}; | |
24398 | 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}}; | |
24399 | 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}}; | |
24400 | 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}}; | |
24401 | 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}}; | |
24402 | 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}}; | |
24403 | 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24404 | 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}}; | |
24405 | 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}}; | |
24406 | 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}}; | |
24407 | 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}}; | |
24408 | 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}}; | |
24409 | 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}}; | |
24410 | 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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
24411 | 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}}; | |
24412 | 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}}; | |
24413 | 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}}; | |
24414 | 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}}; | |
24415 | 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}}; | |
24416 | 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}}; | |
24417 | 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_wxTipWindow", _p_wxTipWindowTo_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_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}}; | |
24418 | 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}}; | |
24419 | 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}}; | |
24420 | 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}}; | |
24421 | 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}}; | |
24422 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24423 | 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}}; | |
24424 | 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}}; | |
24425 | 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}}; | |
24426 | 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},{0, 0, 0, 0, 0, 0, 0}}; | |
24427 | 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}}; | |
24428 | 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}}; | |
24429 | 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_wxTipWindow", _p_wxTipWindowTo_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
24430 | 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}}; | |
24431 | 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}}; | |
24432 | 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}}; | |
24433 | 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}}; | |
24434 | 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}}; | |
24435 | 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}}; | |
24436 | 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}}; | |
24437 | 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}}; | |
24438 | 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}}; | |
24439 | 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}}; | |
24440 | 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}}; | |
24441 | 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}}; | |
24442 | 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}}; | |
24443 | 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}}; | |
24444 | 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}}; | |
24445 | 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}}; | |
24446 | 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}}; | |
24447 | 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}}; | |
24448 | 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}}; | |
24449 | 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}}; | |
24450 | 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}}; | |
24451 | 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 |
24452 | |
24453 | static swig_type_info *swig_types_initial[] = { | |
24454 | _swigt__p_wxQueryLayoutInfoEvent, | |
24455 | _swigt__p_wxPreviewFrame, | |
24456 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
24457 | _swigt__p_wxPyPanel, |
24458 | _swigt__p_wxMenu, | |
24459 | _swigt__p_wxPrintData, | |
24460 | _swigt__p_wxFontData, | |
24461 | _swigt__p_wxEvent, | |
24462 | _swigt__p_wxTaskBarIcon, | |
24463 | _swigt__p_wxIconBundle, | |
24464 | _swigt__p_wxLayoutAlgorithm, | |
24465 | _swigt__p_wxFindDialogEvent, | |
24466 | _swigt__p_wxPreviewCanvas, | |
24467 | _swigt__p_wxFont, | |
24468 | _swigt__p_wxSplitterEvent, | |
24469 | _swigt__p_wxRegion, | |
24470 | _swigt__p_wxFindReplaceData, | |
24471 | _swigt__p_int, | |
24472 | _swigt__p_wxSize, | |
24473 | _swigt__p_wxDC, | |
24474 | _swigt__p_wxIcon, | |
24475 | _swigt__p_wxMDIChildFrame, | |
24476 | _swigt__p_wxColourData, | |
24477 | _swigt__p_wxNotifyEvent, | |
24478 | _swigt__p_wxPyWindow, | |
24479 | _swigt__p_wxSplashScreen, | |
24480 | _swigt__p_wxFindReplaceDialog, | |
24481 | _swigt__p_wxProgressDialog, | |
24482 | _swigt__p_wxMessageDialog, | |
24483 | _swigt__p_wxTextEntryDialog, | |
24484 | _swigt__p_wxSingleChoiceDialog, | |
24485 | _swigt__p_wxMultiChoiceDialog, | |
24486 | _swigt__p_wxFileDialog, | |
24487 | _swigt__p_wxPrinter, | |
d14a1e28 RD |
24488 | _swigt__p_wxArrayInt, |
24489 | _swigt__p_wxEvtHandler, | |
24490 | _swigt__p_wxCalculateLayoutEvent, | |
24491 | _swigt__p_wxPyHtmlListBox, | |
24492 | _swigt__p_wxPyVListBox, | |
24493 | _swigt__p_wxRect, | |
8edf1c75 | 24494 | _swigt__p_char, |
d14a1e28 RD |
24495 | _swigt__p_wxMiniFrame, |
24496 | _swigt__p_wxFrame, | |
24497 | _swigt__p_wxPyPrintout, | |
24498 | _swigt__p_wxTaskBarIconEvent, | |
24499 | _swigt__p_wxScrollWinEvent, | |
24500 | _swigt__p_wxStatusBar, | |
24501 | _swigt__p_wxMDIParentFrame, | |
24502 | _swigt__p_wxPoint, | |
24503 | _swigt__p_wxObject, | |
0ffb2aa6 | 24504 | _swigt__p_wxOutputStream, |
d14a1e28 RD |
24505 | _swigt__p_unsigned_long, |
24506 | _swigt__p_wxMDIClientWindow, | |
24507 | _swigt__p_wxTipWindow, | |
24508 | _swigt__p_wxPyPopupTransientWindow, | |
24509 | _swigt__p_wxSashLayoutWindow, | |
24510 | _swigt__p_wxSplitterWindow, | |
d14a1e28 RD |
24511 | _swigt__p_wxPyVScrolledWindow, |
24512 | _swigt__p_wxPopupWindow, | |
24513 | _swigt__p_wxSashWindow, | |
24514 | _swigt__p_wxTopLevelWindow, | |
24515 | _swigt__p_wxWindow, | |
24516 | _swigt__p_wxScrolledWindow, | |
41f1cec7 | 24517 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
24518 | _swigt__p_wxMenuBar, |
24519 | _swigt__p_wxPrintPreview, | |
24520 | _swigt__p_wxSashEvent, | |
24521 | _swigt__p_wxString, | |
24522 | _swigt__p_wxPyPrintPreview, | |
24523 | _swigt__p_wxFontDialog, | |
24524 | _swigt__p_wxDirDialog, | |
24525 | _swigt__p_wxColourDialog, | |
24526 | _swigt__p_wxDialog, | |
24527 | _swigt__p_wxPanel, | |
0ffb2aa6 | 24528 | _swigt__p_wxPageSetupDialog, |
d14a1e28 RD |
24529 | _swigt__p_wxPrintDialog, |
24530 | _swigt__p_wxBitmap, | |
24531 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
24532 | _swigt__p_wxPreviewControlBar, |
24533 | _swigt__p_wxPyPreviewControlBar, | |
24534 | _swigt__p_wxColour, | |
24535 | _swigt__p_wxToolBar, | |
cbd72d4f | 24536 | _swigt__p_wxPageSetupDialogData, |
8edf1c75 | 24537 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
24538 | 0 |
24539 | }; | |
24540 | ||
24541 | ||
24542 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
24543 | ||
24544 | static swig_const_info swig_const_table[] = { | |
2f4c0a16 | 24545 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
24546 | |
24547 | #ifdef __cplusplus | |
24548 | } | |
24549 | #endif | |
24550 | ||
24551 | #ifdef __cplusplus | |
24552 | extern "C" | |
24553 | #endif | |
24554 | SWIGEXPORT(void) SWIG_init(void) { | |
24555 | static PyObject *SWIG_globals = 0; | |
24556 | static int typeinit = 0; | |
24557 | PyObject *m, *d; | |
24558 | int i; | |
24559 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
24560 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
24561 | d = PyModule_GetDict(m); | |
24562 | ||
24563 | if (!typeinit) { | |
24564 | for (i = 0; swig_types_initial[i]; i++) { | |
24565 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
24566 | } | |
24567 | typeinit = 1; | |
24568 | } | |
24569 | SWIG_InstallConstants(d,swig_const_table); | |
24570 | ||
cbd72d4f RD |
24571 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
24572 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
24573 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
24574 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
24575 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
2f4c0a16 RD |
24576 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_FromInt((int)wxFULLSCREEN_NOMENUBAR)); |
24577 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_FromInt((int)wxFULLSCREEN_NOTOOLBAR)); | |
24578 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_FromInt((int)wxFULLSCREEN_NOSTATUSBAR)); | |
24579 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_FromInt((int)wxFULLSCREEN_NOBORDER)); | |
24580 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_FromInt((int)wxFULLSCREEN_NOCAPTION)); | |
24581 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_FromInt((int)wxFULLSCREEN_ALL)); | |
24582 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_FromInt((int)wxTOPLEVEL_EX_DIALOG)); | |
24583 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_PARENT)); | |
24584 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
24585 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_FromInt((int)wxSPLASH_NO_CENTRE)); | |
24586 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_FromInt((int)wxSPLASH_TIMEOUT)); | |
24587 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_FromInt((int)wxSPLASH_NO_TIMEOUT)); | |
cbd72d4f | 24588 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
2f4c0a16 RD |
24589 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_FromInt((int)wxSP_NOBORDER)); |
24590 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_FromInt((int)wxSP_NOSASH)); | |
24591 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_FromInt((int)wxSP_PERMIT_UNSPLIT)); | |
24592 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_FromInt((int)wxSP_LIVE_UPDATE)); | |
24593 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_FromInt((int)wxSP_3DSASH)); | |
24594 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_FromInt((int)wxSP_3DBORDER)); | |
ce7284bd | 24595 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_FromInt((int)wxSP_NO_XP_THEME)); |
2f4c0a16 RD |
24596 | PyDict_SetItemString(d,"SP_BORDER", SWIG_FromInt((int)wxSP_BORDER)); |
24597 | PyDict_SetItemString(d,"SP_3D", SWIG_FromInt((int)wxSP_3D)); | |
24598 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_FromInt((int)wxSPLIT_HORIZONTAL)); | |
24599 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_FromInt((int)wxSPLIT_VERTICAL)); | |
24600 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_FromInt((int)wxSPLIT_DRAG_NONE)); | |
24601 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_FromInt((int)wxSPLIT_DRAG_DRAGGING)); | |
24602 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
24603 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
24604 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
24605 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
24606 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
cbd72d4f RD |
24607 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
24608 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
2f4c0a16 RD |
24609 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_FromInt((int)wxSASH_DRAG_NONE)); |
24610 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_FromInt((int)wxSASH_DRAG_DRAGGING)); | |
24611 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_FromInt((int)wxSASH_DRAG_LEFT_DOWN)); | |
24612 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_FromInt((int)wxSW_NOBORDER)); | |
24613 | PyDict_SetItemString(d,"SW_BORDER", SWIG_FromInt((int)wxSW_BORDER)); | |
24614 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_FromInt((int)wxSW_3DSASH)); | |
24615 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_FromInt((int)wxSW_3DBORDER)); | |
24616 | PyDict_SetItemString(d,"SW_3D", SWIG_FromInt((int)wxSW_3D)); | |
24617 | PyDict_SetItemString(d,"SASH_TOP", SWIG_FromInt((int)wxSASH_TOP)); | |
24618 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_FromInt((int)wxSASH_RIGHT)); | |
24619 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_FromInt((int)wxSASH_BOTTOM)); | |
24620 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_FromInt((int)wxSASH_LEFT)); | |
24621 | PyDict_SetItemString(d,"SASH_NONE", SWIG_FromInt((int)wxSASH_NONE)); | |
24622 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_FromInt((int)wxSASH_STATUS_OK)); | |
24623 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 24624 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
2f4c0a16 RD |
24625 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_FromInt((int)wxLAYOUT_HORIZONTAL)); |
24626 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_FromInt((int)wxLAYOUT_VERTICAL)); | |
24627 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_FromInt((int)wxLAYOUT_NONE)); | |
24628 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_FromInt((int)wxLAYOUT_TOP)); | |
24629 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_FromInt((int)wxLAYOUT_LEFT)); | |
24630 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_FromInt((int)wxLAYOUT_RIGHT)); | |
24631 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_FromInt((int)wxLAYOUT_BOTTOM)); | |
24632 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_FromInt((int)wxLAYOUT_LENGTH_Y)); | |
24633 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_FromInt((int)wxLAYOUT_LENGTH_X)); | |
24634 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_FromInt((int)wxLAYOUT_MRU_LENGTH)); | |
24635 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_FromInt((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
24636 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
24637 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
cbd72d4f | 24638 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
24639 | |
24640 | // Map renamed classes back to their common name for OOR | |
24641 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
24642 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
24643 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
24644 | ||
24645 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
24646 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
24647 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
24648 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
24649 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
24650 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
24651 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
cbd72d4f RD |
24652 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
24653 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
24654 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
24655 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
24656 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
24657 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
2f4c0a16 RD |
24658 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_FromInt((int)wxCHOICEDLG_STYLE)); |
24659 | PyDict_SetItemString(d,"FR_DOWN", SWIG_FromInt((int)wxFR_DOWN)); | |
24660 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_FromInt((int)wxFR_WHOLEWORD)); | |
24661 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_FromInt((int)wxFR_MATCHCASE)); | |
24662 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_FromInt((int)wxFR_REPLACEDIALOG)); | |
24663 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_FromInt((int)wxFR_NOUPDOWN)); | |
24664 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_FromInt((int)wxFR_NOMATCHCASE)); | |
24665 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_FromInt((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
24666 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
24667 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
24668 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
24669 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
24670 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
2f4c0a16 RD |
24671 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_FromInt((int)4001)); |
24672 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_FromInt((int)4001)); | |
24673 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_FromInt((int)4002)); | |
24674 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_FromInt((int)4003)); | |
24675 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_FromInt((int)4004)); | |
24676 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_FromInt((int)4005)); | |
24677 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_FromInt((int)4100)); | |
24678 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_FromInt((int)4600)); | |
cbd72d4f RD |
24679 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
24680 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
2f4c0a16 RD |
24681 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_FromInt((int)wxPRINT_MODE_NONE)); |
24682 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_FromInt((int)wxPRINT_MODE_PREVIEW)); | |
24683 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_FromInt((int)wxPRINT_MODE_FILE)); | |
24684 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_FromInt((int)wxPRINT_MODE_PRINTER)); | |
24685 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_FromInt((int)wxPRINT_MODE_STREAM)); | |
24686 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_FromInt((int)wxPRINTER_NO_ERROR)); | |
24687 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_FromInt((int)wxPRINTER_CANCELLED)); | |
24688 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_FromInt((int)wxPRINTER_ERROR)); | |
24689 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_FromInt((int)wxPREVIEW_PRINT)); | |
24690 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_FromInt((int)wxPREVIEW_PREVIOUS)); | |
24691 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_FromInt((int)wxPREVIEW_NEXT)); | |
24692 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_FromInt((int)wxPREVIEW_ZOOM)); | |
24693 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_FromInt((int)wxPREVIEW_FIRST)); | |
24694 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_FromInt((int)wxPREVIEW_LAST)); | |
24695 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_FromInt((int)wxPREVIEW_GOTO)); | |
24696 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_FromInt((int)wxPREVIEW_DEFAULT)); | |
24697 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_FromInt((int)wxID_PREVIEW_CLOSE)); | |
24698 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_FromInt((int)wxID_PREVIEW_NEXT)); | |
24699 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_FromInt((int)wxID_PREVIEW_PREVIOUS)); | |
24700 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_FromInt((int)wxID_PREVIEW_PRINT)); | |
24701 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_FromInt((int)wxID_PREVIEW_ZOOM)); | |
24702 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_FromInt((int)wxID_PREVIEW_FIRST)); | |
24703 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_FromInt((int)wxID_PREVIEW_LAST)); | |
24704 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_FromInt((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
24705 | |
24706 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
24707 | ||
24708 | } | |
24709 |