]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
a41e16b6 | 3 | * Version 1.3.22 |
d14a1e28 RD |
4 | * |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
c32bde28 | 46 | #define SWIG_TypePrettyName SWIG_Python_TypePrettyName |
d14a1e28 RD |
47 | #define SWIG_TypeQuery SWIG_Python_TypeQuery |
48 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
c9c7117a RD |
49 | #define SWIG_PackData SWIG_Python_PackData |
50 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
51 | ||
d14a1e28 RD |
52 | |
53 | /*********************************************************************** | |
54 | * common.swg for wxPython | |
55 | * | |
56 | * Include only the function prototypes and such from SWIG's common.swg, | |
57 | * but not the runtime functions themselves. This helps keep the | |
58 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
59 | * anyway. | |
60 | * | |
61 | ************************************************************************/ | |
62 | ||
63 | #include <string.h> | |
64 | ||
cc6dd355 RD |
65 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) |
66 | # if defined(_MSC_VER) || defined(__GNUC__) | |
67 | # if defined(STATIC_LINKED) | |
68 | # define SWIGEXPORT(a) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # else | |
71 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
72 | # define SWIGIMPORT(a) extern a | |
73 | # endif | |
74 | # else | |
75 | # if defined(__BORLANDC__) | |
76 | # define SWIGEXPORT(a) a _export | |
77 | # define SWIGIMPORT(a) a _export | |
78 | # else | |
79 | # define SWIGEXPORT(a) a | |
80 | # define SWIGIMPORT(a) a | |
81 | # endif | |
82 | # endif | |
d14a1e28 | 83 | #else |
cc6dd355 RD |
84 | # define SWIGEXPORT(a) a |
85 | # define SWIGIMPORT(a) a | |
d14a1e28 RD |
86 | #endif |
87 | ||
88 | #ifdef SWIG_GLOBAL | |
cc6dd355 | 89 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
d14a1e28 | 90 | #else |
cc6dd355 | 91 | # define SWIGRUNTIME(a) static a |
d14a1e28 RD |
92 | #endif |
93 | ||
d14a1e28 RD |
94 | #ifdef __cplusplus |
95 | extern "C" { | |
96 | #endif | |
97 | ||
98 | typedef void *(*swig_converter_func)(void *); | |
99 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
100 | ||
101 | typedef struct swig_type_info { | |
cc6dd355 | 102 | const char *name; |
d14a1e28 RD |
103 | swig_converter_func converter; |
104 | const char *str; | |
cc6dd355 | 105 | void *clientdata; |
d14a1e28 RD |
106 | swig_dycast_func dcast; |
107 | struct swig_type_info *next; | |
108 | struct swig_type_info *prev; | |
109 | } swig_type_info; | |
110 | ||
111 | ||
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
114 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
116 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
c32bde28 | 117 | SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *); |
d14a1e28 RD |
118 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); |
119 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
cc6dd355 RD |
120 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); |
121 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
d14a1e28 RD |
122 | |
123 | ||
124 | #ifdef __cplusplus | |
125 | } | |
126 | #endif | |
127 | ||
c32bde28 | 128 | |
d14a1e28 RD |
129 | /*********************************************************************** |
130 | * pyrun.swg for wxPython | |
131 | * | |
132 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
133 | * but not the runtime functions themselves. This helps keep the | |
134 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
135 | * anyway. | |
136 | * | |
137 | ************************************************************************/ | |
138 | ||
d14a1e28 RD |
139 | #ifdef __cplusplus |
140 | extern "C" { | |
141 | #endif | |
142 | ||
143 | #define SWIG_PY_INT 1 | |
144 | #define SWIG_PY_FLOAT 2 | |
145 | #define SWIG_PY_STRING 3 | |
146 | #define SWIG_PY_POINTER 4 | |
147 | #define SWIG_PY_BINARY 5 | |
148 | ||
149 | /* Flags for pointer conversion */ | |
150 | ||
151 | #define SWIG_POINTER_EXCEPTION 0x1 | |
152 | #define SWIG_POINTER_DISOWN 0x2 | |
153 | ||
154 | /* Exception handling in wrappers */ | |
155 | #define SWIG_fail goto fail | |
156 | ||
157 | /* Constant information structure */ | |
158 | typedef struct swig_const_info { | |
159 | int type; | |
160 | char *name; | |
161 | long lvalue; | |
162 | double dvalue; | |
163 | void *pvalue; | |
164 | swig_type_info **ptype; | |
165 | } swig_const_info; | |
166 | ||
d14a1e28 RD |
167 | /* Common SWIG API */ |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
a41e16b6 | 174 | |
d14a1e28 RD |
175 | /* Python-specific SWIG API */ |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
d14a1e28 RD |
182 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
183 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
184 | #define SWIG_InstallConstants(d, constants) \ | |
185 | SWIG_Python_InstallConstants(d, constants) | |
186 | ||
994141e6 | 187 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
d14a1e28 | 188 | |
cc6dd355 RD |
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
d14a1e28 | 197 | |
d14a1e28 RD |
198 | |
199 | /* Contract support */ | |
200 | ||
9d1d5697 | 201 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 202 | |
d14a1e28 RD |
203 | #ifdef __cplusplus |
204 | } | |
205 | #endif | |
206 | ||
207 | ||
c32bde28 | 208 | |
d14a1e28 RD |
209 | /* -------- TYPES TABLE (BEGIN) -------- */ |
210 | ||
211 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0] | |
212 | #define SWIGTYPE_p_wxPreviewFrame swig_types[1] | |
213 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2] | |
a68b8331 RD |
214 | #define SWIGTYPE_p_wxPyPanel swig_types[3] |
215 | #define SWIGTYPE_p_wxMenu swig_types[4] | |
216 | #define SWIGTYPE_p_wxFontData swig_types[5] | |
217 | #define SWIGTYPE_p_wxEvent swig_types[6] | |
218 | #define SWIGTYPE_p_wxPrintData swig_types[7] | |
219 | #define SWIGTYPE_p_wxTaskBarIcon swig_types[8] | |
220 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9] | |
221 | #define SWIGTYPE_p_wxIconBundle swig_types[10] | |
222 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11] | |
223 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[12] | |
224 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[13] | |
225 | #define SWIGTYPE_p_wxFont swig_types[14] | |
226 | #define SWIGTYPE_p_wxSplitterEvent swig_types[15] | |
227 | #define SWIGTYPE_p_wxRegion swig_types[16] | |
228 | #define SWIGTYPE_p_wxFindReplaceData swig_types[17] | |
229 | #define SWIGTYPE_p_int swig_types[18] | |
230 | #define SWIGTYPE_p_wxSize swig_types[19] | |
231 | #define SWIGTYPE_p_wxDC swig_types[20] | |
232 | #define SWIGTYPE_p_wxIcon swig_types[21] | |
233 | #define SWIGTYPE_p_wxVisualAttributes swig_types[22] | |
234 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[23] | |
235 | #define SWIGTYPE_p_wxColourData swig_types[24] | |
236 | #define SWIGTYPE_p_wxNotifyEvent swig_types[25] | |
237 | #define SWIGTYPE_p_wxPyWindow swig_types[26] | |
238 | #define SWIGTYPE_p_wxSplashScreen swig_types[27] | |
239 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28] | |
240 | #define SWIGTYPE_p_wxProgressDialog swig_types[29] | |
241 | #define SWIGTYPE_p_wxMessageDialog swig_types[30] | |
242 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31] | |
243 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32] | |
244 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33] | |
245 | #define SWIGTYPE_p_wxFileDialog swig_types[34] | |
246 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[35] | |
247 | #define SWIGTYPE_p_wxPrinter swig_types[36] | |
248 | #define SWIGTYPE_p_wxArrayInt swig_types[37] | |
249 | #define SWIGTYPE_p_wxEvtHandler swig_types[38] | |
250 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39] | |
251 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40] | |
252 | #define SWIGTYPE_p_wxPyVListBox swig_types[41] | |
253 | #define SWIGTYPE_p_wxRect swig_types[42] | |
254 | #define SWIGTYPE_p_char swig_types[43] | |
255 | #define SWIGTYPE_p_wxMiniFrame swig_types[44] | |
256 | #define SWIGTYPE_p_wxFrame swig_types[45] | |
257 | #define SWIGTYPE_p_wxPyPrintout swig_types[46] | |
258 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47] | |
259 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[48] | |
260 | #define SWIGTYPE_p_wxStatusBar swig_types[49] | |
261 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[50] | |
262 | #define SWIGTYPE_p_wxPoint swig_types[51] | |
263 | #define SWIGTYPE_p_wxObject swig_types[52] | |
264 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[53] | |
265 | #define SWIGTYPE_p_wxTipWindow swig_types[54] | |
266 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55] | |
267 | #define SWIGTYPE_p_wxSplitterWindow swig_types[56] | |
268 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57] | |
269 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58] | |
270 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59] | |
271 | #define SWIGTYPE_p_wxPopupWindow swig_types[60] | |
272 | #define SWIGTYPE_p_wxSashWindow swig_types[61] | |
273 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[62] | |
274 | #define SWIGTYPE_p_wxWindow swig_types[63] | |
275 | #define SWIGTYPE_p_wxScrolledWindow swig_types[64] | |
276 | #define SWIGTYPE_p_wxMenuBar swig_types[65] | |
277 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66] | |
278 | #define SWIGTYPE_p_wxPrintPreview swig_types[67] | |
279 | #define SWIGTYPE_p_wxSashEvent swig_types[68] | |
280 | #define SWIGTYPE_p_wxString swig_types[69] | |
281 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[70] | |
282 | #define SWIGTYPE_p_wxFontDialog swig_types[71] | |
283 | #define SWIGTYPE_p_wxDirDialog swig_types[72] | |
284 | #define SWIGTYPE_p_wxColourDialog swig_types[73] | |
285 | #define SWIGTYPE_p_wxDialog swig_types[74] | |
286 | #define SWIGTYPE_p_wxPanel swig_types[75] | |
287 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[76] | |
288 | #define SWIGTYPE_p_wxPrintDialog swig_types[77] | |
289 | #define SWIGTYPE_p_wxFileSystem swig_types[78] | |
290 | #define SWIGTYPE_p_wxBitmap swig_types[79] | |
291 | #define SWIGTYPE_p_wxCommandEvent swig_types[80] | |
292 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[81] | |
293 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82] | |
294 | #define SWIGTYPE_p_wxColour swig_types[83] | |
295 | #define SWIGTYPE_p_wxToolBar swig_types[84] | |
296 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85] | |
297 | #define SWIGTYPE_p_wxPrintDialogData swig_types[86] | |
298 | static swig_type_info *swig_types[88]; | |
d14a1e28 RD |
299 | |
300 | /* -------- TYPES TABLE (END) -------- */ | |
301 | ||
302 | ||
303 | /*----------------------------------------------- | |
54f9ee45 | 304 | @(target):= _windows_.so |
d14a1e28 | 305 | ------------------------------------------------*/ |
54f9ee45 | 306 | #define SWIG_init init_windows_ |
d14a1e28 | 307 | |
54f9ee45 | 308 | #define SWIG_name "_windows_" |
d14a1e28 | 309 | |
c32bde28 RD |
310 | /* Auxiliar swig macros that appear in the header */ |
311 | ||
312 | #define SWIG_OLDOBJ 1 | |
313 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
314 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
994141e6 | 315 | |
994141e6 | 316 | #ifdef __cplusplus |
15afbcd0 | 317 | #define SWIGSTATICINLINE(a) static inline a |
994141e6 | 318 | #define SWIGSTATIC(a) static a |
c32bde28 RD |
319 | #define swig_new_array(size,Type) (new Type[(size)]) |
320 | #define swig_delete(cptr) delete cptr | |
15afbcd0 | 321 | #define swig_delete_array(cptr) delete[] cptr |
c32bde28 RD |
322 | #define swig_const_cast(a,Type) const_cast<Type >(a) |
323 | #define swig_static_cast(a,Type) static_cast<Type >(a) | |
324 | #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a) | |
325 | #define swig_new_copy(ptr,Type) (new Type(*ptr)) | |
326 | #define swig_numeric_cast(a,Type) static_cast<Type >(a) | |
994141e6 | 327 | |
15afbcd0 RD |
328 | #else /* C case */ |
329 | ||
330 | #define SWIGSTATICINLINE(a) static a | |
331 | #define SWIGSTATIC(a) static a | |
c32bde28 RD |
332 | #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type))) |
333 | #define swig_delete(cptr) free((char*)cptr) | |
15afbcd0 | 334 | #define swig_delete_array(cptr) free((char*)cptr) |
c32bde28 RD |
335 | #define swig_const_cast(a,Type) (Type)(a) |
336 | #define swig_static_cast(a,Type) (Type)(a) | |
337 | #define swig_reinterpret_cast(a,Type) (Type)(a) | |
338 | #define swig_numeric_cast(a,Type) (Type)(a) | |
339 | #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type))) | |
15afbcd0 RD |
340 | |
341 | #endif /* __cplusplus */ | |
994141e6 RD |
342 | |
343 | ||
c32bde28 RD |
344 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ |
345 | #define SWIG_From_signed_SS_char PyInt_FromLong | |
346 | /*@@*/ | |
347 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
348 | #define SWIG_From_unsigned_SS_char PyInt_FromLong | |
349 | /*@@*/ | |
350 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
351 | #define SWIG_From_short PyInt_FromLong | |
352 | /*@@*/ | |
353 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
354 | #define SWIG_From_unsigned_SS_short PyInt_FromLong | |
355 | /*@@*/ | |
356 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
357 | #define SWIG_From_int PyInt_FromLong | |
358 | /*@@*/ | |
359 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
360 | #define SWIG_From_long PyInt_FromLong | |
361 | /*@@*/ | |
362 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
363 | #define SWIG_From_float PyFloat_FromDouble | |
364 | /*@@*/ | |
365 | /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/ | |
366 | #define SWIG_From_double PyFloat_FromDouble | |
367 | /*@@*/ | |
994141e6 RD |
368 | |
369 | ||
d14a1e28 RD |
370 | #include "wx/wxPython/wxPython.h" |
371 | #include "wx/wxPython/pyclasses.h" | |
372 | ||
d14a1e28 | 373 | |
b2dc1044 RD |
374 | static const wxString wxPyEmptyString(wxEmptyString); |
375 | static const wxString wxPyPanelNameStr(wxPanelNameStr); | |
d14a1e28 RD |
376 | |
377 | ||
378 | ||
15afbcd0 RD |
379 | #include <limits.h> |
380 | ||
381 | ||
c32bde28 RD |
382 | SWIGSTATICINLINE(int) |
383 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
384 | const char *errmsg) | |
15afbcd0 | 385 | { |
c32bde28 RD |
386 | if (value < min_value) { |
387 | if (errmsg) { | |
388 | PyErr_Format(PyExc_OverflowError, | |
389 | "value %ld is less than '%s' minimum %ld", | |
390 | value, errmsg, min_value); | |
391 | } | |
392 | return 0; | |
393 | } else if (value > max_value) { | |
394 | if (errmsg) { | |
395 | PyErr_Format(PyExc_OverflowError, | |
396 | "value %ld is greater than '%s' maximum %ld", | |
397 | value, errmsg, max_value); | |
15afbcd0 | 398 | } |
c32bde28 | 399 | return 0; |
15afbcd0 | 400 | } |
c32bde28 | 401 | return 1; |
994141e6 RD |
402 | } |
403 | ||
404 | ||
c32bde28 RD |
405 | // See my_fragments.i |
406 | SWIGSTATICINLINE(int) | |
407 | SWIG_AsVal_long(PyObject* obj, long* val) | |
994141e6 | 408 | { |
c32bde28 RD |
409 | if (PyNumber_Check(obj)) { |
410 | if (val) *val = PyInt_AsLong(obj); | |
411 | return 1; | |
412 | } | |
69223c70 RD |
413 | else { |
414 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
415 | obj->ob_type->tp_name); | |
416 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
417 | Py_DECREF(errmsg); | |
69223c70 | 418 | } |
c32bde28 | 419 | return 0; |
994141e6 RD |
420 | } |
421 | ||
422 | ||
15afbcd0 RD |
423 | #if INT_MAX != LONG_MAX |
424 | SWIGSTATICINLINE(int) | |
c32bde28 | 425 | SWIG_AsVal_int(PyObject *obj, int *val) |
15afbcd0 | 426 | { |
c32bde28 RD |
427 | const char* errmsg = val ? "int" : 0; |
428 | long v; | |
429 | if (SWIG_AsVal_long(obj, &v)) { | |
430 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
431 | if (val) *val = swig_numeric_cast(v, int); | |
432 | return 1; | |
433 | } else { | |
434 | return 0; | |
435 | } | |
436 | } else { | |
437 | PyErr_Clear(); | |
438 | } | |
439 | if (val) { | |
440 | PyErr_SetString(PyExc_TypeError, "an int is expected"); | |
441 | } | |
442 | return 0; | |
15afbcd0 RD |
443 | } |
444 | #else | |
c32bde28 RD |
445 | SWIGSTATICINLINE(int) |
446 | SWIG_AsVal_int(PyObject *obj, int *val) | |
447 | { | |
448 | return SWIG_AsVal_long(obj,(long*)val); | |
449 | } | |
15afbcd0 RD |
450 | #endif |
451 | ||
452 | ||
453 | SWIGSTATICINLINE(int) | |
c32bde28 | 454 | SWIG_As_int(PyObject* obj) |
15afbcd0 | 455 | { |
c32bde28 RD |
456 | int v; |
457 | if (!SWIG_AsVal_int(obj, &v)) { | |
458 | /* | |
459 | this is needed to make valgrind/purify happier. the other | |
460 | solution is throw an exception, but since this code should work | |
461 | with plain C .... | |
462 | */ | |
463 | memset((void*)&v, 0, sizeof(int)); | |
15afbcd0 | 464 | } |
c32bde28 | 465 | return v; |
15afbcd0 RD |
466 | } |
467 | ||
468 | ||
c32bde28 RD |
469 | SWIGSTATICINLINE(long) |
470 | SWIG_As_long(PyObject* obj) | |
15afbcd0 | 471 | { |
c32bde28 RD |
472 | long v; |
473 | if (!SWIG_AsVal_long(obj, &v)) { | |
474 | /* | |
475 | this is needed to make valgrind/purify happier. the other | |
476 | solution is throw an exception, but since this code should work | |
477 | with plain C .... | |
478 | */ | |
479 | memset((void*)&v, 0, sizeof(long)); | |
15afbcd0 | 480 | } |
c32bde28 | 481 | return v; |
15afbcd0 RD |
482 | } |
483 | ||
c32bde28 RD |
484 | |
485 | SWIGSTATICINLINE(int) | |
486 | SWIG_Check_int(PyObject* obj) | |
487 | { | |
488 | return SWIG_AsVal_int(obj, (int*)0); | |
489 | } | |
15afbcd0 | 490 | |
c32bde28 RD |
491 | |
492 | SWIGSTATICINLINE(int) | |
493 | SWIG_Check_long(PyObject* obj) | |
994141e6 | 494 | { |
c32bde28 | 495 | return SWIG_AsVal_long(obj, (long*)0); |
994141e6 RD |
496 | } |
497 | ||
498 | ||
15afbcd0 | 499 | SWIGSTATICINLINE(int) |
c32bde28 | 500 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
15afbcd0 | 501 | { |
c32bde28 RD |
502 | /* if (val) *val = PyObject_IsTrue(obj); return 1; */ |
503 | if (obj == Py_True) { | |
504 | if (val) *val = true; | |
505 | return 1; | |
506 | } | |
507 | if (obj == Py_False) { | |
508 | if (val) *val = false; | |
509 | return 1; | |
510 | } | |
511 | int res = 0; | |
512 | if (SWIG_AsVal_int(obj, &res)) { | |
513 | if (val) *val = (bool)res; | |
15afbcd0 RD |
514 | return 1; |
515 | } | |
c32bde28 RD |
516 | if (val) { |
517 | PyErr_SetString(PyExc_TypeError, "a bool is expected"); | |
518 | } | |
519 | return 0; | |
520 | } | |
521 | ||
522 | ||
523 | SWIGSTATICINLINE(bool) | |
524 | SWIG_As_bool(PyObject* obj) | |
525 | { | |
526 | bool v; | |
527 | if (!SWIG_AsVal_bool(obj, &v)) { | |
528 | /* | |
529 | this is needed to make valgrind/purify happier. the other | |
530 | solution is throw an exception, but since this code should work | |
531 | with plain C .... | |
532 | */ | |
533 | memset((void*)&v, 0, sizeof(bool)); | |
534 | } | |
535 | return v; | |
15afbcd0 RD |
536 | } |
537 | ||
c32bde28 RD |
538 | |
539 | SWIGSTATICINLINE(int) | |
540 | SWIG_Check_bool(PyObject* obj) | |
541 | { | |
542 | return SWIG_AsVal_bool(obj, (bool*)0); | |
543 | } | |
15afbcd0 | 544 | |
c32bde28 RD |
545 | |
546 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
d14a1e28 RD |
547 | PyObject* o2; |
548 | PyObject* o3; | |
c32bde28 | 549 | |
d14a1e28 RD |
550 | if (!target) { |
551 | target = o; | |
552 | } else if (target == Py_None) { | |
553 | Py_DECREF(Py_None); | |
554 | target = o; | |
7e63a440 RD |
555 | } else { |
556 | if (!PyTuple_Check(target)) { | |
557 | o2 = target; | |
558 | target = PyTuple_New(1); | |
559 | PyTuple_SetItem(target, 0, o2); | |
560 | } | |
d14a1e28 RD |
561 | o3 = PyTuple_New(1); |
562 | PyTuple_SetItem(o3, 0, o); | |
563 | ||
564 | o2 = target; | |
565 | target = PySequence_Concat(o2, o3); | |
566 | Py_DECREF(o2); | |
567 | Py_DECREF(o3); | |
568 | } | |
569 | return target; | |
7e63a440 | 570 | } |
d14a1e28 | 571 | |
994141e6 | 572 | |
c32bde28 RD |
573 | |
574 | // See my_fragments.i | |
575 | SWIGSTATICINLINE(int) | |
576 | SWIG_AsVal_double(PyObject *obj, double* val) | |
994141e6 | 577 | { |
c32bde28 RD |
578 | if (PyNumber_Check(obj)) { |
579 | if (val) *val = PyFloat_AsDouble(obj); | |
580 | return 1; | |
581 | } | |
69223c70 RD |
582 | else { |
583 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
584 | obj->ob_type->tp_name); | |
585 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
586 | Py_DECREF(errmsg); | |
69223c70 | 587 | } |
c32bde28 | 588 | return 0; |
15afbcd0 RD |
589 | } |
590 | ||
591 | ||
c32bde28 RD |
592 | SWIGSTATICINLINE(double) |
593 | SWIG_As_double(PyObject* obj) | |
15afbcd0 | 594 | { |
c32bde28 RD |
595 | double v; |
596 | if (!SWIG_AsVal_double(obj, &v)) { | |
597 | /* | |
598 | this is needed to make valgrind/purify happier. the other | |
599 | solution is throw an exception, but since this code should work | |
600 | with plain C .... | |
601 | */ | |
602 | memset((void*)&v, 0, sizeof(double)); | |
15afbcd0 | 603 | } |
c32bde28 RD |
604 | return v; |
605 | } | |
606 | ||
607 | ||
608 | SWIGSTATICINLINE(int) | |
609 | SWIG_Check_double(PyObject* obj) | |
610 | { | |
611 | return SWIG_AsVal_double(obj, (double*)0); | |
994141e6 RD |
612 | } |
613 | ||
b2dc1044 RD |
614 | static const wxString wxPyFrameNameStr(wxFrameNameStr); |
615 | static const wxString wxPyDialogNameStr(wxDialogNameStr); | |
616 | static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr); | |
617 | static const wxString wxPyToolBarNameStr(wxToolBarNameStr); | |
84f85550 RD |
618 | void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ } |
619 | bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; } | |
d14a1e28 RD |
620 | |
621 | ||
7722248d RD |
622 | wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){ |
623 | wxRect r; | |
624 | self->GetFieldRect(i, r); | |
625 | return r; | |
626 | } | |
33b885b9 RD |
627 | static const wxString wxPySplitterNameStr(wxT("splitter")); |
628 | static const wxString wxPySashNameStr(wxT("sashWindow")); | |
629 | static const wxString wxPySashLayoutNameStr(wxT("layoutWindow")); | |
d14a1e28 RD |
630 | |
631 | #include <wx/popupwin.h> | |
632 | ||
633 | ||
634 | class wxPyPopupTransientWindow : public wxPopupTransientWindow | |
635 | { | |
636 | public: | |
637 | wxPyPopupTransientWindow() : wxPopupTransientWindow() {} | |
638 | wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE) | |
639 | : wxPopupTransientWindow(parent, style) {} | |
640 | ||
641 | DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown); | |
642 | DEC_PYCALLBACK__(OnDismiss); | |
643 | DEC_PYCALLBACK_BOOL_(CanDismiss); | |
644 | PYPRIVATE; | |
645 | }; | |
646 | ||
647 | ||
648 | IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown); | |
649 | IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss); | |
650 | IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss); | |
651 | ||
652 | ||
653 | #include <wx/tipwin.h> | |
654 | ||
fd3f2efe RD |
655 | wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){ |
656 | return new wxTipWindow(parent, text, maxLength, NULL, rectBound); | |
d14a1e28 RD |
657 | } |
658 | ||
659 | #include <wx/tipwin.h> | |
660 | ||
661 | ||
662 | #include <wx/vscroll.h> | |
663 | ||
664 | ||
665 | class wxPyVScrolledWindow : public wxVScrolledWindow | |
666 | { | |
667 | DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow); | |
668 | public: | |
669 | wxPyVScrolledWindow() : wxVScrolledWindow() {} | |
670 | ||
671 | wxPyVScrolledWindow(wxWindow *parent, | |
672 | wxWindowID id = wxID_ANY, | |
673 | const wxPoint& pos = wxDefaultPosition, | |
674 | const wxSize& size = wxDefaultSize, | |
675 | long style = 0, | |
676 | const wxString& name = wxPyPanelNameStr) | |
677 | : wxVScrolledWindow(parent, id, pos, size, style, name) | |
678 | {} | |
679 | ||
680 | // Overridable virtuals | |
681 | ||
682 | // this function must be overridden in the derived class and it should | |
683 | // return the height of the given line in pixels | |
684 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); | |
685 | ||
686 | ||
687 | // this function doesn't have to be overridden but it may be useful to do | |
688 | // it if calculating the lines heights is a relatively expensive operation | |
689 | // as it gives the user code a possibility to calculate several of them at | |
690 | // once | |
691 | // | |
692 | // OnGetLinesHint() is normally called just before OnGetLineHeight() but you | |
693 | // shouldn't rely on the latter being called for all lines in the interval | |
694 | // specified here. It is also possible that OnGetLineHeight() will be | |
695 | // called for the lines outside of this interval, so this is really just a | |
696 | // hint, not a promise. | |
697 | // | |
698 | // finally note that lineMin is inclusive, while lineMax is exclusive, as | |
699 | // usual | |
700 | DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); | |
701 | ||
702 | ||
703 | // when the number of lines changes, we try to estimate the total height | |
704 | // of all lines which is a rather expensive operation in terms of lines | |
705 | // access, so if the user code may estimate the average height | |
706 | // better/faster than we do, it should override this function to implement | |
707 | // its own logic | |
708 | // | |
709 | // this function should return the best guess for the total height it may | |
710 | // make | |
711 | DEC_PYCALLBACK_COORD_const(EstimateTotalHeight); | |
712 | ||
713 | ||
714 | // Also expose some other interesting protected methods | |
715 | ||
716 | ||
717 | // find the index of the line we need to show at the top of the window such | |
718 | // that the last (fully or partially) visible line is the given one | |
ae8162c8 | 719 | size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false) |
d14a1e28 RD |
720 | { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); } |
721 | ||
722 | // get the total height of the lines between lineMin (inclusive) and | |
723 | // lineMax (exclusive) | |
724 | wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const | |
725 | { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); } | |
726 | ||
727 | ||
728 | PYPRIVATE; | |
729 | }; | |
730 | ||
731 | IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow); | |
732 | ||
733 | IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight); | |
734 | IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint); | |
735 | IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight); | |
736 | ||
737 | ||
c32bde28 RD |
738 | // See my_fragments.i |
739 | SWIGSTATICINLINE(int) | |
740 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) | |
15afbcd0 | 741 | { |
c32bde28 RD |
742 | long v = 0; |
743 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
744 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); | |
745 | return 0; | |
15afbcd0 | 746 | } |
c32bde28 RD |
747 | else if (val) |
748 | *val = (unsigned long)v; | |
749 | return 1; | |
15afbcd0 RD |
750 | } |
751 | ||
752 | ||
c32bde28 RD |
753 | SWIGSTATICINLINE(unsigned long) |
754 | SWIG_As_unsigned_SS_long(PyObject* obj) | |
15afbcd0 | 755 | { |
c32bde28 RD |
756 | unsigned long v; |
757 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
758 | /* | |
759 | this is needed to make valgrind/purify happier. the other | |
760 | solution is throw an exception, but since this code should work | |
761 | with plain C .... | |
762 | */ | |
763 | memset((void*)&v, 0, sizeof(unsigned long)); | |
15afbcd0 | 764 | } |
c32bde28 RD |
765 | return v; |
766 | } | |
767 | ||
768 | ||
769 | SWIGSTATICINLINE(int) | |
770 | SWIG_Check_unsigned_SS_long(PyObject* obj) | |
771 | { | |
772 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
15afbcd0 RD |
773 | } |
774 | ||
775 | ||
776 | SWIGSTATICINLINE(PyObject* ) | |
c32bde28 | 777 | SWIG_From_unsigned_SS_long(unsigned long value) |
994141e6 | 778 | { |
15afbcd0 RD |
779 | return (value > LONG_MAX) ? |
780 | PyLong_FromUnsignedLong(value) | |
c32bde28 | 781 | : PyInt_FromLong(swig_numeric_cast(value,long)); |
994141e6 RD |
782 | } |
783 | ||
784 | ||
d14a1e28 | 785 | #include <wx/vlbox.h> |
d14a1e28 | 786 | |
b2dc1044 | 787 | static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr); |
d14a1e28 RD |
788 | |
789 | class wxPyVListBox : public wxVListBox | |
790 | { | |
791 | DECLARE_ABSTRACT_CLASS(wxPyVListBox); | |
792 | public: | |
793 | wxPyVListBox() : wxVListBox() {} | |
794 | ||
795 | wxPyVListBox(wxWindow *parent, | |
796 | wxWindowID id = wxID_ANY, | |
797 | const wxPoint& pos = wxDefaultPosition, | |
798 | const wxSize& size = wxDefaultSize, | |
799 | long style = 0, | |
800 | const wxString& name = wxPyVListBoxNameStr) | |
801 | : wxVListBox(parent, id, pos, size, style, name) | |
802 | {} | |
803 | ||
804 | // Overridable virtuals | |
805 | ||
806 | // the derived class must implement this function to actually draw the item | |
807 | // with the given index on the provided DC | |
808 | // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0; | |
809 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem); | |
810 | ||
811 | ||
812 | // the derived class must implement this method to return the height of the | |
813 | // specified item | |
814 | // virtual wxCoord OnMeasureItem(size_t n) const = 0; | |
815 | DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem); | |
816 | ||
817 | ||
818 | // this method may be used to draw separators between the lines; note that | |
819 | // the rectangle may be modified, typically to deflate it a bit before | |
820 | // passing to OnDrawItem() | |
821 | // | |
822 | // the base class version doesn't do anything | |
823 | // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const; | |
824 | DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator); | |
825 | ||
826 | ||
827 | // this method is used to draw the items background and, maybe, a border | |
828 | // around it | |
829 | // | |
830 | // the base class version implements a reasonable default behaviour which | |
831 | // consists in drawing the selected item with the standard background | |
832 | // colour and drawing a border around the item if it is either selected or | |
833 | // current | |
834 | // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const; | |
835 | DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground); | |
836 | ||
837 | ||
838 | PYPRIVATE; | |
839 | }; | |
840 | ||
841 | IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox); | |
842 | ||
843 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem); | |
844 | IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem); | |
845 | IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator); | |
846 | IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground); | |
847 | ||
848 | ||
09c21d3b RD |
849 | PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){ |
850 | unsigned long cookie = 0; | |
851 | int selected = self->GetFirstSelected(cookie); | |
852 | bool blocked = wxPyBeginBlockThreads(); | |
853 | PyObject* tup = PyTuple_New(2); | |
854 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
855 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
856 | wxPyEndBlockThreads(blocked); | |
857 | return tup; | |
858 | } | |
859 | PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){ | |
860 | int selected = self->GetNextSelected(cookie); | |
861 | bool blocked = wxPyBeginBlockThreads(); | |
862 | PyObject* tup = PyTuple_New(2); | |
863 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected)); | |
864 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
865 | wxPyEndBlockThreads(blocked); | |
866 | return tup; | |
867 | } | |
d14a1e28 RD |
868 | |
869 | #include <wx/htmllbox.h> | |
870 | ||
871 | ||
872 | class wxPyHtmlListBox : public wxHtmlListBox | |
873 | { | |
874 | DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox); | |
875 | public: | |
876 | wxPyHtmlListBox() : wxHtmlListBox() {} | |
877 | ||
878 | wxPyHtmlListBox(wxWindow *parent, | |
879 | wxWindowID id = wxID_ANY, | |
880 | const wxPoint& pos = wxDefaultPosition, | |
881 | const wxSize& size = wxDefaultSize, | |
882 | long style = 0, | |
883 | const wxString& name = wxPyVListBoxNameStr) | |
884 | : wxHtmlListBox(parent, id, pos, size, style, name) | |
885 | {} | |
886 | ||
887 | // Overridable virtuals | |
888 | ||
889 | // this method must be implemented in the derived class and should return | |
890 | // the body (i.e. without <html>) of the HTML for the given item | |
891 | DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem); | |
892 | ||
893 | // this function may be overridden to decorate HTML returned by OnGetItem() | |
894 | DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup); | |
895 | ||
896 | // TODO: | |
897 | // // this method allows to customize the selection appearance: it may be used | |
898 | // // to specify the colour of the text which normally has the given colour | |
899 | // // colFg when it is inside the selection | |
900 | // // | |
901 | // // by default, the original colour is not used at all and all text has the | |
902 | // // same (default for this system) colour inside selection | |
903 | // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const; | |
904 | ||
905 | // // this is the same as GetSelectedTextColour() but allows to customize the | |
906 | // // background colour -- this is even more rarely used as you can change it | |
907 | // // globally using SetSelectionBackground() | |
908 | // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const; | |
909 | ||
910 | ||
911 | PYPRIVATE; | |
912 | }; | |
913 | ||
914 | ||
915 | IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox) | |
916 | ||
917 | IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem); | |
918 | IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup); | |
919 | ||
920 | ||
921 | ||
922 | ||
923 | ||
ae8162c8 RD |
924 | #ifndef wxHAS_TASK_BAR_ICON |
925 | // implement dummy classes for platforms that don't have it | |
d14a1e28 RD |
926 | |
927 | class wxTaskBarIcon : public wxEvtHandler | |
928 | { | |
929 | public: | |
39f61e25 | 930 | wxTaskBarIcon() { wxPyRaiseNotImplemented(); } |
d14a1e28 | 931 | }; |
09c21d3b | 932 | |
d14a1e28 RD |
933 | |
934 | class wxTaskBarIconEvent : public wxEvent | |
935 | { | |
936 | public: | |
937 | wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *) | |
39f61e25 | 938 | { wxPyRaiseNotImplemented(); } |
d14a1e28 | 939 | virtual wxEvent* Clone() const { return NULL; } |
ae8162c8 RD |
940 | bool IsOk() const { return false; } |
941 | bool IsIconInstalled() const { return false; } | |
942 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; } | |
943 | bool RemoveIcon() { return false; } | |
944 | bool PopupMenu(wxMenu *menu) { return false; } | |
d14a1e28 RD |
945 | }; |
946 | ||
947 | enum { | |
948 | wxEVT_TASKBAR_MOVE = 0, | |
949 | wxEVT_TASKBAR_LEFT_DOWN = 0, | |
950 | wxEVT_TASKBAR_LEFT_UP = 0, | |
951 | wxEVT_TASKBAR_RIGHT_DOWN = 0, | |
952 | wxEVT_TASKBAR_RIGHT_UP = 0, | |
953 | wxEVT_TASKBAR_LEFT_DCLICK = 0, | |
954 | wxEVT_TASKBAR_RIGHT_DCLICK = 0, | |
955 | }; | |
09c21d3b RD |
956 | |
957 | ||
958 | #else | |
5e483524 RD |
959 | // Otherwise make a class that can virtualize CreatePopupMenu |
960 | class wxPyTaskBarIcon : public wxTaskBarIcon | |
961 | { | |
962 | DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon); | |
963 | public: | |
964 | wxPyTaskBarIcon() : wxTaskBarIcon() | |
965 | {} | |
966 | ||
967 | wxMenu* CreatePopupMenu() { | |
968 | wxMenu *rval = NULL; | |
969 | bool found; | |
970 | bool blocked = wxPyBeginBlockThreads(); | |
971 | if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { | |
972 | PyObject* ro; | |
973 | wxMenu* ptr; | |
974 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
975 | if (ro) { | |
976 | if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu"))) | |
977 | rval = ptr; | |
978 | Py_DECREF(ro); | |
979 | } | |
980 | } | |
981 | wxPyEndBlockThreads(blocked); | |
982 | if (! found) | |
983 | rval = wxTaskBarIcon::CreatePopupMenu(); | |
984 | return rval; | |
985 | } | |
986 | ||
987 | PYPRIVATE; | |
988 | }; | |
989 | ||
990 | IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); | |
09c21d3b | 991 | |
d14a1e28 RD |
992 | #endif |
993 | ||
5e483524 | 994 | void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){ |
74a57fcd | 995 | self->RemoveIcon(); |
5e483524 | 996 | delete self; |
74a57fcd | 997 | } |
b2dc1044 RD |
998 | static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr); |
999 | static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr); | |
1000 | static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr); | |
1001 | static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr); | |
1002 | static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr); | |
1003 | static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr); | |
d14a1e28 RD |
1004 | PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){ |
1005 | wxArrayString arr; | |
1006 | self->GetFilenames(arr); | |
1007 | return wxArrayString2PyList_helper(arr); | |
1008 | } | |
1009 | PyObject *wxFileDialog_GetPaths(wxFileDialog *self){ | |
1010 | wxArrayString arr; | |
1011 | self->GetPaths(arr); | |
1012 | return wxArrayString2PyList_helper(arr); | |
1013 | } | |
1014 | PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){ | |
1015 | return wxArrayInt2PyList_helper(self->GetSelections()); | |
1016 | } | |
1017 | wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){ | |
1018 | return new wxSingleChoiceDialog(parent, message, caption, | |
1019 | choices, choices_array, NULL, style, pos); | |
1020 | } | |
d3b6e4ff | 1021 | static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr); |
d14a1e28 RD |
1022 | |
1023 | #include <wx/mdi.h> | |
1024 | ||
1025 | // C++ version of Python aware wxWindow | |
1026 | class wxPyWindow : public wxWindow | |
1027 | { | |
1028 | DECLARE_DYNAMIC_CLASS(wxPyWindow) | |
1029 | public: | |
1030 | wxPyWindow() : wxWindow() {} | |
1031 | wxPyWindow(wxWindow* parent, const wxWindowID id, | |
1032 | const wxPoint& pos = wxDefaultPosition, | |
1033 | const wxSize& size = wxDefaultSize, | |
1034 | long style = 0, | |
1035 | const wxString& name = wxPyPanelNameStr) | |
1036 | : wxWindow(parent, id, pos, size, style, name) {} | |
1037 | ||
db3e571a | 1038 | void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); } |
d14a1e28 RD |
1039 | |
1040 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1041 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1042 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1043 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1044 | ||
1045 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1046 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1047 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1048 | ||
1049 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1050 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1051 | ||
1052 | DEC_PYCALLBACK__(InitDialog); | |
1053 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1054 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1055 | DEC_PYCALLBACK_BOOL_(Validate); | |
1056 | ||
1057 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1058 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1059 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1060 | ||
1061 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1062 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1063 | ||
db3e571a | 1064 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1065 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1066 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 1067 | |
d14a1e28 RD |
1068 | PYPRIVATE; |
1069 | }; | |
1070 | ||
1071 | IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow); | |
1072 | ||
1073 | IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow); | |
1074 | IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize); | |
1075 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize); | |
1076 | IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize); | |
1077 | ||
1078 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize); | |
1079 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize); | |
1080 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition); | |
1081 | ||
1082 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize); | |
1083 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize); | |
1084 | ||
1085 | IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog); | |
1086 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow); | |
1087 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow); | |
1088 | IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate); | |
1089 | ||
1090 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus); | |
1091 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard); | |
1092 | IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize); | |
1093 | ||
1094 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild); | |
1095 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild); | |
1096 | ||
db3e571a | 1097 | IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours); |
1cb4a8aa | 1098 | IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground); |
db3e571a | 1099 | IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes); |
1cb4a8aa | 1100 | |
d14a1e28 RD |
1101 | |
1102 | // C++ version of Python aware wxPanel | |
1103 | class wxPyPanel : public wxPanel | |
1104 | { | |
1105 | DECLARE_DYNAMIC_CLASS(wxPyPanel) | |
1106 | public: | |
1107 | wxPyPanel() : wxPanel() {} | |
1108 | wxPyPanel(wxWindow* parent, const wxWindowID id, | |
1109 | const wxPoint& pos = wxDefaultPosition, | |
1110 | const wxSize& size = wxDefaultSize, | |
1111 | long style = 0, | |
1112 | const wxString& name = wxPyPanelNameStr) | |
1113 | : wxPanel(parent, id, pos, size, style, name) {} | |
1114 | ||
db3e571a RD |
1115 | void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); } |
1116 | ||
d14a1e28 RD |
1117 | |
1118 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1119 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1120 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1121 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1122 | ||
1123 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1124 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1125 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1126 | ||
1127 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1128 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1129 | ||
1130 | DEC_PYCALLBACK__(InitDialog); | |
1131 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1132 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1133 | DEC_PYCALLBACK_BOOL_(Validate); | |
1134 | ||
1135 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1136 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1137 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1138 | ||
1139 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1140 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1141 | ||
db3e571a | 1142 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1143 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1144 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
4276dc52 | 1145 | |
d14a1e28 RD |
1146 | PYPRIVATE; |
1147 | }; | |
1148 | ||
1149 | IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel); | |
1150 | ||
1151 | IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow); | |
1152 | IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize); | |
1153 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize); | |
1154 | IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize); | |
1155 | ||
1156 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize); | |
1157 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize); | |
1158 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition); | |
1159 | ||
1160 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize); | |
1161 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize); | |
1162 | ||
1163 | IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog); | |
1164 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow); | |
1165 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow); | |
1166 | IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate); | |
1167 | ||
1168 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus); | |
1169 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard); | |
1170 | IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize); | |
1171 | ||
1172 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild); | |
1173 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild); | |
1174 | ||
db3e571a | 1175 | IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours); |
1cb4a8aa | 1176 | IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground); |
db3e571a | 1177 | IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes); |
1cb4a8aa | 1178 | |
db3e571a | 1179 | |
1cb4a8aa RD |
1180 | // C++ version of Python aware wxScrolledWindow |
1181 | class wxPyScrolledWindow : public wxScrolledWindow | |
1182 | { | |
1183 | DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow) | |
1184 | public: | |
1185 | wxPyScrolledWindow() : wxScrolledWindow() {} | |
1186 | wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, | |
1187 | const wxPoint& pos = wxDefaultPosition, | |
1188 | const wxSize& size = wxDefaultSize, | |
1189 | long style = 0, | |
1190 | const wxString& name = wxPyPanelNameStr) | |
1191 | : wxScrolledWindow(parent, id, pos, size, style, name) {} | |
1192 | ||
db3e571a | 1193 | void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); } |
1cb4a8aa RD |
1194 | |
1195 | DEC_PYCALLBACK_VOID_INT4(DoMoveWindow); | |
1196 | DEC_PYCALLBACK_VOID_INT5(DoSetSize); | |
1197 | DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize); | |
1198 | DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize); | |
1199 | ||
1200 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize); | |
1201 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize); | |
1202 | DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition); | |
1203 | ||
1204 | DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize); | |
1205 | DEC_PYCALLBACK_SIZE_const(DoGetBestSize); | |
1206 | ||
1207 | DEC_PYCALLBACK__(InitDialog); | |
1208 | DEC_PYCALLBACK_BOOL_(TransferDataFromWindow); | |
1209 | DEC_PYCALLBACK_BOOL_(TransferDataToWindow); | |
1210 | DEC_PYCALLBACK_BOOL_(Validate); | |
1211 | ||
1212 | DEC_PYCALLBACK_BOOL_const(AcceptsFocus); | |
1213 | DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard); | |
1214 | DEC_PYCALLBACK_SIZE_const(GetMaxSize); | |
1215 | ||
1216 | DEC_PYCALLBACK_VOID_WXWINBASE(AddChild); | |
1217 | DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild); | |
1218 | ||
db3e571a | 1219 | DEC_PYCALLBACK_BOOL_const(ShouldInheritColours); |
1cb4a8aa | 1220 | DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground); |
db3e571a | 1221 | DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes); |
1cb4a8aa RD |
1222 | |
1223 | PYPRIVATE; | |
1224 | }; | |
1225 | ||
1226 | IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow); | |
1227 | ||
1228 | IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow); | |
1229 | IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize); | |
1230 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize); | |
1231 | IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize); | |
1232 | ||
1233 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize); | |
1234 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize); | |
1235 | IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition); | |
1236 | ||
1237 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize); | |
1238 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize); | |
1239 | ||
1240 | IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog); | |
1241 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow); | |
1242 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow); | |
1243 | IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate); | |
1244 | ||
1245 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus); | |
1246 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard); | |
1247 | IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize); | |
1248 | ||
1249 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild); | |
1250 | IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild); | |
1251 | ||
db3e571a | 1252 | IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours); |
1cb4a8aa | 1253 | IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground); |
db3e571a RD |
1254 | IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes); |
1255 | ||
d14a1e28 RD |
1256 | |
1257 | ||
1258 | #include "wx/wxPython/printfw.h" | |
1259 | ||
d14a1e28 | 1260 | |
33b885b9 RD |
1261 | static const wxString wxPyPrintoutTitleStr(wxT("Printout")); |
1262 | static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas")); | |
d14a1e28 RD |
1263 | |
1264 | ||
a68b8331 | 1265 | IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout); |
d14a1e28 RD |
1266 | |
1267 | // Since this one would be tough and ugly to do with the Macros... | |
1268 | void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
ae8162c8 | 1269 | bool hadErr = false; |
d14a1e28 RD |
1270 | bool found; |
1271 | ||
4f89f6a3 | 1272 | bool blocked = wxPyBeginBlockThreads(); |
d14a1e28 RD |
1273 | if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) { |
1274 | PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()")); | |
1275 | if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) { | |
1276 | PyObject* val; | |
1277 | ||
1278 | val = PyTuple_GetItem(result, 0); | |
1279 | if (PyInt_Check(val)) *minPage = PyInt_AsLong(val); | |
ae8162c8 | 1280 | else hadErr = true; |
d14a1e28 RD |
1281 | |
1282 | val = PyTuple_GetItem(result, 1); | |
1283 | if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val); | |
ae8162c8 | 1284 | else hadErr = true; |
d14a1e28 RD |
1285 | |
1286 | val = PyTuple_GetItem(result, 2); | |
1287 | if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val); | |
ae8162c8 | 1288 | else hadErr = true; |
d14a1e28 RD |
1289 | |
1290 | val = PyTuple_GetItem(result, 3); | |
1291 | if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val); | |
ae8162c8 | 1292 | else hadErr = true; |
d14a1e28 RD |
1293 | } |
1294 | else | |
ae8162c8 | 1295 | hadErr = true; |
d14a1e28 RD |
1296 | |
1297 | if (hadErr) { | |
1298 | PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers."); | |
1299 | PyErr_Print(); | |
1300 | } | |
1301 | Py_DECREF(result); | |
1302 | } | |
4f89f6a3 | 1303 | wxPyEndBlockThreads(blocked); |
d14a1e28 RD |
1304 | if (! found) |
1305 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1306 | } | |
1307 | ||
1308 | void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) { | |
1309 | wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo); | |
1310 | } | |
1311 | ||
1312 | ||
1313 | IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument); | |
1314 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument); | |
1315 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting); | |
1316 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting); | |
1317 | IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting); | |
1318 | IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage); | |
1319 | IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage); | |
1320 | ||
1321 | ||
1322 | ||
1323 | ||
1324 | ||
ae8162c8 RD |
1325 | #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \ |
1326 | bool CBNAME(wxPreviewCanvas* a, wxDC& b); \ | |
d14a1e28 RD |
1327 | bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b) |
1328 | ||
1329 | ||
ae8162c8 RD |
1330 | #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \ |
1331 | bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1332 | bool rval=false; \ | |
1333 | bool found; \ | |
1334 | bool blocked = wxPyBeginBlockThreads(); \ | |
1335 | if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \ | |
1336 | PyObject* win = wxPyMake_wxObject(a,false); \ | |
1337 | PyObject* dc = wxPyMake_wxObject(&b,false); \ | |
1338 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \ | |
1339 | Py_DECREF(win); \ | |
1340 | Py_DECREF(dc); \ | |
1341 | } \ | |
1342 | wxPyEndBlockThreads(blocked); \ | |
1343 | if (! found) \ | |
1344 | rval = PCLASS::CBNAME(a, b); \ | |
1345 | return rval; \ | |
1346 | } \ | |
1347 | bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \ | |
1348 | return PCLASS::CBNAME(a, b); \ | |
d14a1e28 RD |
1349 | } |
1350 | ||
1351 | ||
1352 | ||
1353 | ||
1354 | class wxPyPrintPreview : public wxPrintPreview | |
1355 | { | |
1356 | DECLARE_CLASS(wxPyPrintPreview) | |
1357 | public: | |
4276dc52 RD |
1358 | wxPyPrintPreview(wxPyPrintout* printout, |
1359 | wxPyPrintout* printoutForPrinting, | |
1360 | wxPrintDialogData* data=NULL) | |
1361 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1362 | {} | |
d14a1e28 RD |
1363 | wxPyPrintPreview(wxPyPrintout* printout, |
1364 | wxPyPrintout* printoutForPrinting, | |
1365 | wxPrintData* data=NULL) | |
1366 | : wxPrintPreview(printout, printoutForPrinting, data) | |
1367 | {} | |
1368 | ||
1369 | DEC_PYCALLBACK_BOOL_INT(SetCurrentPage); | |
1370 | DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage); | |
1371 | DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage); | |
1372 | DEC_PYCALLBACK_BOOL_INT(RenderPage); | |
1373 | DEC_PYCALLBACK_VOID_INT(SetZoom); | |
1374 | DEC_PYCALLBACK_BOOL_BOOL(Print); | |
1375 | DEC_PYCALLBACK_VOID_(DetermineScaling); | |
1376 | ||
1377 | PYPRIVATE; | |
1378 | }; | |
1379 | ||
1380 | // Stupid renamed classes... Fix this in 2.5... | |
1381 | #if defined(__WXMSW__) | |
1382 | IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview ); | |
1383 | #elif defined(__WXMAC__) | |
1384 | IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview ); | |
1385 | #else | |
1386 | IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview ); | |
1387 | #endif | |
1388 | ||
1389 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage); | |
1390 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage); | |
1391 | IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage); | |
1392 | IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage); | |
1393 | IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom); | |
1394 | IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print); | |
1395 | IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling); | |
1396 | ||
1397 | ||
1398 | class wxPyPreviewFrame : public wxPreviewFrame | |
1399 | { | |
1400 | DECLARE_CLASS(wxPyPreviewFrame); | |
1401 | public: | |
1402 | wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent, | |
1403 | const wxString& title, | |
1404 | const wxPoint& pos = wxDefaultPosition, | |
1405 | const wxSize& size = wxDefaultSize, | |
1406 | long style = wxDEFAULT_FRAME_STYLE, | |
1407 | const wxString& name = wxPyFrameNameStr) | |
1408 | : wxPreviewFrame(preview, parent, title, pos, size, style, name) | |
1409 | {} | |
1410 | ||
1411 | void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; } | |
1412 | void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; } | |
1413 | ||
1414 | DEC_PYCALLBACK_VOID_(Initialize); | |
1415 | DEC_PYCALLBACK_VOID_(CreateCanvas); | |
1416 | DEC_PYCALLBACK_VOID_(CreateControlBar); | |
1417 | ||
1418 | PYPRIVATE; | |
1419 | }; | |
1420 | ||
1421 | IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame); | |
1422 | ||
1423 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize); | |
1424 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas); | |
1425 | IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar); | |
1426 | ||
1427 | ||
1428 | class wxPyPreviewControlBar : public wxPreviewControlBar | |
1429 | { | |
1430 | DECLARE_CLASS(wxPyPreviewControlBar); | |
1431 | public: | |
1432 | wxPyPreviewControlBar(wxPrintPreview *preview, | |
1433 | long buttons, | |
1434 | wxWindow *parent, | |
1435 | const wxPoint& pos = wxDefaultPosition, | |
1436 | const wxSize& size = wxDefaultSize, | |
1437 | long style = 0, | |
1438 | const wxString& name = wxPyPanelNameStr) | |
1439 | : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name) | |
1440 | {} | |
1441 | ||
1442 | void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; } | |
1443 | ||
1444 | DEC_PYCALLBACK_VOID_(CreateButtons); | |
1445 | DEC_PYCALLBACK_VOID_INT(SetZoomControl); | |
1446 | ||
1447 | PYPRIVATE; | |
1448 | }; | |
1449 | ||
1450 | IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar); | |
1451 | IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons); | |
1452 | IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl); | |
1453 | ||
1454 | #ifdef __cplusplus | |
1455 | extern "C" { | |
1456 | #endif | |
c32bde28 | 1457 | static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1458 | PyObject *resultobj; |
1459 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1460 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1461 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1462 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1463 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1464 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1465 | long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1466 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1467 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1468 | wxPanel *result; | |
1469 | wxPoint temp3 ; | |
1470 | wxSize temp4 ; | |
ae8162c8 | 1471 | bool temp6 = false ; |
d14a1e28 | 1472 | PyObject * obj0 = 0 ; |
994141e6 | 1473 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1474 | PyObject * obj2 = 0 ; |
1475 | PyObject * obj3 = 0 ; | |
994141e6 | 1476 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1477 | PyObject * obj5 = 0 ; |
1478 | char *kwnames[] = { | |
1479 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1480 | }; | |
1481 | ||
994141e6 | 1482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1485 | if (obj1) { |
c32bde28 | 1486 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1487 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1488 | } |
d14a1e28 RD |
1489 | if (obj2) { |
1490 | { | |
1491 | arg3 = &temp3; | |
1492 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1493 | } | |
1494 | } | |
1495 | if (obj3) { | |
1496 | { | |
1497 | arg4 = &temp4; | |
1498 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1499 | } | |
1500 | } | |
994141e6 | 1501 | if (obj4) { |
c32bde28 | 1502 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 1503 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1504 | } |
d14a1e28 RD |
1505 | if (obj5) { |
1506 | { | |
1507 | arg6 = wxString_in_helper(obj5); | |
1508 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 1509 | temp6 = true; |
d14a1e28 RD |
1510 | } |
1511 | } | |
1512 | { | |
e3b71cb8 | 1513 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1515 | result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1516 | ||
1517 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1518 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1519 | } |
b0f7404b | 1520 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1521 | { |
1522 | if (temp6) | |
1523 | delete arg6; | |
1524 | } | |
1525 | return resultobj; | |
1526 | fail: | |
1527 | { | |
1528 | if (temp6) | |
1529 | delete arg6; | |
1530 | } | |
1531 | return NULL; | |
1532 | } | |
1533 | ||
1534 | ||
c32bde28 | 1535 | static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1536 | PyObject *resultobj; |
1537 | wxPanel *result; | |
1538 | char *kwnames[] = { | |
1539 | NULL | |
1540 | }; | |
1541 | ||
1542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail; | |
1543 | { | |
e3b71cb8 | 1544 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1546 | result = (wxPanel *)new wxPanel(); | |
1547 | ||
1548 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1549 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1550 | } |
b0f7404b | 1551 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1); |
d14a1e28 RD |
1552 | return resultobj; |
1553 | fail: | |
1554 | return NULL; | |
1555 | } | |
1556 | ||
1557 | ||
c32bde28 | 1558 | static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1559 | PyObject *resultobj; |
1560 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1561 | wxWindow *arg2 = (wxWindow *) 0 ; | |
cfe5e918 | 1562 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1563 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1564 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1565 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1566 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1567 | long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ; | |
1568 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1569 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1570 | bool result; | |
1571 | wxPoint temp4 ; | |
1572 | wxSize temp5 ; | |
ae8162c8 | 1573 | bool temp7 = false ; |
d14a1e28 RD |
1574 | PyObject * obj0 = 0 ; |
1575 | PyObject * obj1 = 0 ; | |
994141e6 | 1576 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1577 | PyObject * obj3 = 0 ; |
1578 | PyObject * obj4 = 0 ; | |
994141e6 | 1579 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1580 | PyObject * obj6 = 0 ; |
1581 | char *kwnames[] = { | |
1582 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1583 | }; | |
1584 | ||
cfe5e918 | 1585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1588 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1589 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
cfe5e918 | 1590 | if (obj2) { |
c32bde28 | 1591 | arg3 = (int)SWIG_As_int(obj2); |
cfe5e918 RD |
1592 | if (PyErr_Occurred()) SWIG_fail; |
1593 | } | |
d14a1e28 RD |
1594 | if (obj3) { |
1595 | { | |
1596 | arg4 = &temp4; | |
1597 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1598 | } | |
1599 | } | |
1600 | if (obj4) { | |
1601 | { | |
1602 | arg5 = &temp5; | |
1603 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1604 | } | |
1605 | } | |
994141e6 | 1606 | if (obj5) { |
c32bde28 | 1607 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 1608 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1609 | } |
d14a1e28 RD |
1610 | if (obj6) { |
1611 | { | |
1612 | arg7 = wxString_in_helper(obj6); | |
1613 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 1614 | temp7 = true; |
d14a1e28 RD |
1615 | } |
1616 | } | |
1617 | { | |
1618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1619 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1620 | ||
1621 | wxPyEndAllowThreads(__tstate); | |
1622 | if (PyErr_Occurred()) SWIG_fail; | |
1623 | } | |
4f89f6a3 RD |
1624 | { |
1625 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1626 | } | |
d14a1e28 RD |
1627 | { |
1628 | if (temp7) | |
1629 | delete arg7; | |
1630 | } | |
1631 | return resultobj; | |
1632 | fail: | |
1633 | { | |
1634 | if (temp7) | |
1635 | delete arg7; | |
1636 | } | |
1637 | return NULL; | |
1638 | } | |
1639 | ||
1640 | ||
c32bde28 | 1641 | static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1642 | PyObject *resultobj; |
1643 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1644 | PyObject * obj0 = 0 ; | |
1645 | char *kwnames[] = { | |
1646 | (char *) "self", NULL | |
1647 | }; | |
1648 | ||
1649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
1650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, |
1651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
1652 | { |
1653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1654 | (arg1)->InitDialog(); | |
1655 | ||
1656 | wxPyEndAllowThreads(__tstate); | |
1657 | if (PyErr_Occurred()) SWIG_fail; | |
1658 | } | |
1659 | Py_INCREF(Py_None); resultobj = Py_None; | |
1660 | return resultobj; | |
1661 | fail: | |
1662 | return NULL; | |
1663 | } | |
1664 | ||
1665 | ||
5cbf236d RD |
1666 | static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
1667 | PyObject *resultobj; | |
1668 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1669 | PyObject * obj0 = 0 ; | |
1670 | char *kwnames[] = { | |
1671 | (char *) "self", NULL | |
1672 | }; | |
1673 | ||
1674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail; | |
1675 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1676 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1677 | { | |
1678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1679 | (arg1)->SetFocus(); | |
1680 | ||
1681 | wxPyEndAllowThreads(__tstate); | |
1682 | if (PyErr_Occurred()) SWIG_fail; | |
1683 | } | |
1684 | Py_INCREF(Py_None); resultobj = Py_None; | |
1685 | return resultobj; | |
1686 | fail: | |
1687 | return NULL; | |
1688 | } | |
1689 | ||
1690 | ||
1691 | static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
1692 | PyObject *resultobj; | |
1693 | wxPanel *arg1 = (wxPanel *) 0 ; | |
1694 | PyObject * obj0 = 0 ; | |
1695 | char *kwnames[] = { | |
1696 | (char *) "self", NULL | |
1697 | }; | |
1698 | ||
1699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail; | |
1700 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel, | |
1701 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1702 | { | |
1703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1704 | (arg1)->SetFocusIgnoringChildren(); | |
1705 | ||
1706 | wxPyEndAllowThreads(__tstate); | |
1707 | if (PyErr_Occurred()) SWIG_fail; | |
1708 | } | |
1709 | Py_INCREF(Py_None); resultobj = Py_None; | |
1710 | return resultobj; | |
1711 | fail: | |
1712 | return NULL; | |
1713 | } | |
1714 | ||
1715 | ||
c32bde28 | 1716 | static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
1717 | PyObject *resultobj; |
1718 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
1719 | wxVisualAttributes result; | |
1720 | PyObject * obj0 = 0 ; | |
1721 | char *kwnames[] = { | |
1722 | (char *) "variant", NULL | |
1723 | }; | |
1724 | ||
1725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
1726 | if (obj0) { | |
c32bde28 | 1727 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
1728 | if (PyErr_Occurred()) SWIG_fail; |
1729 | } | |
1730 | { | |
e3b71cb8 | 1731 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
1732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1733 | result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
1734 | ||
1735 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1736 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
1737 | } |
1738 | { | |
1739 | wxVisualAttributes * resultptr; | |
1740 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
1741 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
1742 | } | |
1743 | return resultobj; | |
1744 | fail: | |
1745 | return NULL; | |
1746 | } | |
1747 | ||
1748 | ||
c32bde28 | 1749 | static PyObject * Panel_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
1750 | PyObject *obj; |
1751 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1752 | SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj); | |
1753 | Py_INCREF(obj); | |
1754 | return Py_BuildValue((char *)""); | |
1755 | } | |
c32bde28 | 1756 | static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1757 | PyObject *resultobj; |
1758 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1759 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
1760 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1761 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1762 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1763 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1764 | long arg5 = (long) wxHSCROLL|wxVSCROLL ; | |
1765 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
1766 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
1767 | wxScrolledWindow *result; | |
1768 | wxPoint temp3 ; | |
1769 | wxSize temp4 ; | |
ae8162c8 | 1770 | bool temp6 = false ; |
d14a1e28 | 1771 | PyObject * obj0 = 0 ; |
994141e6 | 1772 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
1773 | PyObject * obj2 = 0 ; |
1774 | PyObject * obj3 = 0 ; | |
994141e6 | 1775 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
1776 | PyObject * obj5 = 0 ; |
1777 | char *kwnames[] = { | |
1778 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1779 | }; | |
1780 | ||
994141e6 | 1781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
1782 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1783 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1784 | if (obj1) { |
c32bde28 | 1785 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1786 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1787 | } |
d14a1e28 RD |
1788 | if (obj2) { |
1789 | { | |
1790 | arg3 = &temp3; | |
1791 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1792 | } | |
1793 | } | |
1794 | if (obj3) { | |
1795 | { | |
1796 | arg4 = &temp4; | |
1797 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1798 | } | |
1799 | } | |
994141e6 | 1800 | if (obj4) { |
c32bde28 | 1801 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 1802 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1803 | } |
d14a1e28 RD |
1804 | if (obj5) { |
1805 | { | |
1806 | arg6 = wxString_in_helper(obj5); | |
1807 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 1808 | temp6 = true; |
d14a1e28 RD |
1809 | } |
1810 | } | |
1811 | { | |
e3b71cb8 | 1812 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1814 | result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
1815 | ||
1816 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1817 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1818 | } |
b0f7404b | 1819 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1820 | { |
1821 | if (temp6) | |
1822 | delete arg6; | |
1823 | } | |
1824 | return resultobj; | |
1825 | fail: | |
1826 | { | |
1827 | if (temp6) | |
1828 | delete arg6; | |
1829 | } | |
1830 | return NULL; | |
1831 | } | |
1832 | ||
1833 | ||
c32bde28 | 1834 | static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1835 | PyObject *resultobj; |
1836 | wxScrolledWindow *result; | |
1837 | char *kwnames[] = { | |
1838 | NULL | |
1839 | }; | |
1840 | ||
1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail; | |
1842 | { | |
e3b71cb8 | 1843 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
1844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1845 | result = (wxScrolledWindow *)new wxScrolledWindow(); | |
1846 | ||
1847 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1848 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 1849 | } |
b0f7404b | 1850 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1); |
d14a1e28 RD |
1851 | return resultobj; |
1852 | fail: | |
1853 | return NULL; | |
1854 | } | |
1855 | ||
1856 | ||
c32bde28 | 1857 | static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1858 | PyObject *resultobj; |
1859 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1860 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1861 | int arg3 = (int) (int)-1 ; |
d14a1e28 RD |
1862 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1863 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1864 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1865 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1866 | long arg6 = (long) wxHSCROLL|wxVSCROLL ; | |
1867 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
1868 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1869 | bool result; | |
1870 | wxPoint temp4 ; | |
1871 | wxSize temp5 ; | |
ae8162c8 | 1872 | bool temp7 = false ; |
d14a1e28 RD |
1873 | PyObject * obj0 = 0 ; |
1874 | PyObject * obj1 = 0 ; | |
994141e6 | 1875 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
1876 | PyObject * obj3 = 0 ; |
1877 | PyObject * obj4 = 0 ; | |
994141e6 | 1878 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
1879 | PyObject * obj6 = 0 ; |
1880 | char *kwnames[] = { | |
1881 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1882 | }; | |
1883 | ||
994141e6 | 1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
1885 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1886 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1887 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1888 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 1889 | if (obj2) { |
c32bde28 | 1890 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1891 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1892 | } |
d14a1e28 RD |
1893 | if (obj3) { |
1894 | { | |
1895 | arg4 = &temp4; | |
1896 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1897 | } | |
1898 | } | |
1899 | if (obj4) { | |
1900 | { | |
1901 | arg5 = &temp5; | |
1902 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1903 | } | |
1904 | } | |
994141e6 | 1905 | if (obj5) { |
c32bde28 | 1906 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 1907 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1908 | } |
d14a1e28 RD |
1909 | if (obj6) { |
1910 | { | |
1911 | arg7 = wxString_in_helper(obj6); | |
1912 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 1913 | temp7 = true; |
d14a1e28 RD |
1914 | } |
1915 | } | |
1916 | { | |
1917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1918 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1919 | ||
1920 | wxPyEndAllowThreads(__tstate); | |
1921 | if (PyErr_Occurred()) SWIG_fail; | |
1922 | } | |
4f89f6a3 RD |
1923 | { |
1924 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
1925 | } | |
d14a1e28 RD |
1926 | { |
1927 | if (temp7) | |
1928 | delete arg7; | |
1929 | } | |
1930 | return resultobj; | |
1931 | fail: | |
1932 | { | |
1933 | if (temp7) | |
1934 | delete arg7; | |
1935 | } | |
1936 | return NULL; | |
1937 | } | |
1938 | ||
1939 | ||
c32bde28 | 1940 | static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
1941 | PyObject *resultobj; |
1942 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
1943 | int arg2 ; | |
1944 | int arg3 ; | |
1945 | int arg4 ; | |
1946 | int arg5 ; | |
1947 | int arg6 = (int) 0 ; | |
1948 | int arg7 = (int) 0 ; | |
ae8162c8 | 1949 | bool arg8 = (bool) false ; |
d14a1e28 | 1950 | PyObject * obj0 = 0 ; |
994141e6 RD |
1951 | PyObject * obj1 = 0 ; |
1952 | PyObject * obj2 = 0 ; | |
1953 | PyObject * obj3 = 0 ; | |
1954 | PyObject * obj4 = 0 ; | |
1955 | PyObject * obj5 = 0 ; | |
1956 | PyObject * obj6 = 0 ; | |
d14a1e28 RD |
1957 | PyObject * obj7 = 0 ; |
1958 | char *kwnames[] = { | |
1959 | (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL | |
1960 | }; | |
1961 | ||
994141e6 | 1962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
1963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
1964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 1965 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 1966 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1967 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 1968 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1969 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 1970 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 1971 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 1972 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1973 | if (obj5) { |
c32bde28 | 1974 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 1975 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
1976 | } |
1977 | if (obj6) { | |
c32bde28 | 1978 | arg7 = (int)SWIG_As_int(obj6); |
15afbcd0 | 1979 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 1980 | } |
d14a1e28 | 1981 | if (obj7) { |
c32bde28 | 1982 | arg8 = (bool)SWIG_As_bool(obj7); |
15afbcd0 | 1983 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
1984 | } |
1985 | { | |
1986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1987 | (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
1988 | ||
1989 | wxPyEndAllowThreads(__tstate); | |
1990 | if (PyErr_Occurred()) SWIG_fail; | |
1991 | } | |
1992 | Py_INCREF(Py_None); resultobj = Py_None; | |
1993 | return resultobj; | |
1994 | fail: | |
1995 | return NULL; | |
1996 | } | |
1997 | ||
1998 | ||
c32bde28 | 1999 | static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2000 | PyObject *resultobj; |
2001 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2002 | int arg2 ; | |
2003 | int arg3 ; | |
2004 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2005 | PyObject * obj1 = 0 ; |
2006 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2007 | char *kwnames[] = { |
2008 | (char *) "self",(char *) "x",(char *) "y", NULL | |
2009 | }; | |
2010 | ||
994141e6 | 2011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2012 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2013 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2014 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2015 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2016 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2017 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2018 | { |
2019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2020 | (arg1)->Scroll(arg2,arg3); | |
2021 | ||
2022 | wxPyEndAllowThreads(__tstate); | |
2023 | if (PyErr_Occurred()) SWIG_fail; | |
2024 | } | |
2025 | Py_INCREF(Py_None); resultobj = Py_None; | |
2026 | return resultobj; | |
2027 | fail: | |
2028 | return NULL; | |
2029 | } | |
2030 | ||
2031 | ||
c32bde28 | 2032 | static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2033 | PyObject *resultobj; |
2034 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2035 | int arg2 ; | |
2036 | int result; | |
2037 | PyObject * obj0 = 0 ; | |
994141e6 | 2038 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
2039 | char *kwnames[] = { |
2040 | (char *) "self",(char *) "orient", NULL | |
2041 | }; | |
2042 | ||
994141e6 | 2043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2046 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2047 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2048 | { |
2049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2050 | result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2); | |
2051 | ||
2052 | wxPyEndAllowThreads(__tstate); | |
2053 | if (PyErr_Occurred()) SWIG_fail; | |
2054 | } | |
c32bde28 | 2055 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2056 | return resultobj; |
2057 | fail: | |
2058 | return NULL; | |
2059 | } | |
2060 | ||
2061 | ||
c32bde28 | 2062 | static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2063 | PyObject *resultobj; |
2064 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2065 | int arg2 ; | |
2066 | int arg3 ; | |
2067 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2068 | PyObject * obj1 = 0 ; |
2069 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2070 | char *kwnames[] = { |
2071 | (char *) "self",(char *) "orient",(char *) "pageSize", NULL | |
2072 | }; | |
2073 | ||
994141e6 | 2074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2075 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2076 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2077 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2078 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2079 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2080 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2081 | { |
2082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2083 | (arg1)->SetScrollPageSize(arg2,arg3); | |
2084 | ||
2085 | wxPyEndAllowThreads(__tstate); | |
2086 | if (PyErr_Occurred()) SWIG_fail; | |
2087 | } | |
2088 | Py_INCREF(Py_None); resultobj = Py_None; | |
2089 | return resultobj; | |
2090 | fail: | |
2091 | return NULL; | |
2092 | } | |
2093 | ||
2094 | ||
c32bde28 | 2095 | static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2096 | PyObject *resultobj; |
2097 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2098 | int arg2 ; | |
2099 | int arg3 ; | |
2100 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2101 | PyObject * obj1 = 0 ; |
2102 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2103 | char *kwnames[] = { |
2104 | (char *) "self",(char *) "xstep",(char *) "ystep", NULL | |
2105 | }; | |
2106 | ||
994141e6 | 2107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2110 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2111 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2112 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2113 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2114 | { |
2115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2116 | (arg1)->SetScrollRate(arg2,arg3); | |
2117 | ||
2118 | wxPyEndAllowThreads(__tstate); | |
2119 | if (PyErr_Occurred()) SWIG_fail; | |
2120 | } | |
2121 | Py_INCREF(Py_None); resultobj = Py_None; | |
2122 | return resultobj; | |
2123 | fail: | |
2124 | return NULL; | |
2125 | } | |
2126 | ||
2127 | ||
c32bde28 | 2128 | static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2129 | PyObject *resultobj; |
2130 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2131 | int *arg2 = (int *) 0 ; | |
2132 | int *arg3 = (int *) 0 ; | |
2133 | int temp2 ; | |
c32bde28 | 2134 | int res2 = 0 ; |
d14a1e28 | 2135 | int temp3 ; |
c32bde28 | 2136 | int res3 = 0 ; |
d14a1e28 RD |
2137 | PyObject * obj0 = 0 ; |
2138 | char *kwnames[] = { | |
2139 | (char *) "self", NULL | |
2140 | }; | |
2141 | ||
c32bde28 RD |
2142 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2143 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 2144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
2145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2147 | { |
2148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2149 | ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3); | |
2150 | ||
2151 | wxPyEndAllowThreads(__tstate); | |
2152 | if (PyErr_Occurred()) SWIG_fail; | |
2153 | } | |
2154 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
2155 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2156 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2157 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2158 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2159 | return resultobj; |
2160 | fail: | |
2161 | return NULL; | |
2162 | } | |
2163 | ||
2164 | ||
c32bde28 | 2165 | static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2166 | PyObject *resultobj; |
2167 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2168 | bool arg2 ; | |
2169 | bool arg3 ; | |
2170 | PyObject * obj0 = 0 ; | |
2171 | PyObject * obj1 = 0 ; | |
2172 | PyObject * obj2 = 0 ; | |
2173 | char *kwnames[] = { | |
2174 | (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL | |
2175 | }; | |
2176 | ||
2177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
2178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2180 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2181 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2182 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 2183 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2184 | { |
2185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2186 | (arg1)->EnableScrolling(arg2,arg3); | |
2187 | ||
2188 | wxPyEndAllowThreads(__tstate); | |
2189 | if (PyErr_Occurred()) SWIG_fail; | |
2190 | } | |
2191 | Py_INCREF(Py_None); resultobj = Py_None; | |
2192 | return resultobj; | |
2193 | fail: | |
2194 | return NULL; | |
2195 | } | |
2196 | ||
2197 | ||
c32bde28 | 2198 | static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2199 | PyObject *resultobj; |
2200 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2201 | int *arg2 = (int *) 0 ; | |
2202 | int *arg3 = (int *) 0 ; | |
2203 | int temp2 ; | |
c32bde28 | 2204 | int res2 = 0 ; |
d14a1e28 | 2205 | int temp3 ; |
c32bde28 | 2206 | int res3 = 0 ; |
d14a1e28 RD |
2207 | PyObject * obj0 = 0 ; |
2208 | char *kwnames[] = { | |
2209 | (char *) "self", NULL | |
2210 | }; | |
2211 | ||
c32bde28 RD |
2212 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
2213 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
2215 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2216 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2217 | { |
2218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2219 | ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3); | |
2220 | ||
2221 | wxPyEndAllowThreads(__tstate); | |
2222 | if (PyErr_Occurred()) SWIG_fail; | |
2223 | } | |
2224 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
2225 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
2226 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
2227 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
2228 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2229 | return resultobj; |
2230 | fail: | |
2231 | return NULL; | |
2232 | } | |
2233 | ||
2234 | ||
c32bde28 | 2235 | static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2236 | PyObject *resultobj; |
2237 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2238 | double arg2 ; | |
2239 | double arg3 ; | |
2240 | PyObject * obj0 = 0 ; | |
994141e6 RD |
2241 | PyObject * obj1 = 0 ; |
2242 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
2243 | char *kwnames[] = { |
2244 | (char *) "self",(char *) "xs",(char *) "ys", NULL | |
2245 | }; | |
2246 | ||
994141e6 | 2247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2250 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 2251 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2252 | arg3 = (double)SWIG_As_double(obj2); |
15afbcd0 | 2253 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2254 | { |
2255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2256 | (arg1)->SetScale(arg2,arg3); | |
2257 | ||
2258 | wxPyEndAllowThreads(__tstate); | |
2259 | if (PyErr_Occurred()) SWIG_fail; | |
2260 | } | |
2261 | Py_INCREF(Py_None); resultobj = Py_None; | |
2262 | return resultobj; | |
2263 | fail: | |
2264 | return NULL; | |
2265 | } | |
2266 | ||
2267 | ||
c32bde28 | 2268 | static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2269 | PyObject *resultobj; |
2270 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2271 | double result; | |
2272 | PyObject * obj0 = 0 ; | |
2273 | char *kwnames[] = { | |
2274 | (char *) "self", NULL | |
2275 | }; | |
2276 | ||
2277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2278 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2279 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2280 | { |
2281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2282 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleX(); | |
2283 | ||
2284 | wxPyEndAllowThreads(__tstate); | |
2285 | if (PyErr_Occurred()) SWIG_fail; | |
2286 | } | |
c32bde28 | 2287 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
2288 | return resultobj; |
2289 | fail: | |
2290 | return NULL; | |
2291 | } | |
2292 | ||
2293 | ||
c32bde28 | 2294 | static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2295 | PyObject *resultobj; |
2296 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2297 | double result; | |
2298 | PyObject * obj0 = 0 ; | |
2299 | char *kwnames[] = { | |
2300 | (char *) "self", NULL | |
2301 | }; | |
2302 | ||
2303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2304 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2305 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2306 | { |
2307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2308 | result = (double)((wxScrolledWindow const *)arg1)->GetScaleY(); | |
2309 | ||
2310 | wxPyEndAllowThreads(__tstate); | |
2311 | if (PyErr_Occurred()) SWIG_fail; | |
2312 | } | |
c32bde28 | 2313 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
2314 | return resultobj; |
2315 | fail: | |
2316 | return NULL; | |
2317 | } | |
2318 | ||
2319 | ||
c32bde28 | 2320 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
2321 | PyObject *resultobj; |
2322 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2323 | wxPoint *arg2 = 0 ; |
2324 | wxPoint result; | |
2325 | wxPoint temp2 ; | |
d14a1e28 | 2326 | PyObject * obj0 = 0 ; |
322913ce | 2327 | PyObject * obj1 = 0 ; |
d14a1e28 | 2328 | |
322913ce | 2329 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2330 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2331 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2332 | { |
2333 | arg2 = &temp2; | |
2334 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2335 | } | |
d14a1e28 RD |
2336 | { |
2337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2338 | result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2339 | |
2340 | wxPyEndAllowThreads(__tstate); | |
2341 | if (PyErr_Occurred()) SWIG_fail; | |
2342 | } | |
d14a1e28 | 2343 | { |
322913ce RD |
2344 | wxPoint * resultptr; |
2345 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2346 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2347 | } |
2348 | return resultobj; | |
2349 | fail: | |
2350 | return NULL; | |
2351 | } | |
2352 | ||
2353 | ||
c32bde28 | 2354 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
2355 | PyObject *resultobj; |
2356 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2357 | int arg2 ; |
2358 | int arg3 ; | |
2359 | int *arg4 = (int *) 0 ; | |
2360 | int *arg5 = (int *) 0 ; | |
2361 | int temp4 ; | |
c32bde28 | 2362 | int res4 = 0 ; |
322913ce | 2363 | int temp5 ; |
c32bde28 | 2364 | int res5 = 0 ; |
d14a1e28 | 2365 | PyObject * obj0 = 0 ; |
994141e6 RD |
2366 | PyObject * obj1 = 0 ; |
2367 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2368 | |
c32bde28 RD |
2369 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2370 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 2371 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2372 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2373 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2374 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2375 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2376 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2377 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2378 | { |
2379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2380 | ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2381 | |
2382 | wxPyEndAllowThreads(__tstate); | |
2383 | if (PyErr_Occurred()) SWIG_fail; | |
2384 | } | |
322913ce | 2385 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
2386 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2387 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2388 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2389 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2390 | return resultobj; |
2391 | fail: | |
2392 | return NULL; | |
2393 | } | |
2394 | ||
2395 | ||
2396 | static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) { | |
2397 | int argc; | |
2398 | PyObject *argv[4]; | |
2399 | int ii; | |
2400 | ||
2401 | argc = PyObject_Length(args); | |
2402 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2403 | argv[ii] = PyTuple_GetItem(args,ii); | |
2404 | } | |
2405 | if (argc == 2) { | |
2406 | int _v; | |
2407 | { | |
2408 | void *ptr; | |
15afbcd0 | 2409 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2410 | _v = 0; |
2411 | PyErr_Clear(); | |
2412 | } else { | |
2413 | _v = 1; | |
2414 | } | |
2415 | } | |
2416 | if (_v) { | |
2417 | { | |
2418 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2419 | } | |
2420 | if (_v) { | |
322913ce | 2421 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2422 | } |
2423 | } | |
2424 | } | |
2425 | if (argc == 3) { | |
2426 | int _v; | |
2427 | { | |
2428 | void *ptr; | |
15afbcd0 | 2429 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2430 | _v = 0; |
2431 | PyErr_Clear(); | |
2432 | } else { | |
2433 | _v = 1; | |
2434 | } | |
2435 | } | |
2436 | if (_v) { | |
c32bde28 | 2437 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 2438 | if (_v) { |
c32bde28 | 2439 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 2440 | if (_v) { |
322913ce | 2441 | return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2442 | } |
2443 | } | |
2444 | } | |
2445 | } | |
2446 | ||
2447 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'"); | |
2448 | return NULL; | |
2449 | } | |
2450 | ||
2451 | ||
c32bde28 | 2452 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
2453 | PyObject *resultobj; |
2454 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2455 | wxPoint *arg2 = 0 ; |
2456 | wxPoint result; | |
2457 | wxPoint temp2 ; | |
d14a1e28 | 2458 | PyObject * obj0 = 0 ; |
322913ce | 2459 | PyObject * obj1 = 0 ; |
d14a1e28 | 2460 | |
322913ce | 2461 | if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail; |
15afbcd0 RD |
2462 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
322913ce RD |
2464 | { |
2465 | arg2 = &temp2; | |
2466 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
2467 | } | |
d14a1e28 RD |
2468 | { |
2469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2470 | result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2); |
d14a1e28 RD |
2471 | |
2472 | wxPyEndAllowThreads(__tstate); | |
2473 | if (PyErr_Occurred()) SWIG_fail; | |
2474 | } | |
d14a1e28 | 2475 | { |
322913ce RD |
2476 | wxPoint * resultptr; |
2477 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 2478 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
2479 | } |
2480 | return resultobj; | |
2481 | fail: | |
2482 | return NULL; | |
2483 | } | |
2484 | ||
2485 | ||
c32bde28 | 2486 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) { |
d14a1e28 RD |
2487 | PyObject *resultobj; |
2488 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
322913ce RD |
2489 | int arg2 ; |
2490 | int arg3 ; | |
2491 | int *arg4 = (int *) 0 ; | |
2492 | int *arg5 = (int *) 0 ; | |
2493 | int temp4 ; | |
c32bde28 | 2494 | int res4 = 0 ; |
322913ce | 2495 | int temp5 ; |
c32bde28 | 2496 | int res5 = 0 ; |
d14a1e28 | 2497 | PyObject * obj0 = 0 ; |
994141e6 RD |
2498 | PyObject * obj1 = 0 ; |
2499 | PyObject * obj2 = 0 ; | |
d14a1e28 | 2500 | |
c32bde28 RD |
2501 | arg4 = &temp4; res4 = SWIG_NEWOBJ; |
2502 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
994141e6 | 2503 | if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
2504 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2505 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 2506 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 2507 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 2508 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 2509 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2510 | { |
2511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 2512 | ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5); |
d14a1e28 RD |
2513 | |
2514 | wxPyEndAllowThreads(__tstate); | |
2515 | if (PyErr_Occurred()) SWIG_fail; | |
2516 | } | |
322913ce | 2517 | Py_INCREF(Py_None); resultobj = Py_None; |
c32bde28 RD |
2518 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? |
2519 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
2520 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
2521 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
2522 | return resultobj; |
2523 | fail: | |
2524 | return NULL; | |
2525 | } | |
2526 | ||
2527 | ||
2528 | static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) { | |
2529 | int argc; | |
2530 | PyObject *argv[4]; | |
2531 | int ii; | |
2532 | ||
2533 | argc = PyObject_Length(args); | |
2534 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
2535 | argv[ii] = PyTuple_GetItem(args,ii); | |
2536 | } | |
2537 | if (argc == 2) { | |
2538 | int _v; | |
2539 | { | |
2540 | void *ptr; | |
15afbcd0 | 2541 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2542 | _v = 0; |
2543 | PyErr_Clear(); | |
2544 | } else { | |
2545 | _v = 1; | |
2546 | } | |
2547 | } | |
2548 | if (_v) { | |
2549 | { | |
2550 | _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2); | |
2551 | } | |
2552 | if (_v) { | |
322913ce | 2553 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args); |
d14a1e28 RD |
2554 | } |
2555 | } | |
2556 | } | |
2557 | if (argc == 3) { | |
2558 | int _v; | |
2559 | { | |
2560 | void *ptr; | |
15afbcd0 | 2561 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) { |
d14a1e28 RD |
2562 | _v = 0; |
2563 | PyErr_Clear(); | |
2564 | } else { | |
2565 | _v = 1; | |
2566 | } | |
2567 | } | |
2568 | if (_v) { | |
c32bde28 | 2569 | _v = SWIG_Check_int(argv[1]); |
d14a1e28 | 2570 | if (_v) { |
c32bde28 | 2571 | _v = SWIG_Check_int(argv[2]); |
d14a1e28 | 2572 | if (_v) { |
322913ce | 2573 | return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args); |
d14a1e28 RD |
2574 | } |
2575 | } | |
2576 | } | |
2577 | } | |
2578 | ||
2579 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'"); | |
2580 | return NULL; | |
2581 | } | |
2582 | ||
2583 | ||
c32bde28 | 2584 | static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2585 | PyObject *resultobj; |
2586 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2587 | PyObject * obj0 = 0 ; | |
2588 | char *kwnames[] = { | |
2589 | (char *) "self", NULL | |
2590 | }; | |
2591 | ||
2592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2593 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2594 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2595 | { |
2596 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2597 | (arg1)->AdjustScrollbars(); | |
2598 | ||
2599 | wxPyEndAllowThreads(__tstate); | |
2600 | if (PyErr_Occurred()) SWIG_fail; | |
2601 | } | |
2602 | Py_INCREF(Py_None); resultobj = Py_None; | |
2603 | return resultobj; | |
2604 | fail: | |
2605 | return NULL; | |
2606 | } | |
2607 | ||
2608 | ||
c32bde28 | 2609 | static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2610 | PyObject *resultobj; |
2611 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2612 | wxScrollWinEvent *arg2 = 0 ; | |
2613 | int result; | |
2614 | PyObject * obj0 = 0 ; | |
2615 | PyObject * obj1 = 0 ; | |
2616 | char *kwnames[] = { | |
2617 | (char *) "self",(char *) "event", NULL | |
2618 | }; | |
2619 | ||
2620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2621 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2622 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2623 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollWinEvent, | |
2624 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2625 | SWIG_fail; | |
d14a1e28 | 2626 | if (arg2 == NULL) { |
15afbcd0 RD |
2627 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2628 | SWIG_fail; | |
d14a1e28 RD |
2629 | } |
2630 | { | |
2631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2632 | result = (int)(arg1)->CalcScrollInc(*arg2); | |
2633 | ||
2634 | wxPyEndAllowThreads(__tstate); | |
2635 | if (PyErr_Occurred()) SWIG_fail; | |
2636 | } | |
c32bde28 | 2637 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
2638 | return resultobj; |
2639 | fail: | |
2640 | return NULL; | |
2641 | } | |
2642 | ||
2643 | ||
c32bde28 | 2644 | static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2645 | PyObject *resultobj; |
2646 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2647 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2648 | PyObject * obj0 = 0 ; | |
2649 | PyObject * obj1 = 0 ; | |
2650 | char *kwnames[] = { | |
2651 | (char *) "self",(char *) "target", NULL | |
2652 | }; | |
2653 | ||
2654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2657 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2658 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2659 | { |
2660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2661 | (arg1)->SetTargetWindow(arg2); | |
2662 | ||
2663 | wxPyEndAllowThreads(__tstate); | |
2664 | if (PyErr_Occurred()) SWIG_fail; | |
2665 | } | |
2666 | Py_INCREF(Py_None); resultobj = Py_None; | |
2667 | return resultobj; | |
2668 | fail: | |
2669 | return NULL; | |
2670 | } | |
2671 | ||
2672 | ||
c32bde28 | 2673 | static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2674 | PyObject *resultobj; |
2675 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2676 | wxWindow *result; | |
2677 | PyObject * obj0 = 0 ; | |
2678 | char *kwnames[] = { | |
2679 | (char *) "self", NULL | |
2680 | }; | |
2681 | ||
2682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, |
2684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2685 | { |
2686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2687 | result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow(); | |
2688 | ||
2689 | wxPyEndAllowThreads(__tstate); | |
2690 | if (PyErr_Occurred()) SWIG_fail; | |
2691 | } | |
2692 | { | |
412d302d | 2693 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
2694 | } |
2695 | return resultobj; | |
2696 | fail: | |
2697 | return NULL; | |
2698 | } | |
2699 | ||
2700 | ||
c32bde28 | 2701 | static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) { |
f5b96ee1 RD |
2702 | PyObject *resultobj; |
2703 | wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ; | |
2704 | wxDC *arg2 = 0 ; | |
2705 | PyObject * obj0 = 0 ; | |
2706 | PyObject * obj1 = 0 ; | |
2707 | char *kwnames[] = { | |
2708 | (char *) "self",(char *) "dc", NULL | |
2709 | }; | |
2710 | ||
2711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail; | |
2712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrolledWindow, | |
2713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2714 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
2715 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2716 | SWIG_fail; | |
2717 | if (arg2 == NULL) { | |
2718 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
2719 | SWIG_fail; | |
2720 | } | |
2721 | { | |
2722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2723 | (arg1)->DoPrepareDC(*arg2); | |
2724 | ||
2725 | wxPyEndAllowThreads(__tstate); | |
2726 | if (PyErr_Occurred()) SWIG_fail; | |
2727 | } | |
2728 | Py_INCREF(Py_None); resultobj = Py_None; | |
2729 | return resultobj; | |
2730 | fail: | |
2731 | return NULL; | |
2732 | } | |
2733 | ||
2734 | ||
c32bde28 | 2735 | static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
2736 | PyObject *resultobj; |
2737 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
2738 | wxVisualAttributes result; | |
2739 | PyObject * obj0 = 0 ; | |
2740 | char *kwnames[] = { | |
2741 | (char *) "variant", NULL | |
2742 | }; | |
2743 | ||
2744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
2745 | if (obj0) { | |
c32bde28 | 2746 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
2747 | if (PyErr_Occurred()) SWIG_fail; |
2748 | } | |
2749 | { | |
e3b71cb8 | 2750 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
2751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2752 | result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
2753 | ||
2754 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2755 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
2756 | } |
2757 | { | |
2758 | wxVisualAttributes * resultptr; | |
2759 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
2760 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
2761 | } | |
2762 | return resultobj; | |
2763 | fail: | |
2764 | return NULL; | |
2765 | } | |
2766 | ||
2767 | ||
c32bde28 | 2768 | static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
2769 | PyObject *obj; |
2770 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2771 | SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj); | |
2772 | Py_INCREF(obj); | |
2773 | return Py_BuildValue((char *)""); | |
2774 | } | |
c32bde28 | 2775 | static int _wrap_FrameNameStr_set(PyObject *) { |
b2dc1044 RD |
2776 | PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only."); |
2777 | return 1; | |
2778 | } | |
2779 | ||
2780 | ||
2781 | static PyObject *_wrap_FrameNameStr_get() { | |
2782 | PyObject *pyobj; | |
2783 | ||
2784 | { | |
2785 | #if wxUSE_UNICODE | |
2786 | pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2787 | #else | |
2788 | pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len()); | |
2789 | #endif | |
2790 | } | |
2791 | return pyobj; | |
2792 | } | |
2793 | ||
2794 | ||
c32bde28 | 2795 | static int _wrap_DialogNameStr_set(PyObject *) { |
b2dc1044 RD |
2796 | PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only."); |
2797 | return 1; | |
2798 | } | |
2799 | ||
2800 | ||
2801 | static PyObject *_wrap_DialogNameStr_get() { | |
2802 | PyObject *pyobj; | |
2803 | ||
2804 | { | |
2805 | #if wxUSE_UNICODE | |
2806 | pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2807 | #else | |
2808 | pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len()); | |
2809 | #endif | |
2810 | } | |
2811 | return pyobj; | |
2812 | } | |
2813 | ||
2814 | ||
c32bde28 | 2815 | static int _wrap_StatusLineNameStr_set(PyObject *) { |
b2dc1044 RD |
2816 | PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only."); |
2817 | return 1; | |
2818 | } | |
2819 | ||
2820 | ||
2821 | static PyObject *_wrap_StatusLineNameStr_get() { | |
2822 | PyObject *pyobj; | |
2823 | ||
2824 | { | |
2825 | #if wxUSE_UNICODE | |
2826 | pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2827 | #else | |
2828 | pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len()); | |
2829 | #endif | |
2830 | } | |
2831 | return pyobj; | |
2832 | } | |
2833 | ||
2834 | ||
c32bde28 | 2835 | static int _wrap_ToolBarNameStr_set(PyObject *) { |
b2dc1044 RD |
2836 | PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only."); |
2837 | return 1; | |
2838 | } | |
2839 | ||
2840 | ||
2841 | static PyObject *_wrap_ToolBarNameStr_get() { | |
2842 | PyObject *pyobj; | |
2843 | ||
2844 | { | |
2845 | #if wxUSE_UNICODE | |
2846 | pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2847 | #else | |
2848 | pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len()); | |
2849 | #endif | |
2850 | } | |
2851 | return pyobj; | |
2852 | } | |
2853 | ||
2854 | ||
c32bde28 | 2855 | static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2856 | PyObject *resultobj; |
2857 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 2858 | bool arg2 = (bool) true ; |
d14a1e28 RD |
2859 | PyObject * obj0 = 0 ; |
2860 | PyObject * obj1 = 0 ; | |
2861 | char *kwnames[] = { | |
2862 | (char *) "self",(char *) "maximize", NULL | |
2863 | }; | |
2864 | ||
2865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2868 | if (obj1) { |
c32bde28 | 2869 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2870 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2871 | } |
2872 | { | |
2873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2874 | (arg1)->Maximize(arg2); | |
2875 | ||
2876 | wxPyEndAllowThreads(__tstate); | |
2877 | if (PyErr_Occurred()) SWIG_fail; | |
2878 | } | |
2879 | Py_INCREF(Py_None); resultobj = Py_None; | |
2880 | return resultobj; | |
2881 | fail: | |
2882 | return NULL; | |
2883 | } | |
2884 | ||
2885 | ||
c32bde28 | 2886 | static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2887 | PyObject *resultobj; |
2888 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2889 | PyObject * obj0 = 0 ; | |
2890 | char *kwnames[] = { | |
2891 | (char *) "self", NULL | |
2892 | }; | |
2893 | ||
2894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2897 | { |
2898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2899 | (arg1)->Restore(); | |
2900 | ||
2901 | wxPyEndAllowThreads(__tstate); | |
2902 | if (PyErr_Occurred()) SWIG_fail; | |
2903 | } | |
2904 | Py_INCREF(Py_None); resultobj = Py_None; | |
2905 | return resultobj; | |
2906 | fail: | |
2907 | return NULL; | |
2908 | } | |
2909 | ||
2910 | ||
c32bde28 | 2911 | static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2912 | PyObject *resultobj; |
2913 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
ae8162c8 | 2914 | bool arg2 = (bool) true ; |
d14a1e28 RD |
2915 | PyObject * obj0 = 0 ; |
2916 | PyObject * obj1 = 0 ; | |
2917 | char *kwnames[] = { | |
2918 | (char *) "self",(char *) "iconize", NULL | |
2919 | }; | |
2920 | ||
2921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
2922 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2923 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 2924 | if (obj1) { |
c32bde28 | 2925 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 2926 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
2927 | } |
2928 | { | |
2929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2930 | (arg1)->Iconize(arg2); | |
2931 | ||
2932 | wxPyEndAllowThreads(__tstate); | |
2933 | if (PyErr_Occurred()) SWIG_fail; | |
2934 | } | |
2935 | Py_INCREF(Py_None); resultobj = Py_None; | |
2936 | return resultobj; | |
2937 | fail: | |
2938 | return NULL; | |
2939 | } | |
2940 | ||
2941 | ||
c32bde28 | 2942 | static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2943 | PyObject *resultobj; |
2944 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2945 | bool result; | |
2946 | PyObject * obj0 = 0 ; | |
2947 | char *kwnames[] = { | |
2948 | (char *) "self", NULL | |
2949 | }; | |
2950 | ||
2951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2954 | { |
2955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2956 | result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized(); | |
2957 | ||
2958 | wxPyEndAllowThreads(__tstate); | |
2959 | if (PyErr_Occurred()) SWIG_fail; | |
2960 | } | |
4f89f6a3 RD |
2961 | { |
2962 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2963 | } | |
d14a1e28 RD |
2964 | return resultobj; |
2965 | fail: | |
2966 | return NULL; | |
2967 | } | |
2968 | ||
2969 | ||
c32bde28 | 2970 | static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2971 | PyObject *resultobj; |
2972 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
2973 | bool result; | |
2974 | PyObject * obj0 = 0 ; | |
2975 | char *kwnames[] = { | |
2976 | (char *) "self", NULL | |
2977 | }; | |
2978 | ||
2979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
2980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
2981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
2982 | { |
2983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2984 | result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized(); | |
2985 | ||
2986 | wxPyEndAllowThreads(__tstate); | |
2987 | if (PyErr_Occurred()) SWIG_fail; | |
2988 | } | |
4f89f6a3 RD |
2989 | { |
2990 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2991 | } | |
d14a1e28 RD |
2992 | return resultobj; |
2993 | fail: | |
2994 | return NULL; | |
2995 | } | |
2996 | ||
2997 | ||
c32bde28 | 2998 | static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
2999 | PyObject *resultobj; |
3000 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3001 | wxIcon result; | |
3002 | PyObject * obj0 = 0 ; | |
3003 | char *kwnames[] = { | |
3004 | (char *) "self", NULL | |
3005 | }; | |
3006 | ||
3007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3010 | { |
3011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3012 | result = ((wxTopLevelWindow const *)arg1)->GetIcon(); | |
3013 | ||
3014 | wxPyEndAllowThreads(__tstate); | |
3015 | if (PyErr_Occurred()) SWIG_fail; | |
3016 | } | |
3017 | { | |
3018 | wxIcon * resultptr; | |
3019 | resultptr = new wxIcon((wxIcon &) result); | |
15afbcd0 | 3020 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
d14a1e28 RD |
3021 | } |
3022 | return resultobj; | |
3023 | fail: | |
3024 | return NULL; | |
3025 | } | |
3026 | ||
3027 | ||
c32bde28 | 3028 | static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3029 | PyObject *resultobj; |
3030 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3031 | wxIcon *arg2 = 0 ; | |
3032 | PyObject * obj0 = 0 ; | |
3033 | PyObject * obj1 = 0 ; | |
3034 | char *kwnames[] = { | |
3035 | (char *) "self",(char *) "icon", NULL | |
3036 | }; | |
3037 | ||
3038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3039 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3040 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3041 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
3042 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3043 | SWIG_fail; | |
d14a1e28 | 3044 | if (arg2 == NULL) { |
15afbcd0 RD |
3045 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3046 | SWIG_fail; | |
d14a1e28 RD |
3047 | } |
3048 | { | |
3049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3050 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
3051 | ||
3052 | wxPyEndAllowThreads(__tstate); | |
3053 | if (PyErr_Occurred()) SWIG_fail; | |
3054 | } | |
3055 | Py_INCREF(Py_None); resultobj = Py_None; | |
3056 | return resultobj; | |
3057 | fail: | |
3058 | return NULL; | |
3059 | } | |
3060 | ||
3061 | ||
c32bde28 | 3062 | static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3063 | PyObject *resultobj; |
3064 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3065 | wxIconBundle *arg2 = 0 ; | |
3066 | PyObject * obj0 = 0 ; | |
3067 | PyObject * obj1 = 0 ; | |
3068 | char *kwnames[] = { | |
3069 | (char *) "self",(char *) "icons", NULL | |
3070 | }; | |
3071 | ||
3072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3073 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3075 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIconBundle, | |
3076 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3077 | SWIG_fail; | |
d14a1e28 | 3078 | if (arg2 == NULL) { |
15afbcd0 RD |
3079 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3080 | SWIG_fail; | |
d14a1e28 RD |
3081 | } |
3082 | { | |
3083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3084 | (arg1)->SetIcons((wxIconBundle const &)*arg2); | |
3085 | ||
3086 | wxPyEndAllowThreads(__tstate); | |
3087 | if (PyErr_Occurred()) SWIG_fail; | |
3088 | } | |
3089 | Py_INCREF(Py_None); resultobj = Py_None; | |
3090 | return resultobj; | |
3091 | fail: | |
3092 | return NULL; | |
3093 | } | |
3094 | ||
3095 | ||
c32bde28 | 3096 | static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3097 | PyObject *resultobj; |
3098 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3099 | bool arg2 ; | |
3100 | long arg3 = (long) wxFULLSCREEN_ALL ; | |
3101 | bool result; | |
3102 | PyObject * obj0 = 0 ; | |
3103 | PyObject * obj1 = 0 ; | |
994141e6 | 3104 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3105 | char *kwnames[] = { |
3106 | (char *) "self",(char *) "show",(char *) "style", NULL | |
3107 | }; | |
3108 | ||
994141e6 | 3109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3110 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3111 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3112 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 3113 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3114 | if (obj2) { |
c32bde28 | 3115 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 3116 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3117 | } |
d14a1e28 RD |
3118 | { |
3119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3120 | result = (bool)(arg1)->ShowFullScreen(arg2,arg3); | |
3121 | ||
3122 | wxPyEndAllowThreads(__tstate); | |
3123 | if (PyErr_Occurred()) SWIG_fail; | |
3124 | } | |
4f89f6a3 RD |
3125 | { |
3126 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3127 | } | |
d14a1e28 RD |
3128 | return resultobj; |
3129 | fail: | |
3130 | return NULL; | |
3131 | } | |
3132 | ||
3133 | ||
c32bde28 | 3134 | static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3135 | PyObject *resultobj; |
3136 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3137 | bool result; | |
3138 | PyObject * obj0 = 0 ; | |
3139 | char *kwnames[] = { | |
3140 | (char *) "self", NULL | |
3141 | }; | |
3142 | ||
3143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3146 | { |
3147 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3148 | result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen(); | |
3149 | ||
3150 | wxPyEndAllowThreads(__tstate); | |
3151 | if (PyErr_Occurred()) SWIG_fail; | |
3152 | } | |
4f89f6a3 RD |
3153 | { |
3154 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3155 | } | |
d14a1e28 RD |
3156 | return resultobj; |
3157 | fail: | |
3158 | return NULL; | |
3159 | } | |
3160 | ||
3161 | ||
c32bde28 | 3162 | static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3163 | PyObject *resultobj; |
3164 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3165 | wxString *arg2 = 0 ; | |
ae8162c8 | 3166 | bool temp2 = false ; |
d14a1e28 RD |
3167 | PyObject * obj0 = 0 ; |
3168 | PyObject * obj1 = 0 ; | |
3169 | char *kwnames[] = { | |
3170 | (char *) "self",(char *) "title", NULL | |
3171 | }; | |
3172 | ||
3173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3176 | { |
3177 | arg2 = wxString_in_helper(obj1); | |
3178 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3179 | temp2 = true; |
d14a1e28 RD |
3180 | } |
3181 | { | |
3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3183 | (arg1)->SetTitle((wxString const &)*arg2); | |
3184 | ||
3185 | wxPyEndAllowThreads(__tstate); | |
3186 | if (PyErr_Occurred()) SWIG_fail; | |
3187 | } | |
3188 | Py_INCREF(Py_None); resultobj = Py_None; | |
3189 | { | |
3190 | if (temp2) | |
3191 | delete arg2; | |
3192 | } | |
3193 | return resultobj; | |
3194 | fail: | |
3195 | { | |
3196 | if (temp2) | |
3197 | delete arg2; | |
3198 | } | |
3199 | return NULL; | |
3200 | } | |
3201 | ||
3202 | ||
c32bde28 | 3203 | static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3204 | PyObject *resultobj; |
3205 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3206 | wxString result; | |
3207 | PyObject * obj0 = 0 ; | |
3208 | char *kwnames[] = { | |
3209 | (char *) "self", NULL | |
3210 | }; | |
3211 | ||
3212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3215 | { |
3216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3217 | result = ((wxTopLevelWindow const *)arg1)->GetTitle(); | |
3218 | ||
3219 | wxPyEndAllowThreads(__tstate); | |
3220 | if (PyErr_Occurred()) SWIG_fail; | |
3221 | } | |
3222 | { | |
3223 | #if wxUSE_UNICODE | |
3224 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3225 | #else | |
3226 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3227 | #endif | |
3228 | } | |
3229 | return resultobj; | |
3230 | fail: | |
3231 | return NULL; | |
3232 | } | |
3233 | ||
3234 | ||
c32bde28 | 3235 | static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3236 | PyObject *resultobj; |
3237 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3238 | wxRegion *arg2 = 0 ; | |
3239 | bool result; | |
3240 | PyObject * obj0 = 0 ; | |
3241 | PyObject * obj1 = 0 ; | |
3242 | char *kwnames[] = { | |
3243 | (char *) "self",(char *) "region", NULL | |
3244 | }; | |
3245 | ||
3246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, |
3248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3249 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRegion, | |
3250 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3251 | SWIG_fail; | |
d14a1e28 | 3252 | if (arg2 == NULL) { |
15afbcd0 RD |
3253 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3254 | SWIG_fail; | |
d14a1e28 RD |
3255 | } |
3256 | { | |
3257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3258 | result = (bool)(arg1)->SetShape((wxRegion const &)*arg2); | |
3259 | ||
3260 | wxPyEndAllowThreads(__tstate); | |
3261 | if (PyErr_Occurred()) SWIG_fail; | |
3262 | } | |
4f89f6a3 RD |
3263 | { |
3264 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3265 | } | |
d14a1e28 RD |
3266 | return resultobj; |
3267 | fail: | |
3268 | return NULL; | |
3269 | } | |
3270 | ||
3271 | ||
c32bde28 RD |
3272 | static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) { |
3273 | PyObject *resultobj; | |
3274 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3275 | int arg2 = (int) wxUSER_ATTENTION_INFO ; | |
3276 | PyObject * obj0 = 0 ; | |
3277 | PyObject * obj1 = 0 ; | |
3278 | char *kwnames[] = { | |
3279 | (char *) "self",(char *) "flags", NULL | |
3280 | }; | |
3281 | ||
3282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail; | |
3283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3285 | if (obj1) { | |
3286 | arg2 = (int)SWIG_As_int(obj1); | |
3287 | if (PyErr_Occurred()) SWIG_fail; | |
3288 | } | |
3289 | { | |
3290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3291 | (arg1)->RequestUserAttention(arg2); | |
3292 | ||
3293 | wxPyEndAllowThreads(__tstate); | |
3294 | if (PyErr_Occurred()) SWIG_fail; | |
3295 | } | |
3296 | Py_INCREF(Py_None); resultobj = Py_None; | |
3297 | return resultobj; | |
3298 | fail: | |
3299 | return NULL; | |
3300 | } | |
3301 | ||
3302 | ||
b6294124 RD |
3303 | static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) { |
3304 | PyObject *resultobj; | |
3305 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3306 | bool result; | |
3307 | PyObject * obj0 = 0 ; | |
3308 | char *kwnames[] = { | |
3309 | (char *) "self", NULL | |
3310 | }; | |
3311 | ||
3312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail; | |
3313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3315 | { | |
3316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3317 | result = (bool)(arg1)->IsActive(); | |
3318 | ||
3319 | wxPyEndAllowThreads(__tstate); | |
3320 | if (PyErr_Occurred()) SWIG_fail; | |
3321 | } | |
3322 | { | |
3323 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3324 | } | |
3325 | return resultobj; | |
3326 | fail: | |
3327 | return NULL; | |
3328 | } | |
3329 | ||
3330 | ||
84f85550 RD |
3331 | static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { |
3332 | PyObject *resultobj; | |
3333 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3334 | bool arg2 ; | |
3335 | PyObject * obj0 = 0 ; | |
3336 | PyObject * obj1 = 0 ; | |
3337 | char *kwnames[] = { | |
3338 | (char *) "self",(char *) "on", NULL | |
3339 | }; | |
3340 | ||
3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail; | |
3342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3344 | arg2 = (bool)SWIG_As_bool(obj1); | |
3345 | if (PyErr_Occurred()) SWIG_fail; | |
3346 | { | |
3347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3348 | wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2); | |
3349 | ||
3350 | wxPyEndAllowThreads(__tstate); | |
3351 | if (PyErr_Occurred()) SWIG_fail; | |
3352 | } | |
3353 | Py_INCREF(Py_None); resultobj = Py_None; | |
3354 | return resultobj; | |
3355 | fail: | |
3356 | return NULL; | |
3357 | } | |
3358 | ||
3359 | ||
3360 | static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) { | |
3361 | PyObject *resultobj; | |
3362 | wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ; | |
3363 | bool result; | |
3364 | PyObject * obj0 = 0 ; | |
3365 | char *kwnames[] = { | |
3366 | (char *) "self", NULL | |
3367 | }; | |
3368 | ||
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail; | |
3370 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTopLevelWindow, | |
3371 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3372 | { | |
3373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3374 | result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1); | |
3375 | ||
3376 | wxPyEndAllowThreads(__tstate); | |
3377 | if (PyErr_Occurred()) SWIG_fail; | |
3378 | } | |
3379 | { | |
3380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3381 | } | |
3382 | return resultobj; | |
3383 | fail: | |
3384 | return NULL; | |
3385 | } | |
3386 | ||
3387 | ||
c32bde28 | 3388 | static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
3389 | PyObject *obj; |
3390 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3391 | SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj); | |
3392 | Py_INCREF(obj); | |
3393 | return Py_BuildValue((char *)""); | |
3394 | } | |
c32bde28 | 3395 | static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3396 | PyObject *resultobj; |
3397 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
3398 | int arg2 = (int) (int)-1 ; |
3399 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3400 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
3401 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
3402 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3403 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3404 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3405 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
3406 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
3407 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3408 | wxFrame *result; | |
ae8162c8 | 3409 | bool temp3 = false ; |
d14a1e28 RD |
3410 | wxPoint temp4 ; |
3411 | wxSize temp5 ; | |
ae8162c8 | 3412 | bool temp7 = false ; |
d14a1e28 | 3413 | PyObject * obj0 = 0 ; |
994141e6 | 3414 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3415 | PyObject * obj2 = 0 ; |
3416 | PyObject * obj3 = 0 ; | |
3417 | PyObject * obj4 = 0 ; | |
994141e6 | 3418 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
3419 | PyObject * obj6 = 0 ; |
3420 | char *kwnames[] = { | |
3421 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3422 | }; | |
3423 | ||
248ed943 | 3424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
3425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
3426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 3427 | if (obj1) { |
c32bde28 | 3428 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
3429 | if (PyErr_Occurred()) SWIG_fail; |
3430 | } | |
3431 | if (obj2) { | |
3432 | { | |
3433 | arg3 = wxString_in_helper(obj2); | |
3434 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 3435 | temp3 = true; |
248ed943 | 3436 | } |
d14a1e28 RD |
3437 | } |
3438 | if (obj3) { | |
3439 | { | |
3440 | arg4 = &temp4; | |
3441 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3442 | } | |
3443 | } | |
3444 | if (obj4) { | |
3445 | { | |
3446 | arg5 = &temp5; | |
3447 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3448 | } | |
3449 | } | |
994141e6 | 3450 | if (obj5) { |
c32bde28 | 3451 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 3452 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3453 | } |
d14a1e28 RD |
3454 | if (obj6) { |
3455 | { | |
3456 | arg7 = wxString_in_helper(obj6); | |
3457 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 3458 | temp7 = true; |
d14a1e28 RD |
3459 | } |
3460 | } | |
3461 | { | |
e3b71cb8 | 3462 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3464 | result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3465 | ||
3466 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3467 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3468 | } |
b0f7404b | 3469 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
3470 | { |
3471 | if (temp3) | |
3472 | delete arg3; | |
3473 | } | |
3474 | { | |
3475 | if (temp7) | |
3476 | delete arg7; | |
3477 | } | |
3478 | return resultobj; | |
3479 | fail: | |
3480 | { | |
3481 | if (temp3) | |
3482 | delete arg3; | |
3483 | } | |
3484 | { | |
3485 | if (temp7) | |
3486 | delete arg7; | |
3487 | } | |
3488 | return NULL; | |
3489 | } | |
3490 | ||
3491 | ||
c32bde28 | 3492 | static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3493 | PyObject *resultobj; |
3494 | wxFrame *result; | |
3495 | char *kwnames[] = { | |
3496 | NULL | |
3497 | }; | |
3498 | ||
3499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail; | |
3500 | { | |
e3b71cb8 | 3501 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
3502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3503 | result = (wxFrame *)new wxFrame(); | |
3504 | ||
3505 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3506 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 3507 | } |
b0f7404b | 3508 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1); |
d14a1e28 RD |
3509 | return resultobj; |
3510 | fail: | |
3511 | return NULL; | |
3512 | } | |
3513 | ||
3514 | ||
c32bde28 | 3515 | static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3516 | PyObject *resultobj; |
3517 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3518 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
3519 | int arg3 = (int) (int)-1 ; |
3520 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
3521 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
3522 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
3523 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
3524 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
3525 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
3526 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
3527 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
3528 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
3529 | bool result; | |
ae8162c8 | 3530 | bool temp4 = false ; |
d14a1e28 RD |
3531 | wxPoint temp5 ; |
3532 | wxSize temp6 ; | |
ae8162c8 | 3533 | bool temp8 = false ; |
d14a1e28 RD |
3534 | PyObject * obj0 = 0 ; |
3535 | PyObject * obj1 = 0 ; | |
994141e6 | 3536 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3537 | PyObject * obj3 = 0 ; |
3538 | PyObject * obj4 = 0 ; | |
3539 | PyObject * obj5 = 0 ; | |
994141e6 | 3540 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
3541 | PyObject * obj7 = 0 ; |
3542 | char *kwnames[] = { | |
3543 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3544 | }; | |
3545 | ||
248ed943 | 3546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
3547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3549 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
3550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 3551 | if (obj2) { |
c32bde28 | 3552 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
3553 | if (PyErr_Occurred()) SWIG_fail; |
3554 | } | |
3555 | if (obj3) { | |
3556 | { | |
3557 | arg4 = wxString_in_helper(obj3); | |
3558 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 3559 | temp4 = true; |
248ed943 | 3560 | } |
d14a1e28 RD |
3561 | } |
3562 | if (obj4) { | |
3563 | { | |
3564 | arg5 = &temp5; | |
3565 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
3566 | } | |
3567 | } | |
3568 | if (obj5) { | |
3569 | { | |
3570 | arg6 = &temp6; | |
3571 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
3572 | } | |
3573 | } | |
994141e6 | 3574 | if (obj6) { |
c32bde28 | 3575 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 3576 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3577 | } |
d14a1e28 RD |
3578 | if (obj7) { |
3579 | { | |
3580 | arg8 = wxString_in_helper(obj7); | |
3581 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 3582 | temp8 = true; |
d14a1e28 RD |
3583 | } |
3584 | } | |
3585 | { | |
3586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3587 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
3588 | ||
3589 | wxPyEndAllowThreads(__tstate); | |
3590 | if (PyErr_Occurred()) SWIG_fail; | |
3591 | } | |
4f89f6a3 RD |
3592 | { |
3593 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3594 | } | |
d14a1e28 RD |
3595 | { |
3596 | if (temp4) | |
3597 | delete arg4; | |
3598 | } | |
3599 | { | |
3600 | if (temp8) | |
3601 | delete arg8; | |
3602 | } | |
3603 | return resultobj; | |
3604 | fail: | |
3605 | { | |
3606 | if (temp4) | |
3607 | delete arg4; | |
3608 | } | |
3609 | { | |
3610 | if (temp8) | |
3611 | delete arg8; | |
3612 | } | |
3613 | return NULL; | |
3614 | } | |
3615 | ||
3616 | ||
c32bde28 | 3617 | static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3618 | PyObject *resultobj; |
3619 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3620 | wxPoint result; | |
3621 | PyObject * obj0 = 0 ; | |
3622 | char *kwnames[] = { | |
3623 | (char *) "self", NULL | |
3624 | }; | |
3625 | ||
3626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3627 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3628 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3629 | { |
3630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3631 | result = ((wxFrame const *)arg1)->GetClientAreaOrigin(); | |
3632 | ||
3633 | wxPyEndAllowThreads(__tstate); | |
3634 | if (PyErr_Occurred()) SWIG_fail; | |
3635 | } | |
3636 | { | |
3637 | wxPoint * resultptr; | |
3638 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 3639 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
3640 | } |
3641 | return resultobj; | |
3642 | fail: | |
3643 | return NULL; | |
3644 | } | |
3645 | ||
3646 | ||
c32bde28 | 3647 | static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3648 | PyObject *resultobj; |
3649 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3650 | PyObject * obj0 = 0 ; | |
3651 | char *kwnames[] = { | |
3652 | (char *) "self", NULL | |
3653 | }; | |
3654 | ||
3655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3658 | { |
3659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3660 | (arg1)->SendSizeEvent(); | |
3661 | ||
3662 | wxPyEndAllowThreads(__tstate); | |
3663 | if (PyErr_Occurred()) SWIG_fail; | |
3664 | } | |
3665 | Py_INCREF(Py_None); resultobj = Py_None; | |
3666 | return resultobj; | |
3667 | fail: | |
3668 | return NULL; | |
3669 | } | |
3670 | ||
3671 | ||
c32bde28 | 3672 | static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3673 | PyObject *resultobj; |
3674 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3675 | wxMenuBar *arg2 = (wxMenuBar *) 0 ; | |
3676 | PyObject * obj0 = 0 ; | |
3677 | PyObject * obj1 = 0 ; | |
3678 | char *kwnames[] = { | |
3679 | (char *) "self",(char *) "menubar", NULL | |
3680 | }; | |
3681 | ||
3682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3685 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBar, | |
3686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3687 | { |
3688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3689 | (arg1)->SetMenuBar(arg2); | |
3690 | ||
3691 | wxPyEndAllowThreads(__tstate); | |
3692 | if (PyErr_Occurred()) SWIG_fail; | |
3693 | } | |
3694 | Py_INCREF(Py_None); resultobj = Py_None; | |
3695 | return resultobj; | |
3696 | fail: | |
3697 | return NULL; | |
3698 | } | |
3699 | ||
3700 | ||
c32bde28 | 3701 | static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3702 | PyObject *resultobj; |
3703 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3704 | wxMenuBar *result; | |
3705 | PyObject * obj0 = 0 ; | |
3706 | char *kwnames[] = { | |
3707 | (char *) "self", NULL | |
3708 | }; | |
3709 | ||
3710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3711 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3712 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3713 | { |
3714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3715 | result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar(); | |
3716 | ||
3717 | wxPyEndAllowThreads(__tstate); | |
3718 | if (PyErr_Occurred()) SWIG_fail; | |
3719 | } | |
3720 | { | |
412d302d | 3721 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3722 | } |
3723 | return resultobj; | |
3724 | fail: | |
3725 | return NULL; | |
3726 | } | |
3727 | ||
3728 | ||
c32bde28 | 3729 | static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3730 | PyObject *resultobj; |
3731 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3732 | int arg2 ; | |
3733 | bool result; | |
3734 | PyObject * obj0 = 0 ; | |
994141e6 | 3735 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
3736 | char *kwnames[] = { |
3737 | (char *) "self",(char *) "winid", NULL | |
3738 | }; | |
3739 | ||
994141e6 | 3740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
3741 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3742 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 3743 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3744 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
3745 | { |
3746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3747 | result = (bool)(arg1)->ProcessCommand(arg2); | |
3748 | ||
3749 | wxPyEndAllowThreads(__tstate); | |
3750 | if (PyErr_Occurred()) SWIG_fail; | |
3751 | } | |
4f89f6a3 RD |
3752 | { |
3753 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3754 | } | |
d14a1e28 RD |
3755 | return resultobj; |
3756 | fail: | |
3757 | return NULL; | |
3758 | } | |
3759 | ||
3760 | ||
c32bde28 | 3761 | static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3762 | PyObject *resultobj; |
3763 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3764 | int arg2 = (int) 1 ; | |
4276dc52 | 3765 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
e811c8ce | 3766 | int arg4 = (int) 0 ; |
d14a1e28 RD |
3767 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; |
3768 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
3769 | wxStatusBar *result; | |
ae8162c8 | 3770 | bool temp5 = false ; |
d14a1e28 | 3771 | PyObject * obj0 = 0 ; |
994141e6 RD |
3772 | PyObject * obj1 = 0 ; |
3773 | PyObject * obj2 = 0 ; | |
3774 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
3775 | PyObject * obj4 = 0 ; |
3776 | char *kwnames[] = { | |
3777 | (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL | |
3778 | }; | |
3779 | ||
994141e6 | 3780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
3781 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3782 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 3783 | if (obj1) { |
c32bde28 | 3784 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 3785 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
3786 | } |
3787 | if (obj2) { | |
c32bde28 | 3788 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 3789 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
3790 | } |
3791 | if (obj3) { | |
c32bde28 | 3792 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 3793 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3794 | } |
d14a1e28 RD |
3795 | if (obj4) { |
3796 | { | |
3797 | arg5 = wxString_in_helper(obj4); | |
3798 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 3799 | temp5 = true; |
d14a1e28 RD |
3800 | } |
3801 | } | |
3802 | { | |
3803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3804 | result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5); | |
3805 | ||
3806 | wxPyEndAllowThreads(__tstate); | |
3807 | if (PyErr_Occurred()) SWIG_fail; | |
3808 | } | |
3809 | { | |
412d302d | 3810 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3811 | } |
3812 | { | |
3813 | if (temp5) | |
3814 | delete arg5; | |
3815 | } | |
3816 | return resultobj; | |
3817 | fail: | |
3818 | { | |
3819 | if (temp5) | |
3820 | delete arg5; | |
3821 | } | |
3822 | return NULL; | |
3823 | } | |
3824 | ||
3825 | ||
c32bde28 | 3826 | static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3827 | PyObject *resultobj; |
3828 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3829 | wxStatusBar *result; | |
3830 | PyObject * obj0 = 0 ; | |
3831 | char *kwnames[] = { | |
3832 | (char *) "self", NULL | |
3833 | }; | |
3834 | ||
3835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
3836 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3837 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3838 | { |
3839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3840 | result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar(); | |
3841 | ||
3842 | wxPyEndAllowThreads(__tstate); | |
3843 | if (PyErr_Occurred()) SWIG_fail; | |
3844 | } | |
3845 | { | |
412d302d | 3846 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
3847 | } |
3848 | return resultobj; | |
3849 | fail: | |
3850 | return NULL; | |
3851 | } | |
3852 | ||
3853 | ||
c32bde28 | 3854 | static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3855 | PyObject *resultobj; |
3856 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3857 | wxStatusBar *arg2 = (wxStatusBar *) 0 ; | |
3858 | PyObject * obj0 = 0 ; | |
3859 | PyObject * obj1 = 0 ; | |
3860 | char *kwnames[] = { | |
3861 | (char *) "self",(char *) "statBar", NULL | |
3862 | }; | |
3863 | ||
3864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3865 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3866 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3867 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxStatusBar, | |
3868 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3869 | { |
3870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3871 | (arg1)->SetStatusBar(arg2); | |
3872 | ||
3873 | wxPyEndAllowThreads(__tstate); | |
3874 | if (PyErr_Occurred()) SWIG_fail; | |
3875 | } | |
3876 | Py_INCREF(Py_None); resultobj = Py_None; | |
3877 | return resultobj; | |
3878 | fail: | |
3879 | return NULL; | |
3880 | } | |
3881 | ||
3882 | ||
c32bde28 | 3883 | static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3884 | PyObject *resultobj; |
3885 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3886 | wxString *arg2 = 0 ; | |
3887 | int arg3 = (int) 0 ; | |
ae8162c8 | 3888 | bool temp2 = false ; |
d14a1e28 RD |
3889 | PyObject * obj0 = 0 ; |
3890 | PyObject * obj1 = 0 ; | |
994141e6 | 3891 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3892 | char *kwnames[] = { |
3893 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3894 | }; | |
3895 | ||
994141e6 | 3896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3897 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3898 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3899 | { |
3900 | arg2 = wxString_in_helper(obj1); | |
3901 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3902 | temp2 = true; |
d14a1e28 | 3903 | } |
994141e6 | 3904 | if (obj2) { |
c32bde28 | 3905 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3906 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3907 | } |
d14a1e28 RD |
3908 | { |
3909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3910 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
3911 | ||
3912 | wxPyEndAllowThreads(__tstate); | |
3913 | if (PyErr_Occurred()) SWIG_fail; | |
3914 | } | |
3915 | Py_INCREF(Py_None); resultobj = Py_None; | |
3916 | { | |
3917 | if (temp2) | |
3918 | delete arg2; | |
3919 | } | |
3920 | return resultobj; | |
3921 | fail: | |
3922 | { | |
3923 | if (temp2) | |
3924 | delete arg2; | |
3925 | } | |
3926 | return NULL; | |
3927 | } | |
3928 | ||
3929 | ||
c32bde28 | 3930 | static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3931 | PyObject *resultobj; |
3932 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3933 | int arg2 ; | |
3934 | int *arg3 = (int *) 0 ; | |
3935 | PyObject * obj0 = 0 ; | |
3936 | PyObject * obj1 = 0 ; | |
3937 | char *kwnames[] = { | |
3938 | (char *) "self",(char *) "widths", NULL | |
3939 | }; | |
3940 | ||
3941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
3942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3944 | { |
3945 | arg2 = PyList_Size(obj1); | |
3946 | arg3 = int_LIST_helper(obj1); | |
3947 | if (arg3 == NULL) SWIG_fail; | |
3948 | } | |
3949 | { | |
3950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3951 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
3952 | ||
3953 | wxPyEndAllowThreads(__tstate); | |
3954 | if (PyErr_Occurred()) SWIG_fail; | |
3955 | } | |
3956 | Py_INCREF(Py_None); resultobj = Py_None; | |
3957 | { | |
3958 | if (arg3) delete [] arg3; | |
3959 | } | |
3960 | return resultobj; | |
3961 | fail: | |
3962 | { | |
3963 | if (arg3) delete [] arg3; | |
3964 | } | |
3965 | return NULL; | |
3966 | } | |
3967 | ||
3968 | ||
c32bde28 | 3969 | static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
3970 | PyObject *resultobj; |
3971 | wxFrame *arg1 = (wxFrame *) 0 ; | |
3972 | wxString *arg2 = 0 ; | |
3973 | int arg3 = (int) 0 ; | |
ae8162c8 | 3974 | bool temp2 = false ; |
d14a1e28 RD |
3975 | PyObject * obj0 = 0 ; |
3976 | PyObject * obj1 = 0 ; | |
994141e6 | 3977 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
3978 | char *kwnames[] = { |
3979 | (char *) "self",(char *) "text",(char *) "number", NULL | |
3980 | }; | |
3981 | ||
994141e6 | 3982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
3983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
3984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
3985 | { |
3986 | arg2 = wxString_in_helper(obj1); | |
3987 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3988 | temp2 = true; |
d14a1e28 | 3989 | } |
994141e6 | 3990 | if (obj2) { |
c32bde28 | 3991 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 3992 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 3993 | } |
d14a1e28 RD |
3994 | { |
3995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3996 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
3997 | ||
3998 | wxPyEndAllowThreads(__tstate); | |
3999 | if (PyErr_Occurred()) SWIG_fail; | |
4000 | } | |
4001 | Py_INCREF(Py_None); resultobj = Py_None; | |
4002 | { | |
4003 | if (temp2) | |
4004 | delete arg2; | |
4005 | } | |
4006 | return resultobj; | |
4007 | fail: | |
4008 | { | |
4009 | if (temp2) | |
4010 | delete arg2; | |
4011 | } | |
4012 | return NULL; | |
4013 | } | |
4014 | ||
4015 | ||
c32bde28 | 4016 | static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4017 | PyObject *resultobj; |
4018 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4019 | int arg2 = (int) 0 ; | |
4020 | PyObject * obj0 = 0 ; | |
994141e6 | 4021 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4022 | char *kwnames[] = { |
4023 | (char *) "self",(char *) "number", NULL | |
4024 | }; | |
4025 | ||
994141e6 | 4026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4027 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4028 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4029 | if (obj1) { |
c32bde28 | 4030 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4031 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4032 | } |
d14a1e28 RD |
4033 | { |
4034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4035 | (arg1)->PopStatusText(arg2); | |
4036 | ||
4037 | wxPyEndAllowThreads(__tstate); | |
4038 | if (PyErr_Occurred()) SWIG_fail; | |
4039 | } | |
4040 | Py_INCREF(Py_None); resultobj = Py_None; | |
4041 | return resultobj; | |
4042 | fail: | |
4043 | return NULL; | |
4044 | } | |
4045 | ||
4046 | ||
c32bde28 | 4047 | static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4048 | PyObject *resultobj; |
4049 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4050 | int arg2 ; | |
4051 | PyObject * obj0 = 0 ; | |
994141e6 | 4052 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4053 | char *kwnames[] = { |
4054 | (char *) "self",(char *) "n", NULL | |
4055 | }; | |
4056 | ||
994141e6 | 4057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4060 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4061 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4062 | { |
4063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4064 | (arg1)->SetStatusBarPane(arg2); | |
4065 | ||
4066 | wxPyEndAllowThreads(__tstate); | |
4067 | if (PyErr_Occurred()) SWIG_fail; | |
4068 | } | |
4069 | Py_INCREF(Py_None); resultobj = Py_None; | |
4070 | return resultobj; | |
4071 | fail: | |
4072 | return NULL; | |
4073 | } | |
4074 | ||
4075 | ||
c32bde28 | 4076 | static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4077 | PyObject *resultobj; |
4078 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4079 | int result; | |
4080 | PyObject * obj0 = 0 ; | |
4081 | char *kwnames[] = { | |
4082 | (char *) "self", NULL | |
4083 | }; | |
4084 | ||
4085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4088 | { |
4089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4090 | result = (int)((wxFrame const *)arg1)->GetStatusBarPane(); | |
4091 | ||
4092 | wxPyEndAllowThreads(__tstate); | |
4093 | if (PyErr_Occurred()) SWIG_fail; | |
4094 | } | |
c32bde28 | 4095 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4096 | return resultobj; |
4097 | fail: | |
4098 | return NULL; | |
4099 | } | |
4100 | ||
4101 | ||
c32bde28 | 4102 | static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4103 | PyObject *resultobj; |
4104 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4105 | long arg2 = (long) -1 ; | |
e811c8ce | 4106 | int arg3 = (int) -1 ; |
d14a1e28 RD |
4107 | wxString const &arg4_defvalue = wxPyToolBarNameStr ; |
4108 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
4109 | wxToolBar *result; | |
ae8162c8 | 4110 | bool temp4 = false ; |
d14a1e28 | 4111 | PyObject * obj0 = 0 ; |
994141e6 RD |
4112 | PyObject * obj1 = 0 ; |
4113 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
4114 | PyObject * obj3 = 0 ; |
4115 | char *kwnames[] = { | |
4116 | (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL | |
4117 | }; | |
4118 | ||
994141e6 | 4119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
4120 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4121 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 4122 | if (obj1) { |
c32bde28 | 4123 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 4124 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
4125 | } |
4126 | if (obj2) { | |
c32bde28 | 4127 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 4128 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4129 | } |
d14a1e28 RD |
4130 | if (obj3) { |
4131 | { | |
4132 | arg4 = wxString_in_helper(obj3); | |
4133 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4134 | temp4 = true; |
d14a1e28 RD |
4135 | } |
4136 | } | |
4137 | { | |
4138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4139 | result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4); | |
4140 | ||
4141 | wxPyEndAllowThreads(__tstate); | |
4142 | if (PyErr_Occurred()) SWIG_fail; | |
4143 | } | |
4144 | { | |
412d302d | 4145 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4146 | } |
4147 | { | |
4148 | if (temp4) | |
4149 | delete arg4; | |
4150 | } | |
4151 | return resultobj; | |
4152 | fail: | |
4153 | { | |
4154 | if (temp4) | |
4155 | delete arg4; | |
4156 | } | |
4157 | return NULL; | |
4158 | } | |
4159 | ||
4160 | ||
c32bde28 | 4161 | static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4162 | PyObject *resultobj; |
4163 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4164 | wxToolBar *result; | |
4165 | PyObject * obj0 = 0 ; | |
4166 | char *kwnames[] = { | |
4167 | (char *) "self", NULL | |
4168 | }; | |
4169 | ||
4170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4171 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4172 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4173 | { |
4174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4175 | result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar(); | |
4176 | ||
4177 | wxPyEndAllowThreads(__tstate); | |
4178 | if (PyErr_Occurred()) SWIG_fail; | |
4179 | } | |
4180 | { | |
412d302d | 4181 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
4182 | } |
4183 | return resultobj; | |
4184 | fail: | |
4185 | return NULL; | |
4186 | } | |
4187 | ||
4188 | ||
c32bde28 | 4189 | static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4190 | PyObject *resultobj; |
4191 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4192 | wxToolBar *arg2 = (wxToolBar *) 0 ; | |
4193 | PyObject * obj0 = 0 ; | |
4194 | PyObject * obj1 = 0 ; | |
4195 | char *kwnames[] = { | |
4196 | (char *) "self",(char *) "toolbar", NULL | |
4197 | }; | |
4198 | ||
4199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4202 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBar, | |
4203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4204 | { |
4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4206 | (arg1)->SetToolBar(arg2); | |
4207 | ||
4208 | wxPyEndAllowThreads(__tstate); | |
4209 | if (PyErr_Occurred()) SWIG_fail; | |
4210 | } | |
4211 | Py_INCREF(Py_None); resultobj = Py_None; | |
4212 | return resultobj; | |
4213 | fail: | |
4214 | return NULL; | |
4215 | } | |
4216 | ||
4217 | ||
c32bde28 | 4218 | static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4219 | PyObject *resultobj; |
4220 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4221 | wxString *arg2 = 0 ; | |
4222 | bool arg3 ; | |
ae8162c8 | 4223 | bool temp2 = false ; |
d14a1e28 RD |
4224 | PyObject * obj0 = 0 ; |
4225 | PyObject * obj1 = 0 ; | |
4226 | PyObject * obj2 = 0 ; | |
4227 | char *kwnames[] = { | |
4228 | (char *) "self",(char *) "text",(char *) "show", NULL | |
4229 | }; | |
4230 | ||
4231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
4232 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4233 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4234 | { |
4235 | arg2 = wxString_in_helper(obj1); | |
4236 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4237 | temp2 = true; |
d14a1e28 | 4238 | } |
c32bde28 | 4239 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 4240 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4241 | { |
4242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4243 | (arg1)->DoGiveHelp((wxString const &)*arg2,arg3); | |
4244 | ||
4245 | wxPyEndAllowThreads(__tstate); | |
4246 | if (PyErr_Occurred()) SWIG_fail; | |
4247 | } | |
4248 | Py_INCREF(Py_None); resultobj = Py_None; | |
4249 | { | |
4250 | if (temp2) | |
4251 | delete arg2; | |
4252 | } | |
4253 | return resultobj; | |
4254 | fail: | |
4255 | { | |
4256 | if (temp2) | |
4257 | delete arg2; | |
4258 | } | |
4259 | return NULL; | |
4260 | } | |
4261 | ||
4262 | ||
c32bde28 | 4263 | static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4264 | PyObject *resultobj; |
4265 | wxFrame *arg1 = (wxFrame *) 0 ; | |
4266 | wxMenu *arg2 = (wxMenu *) NULL ; | |
4267 | PyObject * obj0 = 0 ; | |
4268 | PyObject * obj1 = 0 ; | |
4269 | char *kwnames[] = { | |
4270 | (char *) "self",(char *) "menu", NULL | |
4271 | }; | |
4272 | ||
4273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4274 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame, |
4275 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 4276 | if (obj1) { |
15afbcd0 RD |
4277 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, |
4278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4279 | } |
4280 | { | |
4281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4282 | (arg1)->DoMenuUpdates(arg2); | |
4283 | ||
4284 | wxPyEndAllowThreads(__tstate); | |
4285 | if (PyErr_Occurred()) SWIG_fail; | |
4286 | } | |
4287 | Py_INCREF(Py_None); resultobj = Py_None; | |
4288 | return resultobj; | |
4289 | fail: | |
4290 | return NULL; | |
4291 | } | |
4292 | ||
4293 | ||
c32bde28 | 4294 | static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
4295 | PyObject *resultobj; |
4296 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4297 | wxVisualAttributes result; | |
4298 | PyObject * obj0 = 0 ; | |
4299 | char *kwnames[] = { | |
4300 | (char *) "variant", NULL | |
4301 | }; | |
4302 | ||
4303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4304 | if (obj0) { | |
c32bde28 | 4305 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
4306 | if (PyErr_Occurred()) SWIG_fail; |
4307 | } | |
4308 | { | |
e3b71cb8 | 4309 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4310 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4311 | result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4312 | ||
4313 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4314 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4315 | } |
4316 | { | |
4317 | wxVisualAttributes * resultptr; | |
4318 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4319 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4320 | } | |
4321 | return resultobj; | |
4322 | fail: | |
4323 | return NULL; | |
4324 | } | |
4325 | ||
4326 | ||
c32bde28 | 4327 | static PyObject * Frame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4328 | PyObject *obj; |
4329 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4330 | SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj); | |
4331 | Py_INCREF(obj); | |
4332 | return Py_BuildValue((char *)""); | |
4333 | } | |
c32bde28 | 4334 | static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4335 | PyObject *resultobj; |
4336 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4337 | int arg2 = (int) (int)-1 ; |
4338 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4339 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4340 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4341 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4342 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4343 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4344 | long arg6 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4345 | wxString const &arg7_defvalue = wxPyDialogNameStr ; | |
4346 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4347 | wxDialog *result; | |
ae8162c8 | 4348 | bool temp3 = false ; |
d14a1e28 RD |
4349 | wxPoint temp4 ; |
4350 | wxSize temp5 ; | |
ae8162c8 | 4351 | bool temp7 = false ; |
d14a1e28 | 4352 | PyObject * obj0 = 0 ; |
994141e6 | 4353 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4354 | PyObject * obj2 = 0 ; |
4355 | PyObject * obj3 = 0 ; | |
4356 | PyObject * obj4 = 0 ; | |
994141e6 | 4357 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4358 | PyObject * obj6 = 0 ; |
4359 | char *kwnames[] = { | |
4360 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4361 | }; | |
4362 | ||
248ed943 | 4363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4366 | if (obj1) { |
c32bde28 | 4367 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
4368 | if (PyErr_Occurred()) SWIG_fail; |
4369 | } | |
4370 | if (obj2) { | |
4371 | { | |
4372 | arg3 = wxString_in_helper(obj2); | |
4373 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4374 | temp3 = true; |
248ed943 | 4375 | } |
d14a1e28 RD |
4376 | } |
4377 | if (obj3) { | |
4378 | { | |
4379 | arg4 = &temp4; | |
4380 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4381 | } | |
4382 | } | |
4383 | if (obj4) { | |
4384 | { | |
4385 | arg5 = &temp5; | |
4386 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4387 | } | |
4388 | } | |
994141e6 | 4389 | if (obj5) { |
c32bde28 | 4390 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 4391 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4392 | } |
d14a1e28 RD |
4393 | if (obj6) { |
4394 | { | |
4395 | arg7 = wxString_in_helper(obj6); | |
4396 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4397 | temp7 = true; |
d14a1e28 RD |
4398 | } |
4399 | } | |
4400 | { | |
e3b71cb8 | 4401 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4403 | result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4404 | ||
4405 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4406 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4407 | } |
b0f7404b | 4408 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
4409 | { |
4410 | if (temp3) | |
4411 | delete arg3; | |
4412 | } | |
4413 | { | |
4414 | if (temp7) | |
4415 | delete arg7; | |
4416 | } | |
4417 | return resultobj; | |
4418 | fail: | |
4419 | { | |
4420 | if (temp3) | |
4421 | delete arg3; | |
4422 | } | |
4423 | { | |
4424 | if (temp7) | |
4425 | delete arg7; | |
4426 | } | |
4427 | return NULL; | |
4428 | } | |
4429 | ||
4430 | ||
c32bde28 | 4431 | static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4432 | PyObject *resultobj; |
4433 | wxDialog *result; | |
4434 | char *kwnames[] = { | |
4435 | NULL | |
4436 | }; | |
4437 | ||
4438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail; | |
4439 | { | |
e3b71cb8 | 4440 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4442 | result = (wxDialog *)new wxDialog(); | |
4443 | ||
4444 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4445 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4446 | } |
b0f7404b | 4447 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1); |
d14a1e28 RD |
4448 | return resultobj; |
4449 | fail: | |
4450 | return NULL; | |
4451 | } | |
4452 | ||
4453 | ||
c32bde28 | 4454 | static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4455 | PyObject *resultobj; |
4456 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4457 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4458 | int arg3 = (int) (int)-1 ; |
4459 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4460 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4461 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4462 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4463 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4464 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4465 | long arg7 = (long) wxDEFAULT_DIALOG_STYLE ; | |
4466 | wxString const &arg8_defvalue = wxPyDialogNameStr ; | |
4467 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4468 | bool result; | |
ae8162c8 | 4469 | bool temp4 = false ; |
d14a1e28 RD |
4470 | wxPoint temp5 ; |
4471 | wxSize temp6 ; | |
ae8162c8 | 4472 | bool temp8 = false ; |
d14a1e28 RD |
4473 | PyObject * obj0 = 0 ; |
4474 | PyObject * obj1 = 0 ; | |
994141e6 | 4475 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4476 | PyObject * obj3 = 0 ; |
4477 | PyObject * obj4 = 0 ; | |
4478 | PyObject * obj5 = 0 ; | |
994141e6 | 4479 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4480 | PyObject * obj7 = 0 ; |
4481 | char *kwnames[] = { | |
4482 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4483 | }; | |
4484 | ||
248ed943 | 4485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4488 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4489 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4490 | if (obj2) { |
c32bde28 | 4491 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
4492 | if (PyErr_Occurred()) SWIG_fail; |
4493 | } | |
4494 | if (obj3) { | |
4495 | { | |
4496 | arg4 = wxString_in_helper(obj3); | |
4497 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4498 | temp4 = true; |
248ed943 | 4499 | } |
d14a1e28 RD |
4500 | } |
4501 | if (obj4) { | |
4502 | { | |
4503 | arg5 = &temp5; | |
4504 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4505 | } | |
4506 | } | |
4507 | if (obj5) { | |
4508 | { | |
4509 | arg6 = &temp6; | |
4510 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4511 | } | |
4512 | } | |
994141e6 | 4513 | if (obj6) { |
c32bde28 | 4514 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 4515 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4516 | } |
d14a1e28 RD |
4517 | if (obj7) { |
4518 | { | |
4519 | arg8 = wxString_in_helper(obj7); | |
4520 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4521 | temp8 = true; |
d14a1e28 RD |
4522 | } |
4523 | } | |
4524 | { | |
4525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4526 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
4527 | ||
4528 | wxPyEndAllowThreads(__tstate); | |
4529 | if (PyErr_Occurred()) SWIG_fail; | |
4530 | } | |
4f89f6a3 RD |
4531 | { |
4532 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4533 | } | |
d14a1e28 RD |
4534 | { |
4535 | if (temp4) | |
4536 | delete arg4; | |
4537 | } | |
4538 | { | |
4539 | if (temp8) | |
4540 | delete arg8; | |
4541 | } | |
4542 | return resultobj; | |
4543 | fail: | |
4544 | { | |
4545 | if (temp4) | |
4546 | delete arg4; | |
4547 | } | |
4548 | { | |
4549 | if (temp8) | |
4550 | delete arg8; | |
4551 | } | |
4552 | return NULL; | |
4553 | } | |
4554 | ||
4555 | ||
c32bde28 | 4556 | static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4557 | PyObject *resultobj; |
4558 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4559 | int arg2 ; | |
4560 | PyObject * obj0 = 0 ; | |
994141e6 | 4561 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4562 | char *kwnames[] = { |
4563 | (char *) "self",(char *) "returnCode", NULL | |
4564 | }; | |
4565 | ||
994141e6 | 4566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4567 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4568 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4569 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4570 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4571 | { |
4572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4573 | (arg1)->SetReturnCode(arg2); | |
4574 | ||
4575 | wxPyEndAllowThreads(__tstate); | |
4576 | if (PyErr_Occurred()) SWIG_fail; | |
4577 | } | |
4578 | Py_INCREF(Py_None); resultobj = Py_None; | |
4579 | return resultobj; | |
4580 | fail: | |
4581 | return NULL; | |
4582 | } | |
4583 | ||
4584 | ||
c32bde28 | 4585 | static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4586 | PyObject *resultobj; |
4587 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4588 | int result; | |
4589 | PyObject * obj0 = 0 ; | |
4590 | char *kwnames[] = { | |
4591 | (char *) "self", NULL | |
4592 | }; | |
4593 | ||
4594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4595 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4596 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4597 | { |
4598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4599 | result = (int)((wxDialog const *)arg1)->GetReturnCode(); | |
4600 | ||
4601 | wxPyEndAllowThreads(__tstate); | |
4602 | if (PyErr_Occurred()) SWIG_fail; | |
4603 | } | |
c32bde28 | 4604 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4605 | return resultobj; |
4606 | fail: | |
4607 | return NULL; | |
4608 | } | |
4609 | ||
4610 | ||
c32bde28 | 4611 | static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4612 | PyObject *resultobj; |
4613 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4614 | wxString *arg2 = 0 ; | |
4615 | wxSizer *result; | |
ae8162c8 | 4616 | bool temp2 = false ; |
d14a1e28 RD |
4617 | PyObject * obj0 = 0 ; |
4618 | PyObject * obj1 = 0 ; | |
4619 | char *kwnames[] = { | |
4620 | (char *) "self",(char *) "message", NULL | |
4621 | }; | |
4622 | ||
4623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
4624 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4625 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4626 | { |
4627 | arg2 = wxString_in_helper(obj1); | |
4628 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4629 | temp2 = true; |
d14a1e28 RD |
4630 | } |
4631 | { | |
4632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4633 | result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2); | |
4634 | ||
4635 | wxPyEndAllowThreads(__tstate); | |
4636 | if (PyErr_Occurred()) SWIG_fail; | |
4637 | } | |
4638 | { | |
412d302d | 4639 | resultobj = wxPyMake_wxSizer(result, 0); |
d14a1e28 RD |
4640 | } |
4641 | { | |
4642 | if (temp2) | |
4643 | delete arg2; | |
4644 | } | |
4645 | return resultobj; | |
4646 | fail: | |
4647 | { | |
4648 | if (temp2) | |
4649 | delete arg2; | |
4650 | } | |
4651 | return NULL; | |
4652 | } | |
4653 | ||
4654 | ||
c32bde28 | 4655 | static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4656 | PyObject *resultobj; |
4657 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4658 | long arg2 ; | |
4659 | wxSizer *result; | |
4660 | PyObject * obj0 = 0 ; | |
994141e6 | 4661 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4662 | char *kwnames[] = { |
4663 | (char *) "self",(char *) "flags", NULL | |
4664 | }; | |
4665 | ||
994141e6 | 4666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4667 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4669 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 4670 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4671 | { |
4672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4673 | result = (wxSizer *)(arg1)->CreateButtonSizer(arg2); | |
4674 | ||
4675 | wxPyEndAllowThreads(__tstate); | |
4676 | if (PyErr_Occurred()) SWIG_fail; | |
4677 | } | |
4678 | { | |
412d302d | 4679 | resultobj = wxPyMake_wxSizer(result, 0); |
d14a1e28 RD |
4680 | } |
4681 | return resultobj; | |
4682 | fail: | |
4683 | return NULL; | |
4684 | } | |
4685 | ||
4686 | ||
c32bde28 | 4687 | static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4688 | PyObject *resultobj; |
4689 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4690 | bool result; | |
4691 | PyObject * obj0 = 0 ; | |
4692 | char *kwnames[] = { | |
4693 | (char *) "self", NULL | |
4694 | }; | |
4695 | ||
4696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4699 | { |
4700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4701 | result = (bool)((wxDialog const *)arg1)->IsModal(); | |
4702 | ||
4703 | wxPyEndAllowThreads(__tstate); | |
4704 | if (PyErr_Occurred()) SWIG_fail; | |
4705 | } | |
4f89f6a3 RD |
4706 | { |
4707 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4708 | } | |
d14a1e28 RD |
4709 | return resultobj; |
4710 | fail: | |
4711 | return NULL; | |
4712 | } | |
4713 | ||
4714 | ||
c32bde28 | 4715 | static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4716 | PyObject *resultobj; |
4717 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4718 | int result; | |
4719 | PyObject * obj0 = 0 ; | |
4720 | char *kwnames[] = { | |
4721 | (char *) "self", NULL | |
4722 | }; | |
4723 | ||
4724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
4725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
4727 | { |
4728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4729 | result = (int)(arg1)->ShowModal(); | |
4730 | ||
4731 | wxPyEndAllowThreads(__tstate); | |
4732 | if (PyErr_Occurred()) SWIG_fail; | |
4733 | } | |
c32bde28 | 4734 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
4735 | return resultobj; |
4736 | fail: | |
4737 | return NULL; | |
4738 | } | |
4739 | ||
4740 | ||
c32bde28 | 4741 | static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4742 | PyObject *resultobj; |
4743 | wxDialog *arg1 = (wxDialog *) 0 ; | |
4744 | int arg2 ; | |
4745 | PyObject * obj0 = 0 ; | |
994141e6 | 4746 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4747 | char *kwnames[] = { |
4748 | (char *) "self",(char *) "retCode", NULL | |
4749 | }; | |
4750 | ||
994141e6 | 4751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
4752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDialog, |
4753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 4754 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 4755 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
4756 | { |
4757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4758 | (arg1)->EndModal(arg2); | |
4759 | ||
4760 | wxPyEndAllowThreads(__tstate); | |
4761 | if (PyErr_Occurred()) SWIG_fail; | |
4762 | } | |
4763 | Py_INCREF(Py_None); resultobj = Py_None; | |
4764 | return resultobj; | |
4765 | fail: | |
4766 | return NULL; | |
4767 | } | |
4768 | ||
4769 | ||
c32bde28 | 4770 | static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
4771 | PyObject *resultobj; |
4772 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
4773 | wxVisualAttributes result; | |
4774 | PyObject * obj0 = 0 ; | |
4775 | char *kwnames[] = { | |
4776 | (char *) "variant", NULL | |
4777 | }; | |
4778 | ||
4779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
4780 | if (obj0) { | |
c32bde28 | 4781 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
4782 | if (PyErr_Occurred()) SWIG_fail; |
4783 | } | |
4784 | { | |
e3b71cb8 | 4785 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
4786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4787 | result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
4788 | ||
4789 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4790 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
4791 | } |
4792 | { | |
4793 | wxVisualAttributes * resultptr; | |
4794 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
4795 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
4796 | } | |
4797 | return resultobj; | |
4798 | fail: | |
4799 | return NULL; | |
4800 | } | |
4801 | ||
4802 | ||
c32bde28 | 4803 | static PyObject * Dialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
4804 | PyObject *obj; |
4805 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4806 | SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj); | |
4807 | Py_INCREF(obj); | |
4808 | return Py_BuildValue((char *)""); | |
4809 | } | |
c32bde28 | 4810 | static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4811 | PyObject *resultobj; |
4812 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
4813 | int arg2 = (int) (int)-1 ; |
4814 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
4815 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
4816 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
4817 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4818 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4819 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4820 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
4821 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
4822 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4823 | wxMiniFrame *result; | |
ae8162c8 | 4824 | bool temp3 = false ; |
d14a1e28 RD |
4825 | wxPoint temp4 ; |
4826 | wxSize temp5 ; | |
ae8162c8 | 4827 | bool temp7 = false ; |
d14a1e28 | 4828 | PyObject * obj0 = 0 ; |
994141e6 | 4829 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
4830 | PyObject * obj2 = 0 ; |
4831 | PyObject * obj3 = 0 ; | |
4832 | PyObject * obj4 = 0 ; | |
994141e6 | 4833 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
4834 | PyObject * obj6 = 0 ; |
4835 | char *kwnames[] = { | |
4836 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4837 | }; | |
4838 | ||
248ed943 | 4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
4840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
4841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4842 | if (obj1) { |
c32bde28 | 4843 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
4844 | if (PyErr_Occurred()) SWIG_fail; |
4845 | } | |
4846 | if (obj2) { | |
4847 | { | |
4848 | arg3 = wxString_in_helper(obj2); | |
4849 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 4850 | temp3 = true; |
248ed943 | 4851 | } |
d14a1e28 RD |
4852 | } |
4853 | if (obj3) { | |
4854 | { | |
4855 | arg4 = &temp4; | |
4856 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4857 | } | |
4858 | } | |
4859 | if (obj4) { | |
4860 | { | |
4861 | arg5 = &temp5; | |
4862 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4863 | } | |
4864 | } | |
994141e6 | 4865 | if (obj5) { |
c32bde28 | 4866 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 4867 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4868 | } |
d14a1e28 RD |
4869 | if (obj6) { |
4870 | { | |
4871 | arg7 = wxString_in_helper(obj6); | |
4872 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4873 | temp7 = true; |
d14a1e28 RD |
4874 | } |
4875 | } | |
4876 | { | |
e3b71cb8 | 4877 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4879 | result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
4880 | ||
4881 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4882 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4883 | } |
15afbcd0 | 4884 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4885 | { |
4886 | if (temp3) | |
4887 | delete arg3; | |
4888 | } | |
4889 | { | |
4890 | if (temp7) | |
4891 | delete arg7; | |
4892 | } | |
4893 | return resultobj; | |
4894 | fail: | |
4895 | { | |
4896 | if (temp3) | |
4897 | delete arg3; | |
4898 | } | |
4899 | { | |
4900 | if (temp7) | |
4901 | delete arg7; | |
4902 | } | |
4903 | return NULL; | |
4904 | } | |
4905 | ||
4906 | ||
c32bde28 | 4907 | static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4908 | PyObject *resultobj; |
4909 | wxMiniFrame *result; | |
4910 | char *kwnames[] = { | |
4911 | NULL | |
4912 | }; | |
4913 | ||
4914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail; | |
4915 | { | |
e3b71cb8 | 4916 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
4917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4918 | result = (wxMiniFrame *)new wxMiniFrame(); | |
4919 | ||
4920 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4921 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 4922 | } |
15afbcd0 | 4923 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1); |
d14a1e28 RD |
4924 | return resultobj; |
4925 | fail: | |
4926 | return NULL; | |
4927 | } | |
4928 | ||
4929 | ||
c32bde28 | 4930 | static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
4931 | PyObject *resultobj; |
4932 | wxMiniFrame *arg1 = (wxMiniFrame *) 0 ; | |
4933 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
4934 | int arg3 = (int) (int)-1 ; |
4935 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
4936 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
4937 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
4938 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
4939 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
4940 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
4941 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
4942 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
4943 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4944 | bool result; | |
ae8162c8 | 4945 | bool temp4 = false ; |
d14a1e28 RD |
4946 | wxPoint temp5 ; |
4947 | wxSize temp6 ; | |
ae8162c8 | 4948 | bool temp8 = false ; |
d14a1e28 RD |
4949 | PyObject * obj0 = 0 ; |
4950 | PyObject * obj1 = 0 ; | |
994141e6 | 4951 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
4952 | PyObject * obj3 = 0 ; |
4953 | PyObject * obj4 = 0 ; | |
4954 | PyObject * obj5 = 0 ; | |
994141e6 | 4955 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
4956 | PyObject * obj7 = 0 ; |
4957 | char *kwnames[] = { | |
4958 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
4959 | }; | |
4960 | ||
248ed943 | 4961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
4962 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMiniFrame, |
4963 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4964 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
4965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 4966 | if (obj2) { |
c32bde28 | 4967 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
4968 | if (PyErr_Occurred()) SWIG_fail; |
4969 | } | |
4970 | if (obj3) { | |
4971 | { | |
4972 | arg4 = wxString_in_helper(obj3); | |
4973 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 4974 | temp4 = true; |
248ed943 | 4975 | } |
d14a1e28 RD |
4976 | } |
4977 | if (obj4) { | |
4978 | { | |
4979 | arg5 = &temp5; | |
4980 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
4981 | } | |
4982 | } | |
4983 | if (obj5) { | |
4984 | { | |
4985 | arg6 = &temp6; | |
4986 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
4987 | } | |
4988 | } | |
994141e6 | 4989 | if (obj6) { |
c32bde28 | 4990 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 4991 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 4992 | } |
d14a1e28 RD |
4993 | if (obj7) { |
4994 | { | |
4995 | arg8 = wxString_in_helper(obj7); | |
4996 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4997 | temp8 = true; |
d14a1e28 RD |
4998 | } |
4999 | } | |
5000 | { | |
5001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5002 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
5003 | ||
5004 | wxPyEndAllowThreads(__tstate); | |
5005 | if (PyErr_Occurred()) SWIG_fail; | |
5006 | } | |
4f89f6a3 RD |
5007 | { |
5008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5009 | } | |
d14a1e28 RD |
5010 | { |
5011 | if (temp4) | |
5012 | delete arg4; | |
5013 | } | |
5014 | { | |
5015 | if (temp8) | |
5016 | delete arg8; | |
5017 | } | |
5018 | return resultobj; | |
5019 | fail: | |
5020 | { | |
5021 | if (temp4) | |
5022 | delete arg4; | |
5023 | } | |
5024 | { | |
5025 | if (temp8) | |
5026 | delete arg8; | |
5027 | } | |
5028 | return NULL; | |
5029 | } | |
5030 | ||
5031 | ||
c32bde28 | 5032 | static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5033 | PyObject *obj; |
5034 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5035 | SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj); | |
5036 | Py_INCREF(obj); | |
5037 | return Py_BuildValue((char *)""); | |
5038 | } | |
c32bde28 | 5039 | static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5040 | PyObject *resultobj; |
5041 | wxBitmap *arg1 = 0 ; | |
5042 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 5043 | int arg3 ; |
d14a1e28 RD |
5044 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
5045 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5046 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5047 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5048 | long arg6 = (long) wxNO_BORDER ; | |
5049 | wxSplashScreenWindow *result; | |
5050 | wxPoint temp4 ; | |
5051 | wxSize temp5 ; | |
5052 | PyObject * obj0 = 0 ; | |
5053 | PyObject * obj1 = 0 ; | |
994141e6 | 5054 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5055 | PyObject * obj3 = 0 ; |
5056 | PyObject * obj4 = 0 ; | |
994141e6 | 5057 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
5058 | char *kwnames[] = { |
5059 | (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
5060 | }; | |
5061 | ||
994141e6 | 5062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
5064 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5065 | SWIG_fail; | |
d14a1e28 | 5066 | if (arg1 == NULL) { |
15afbcd0 RD |
5067 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5068 | SWIG_fail; | |
994141e6 | 5069 | } |
15afbcd0 RD |
5070 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
5071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5072 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5073 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5074 | if (obj3) { |
5075 | { | |
5076 | arg4 = &temp4; | |
5077 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
5078 | } | |
5079 | } | |
5080 | if (obj4) { | |
5081 | { | |
5082 | arg5 = &temp5; | |
5083 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
5084 | } | |
5085 | } | |
994141e6 | 5086 | if (obj5) { |
c32bde28 | 5087 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 5088 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5089 | } |
d14a1e28 | 5090 | { |
e3b71cb8 | 5091 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5092 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5093 | result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
5094 | ||
5095 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5096 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5097 | } |
15afbcd0 | 5098 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1); |
d14a1e28 RD |
5099 | return resultobj; |
5100 | fail: | |
5101 | return NULL; | |
5102 | } | |
5103 | ||
5104 | ||
c32bde28 | 5105 | static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5106 | PyObject *resultobj; |
5107 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
5108 | wxBitmap *arg2 = 0 ; | |
5109 | PyObject * obj0 = 0 ; | |
5110 | PyObject * obj1 = 0 ; | |
5111 | char *kwnames[] = { | |
5112 | (char *) "self",(char *) "bitmap", NULL | |
5113 | }; | |
5114 | ||
5115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5116 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
5117 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5118 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap, | |
5119 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5120 | SWIG_fail; | |
d14a1e28 | 5121 | if (arg2 == NULL) { |
15afbcd0 RD |
5122 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5123 | SWIG_fail; | |
d14a1e28 RD |
5124 | } |
5125 | { | |
5126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5127 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
5128 | ||
5129 | wxPyEndAllowThreads(__tstate); | |
5130 | if (PyErr_Occurred()) SWIG_fail; | |
5131 | } | |
5132 | Py_INCREF(Py_None); resultobj = Py_None; | |
5133 | return resultobj; | |
5134 | fail: | |
5135 | return NULL; | |
5136 | } | |
5137 | ||
5138 | ||
c32bde28 | 5139 | static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5140 | PyObject *resultobj; |
5141 | wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ; | |
5142 | wxBitmap *result; | |
5143 | PyObject * obj0 = 0 ; | |
5144 | char *kwnames[] = { | |
5145 | (char *) "self", NULL | |
5146 | }; | |
5147 | ||
5148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5149 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreenWindow, |
5150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5151 | { |
5152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5153 | { | |
5154 | wxBitmap &_result_ref = (arg1)->GetBitmap(); | |
5155 | result = (wxBitmap *) &_result_ref; | |
5156 | } | |
5157 | ||
5158 | wxPyEndAllowThreads(__tstate); | |
5159 | if (PyErr_Occurred()) SWIG_fail; | |
5160 | } | |
4276dc52 RD |
5161 | { |
5162 | wxBitmap* resultptr = new wxBitmap(*result); | |
5163 | resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
5164 | } | |
d14a1e28 RD |
5165 | return resultobj; |
5166 | fail: | |
5167 | return NULL; | |
5168 | } | |
5169 | ||
5170 | ||
c32bde28 | 5171 | static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5172 | PyObject *obj; |
5173 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5174 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj); | |
5175 | Py_INCREF(obj); | |
5176 | return Py_BuildValue((char *)""); | |
5177 | } | |
c32bde28 | 5178 | static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5179 | PyObject *resultobj; |
5180 | wxBitmap *arg1 = 0 ; | |
5181 | long arg2 ; | |
5182 | int arg3 ; | |
5183 | wxWindow *arg4 = (wxWindow *) 0 ; | |
248ed943 | 5184 | int arg5 = (int) -1 ; |
d14a1e28 RD |
5185 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
5186 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
5187 | wxSize const &arg7_defvalue = wxDefaultSize ; | |
5188 | wxSize *arg7 = (wxSize *) &arg7_defvalue ; | |
5189 | long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ; | |
5190 | wxSplashScreen *result; | |
5191 | wxPoint temp6 ; | |
5192 | wxSize temp7 ; | |
5193 | PyObject * obj0 = 0 ; | |
994141e6 RD |
5194 | PyObject * obj1 = 0 ; |
5195 | PyObject * obj2 = 0 ; | |
d14a1e28 | 5196 | PyObject * obj3 = 0 ; |
994141e6 | 5197 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5198 | PyObject * obj5 = 0 ; |
5199 | PyObject * obj6 = 0 ; | |
994141e6 | 5200 | PyObject * obj7 = 0 ; |
d14a1e28 RD |
5201 | char *kwnames[] = { |
5202 | (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
5203 | }; | |
5204 | ||
248ed943 | 5205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
5206 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap, |
5207 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5208 | SWIG_fail; | |
d14a1e28 | 5209 | if (arg1 == NULL) { |
15afbcd0 RD |
5210 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5211 | SWIG_fail; | |
5212 | } | |
c32bde28 | 5213 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 5214 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 5215 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 RD |
5216 | if (PyErr_Occurred()) SWIG_fail; |
5217 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, | |
5218 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 5219 | if (obj4) { |
c32bde28 | 5220 | arg5 = (int)SWIG_As_int(obj4); |
248ed943 RD |
5221 | if (PyErr_Occurred()) SWIG_fail; |
5222 | } | |
d14a1e28 RD |
5223 | if (obj5) { |
5224 | { | |
5225 | arg6 = &temp6; | |
5226 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
5227 | } | |
5228 | } | |
5229 | if (obj6) { | |
5230 | { | |
5231 | arg7 = &temp7; | |
5232 | if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail; | |
5233 | } | |
5234 | } | |
994141e6 | 5235 | if (obj7) { |
c32bde28 | 5236 | arg8 = (long)SWIG_As_long(obj7); |
15afbcd0 | 5237 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5238 | } |
d14a1e28 | 5239 | { |
e3b71cb8 | 5240 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5242 | result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8); | |
5243 | ||
5244 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5245 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5246 | } |
15afbcd0 | 5247 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1); |
d14a1e28 RD |
5248 | return resultobj; |
5249 | fail: | |
5250 | return NULL; | |
5251 | } | |
5252 | ||
5253 | ||
c32bde28 | 5254 | static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5255 | PyObject *resultobj; |
5256 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5257 | long result; | |
5258 | PyObject * obj0 = 0 ; | |
5259 | char *kwnames[] = { | |
5260 | (char *) "self", NULL | |
5261 | }; | |
5262 | ||
5263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5264 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5266 | { |
5267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5268 | result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle(); | |
5269 | ||
5270 | wxPyEndAllowThreads(__tstate); | |
5271 | if (PyErr_Occurred()) SWIG_fail; | |
5272 | } | |
c32bde28 | 5273 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
5274 | return resultobj; |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
c32bde28 | 5280 | static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5281 | PyObject *resultobj; |
5282 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5283 | wxSplashScreenWindow *result; | |
5284 | PyObject * obj0 = 0 ; | |
5285 | char *kwnames[] = { | |
5286 | (char *) "self", NULL | |
5287 | }; | |
5288 | ||
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5292 | { |
5293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5294 | result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow(); | |
5295 | ||
5296 | wxPyEndAllowThreads(__tstate); | |
5297 | if (PyErr_Occurred()) SWIG_fail; | |
5298 | } | |
15afbcd0 | 5299 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0); |
d14a1e28 RD |
5300 | return resultobj; |
5301 | fail: | |
5302 | return NULL; | |
5303 | } | |
5304 | ||
5305 | ||
c32bde28 | 5306 | static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5307 | PyObject *resultobj; |
5308 | wxSplashScreen *arg1 = (wxSplashScreen *) 0 ; | |
5309 | int result; | |
5310 | PyObject * obj0 = 0 ; | |
5311 | char *kwnames[] = { | |
5312 | (char *) "self", NULL | |
5313 | }; | |
5314 | ||
5315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5316 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplashScreen, |
5317 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5318 | { |
5319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5320 | result = (int)((wxSplashScreen const *)arg1)->GetTimeout(); | |
5321 | ||
5322 | wxPyEndAllowThreads(__tstate); | |
5323 | if (PyErr_Occurred()) SWIG_fail; | |
5324 | } | |
c32bde28 | 5325 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5326 | return resultobj; |
5327 | fail: | |
5328 | return NULL; | |
5329 | } | |
5330 | ||
5331 | ||
c32bde28 | 5332 | static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5333 | PyObject *obj; |
5334 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5335 | SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj); | |
5336 | Py_INCREF(obj); | |
5337 | return Py_BuildValue((char *)""); | |
5338 | } | |
c32bde28 | 5339 | static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5340 | PyObject *resultobj; |
5341 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 5342 | int arg2 = (int) -1 ; |
4276dc52 | 5343 | long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ; |
d14a1e28 RD |
5344 | wxString const &arg4_defvalue = wxPyStatusLineNameStr ; |
5345 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
5346 | wxStatusBar *result; | |
ae8162c8 | 5347 | bool temp4 = false ; |
d14a1e28 | 5348 | PyObject * obj0 = 0 ; |
994141e6 RD |
5349 | PyObject * obj1 = 0 ; |
5350 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
5351 | PyObject * obj3 = 0 ; |
5352 | char *kwnames[] = { | |
5353 | (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5354 | }; | |
5355 | ||
994141e6 | 5356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
5357 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5359 | if (obj1) { |
c32bde28 | 5360 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5361 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
5362 | } |
5363 | if (obj2) { | |
c32bde28 | 5364 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 5365 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5366 | } |
d14a1e28 RD |
5367 | if (obj3) { |
5368 | { | |
5369 | arg4 = wxString_in_helper(obj3); | |
5370 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 5371 | temp4 = true; |
d14a1e28 RD |
5372 | } |
5373 | } | |
5374 | { | |
e3b71cb8 | 5375 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5377 | result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4); | |
5378 | ||
5379 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5380 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5381 | } |
b0f7404b | 5382 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
5383 | { |
5384 | if (temp4) | |
5385 | delete arg4; | |
5386 | } | |
5387 | return resultobj; | |
5388 | fail: | |
5389 | { | |
5390 | if (temp4) | |
5391 | delete arg4; | |
5392 | } | |
5393 | return NULL; | |
5394 | } | |
5395 | ||
5396 | ||
c32bde28 | 5397 | static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5398 | PyObject *resultobj; |
5399 | wxStatusBar *result; | |
5400 | char *kwnames[] = { | |
5401 | NULL | |
5402 | }; | |
5403 | ||
5404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail; | |
5405 | { | |
e3b71cb8 | 5406 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
5407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5408 | result = (wxStatusBar *)new wxStatusBar(); | |
5409 | ||
5410 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5411 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 5412 | } |
b0f7404b | 5413 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1); |
d14a1e28 RD |
5414 | return resultobj; |
5415 | fail: | |
5416 | return NULL; | |
5417 | } | |
5418 | ||
5419 | ||
c32bde28 | 5420 | static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5421 | PyObject *resultobj; |
5422 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5423 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 5424 | int arg3 = (int) -1 ; |
d14a1e28 RD |
5425 | long arg4 = (long) wxST_SIZEGRIP ; |
5426 | wxString const &arg5_defvalue = wxPyStatusLineNameStr ; | |
5427 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
5428 | bool result; | |
ae8162c8 | 5429 | bool temp5 = false ; |
d14a1e28 RD |
5430 | PyObject * obj0 = 0 ; |
5431 | PyObject * obj1 = 0 ; | |
994141e6 RD |
5432 | PyObject * obj2 = 0 ; |
5433 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
5434 | PyObject * obj4 = 0 ; |
5435 | char *kwnames[] = { | |
5436 | (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL | |
5437 | }; | |
5438 | ||
248ed943 | 5439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
5440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5442 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
5443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 5444 | if (obj2) { |
c32bde28 | 5445 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
5446 | if (PyErr_Occurred()) SWIG_fail; |
5447 | } | |
994141e6 | 5448 | if (obj3) { |
c32bde28 | 5449 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 5450 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5451 | } |
d14a1e28 RD |
5452 | if (obj4) { |
5453 | { | |
5454 | arg5 = wxString_in_helper(obj4); | |
5455 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 5456 | temp5 = true; |
d14a1e28 RD |
5457 | } |
5458 | } | |
5459 | { | |
5460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5461 | result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5); | |
5462 | ||
5463 | wxPyEndAllowThreads(__tstate); | |
5464 | if (PyErr_Occurred()) SWIG_fail; | |
5465 | } | |
4f89f6a3 RD |
5466 | { |
5467 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5468 | } | |
d14a1e28 RD |
5469 | { |
5470 | if (temp5) | |
5471 | delete arg5; | |
5472 | } | |
5473 | return resultobj; | |
5474 | fail: | |
5475 | { | |
5476 | if (temp5) | |
5477 | delete arg5; | |
5478 | } | |
5479 | return NULL; | |
5480 | } | |
5481 | ||
5482 | ||
c32bde28 | 5483 | static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5484 | PyObject *resultobj; |
5485 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5486 | int arg2 = (int) 1 ; | |
5487 | PyObject * obj0 = 0 ; | |
994141e6 | 5488 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5489 | char *kwnames[] = { |
5490 | (char *) "self",(char *) "number", NULL | |
5491 | }; | |
5492 | ||
994141e6 | 5493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5496 | if (obj1) { |
c32bde28 | 5497 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5498 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5499 | } |
d14a1e28 RD |
5500 | { |
5501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5502 | (arg1)->SetFieldsCount(arg2); | |
5503 | ||
5504 | wxPyEndAllowThreads(__tstate); | |
5505 | if (PyErr_Occurred()) SWIG_fail; | |
5506 | } | |
5507 | Py_INCREF(Py_None); resultobj = Py_None; | |
5508 | return resultobj; | |
5509 | fail: | |
5510 | return NULL; | |
5511 | } | |
5512 | ||
5513 | ||
c32bde28 | 5514 | static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5515 | PyObject *resultobj; |
5516 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5517 | int result; | |
5518 | PyObject * obj0 = 0 ; | |
5519 | char *kwnames[] = { | |
5520 | (char *) "self", NULL | |
5521 | }; | |
5522 | ||
5523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5524 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5525 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5526 | { |
5527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5528 | result = (int)((wxStatusBar const *)arg1)->GetFieldsCount(); | |
5529 | ||
5530 | wxPyEndAllowThreads(__tstate); | |
5531 | if (PyErr_Occurred()) SWIG_fail; | |
5532 | } | |
c32bde28 | 5533 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5534 | return resultobj; |
5535 | fail: | |
5536 | return NULL; | |
5537 | } | |
5538 | ||
5539 | ||
c32bde28 | 5540 | static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5541 | PyObject *resultobj; |
5542 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5543 | wxString *arg2 = 0 ; | |
5544 | int arg3 = (int) 0 ; | |
ae8162c8 | 5545 | bool temp2 = false ; |
d14a1e28 RD |
5546 | PyObject * obj0 = 0 ; |
5547 | PyObject * obj1 = 0 ; | |
994141e6 | 5548 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5549 | char *kwnames[] = { |
5550 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5551 | }; | |
5552 | ||
994141e6 | 5553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5554 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5555 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5556 | { |
5557 | arg2 = wxString_in_helper(obj1); | |
5558 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5559 | temp2 = true; |
d14a1e28 | 5560 | } |
994141e6 | 5561 | if (obj2) { |
c32bde28 | 5562 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5563 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5564 | } |
d14a1e28 RD |
5565 | { |
5566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5567 | (arg1)->SetStatusText((wxString const &)*arg2,arg3); | |
5568 | ||
5569 | wxPyEndAllowThreads(__tstate); | |
5570 | if (PyErr_Occurred()) SWIG_fail; | |
5571 | } | |
5572 | Py_INCREF(Py_None); resultobj = Py_None; | |
5573 | { | |
5574 | if (temp2) | |
5575 | delete arg2; | |
5576 | } | |
5577 | return resultobj; | |
5578 | fail: | |
5579 | { | |
5580 | if (temp2) | |
5581 | delete arg2; | |
5582 | } | |
5583 | return NULL; | |
5584 | } | |
5585 | ||
5586 | ||
c32bde28 | 5587 | static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5588 | PyObject *resultobj; |
5589 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5590 | int arg2 = (int) 0 ; | |
5591 | wxString result; | |
5592 | PyObject * obj0 = 0 ; | |
994141e6 | 5593 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5594 | char *kwnames[] = { |
5595 | (char *) "self",(char *) "number", NULL | |
5596 | }; | |
5597 | ||
994141e6 | 5598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5599 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5600 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5601 | if (obj1) { |
c32bde28 | 5602 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5603 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5604 | } |
d14a1e28 RD |
5605 | { |
5606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5607 | result = ((wxStatusBar const *)arg1)->GetStatusText(arg2); | |
5608 | ||
5609 | wxPyEndAllowThreads(__tstate); | |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
5611 | } | |
5612 | { | |
5613 | #if wxUSE_UNICODE | |
5614 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5615 | #else | |
5616 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5617 | #endif | |
5618 | } | |
5619 | return resultobj; | |
5620 | fail: | |
5621 | return NULL; | |
5622 | } | |
5623 | ||
5624 | ||
c32bde28 | 5625 | static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5626 | PyObject *resultobj; |
5627 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5628 | wxString *arg2 = 0 ; | |
5629 | int arg3 = (int) 0 ; | |
ae8162c8 | 5630 | bool temp2 = false ; |
d14a1e28 RD |
5631 | PyObject * obj0 = 0 ; |
5632 | PyObject * obj1 = 0 ; | |
994141e6 | 5633 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
5634 | char *kwnames[] = { |
5635 | (char *) "self",(char *) "text",(char *) "number", NULL | |
5636 | }; | |
5637 | ||
994141e6 | 5638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
5639 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5640 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5641 | { |
5642 | arg2 = wxString_in_helper(obj1); | |
5643 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5644 | temp2 = true; |
d14a1e28 | 5645 | } |
994141e6 | 5646 | if (obj2) { |
c32bde28 | 5647 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 5648 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5649 | } |
d14a1e28 RD |
5650 | { |
5651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5652 | (arg1)->PushStatusText((wxString const &)*arg2,arg3); | |
5653 | ||
5654 | wxPyEndAllowThreads(__tstate); | |
5655 | if (PyErr_Occurred()) SWIG_fail; | |
5656 | } | |
5657 | Py_INCREF(Py_None); resultobj = Py_None; | |
5658 | { | |
5659 | if (temp2) | |
5660 | delete arg2; | |
5661 | } | |
5662 | return resultobj; | |
5663 | fail: | |
5664 | { | |
5665 | if (temp2) | |
5666 | delete arg2; | |
5667 | } | |
5668 | return NULL; | |
5669 | } | |
5670 | ||
5671 | ||
c32bde28 | 5672 | static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5673 | PyObject *resultobj; |
5674 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5675 | int arg2 = (int) 0 ; | |
5676 | PyObject * obj0 = 0 ; | |
994141e6 | 5677 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5678 | char *kwnames[] = { |
5679 | (char *) "self",(char *) "number", NULL | |
5680 | }; | |
5681 | ||
994141e6 | 5682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 5685 | if (obj1) { |
c32bde28 | 5686 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5687 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 5688 | } |
d14a1e28 RD |
5689 | { |
5690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5691 | (arg1)->PopStatusText(arg2); | |
5692 | ||
5693 | wxPyEndAllowThreads(__tstate); | |
5694 | if (PyErr_Occurred()) SWIG_fail; | |
5695 | } | |
5696 | Py_INCREF(Py_None); resultobj = Py_None; | |
5697 | return resultobj; | |
5698 | fail: | |
5699 | return NULL; | |
5700 | } | |
5701 | ||
5702 | ||
c32bde28 | 5703 | static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5704 | PyObject *resultobj; |
5705 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5706 | int arg2 ; | |
5707 | int *arg3 = (int *) 0 ; | |
5708 | PyObject * obj0 = 0 ; | |
5709 | PyObject * obj1 = 0 ; | |
5710 | char *kwnames[] = { | |
5711 | (char *) "self",(char *) "widths", NULL | |
5712 | }; | |
5713 | ||
5714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
5715 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5716 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5717 | { |
5718 | arg2 = PyList_Size(obj1); | |
5719 | arg3 = int_LIST_helper(obj1); | |
5720 | if (arg3 == NULL) SWIG_fail; | |
5721 | } | |
5722 | { | |
5723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5724 | (arg1)->SetStatusWidths(arg2,(int const *)arg3); | |
5725 | ||
5726 | wxPyEndAllowThreads(__tstate); | |
5727 | if (PyErr_Occurred()) SWIG_fail; | |
5728 | } | |
5729 | Py_INCREF(Py_None); resultobj = Py_None; | |
5730 | { | |
5731 | if (arg3) delete [] arg3; | |
5732 | } | |
5733 | return resultobj; | |
5734 | fail: | |
5735 | { | |
5736 | if (arg3) delete [] arg3; | |
5737 | } | |
5738 | return NULL; | |
5739 | } | |
5740 | ||
5741 | ||
c32bde28 | 5742 | static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) { |
f16ab95d RD |
5743 | PyObject *resultobj; |
5744 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5745 | int arg2 ; | |
5746 | int *arg3 = (int *) 0 ; | |
5747 | PyObject * obj0 = 0 ; | |
5748 | PyObject * obj1 = 0 ; | |
5749 | char *kwnames[] = { | |
5750 | (char *) "self",(char *) "styles", NULL | |
5751 | }; | |
5752 | ||
5753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail; | |
5754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, | |
5755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5756 | { | |
5757 | arg2 = PyList_Size(obj1); | |
5758 | arg3 = int_LIST_helper(obj1); | |
5759 | if (arg3 == NULL) SWIG_fail; | |
5760 | } | |
5761 | { | |
5762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5763 | (arg1)->SetStatusStyles(arg2,(int const *)arg3); | |
5764 | ||
5765 | wxPyEndAllowThreads(__tstate); | |
5766 | if (PyErr_Occurred()) SWIG_fail; | |
5767 | } | |
5768 | Py_INCREF(Py_None); resultobj = Py_None; | |
5769 | { | |
5770 | if (arg3) delete [] arg3; | |
5771 | } | |
5772 | return resultobj; | |
5773 | fail: | |
5774 | { | |
5775 | if (arg3) delete [] arg3; | |
5776 | } | |
5777 | return NULL; | |
5778 | } | |
5779 | ||
5780 | ||
c32bde28 | 5781 | static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5782 | PyObject *resultobj; |
5783 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5784 | int arg2 ; | |
7722248d | 5785 | wxRect result; |
d14a1e28 | 5786 | PyObject * obj0 = 0 ; |
994141e6 | 5787 | PyObject * obj1 = 0 ; |
d14a1e28 | 5788 | char *kwnames[] = { |
7722248d | 5789 | (char *) "self",(char *) "i", NULL |
d14a1e28 RD |
5790 | }; |
5791 | ||
994141e6 | 5792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5795 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5796 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5797 | { |
5798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7722248d | 5799 | result = wxStatusBar_GetFieldRect(arg1,arg2); |
d14a1e28 RD |
5800 | |
5801 | wxPyEndAllowThreads(__tstate); | |
5802 | if (PyErr_Occurred()) SWIG_fail; | |
5803 | } | |
7722248d RD |
5804 | { |
5805 | wxRect * resultptr; | |
5806 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 5807 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
7722248d | 5808 | } |
d14a1e28 RD |
5809 | return resultobj; |
5810 | fail: | |
5811 | return NULL; | |
5812 | } | |
5813 | ||
5814 | ||
c32bde28 | 5815 | static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5816 | PyObject *resultobj; |
5817 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5818 | int arg2 ; | |
5819 | PyObject * obj0 = 0 ; | |
994141e6 | 5820 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5821 | char *kwnames[] = { |
5822 | (char *) "self",(char *) "height", NULL | |
5823 | }; | |
5824 | ||
994141e6 | 5825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
5826 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5827 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 5828 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 5829 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
5830 | { |
5831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5832 | (arg1)->SetMinHeight(arg2); | |
5833 | ||
5834 | wxPyEndAllowThreads(__tstate); | |
5835 | if (PyErr_Occurred()) SWIG_fail; | |
5836 | } | |
5837 | Py_INCREF(Py_None); resultobj = Py_None; | |
5838 | return resultobj; | |
5839 | fail: | |
5840 | return NULL; | |
5841 | } | |
5842 | ||
5843 | ||
c32bde28 | 5844 | static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5845 | PyObject *resultobj; |
5846 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5847 | int result; | |
5848 | PyObject * obj0 = 0 ; | |
5849 | char *kwnames[] = { | |
5850 | (char *) "self", NULL | |
5851 | }; | |
5852 | ||
5853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5856 | { |
5857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5858 | result = (int)((wxStatusBar const *)arg1)->GetBorderX(); | |
5859 | ||
5860 | wxPyEndAllowThreads(__tstate); | |
5861 | if (PyErr_Occurred()) SWIG_fail; | |
5862 | } | |
c32bde28 | 5863 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5864 | return resultobj; |
5865 | fail: | |
5866 | return NULL; | |
5867 | } | |
5868 | ||
5869 | ||
c32bde28 | 5870 | static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5871 | PyObject *resultobj; |
5872 | wxStatusBar *arg1 = (wxStatusBar *) 0 ; | |
5873 | int result; | |
5874 | PyObject * obj0 = 0 ; | |
5875 | char *kwnames[] = { | |
5876 | (char *) "self", NULL | |
5877 | }; | |
5878 | ||
5879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
5880 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStatusBar, |
5881 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
5882 | { |
5883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5884 | result = (int)((wxStatusBar const *)arg1)->GetBorderY(); | |
5885 | ||
5886 | wxPyEndAllowThreads(__tstate); | |
5887 | if (PyErr_Occurred()) SWIG_fail; | |
5888 | } | |
c32bde28 | 5889 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
5890 | return resultobj; |
5891 | fail: | |
5892 | return NULL; | |
5893 | } | |
5894 | ||
5895 | ||
c32bde28 | 5896 | static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
5897 | PyObject *resultobj; |
5898 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
5899 | wxVisualAttributes result; | |
5900 | PyObject * obj0 = 0 ; | |
5901 | char *kwnames[] = { | |
5902 | (char *) "variant", NULL | |
5903 | }; | |
5904 | ||
5905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
5906 | if (obj0) { | |
c32bde28 | 5907 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
5908 | if (PyErr_Occurred()) SWIG_fail; |
5909 | } | |
5910 | { | |
e3b71cb8 | 5911 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
5912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5913 | result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
5914 | ||
5915 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 5916 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
5917 | } |
5918 | { | |
5919 | wxVisualAttributes * resultptr; | |
5920 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
5921 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
5922 | } | |
5923 | return resultobj; | |
5924 | fail: | |
5925 | return NULL; | |
5926 | } | |
5927 | ||
5928 | ||
c32bde28 | 5929 | static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
5930 | PyObject *obj; |
5931 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5932 | SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj); | |
5933 | Py_INCREF(obj); | |
5934 | return Py_BuildValue((char *)""); | |
5935 | } | |
c32bde28 | 5936 | static int _wrap_SplitterNameStr_set(PyObject *) { |
b2dc1044 RD |
5937 | PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only."); |
5938 | return 1; | |
5939 | } | |
5940 | ||
5941 | ||
5942 | static PyObject *_wrap_SplitterNameStr_get() { | |
5943 | PyObject *pyobj; | |
5944 | ||
5945 | { | |
5946 | #if wxUSE_UNICODE | |
5947 | pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5948 | #else | |
5949 | pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len()); | |
5950 | #endif | |
5951 | } | |
5952 | return pyobj; | |
5953 | } | |
5954 | ||
5955 | ||
c32bde28 | 5956 | static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
5957 | PyObject *resultobj; |
5958 | wxWindow *arg1 = (wxWindow *) 0 ; | |
74a57fcd | 5959 | int arg2 = (int) -1 ; |
d14a1e28 RD |
5960 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
5961 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5962 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5963 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5964 | long arg5 = (long) wxSP_3D ; | |
5965 | wxString const &arg6_defvalue = wxPySplitterNameStr ; | |
5966 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
5967 | wxSplitterWindow *result; | |
5968 | wxPoint temp3 ; | |
5969 | wxSize temp4 ; | |
ae8162c8 | 5970 | bool temp6 = false ; |
d14a1e28 | 5971 | PyObject * obj0 = 0 ; |
994141e6 | 5972 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
5973 | PyObject * obj2 = 0 ; |
5974 | PyObject * obj3 = 0 ; | |
994141e6 | 5975 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
5976 | PyObject * obj5 = 0 ; |
5977 | char *kwnames[] = { | |
994141e6 | 5978 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
5979 | }; |
5980 | ||
74a57fcd | 5981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
5982 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
5983 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd | 5984 | if (obj1) { |
c32bde28 | 5985 | arg2 = (int)SWIG_As_int(obj1); |
74a57fcd RD |
5986 | if (PyErr_Occurred()) SWIG_fail; |
5987 | } | |
d14a1e28 RD |
5988 | if (obj2) { |
5989 | { | |
5990 | arg3 = &temp3; | |
5991 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
5992 | } | |
5993 | } | |
5994 | if (obj3) { | |
5995 | { | |
5996 | arg4 = &temp4; | |
5997 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
5998 | } | |
5999 | } | |
15afbcd0 | 6000 | if (obj4) { |
c32bde28 | 6001 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 6002 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6003 | } |
d14a1e28 RD |
6004 | if (obj5) { |
6005 | { | |
6006 | arg6 = wxString_in_helper(obj5); | |
6007 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 6008 | temp6 = true; |
d14a1e28 RD |
6009 | } |
6010 | } | |
6011 | { | |
e3b71cb8 | 6012 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6014 | result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
6015 | ||
6016 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6017 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6018 | } |
15afbcd0 | 6019 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
6020 | { |
6021 | if (temp6) | |
6022 | delete arg6; | |
6023 | } | |
6024 | return resultobj; | |
6025 | fail: | |
6026 | { | |
6027 | if (temp6) | |
6028 | delete arg6; | |
6029 | } | |
6030 | return NULL; | |
6031 | } | |
6032 | ||
6033 | ||
c32bde28 | 6034 | static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6035 | PyObject *resultobj; |
6036 | wxSplitterWindow *result; | |
6037 | char *kwnames[] = { | |
6038 | NULL | |
6039 | }; | |
6040 | ||
6041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail; | |
6042 | { | |
e3b71cb8 | 6043 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
6044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6045 | result = (wxSplitterWindow *)new wxSplitterWindow(); | |
6046 | ||
6047 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6048 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6049 | } |
15afbcd0 | 6050 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1); |
d14a1e28 RD |
6051 | return resultobj; |
6052 | fail: | |
6053 | return NULL; | |
6054 | } | |
6055 | ||
6056 | ||
c32bde28 | 6057 | static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6058 | PyObject *resultobj; |
6059 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6060 | wxWindow *arg2 = (wxWindow *) 0 ; | |
74a57fcd | 6061 | int arg3 = (int) -1 ; |
d14a1e28 RD |
6062 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
6063 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
6064 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
6065 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
6066 | long arg6 = (long) wxSP_3D ; | |
6067 | wxString const &arg7_defvalue = wxPySplitterNameStr ; | |
6068 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
6069 | bool result; | |
6070 | wxPoint temp4 ; | |
6071 | wxSize temp5 ; | |
ae8162c8 | 6072 | bool temp7 = false ; |
d14a1e28 RD |
6073 | PyObject * obj0 = 0 ; |
6074 | PyObject * obj1 = 0 ; | |
994141e6 | 6075 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
6076 | PyObject * obj3 = 0 ; |
6077 | PyObject * obj4 = 0 ; | |
994141e6 | 6078 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
6079 | PyObject * obj6 = 0 ; |
6080 | char *kwnames[] = { | |
994141e6 | 6081 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
6082 | }; |
6083 | ||
74a57fcd | 6084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
6085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6087 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6088 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
74a57fcd | 6089 | if (obj2) { |
c32bde28 | 6090 | arg3 = (int)SWIG_As_int(obj2); |
74a57fcd RD |
6091 | if (PyErr_Occurred()) SWIG_fail; |
6092 | } | |
d14a1e28 RD |
6093 | if (obj3) { |
6094 | { | |
6095 | arg4 = &temp4; | |
6096 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6097 | } | |
6098 | } | |
6099 | if (obj4) { | |
6100 | { | |
6101 | arg5 = &temp5; | |
6102 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6103 | } | |
6104 | } | |
994141e6 | 6105 | if (obj5) { |
c32bde28 | 6106 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 6107 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6108 | } |
d14a1e28 RD |
6109 | if (obj6) { |
6110 | { | |
6111 | arg7 = wxString_in_helper(obj6); | |
6112 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 6113 | temp7 = true; |
d14a1e28 RD |
6114 | } |
6115 | } | |
6116 | { | |
6117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6118 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
6119 | ||
6120 | wxPyEndAllowThreads(__tstate); | |
6121 | if (PyErr_Occurred()) SWIG_fail; | |
6122 | } | |
4f89f6a3 RD |
6123 | { |
6124 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6125 | } | |
d14a1e28 RD |
6126 | { |
6127 | if (temp7) | |
6128 | delete arg7; | |
6129 | } | |
6130 | return resultobj; | |
6131 | fail: | |
6132 | { | |
6133 | if (temp7) | |
6134 | delete arg7; | |
6135 | } | |
6136 | return NULL; | |
6137 | } | |
6138 | ||
6139 | ||
c32bde28 | 6140 | static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6141 | PyObject *resultobj; |
6142 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6143 | wxWindow *result; | |
6144 | PyObject * obj0 = 0 ; | |
6145 | char *kwnames[] = { | |
6146 | (char *) "self", NULL | |
6147 | }; | |
6148 | ||
6149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6152 | { |
6153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6154 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1(); | |
6155 | ||
6156 | wxPyEndAllowThreads(__tstate); | |
6157 | if (PyErr_Occurred()) SWIG_fail; | |
6158 | } | |
6159 | { | |
412d302d | 6160 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6161 | } |
6162 | return resultobj; | |
6163 | fail: | |
6164 | return NULL; | |
6165 | } | |
6166 | ||
6167 | ||
c32bde28 | 6168 | static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6169 | PyObject *resultobj; |
6170 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6171 | wxWindow *result; | |
6172 | PyObject * obj0 = 0 ; | |
6173 | char *kwnames[] = { | |
6174 | (char *) "self", NULL | |
6175 | }; | |
6176 | ||
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6178 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6179 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6180 | { |
6181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6182 | result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2(); | |
6183 | ||
6184 | wxPyEndAllowThreads(__tstate); | |
6185 | if (PyErr_Occurred()) SWIG_fail; | |
6186 | } | |
6187 | { | |
412d302d | 6188 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
6189 | } |
6190 | return resultobj; | |
6191 | fail: | |
6192 | return NULL; | |
6193 | } | |
6194 | ||
6195 | ||
c32bde28 | 6196 | static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6197 | PyObject *resultobj; |
6198 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6199 | int arg2 ; | |
6200 | PyObject * obj0 = 0 ; | |
994141e6 | 6201 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6202 | char *kwnames[] = { |
6203 | (char *) "self",(char *) "mode", NULL | |
6204 | }; | |
6205 | ||
994141e6 | 6206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6207 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6208 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6209 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6210 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6211 | { |
6212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6213 | (arg1)->SetSplitMode(arg2); | |
6214 | ||
6215 | wxPyEndAllowThreads(__tstate); | |
6216 | if (PyErr_Occurred()) SWIG_fail; | |
6217 | } | |
6218 | Py_INCREF(Py_None); resultobj = Py_None; | |
6219 | return resultobj; | |
6220 | fail: | |
6221 | return NULL; | |
6222 | } | |
6223 | ||
6224 | ||
c32bde28 | 6225 | static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6226 | PyObject *resultobj; |
6227 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6228 | int result; | |
6229 | PyObject * obj0 = 0 ; | |
6230 | char *kwnames[] = { | |
6231 | (char *) "self", NULL | |
6232 | }; | |
6233 | ||
6234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6235 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6236 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6237 | { |
6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6239 | result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode(); | |
6240 | ||
6241 | wxPyEndAllowThreads(__tstate); | |
6242 | if (PyErr_Occurred()) SWIG_fail; | |
6243 | } | |
c32bde28 | 6244 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6245 | return resultobj; |
6246 | fail: | |
6247 | return NULL; | |
6248 | } | |
6249 | ||
6250 | ||
c32bde28 | 6251 | static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6252 | PyObject *resultobj; |
6253 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6254 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6255 | PyObject * obj0 = 0 ; | |
6256 | PyObject * obj1 = 0 ; | |
6257 | char *kwnames[] = { | |
6258 | (char *) "self",(char *) "window", NULL | |
6259 | }; | |
6260 | ||
6261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6262 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6263 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6264 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6265 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6266 | { |
6267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6268 | (arg1)->Initialize(arg2); | |
6269 | ||
6270 | wxPyEndAllowThreads(__tstate); | |
6271 | if (PyErr_Occurred()) SWIG_fail; | |
6272 | } | |
6273 | Py_INCREF(Py_None); resultobj = Py_None; | |
6274 | return resultobj; | |
6275 | fail: | |
6276 | return NULL; | |
6277 | } | |
6278 | ||
6279 | ||
c32bde28 | 6280 | static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6281 | PyObject *resultobj; |
6282 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6283 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6284 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6285 | int arg4 = (int) 0 ; | |
6286 | bool result; | |
6287 | PyObject * obj0 = 0 ; | |
6288 | PyObject * obj1 = 0 ; | |
6289 | PyObject * obj2 = 0 ; | |
994141e6 | 6290 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
6291 | char *kwnames[] = { |
6292 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6293 | }; | |
6294 | ||
994141e6 | 6295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6296 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6297 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6298 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6299 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6300 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6301 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 6302 | if (obj3) { |
c32bde28 | 6303 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6304 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6305 | } |
d14a1e28 RD |
6306 | { |
6307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6308 | result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4); | |
6309 | ||
6310 | wxPyEndAllowThreads(__tstate); | |
6311 | if (PyErr_Occurred()) SWIG_fail; | |
6312 | } | |
4f89f6a3 RD |
6313 | { |
6314 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6315 | } | |
d14a1e28 RD |
6316 | return resultobj; |
6317 | fail: | |
6318 | return NULL; | |
6319 | } | |
6320 | ||
6321 | ||
c32bde28 | 6322 | static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6323 | PyObject *resultobj; |
6324 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6325 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6326 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6327 | int arg4 = (int) 0 ; | |
6328 | bool result; | |
6329 | PyObject * obj0 = 0 ; | |
6330 | PyObject * obj1 = 0 ; | |
6331 | PyObject * obj2 = 0 ; | |
994141e6 | 6332 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
6333 | char *kwnames[] = { |
6334 | (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL | |
6335 | }; | |
6336 | ||
994141e6 | 6337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6338 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6339 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6340 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6341 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6342 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 6344 | if (obj3) { |
c32bde28 | 6345 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6346 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6347 | } |
d14a1e28 RD |
6348 | { |
6349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6350 | result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4); | |
6351 | ||
6352 | wxPyEndAllowThreads(__tstate); | |
6353 | if (PyErr_Occurred()) SWIG_fail; | |
6354 | } | |
4f89f6a3 RD |
6355 | { |
6356 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6357 | } | |
d14a1e28 RD |
6358 | return resultobj; |
6359 | fail: | |
6360 | return NULL; | |
6361 | } | |
6362 | ||
6363 | ||
c32bde28 | 6364 | static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6365 | PyObject *resultobj; |
6366 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6367 | wxWindow *arg2 = (wxWindow *) NULL ; | |
6368 | bool result; | |
6369 | PyObject * obj0 = 0 ; | |
6370 | PyObject * obj1 = 0 ; | |
6371 | char *kwnames[] = { | |
6372 | (char *) "self",(char *) "toRemove", NULL | |
6373 | }; | |
6374 | ||
6375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6376 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6377 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 6378 | if (obj1) { |
15afbcd0 RD |
6379 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
6380 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6381 | } |
6382 | { | |
6383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6384 | result = (bool)(arg1)->Unsplit(arg2); | |
6385 | ||
6386 | wxPyEndAllowThreads(__tstate); | |
6387 | if (PyErr_Occurred()) SWIG_fail; | |
6388 | } | |
4f89f6a3 RD |
6389 | { |
6390 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6391 | } | |
d14a1e28 RD |
6392 | return resultobj; |
6393 | fail: | |
6394 | return NULL; | |
6395 | } | |
6396 | ||
6397 | ||
c32bde28 | 6398 | static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6399 | PyObject *resultobj; |
6400 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6401 | wxWindow *arg2 = (wxWindow *) 0 ; | |
6402 | wxWindow *arg3 = (wxWindow *) 0 ; | |
6403 | bool result; | |
6404 | PyObject * obj0 = 0 ; | |
6405 | PyObject * obj1 = 0 ; | |
6406 | PyObject * obj2 = 0 ; | |
6407 | char *kwnames[] = { | |
6408 | (char *) "self",(char *) "winOld",(char *) "winNew", NULL | |
6409 | }; | |
6410 | ||
6411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
6412 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6413 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6414 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
6415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6416 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
6417 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6418 | { |
6419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6420 | result = (bool)(arg1)->ReplaceWindow(arg2,arg3); | |
6421 | ||
6422 | wxPyEndAllowThreads(__tstate); | |
6423 | if (PyErr_Occurred()) SWIG_fail; | |
6424 | } | |
4f89f6a3 RD |
6425 | { |
6426 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6427 | } | |
d14a1e28 RD |
6428 | return resultobj; |
6429 | fail: | |
6430 | return NULL; | |
6431 | } | |
6432 | ||
6433 | ||
c32bde28 | 6434 | static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d00d1b88 RD |
6435 | PyObject *resultobj; |
6436 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6437 | PyObject * obj0 = 0 ; | |
6438 | char *kwnames[] = { | |
6439 | (char *) "self", NULL | |
6440 | }; | |
6441 | ||
6442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail; | |
6443 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6444 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6445 | { | |
6446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6447 | (arg1)->UpdateSize(); | |
6448 | ||
6449 | wxPyEndAllowThreads(__tstate); | |
6450 | if (PyErr_Occurred()) SWIG_fail; | |
6451 | } | |
6452 | Py_INCREF(Py_None); resultobj = Py_None; | |
6453 | return resultobj; | |
6454 | fail: | |
6455 | return NULL; | |
6456 | } | |
6457 | ||
6458 | ||
c32bde28 | 6459 | static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6460 | PyObject *resultobj; |
6461 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6462 | bool result; | |
6463 | PyObject * obj0 = 0 ; | |
6464 | char *kwnames[] = { | |
6465 | (char *) "self", NULL | |
6466 | }; | |
6467 | ||
6468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6471 | { |
6472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6473 | result = (bool)((wxSplitterWindow const *)arg1)->IsSplit(); | |
6474 | ||
6475 | wxPyEndAllowThreads(__tstate); | |
6476 | if (PyErr_Occurred()) SWIG_fail; | |
6477 | } | |
4f89f6a3 RD |
6478 | { |
6479 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6480 | } | |
d14a1e28 RD |
6481 | return resultobj; |
6482 | fail: | |
6483 | return NULL; | |
6484 | } | |
6485 | ||
6486 | ||
c32bde28 | 6487 | static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6488 | PyObject *resultobj; |
6489 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6490 | int arg2 ; | |
6491 | PyObject * obj0 = 0 ; | |
994141e6 | 6492 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6493 | char *kwnames[] = { |
6494 | (char *) "self",(char *) "width", NULL | |
6495 | }; | |
6496 | ||
994141e6 | 6497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6498 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6499 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6500 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6501 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6502 | { |
6503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6504 | (arg1)->SetSashSize(arg2); | |
6505 | ||
6506 | wxPyEndAllowThreads(__tstate); | |
6507 | if (PyErr_Occurred()) SWIG_fail; | |
6508 | } | |
6509 | Py_INCREF(Py_None); resultobj = Py_None; | |
6510 | return resultobj; | |
6511 | fail: | |
6512 | return NULL; | |
6513 | } | |
6514 | ||
6515 | ||
c32bde28 | 6516 | static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6517 | PyObject *resultobj; |
6518 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6519 | int arg2 ; | |
6520 | PyObject * obj0 = 0 ; | |
994141e6 | 6521 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6522 | char *kwnames[] = { |
6523 | (char *) "self",(char *) "width", NULL | |
6524 | }; | |
6525 | ||
994141e6 | 6526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6527 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6528 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6529 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6530 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6531 | { |
6532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6533 | (arg1)->SetBorderSize(arg2); | |
6534 | ||
6535 | wxPyEndAllowThreads(__tstate); | |
6536 | if (PyErr_Occurred()) SWIG_fail; | |
6537 | } | |
6538 | Py_INCREF(Py_None); resultobj = Py_None; | |
6539 | return resultobj; | |
6540 | fail: | |
6541 | return NULL; | |
6542 | } | |
6543 | ||
6544 | ||
c32bde28 | 6545 | static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6546 | PyObject *resultobj; |
6547 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6548 | int result; | |
6549 | PyObject * obj0 = 0 ; | |
6550 | char *kwnames[] = { | |
6551 | (char *) "self", NULL | |
6552 | }; | |
6553 | ||
6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6557 | { |
6558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6559 | result = (int)((wxSplitterWindow const *)arg1)->GetSashSize(); | |
6560 | ||
6561 | wxPyEndAllowThreads(__tstate); | |
6562 | if (PyErr_Occurred()) SWIG_fail; | |
6563 | } | |
c32bde28 | 6564 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6565 | return resultobj; |
6566 | fail: | |
6567 | return NULL; | |
6568 | } | |
6569 | ||
6570 | ||
c32bde28 | 6571 | static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6572 | PyObject *resultobj; |
6573 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6574 | int result; | |
6575 | PyObject * obj0 = 0 ; | |
6576 | char *kwnames[] = { | |
6577 | (char *) "self", NULL | |
6578 | }; | |
6579 | ||
6580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6583 | { |
6584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6585 | result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize(); | |
6586 | ||
6587 | wxPyEndAllowThreads(__tstate); | |
6588 | if (PyErr_Occurred()) SWIG_fail; | |
6589 | } | |
c32bde28 | 6590 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6591 | return resultobj; |
6592 | fail: | |
6593 | return NULL; | |
6594 | } | |
6595 | ||
6596 | ||
c32bde28 | 6597 | static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6598 | PyObject *resultobj; |
6599 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6600 | int arg2 ; | |
ae8162c8 | 6601 | bool arg3 = (bool) true ; |
d14a1e28 | 6602 | PyObject * obj0 = 0 ; |
994141e6 | 6603 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6604 | PyObject * obj2 = 0 ; |
6605 | char *kwnames[] = { | |
6606 | (char *) "self",(char *) "position",(char *) "redraw", NULL | |
6607 | }; | |
6608 | ||
994141e6 | 6609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
6610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6612 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6613 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 6614 | if (obj2) { |
c32bde28 | 6615 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 6616 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6617 | } |
6618 | { | |
6619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6620 | (arg1)->SetSashPosition(arg2,arg3); | |
6621 | ||
6622 | wxPyEndAllowThreads(__tstate); | |
6623 | if (PyErr_Occurred()) SWIG_fail; | |
6624 | } | |
6625 | Py_INCREF(Py_None); resultobj = Py_None; | |
6626 | return resultobj; | |
6627 | fail: | |
6628 | return NULL; | |
6629 | } | |
6630 | ||
6631 | ||
c32bde28 | 6632 | static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6633 | PyObject *resultobj; |
6634 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6635 | int result; | |
6636 | PyObject * obj0 = 0 ; | |
6637 | char *kwnames[] = { | |
6638 | (char *) "self", NULL | |
6639 | }; | |
6640 | ||
6641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6644 | { |
6645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6646 | result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition(); | |
6647 | ||
6648 | wxPyEndAllowThreads(__tstate); | |
6649 | if (PyErr_Occurred()) SWIG_fail; | |
6650 | } | |
c32bde28 | 6651 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6652 | return resultobj; |
6653 | fail: | |
6654 | return NULL; | |
6655 | } | |
6656 | ||
6657 | ||
5cbf236d RD |
6658 | static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { |
6659 | PyObject *resultobj; | |
6660 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6661 | double arg2 ; | |
6662 | PyObject * obj0 = 0 ; | |
6663 | PyObject * obj1 = 0 ; | |
6664 | char *kwnames[] = { | |
6665 | (char *) "self",(char *) "gravity", NULL | |
6666 | }; | |
6667 | ||
6668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail; | |
6669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6671 | arg2 = (double)SWIG_As_double(obj1); | |
6672 | if (PyErr_Occurred()) SWIG_fail; | |
6673 | { | |
6674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6675 | (arg1)->SetSashGravity(arg2); | |
6676 | ||
6677 | wxPyEndAllowThreads(__tstate); | |
6678 | if (PyErr_Occurred()) SWIG_fail; | |
6679 | } | |
6680 | Py_INCREF(Py_None); resultobj = Py_None; | |
6681 | return resultobj; | |
6682 | fail: | |
6683 | return NULL; | |
6684 | } | |
6685 | ||
6686 | ||
6687 | static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) { | |
6688 | PyObject *resultobj; | |
6689 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6690 | double result; | |
6691 | PyObject * obj0 = 0 ; | |
6692 | char *kwnames[] = { | |
6693 | (char *) "self", NULL | |
6694 | }; | |
6695 | ||
6696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail; | |
6697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, | |
6698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6699 | { | |
6700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6701 | result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity(); | |
6702 | ||
6703 | wxPyEndAllowThreads(__tstate); | |
6704 | if (PyErr_Occurred()) SWIG_fail; | |
6705 | } | |
6706 | resultobj = SWIG_From_double((double)result); | |
6707 | return resultobj; | |
6708 | fail: | |
6709 | return NULL; | |
6710 | } | |
6711 | ||
6712 | ||
c32bde28 | 6713 | static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6714 | PyObject *resultobj; |
6715 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6716 | int arg2 ; | |
6717 | PyObject * obj0 = 0 ; | |
994141e6 | 6718 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6719 | char *kwnames[] = { |
6720 | (char *) "self",(char *) "min", NULL | |
6721 | }; | |
6722 | ||
994141e6 | 6723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6724 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6725 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6726 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6727 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6728 | { |
6729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6730 | (arg1)->SetMinimumPaneSize(arg2); | |
6731 | ||
6732 | wxPyEndAllowThreads(__tstate); | |
6733 | if (PyErr_Occurred()) SWIG_fail; | |
6734 | } | |
6735 | Py_INCREF(Py_None); resultobj = Py_None; | |
6736 | return resultobj; | |
6737 | fail: | |
6738 | return NULL; | |
6739 | } | |
6740 | ||
6741 | ||
c32bde28 | 6742 | static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6743 | PyObject *resultobj; |
6744 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6745 | int result; | |
6746 | PyObject * obj0 = 0 ; | |
6747 | char *kwnames[] = { | |
6748 | (char *) "self", NULL | |
6749 | }; | |
6750 | ||
6751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6754 | { |
6755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6756 | result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize(); | |
6757 | ||
6758 | wxPyEndAllowThreads(__tstate); | |
6759 | if (PyErr_Occurred()) SWIG_fail; | |
6760 | } | |
c32bde28 | 6761 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
6762 | return resultobj; |
6763 | fail: | |
6764 | return NULL; | |
6765 | } | |
6766 | ||
6767 | ||
c32bde28 | 6768 | static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6769 | PyObject *resultobj; |
6770 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6771 | int arg2 ; | |
6772 | int arg3 ; | |
6773 | int arg4 = (int) 5 ; | |
6774 | bool result; | |
6775 | PyObject * obj0 = 0 ; | |
994141e6 RD |
6776 | PyObject * obj1 = 0 ; |
6777 | PyObject * obj2 = 0 ; | |
6778 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
6779 | char *kwnames[] = { |
6780 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
6781 | }; | |
6782 | ||
994141e6 | 6783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
6784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6786 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6787 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 6788 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 6789 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6790 | if (obj3) { |
c32bde28 | 6791 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 6792 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6793 | } |
d14a1e28 RD |
6794 | { |
6795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6796 | result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4); | |
6797 | ||
6798 | wxPyEndAllowThreads(__tstate); | |
6799 | if (PyErr_Occurred()) SWIG_fail; | |
6800 | } | |
4f89f6a3 RD |
6801 | { |
6802 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6803 | } | |
d14a1e28 RD |
6804 | return resultobj; |
6805 | fail: | |
6806 | return NULL; | |
6807 | } | |
6808 | ||
6809 | ||
c32bde28 | 6810 | static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6811 | PyObject *resultobj; |
6812 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6813 | PyObject * obj0 = 0 ; | |
6814 | char *kwnames[] = { | |
6815 | (char *) "self", NULL | |
6816 | }; | |
6817 | ||
6818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6819 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6820 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6821 | { |
6822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6823 | (arg1)->SizeWindows(); | |
6824 | ||
6825 | wxPyEndAllowThreads(__tstate); | |
6826 | if (PyErr_Occurred()) SWIG_fail; | |
6827 | } | |
6828 | Py_INCREF(Py_None); resultobj = Py_None; | |
6829 | return resultobj; | |
6830 | fail: | |
6831 | return NULL; | |
6832 | } | |
6833 | ||
6834 | ||
c32bde28 | 6835 | static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6836 | PyObject *resultobj; |
6837 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6838 | bool arg2 ; | |
6839 | PyObject * obj0 = 0 ; | |
6840 | PyObject * obj1 = 0 ; | |
6841 | char *kwnames[] = { | |
6842 | (char *) "self",(char *) "needUpdating", NULL | |
6843 | }; | |
6844 | ||
6845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
6846 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6847 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6848 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 6849 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6850 | { |
6851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6852 | (arg1)->SetNeedUpdating(arg2); | |
6853 | ||
6854 | wxPyEndAllowThreads(__tstate); | |
6855 | if (PyErr_Occurred()) SWIG_fail; | |
6856 | } | |
6857 | Py_INCREF(Py_None); resultobj = Py_None; | |
6858 | return resultobj; | |
6859 | fail: | |
6860 | return NULL; | |
6861 | } | |
6862 | ||
6863 | ||
c32bde28 | 6864 | static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6865 | PyObject *resultobj; |
6866 | wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ; | |
6867 | bool result; | |
6868 | PyObject * obj0 = 0 ; | |
6869 | char *kwnames[] = { | |
6870 | (char *) "self", NULL | |
6871 | }; | |
6872 | ||
6873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
6874 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterWindow, |
6875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6876 | { |
6877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6878 | result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating(); | |
6879 | ||
6880 | wxPyEndAllowThreads(__tstate); | |
6881 | if (PyErr_Occurred()) SWIG_fail; | |
6882 | } | |
4f89f6a3 RD |
6883 | { |
6884 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6885 | } | |
d14a1e28 RD |
6886 | return resultobj; |
6887 | fail: | |
6888 | return NULL; | |
6889 | } | |
6890 | ||
6891 | ||
c32bde28 | 6892 | static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
22bfe96c RD |
6893 | PyObject *resultobj; |
6894 | int arg1 = (int) wxWINDOW_VARIANT_NORMAL ; | |
6895 | wxVisualAttributes result; | |
6896 | PyObject * obj0 = 0 ; | |
6897 | char *kwnames[] = { | |
6898 | (char *) "variant", NULL | |
6899 | }; | |
6900 | ||
6901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail; | |
6902 | if (obj0) { | |
c32bde28 | 6903 | arg1 = (int)SWIG_As_int(obj0); |
22bfe96c RD |
6904 | if (PyErr_Occurred()) SWIG_fail; |
6905 | } | |
6906 | { | |
e3b71cb8 | 6907 | if (!wxPyCheckForApp()) SWIG_fail; |
22bfe96c RD |
6908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6909 | result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1); | |
6910 | ||
6911 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 6912 | if (PyErr_Occurred()) SWIG_fail; |
22bfe96c RD |
6913 | } |
6914 | { | |
6915 | wxVisualAttributes * resultptr; | |
6916 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
6917 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
6918 | } | |
6919 | return resultobj; | |
6920 | fail: | |
6921 | return NULL; | |
6922 | } | |
6923 | ||
6924 | ||
c32bde28 | 6925 | static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
6926 | PyObject *obj; |
6927 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6928 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj); | |
6929 | Py_INCREF(obj); | |
6930 | return Py_BuildValue((char *)""); | |
6931 | } | |
c32bde28 | 6932 | static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6933 | PyObject *resultobj; |
6934 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
6935 | wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ; | |
6936 | wxSplitterEvent *result; | |
994141e6 | 6937 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
6938 | PyObject * obj1 = 0 ; |
6939 | char *kwnames[] = { | |
6940 | (char *) "type",(char *) "splitter", NULL | |
6941 | }; | |
6942 | ||
994141e6 RD |
6943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail; |
6944 | if (obj0) { | |
c32bde28 | 6945 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 6946 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 6947 | } |
d14a1e28 | 6948 | if (obj1) { |
15afbcd0 RD |
6949 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSplitterWindow, |
6950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
6951 | } |
6952 | { | |
6953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6954 | result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2); | |
6955 | ||
6956 | wxPyEndAllowThreads(__tstate); | |
6957 | if (PyErr_Occurred()) SWIG_fail; | |
6958 | } | |
15afbcd0 | 6959 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1); |
d14a1e28 RD |
6960 | return resultobj; |
6961 | fail: | |
6962 | return NULL; | |
6963 | } | |
6964 | ||
6965 | ||
c32bde28 | 6966 | static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6967 | PyObject *resultobj; |
6968 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6969 | int arg2 ; | |
6970 | PyObject * obj0 = 0 ; | |
994141e6 | 6971 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
6972 | char *kwnames[] = { |
6973 | (char *) "self",(char *) "pos", NULL | |
6974 | }; | |
6975 | ||
994141e6 | 6976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
6977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
6978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 6979 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 6980 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
6981 | { |
6982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6983 | (arg1)->SetSashPosition(arg2); | |
6984 | ||
6985 | wxPyEndAllowThreads(__tstate); | |
6986 | if (PyErr_Occurred()) SWIG_fail; | |
6987 | } | |
6988 | Py_INCREF(Py_None); resultobj = Py_None; | |
6989 | return resultobj; | |
6990 | fail: | |
6991 | return NULL; | |
6992 | } | |
6993 | ||
6994 | ||
c32bde28 | 6995 | static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
6996 | PyObject *resultobj; |
6997 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
6998 | int result; | |
6999 | PyObject * obj0 = 0 ; | |
7000 | char *kwnames[] = { | |
7001 | (char *) "self", NULL | |
7002 | }; | |
7003 | ||
7004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
7006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7007 | { |
7008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7009 | result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition(); | |
7010 | ||
7011 | wxPyEndAllowThreads(__tstate); | |
7012 | if (PyErr_Occurred()) SWIG_fail; | |
7013 | } | |
c32bde28 | 7014 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7015 | return resultobj; |
7016 | fail: | |
7017 | return NULL; | |
7018 | } | |
7019 | ||
7020 | ||
c32bde28 | 7021 | static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7022 | PyObject *resultobj; |
7023 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
7024 | wxWindow *result; | |
7025 | PyObject * obj0 = 0 ; | |
7026 | char *kwnames[] = { | |
7027 | (char *) "self", NULL | |
7028 | }; | |
7029 | ||
7030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
7032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7033 | { |
7034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7035 | result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved(); | |
7036 | ||
7037 | wxPyEndAllowThreads(__tstate); | |
7038 | if (PyErr_Occurred()) SWIG_fail; | |
7039 | } | |
7040 | { | |
412d302d | 7041 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
7042 | } |
7043 | return resultobj; | |
7044 | fail: | |
7045 | return NULL; | |
7046 | } | |
7047 | ||
7048 | ||
c32bde28 | 7049 | static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7050 | PyObject *resultobj; |
7051 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
7052 | int result; | |
7053 | PyObject * obj0 = 0 ; | |
7054 | char *kwnames[] = { | |
7055 | (char *) "self", NULL | |
7056 | }; | |
7057 | ||
7058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
7060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7061 | { |
7062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7063 | result = (int)((wxSplitterEvent const *)arg1)->GetX(); | |
7064 | ||
7065 | wxPyEndAllowThreads(__tstate); | |
7066 | if (PyErr_Occurred()) SWIG_fail; | |
7067 | } | |
c32bde28 | 7068 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7069 | return resultobj; |
7070 | fail: | |
7071 | return NULL; | |
7072 | } | |
7073 | ||
7074 | ||
c32bde28 | 7075 | static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7076 | PyObject *resultobj; |
7077 | wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ; | |
7078 | int result; | |
7079 | PyObject * obj0 = 0 ; | |
7080 | char *kwnames[] = { | |
7081 | (char *) "self", NULL | |
7082 | }; | |
7083 | ||
7084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSplitterEvent, |
7086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7087 | { |
7088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7089 | result = (int)((wxSplitterEvent const *)arg1)->GetY(); | |
7090 | ||
7091 | wxPyEndAllowThreads(__tstate); | |
7092 | if (PyErr_Occurred()) SWIG_fail; | |
7093 | } | |
c32bde28 | 7094 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7095 | return resultobj; |
7096 | fail: | |
7097 | return NULL; | |
7098 | } | |
7099 | ||
7100 | ||
c32bde28 | 7101 | static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7102 | PyObject *obj; |
7103 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7104 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj); | |
7105 | Py_INCREF(obj); | |
7106 | return Py_BuildValue((char *)""); | |
7107 | } | |
c32bde28 | 7108 | static int _wrap_SashNameStr_set(PyObject *) { |
b2dc1044 RD |
7109 | PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only."); |
7110 | return 1; | |
7111 | } | |
7112 | ||
7113 | ||
7114 | static PyObject *_wrap_SashNameStr_get() { | |
7115 | PyObject *pyobj; | |
7116 | ||
7117 | { | |
7118 | #if wxUSE_UNICODE | |
7119 | pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
7120 | #else | |
7121 | pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len()); | |
7122 | #endif | |
7123 | } | |
7124 | return pyobj; | |
7125 | } | |
7126 | ||
7127 | ||
c32bde28 | 7128 | static int _wrap_SashLayoutNameStr_set(PyObject *) { |
b2dc1044 RD |
7129 | PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only."); |
7130 | return 1; | |
7131 | } | |
7132 | ||
7133 | ||
7134 | static PyObject *_wrap_SashLayoutNameStr_get() { | |
7135 | PyObject *pyobj; | |
7136 | ||
7137 | { | |
7138 | #if wxUSE_UNICODE | |
7139 | pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
7140 | #else | |
7141 | pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len()); | |
7142 | #endif | |
7143 | } | |
7144 | return pyobj; | |
7145 | } | |
7146 | ||
7147 | ||
c32bde28 | 7148 | static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7149 | PyObject *resultobj; |
7150 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 7151 | int arg2 = (int) -1 ; |
d14a1e28 RD |
7152 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
7153 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
7154 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
7155 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
7156 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7157 | wxString const &arg6_defvalue = wxPySashNameStr ; | |
7158 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
7159 | wxSashWindow *result; | |
7160 | wxPoint temp3 ; | |
7161 | wxSize temp4 ; | |
ae8162c8 | 7162 | bool temp6 = false ; |
d14a1e28 | 7163 | PyObject * obj0 = 0 ; |
994141e6 | 7164 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7165 | PyObject * obj2 = 0 ; |
7166 | PyObject * obj3 = 0 ; | |
994141e6 | 7167 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
7168 | PyObject * obj5 = 0 ; |
7169 | char *kwnames[] = { | |
7170 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7171 | }; | |
7172 | ||
248ed943 | 7173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
7174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
7175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 7176 | if (obj1) { |
c32bde28 | 7177 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
7178 | if (PyErr_Occurred()) SWIG_fail; |
7179 | } | |
d14a1e28 RD |
7180 | if (obj2) { |
7181 | { | |
7182 | arg3 = &temp3; | |
7183 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
7184 | } | |
7185 | } | |
7186 | if (obj3) { | |
7187 | { | |
7188 | arg4 = &temp4; | |
7189 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
7190 | } | |
7191 | } | |
994141e6 | 7192 | if (obj4) { |
c32bde28 | 7193 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 7194 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7195 | } |
d14a1e28 RD |
7196 | if (obj5) { |
7197 | { | |
7198 | arg6 = wxString_in_helper(obj5); | |
7199 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 7200 | temp6 = true; |
d14a1e28 RD |
7201 | } |
7202 | } | |
7203 | { | |
e3b71cb8 | 7204 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7206 | result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
7207 | ||
7208 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7209 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7210 | } |
15afbcd0 | 7211 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
7212 | { |
7213 | if (temp6) | |
7214 | delete arg6; | |
7215 | } | |
7216 | return resultobj; | |
7217 | fail: | |
7218 | { | |
7219 | if (temp6) | |
7220 | delete arg6; | |
7221 | } | |
7222 | return NULL; | |
7223 | } | |
7224 | ||
7225 | ||
c32bde28 | 7226 | static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7227 | PyObject *resultobj; |
7228 | wxSashWindow *result; | |
7229 | char *kwnames[] = { | |
7230 | NULL | |
7231 | }; | |
7232 | ||
7233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail; | |
7234 | { | |
e3b71cb8 | 7235 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
7236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
7237 | result = (wxSashWindow *)new wxSashWindow(); | |
7238 | ||
7239 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 7240 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 7241 | } |
15afbcd0 | 7242 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1); |
d14a1e28 RD |
7243 | return resultobj; |
7244 | fail: | |
7245 | return NULL; | |
7246 | } | |
7247 | ||
7248 | ||
c32bde28 | 7249 | static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7250 | PyObject *resultobj; |
7251 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7252 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 7253 | int arg3 = (int) -1 ; |
d14a1e28 RD |
7254 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
7255 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
7256 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
7257 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
7258 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
7259 | wxString const &arg7_defvalue = wxPySashNameStr ; | |
7260 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
7261 | bool result; | |
7262 | wxPoint temp4 ; | |
7263 | wxSize temp5 ; | |
ae8162c8 | 7264 | bool temp7 = false ; |
d14a1e28 RD |
7265 | PyObject * obj0 = 0 ; |
7266 | PyObject * obj1 = 0 ; | |
994141e6 | 7267 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
7268 | PyObject * obj3 = 0 ; |
7269 | PyObject * obj4 = 0 ; | |
994141e6 | 7270 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
7271 | PyObject * obj6 = 0 ; |
7272 | char *kwnames[] = { | |
7273 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
7274 | }; | |
7275 | ||
248ed943 | 7276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
7277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
7279 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
7280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 7281 | if (obj2) { |
c32bde28 | 7282 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
7283 | if (PyErr_Occurred()) SWIG_fail; |
7284 | } | |
d14a1e28 RD |
7285 | if (obj3) { |
7286 | { | |
7287 | arg4 = &temp4; | |
7288 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
7289 | } | |
7290 | } | |
7291 | if (obj4) { | |
7292 | { | |
7293 | arg5 = &temp5; | |
7294 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
7295 | } | |
7296 | } | |
994141e6 | 7297 | if (obj5) { |
c32bde28 | 7298 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 7299 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7300 | } |
d14a1e28 RD |
7301 | if (obj6) { |
7302 | { | |
7303 | arg7 = wxString_in_helper(obj6); | |
7304 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 7305 | temp7 = true; |
d14a1e28 RD |
7306 | } |
7307 | } | |
7308 | { | |
7309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7310 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
7311 | ||
7312 | wxPyEndAllowThreads(__tstate); | |
7313 | if (PyErr_Occurred()) SWIG_fail; | |
7314 | } | |
4f89f6a3 RD |
7315 | { |
7316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7317 | } | |
d14a1e28 RD |
7318 | { |
7319 | if (temp7) | |
7320 | delete arg7; | |
7321 | } | |
7322 | return resultobj; | |
7323 | fail: | |
7324 | { | |
7325 | if (temp7) | |
7326 | delete arg7; | |
7327 | } | |
7328 | return NULL; | |
7329 | } | |
7330 | ||
7331 | ||
c32bde28 | 7332 | static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7333 | PyObject *resultobj; |
7334 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7335 | int arg2 ; | |
7336 | bool arg3 ; | |
7337 | PyObject * obj0 = 0 ; | |
994141e6 | 7338 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7339 | PyObject * obj2 = 0 ; |
7340 | char *kwnames[] = { | |
7341 | (char *) "self",(char *) "edge",(char *) "sash", NULL | |
7342 | }; | |
7343 | ||
994141e6 | 7344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7345 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7347 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7348 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7349 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7350 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7351 | { |
7352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7353 | (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3); | |
7354 | ||
7355 | wxPyEndAllowThreads(__tstate); | |
7356 | if (PyErr_Occurred()) SWIG_fail; | |
7357 | } | |
7358 | Py_INCREF(Py_None); resultobj = Py_None; | |
7359 | return resultobj; | |
7360 | fail: | |
7361 | return NULL; | |
7362 | } | |
7363 | ||
7364 | ||
c32bde28 | 7365 | static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7366 | PyObject *resultobj; |
7367 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7368 | int arg2 ; | |
7369 | bool result; | |
7370 | PyObject * obj0 = 0 ; | |
994141e6 | 7371 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7372 | char *kwnames[] = { |
7373 | (char *) "self",(char *) "edge", NULL | |
7374 | }; | |
7375 | ||
994141e6 | 7376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7379 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7380 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7381 | { |
7382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7383 | result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2); | |
7384 | ||
7385 | wxPyEndAllowThreads(__tstate); | |
7386 | if (PyErr_Occurred()) SWIG_fail; | |
7387 | } | |
4f89f6a3 RD |
7388 | { |
7389 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7390 | } | |
d14a1e28 RD |
7391 | return resultobj; |
7392 | fail: | |
7393 | return NULL; | |
7394 | } | |
7395 | ||
7396 | ||
c32bde28 | 7397 | static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7398 | PyObject *resultobj; |
7399 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7400 | int arg2 ; | |
7401 | bool arg3 ; | |
7402 | PyObject * obj0 = 0 ; | |
994141e6 | 7403 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7404 | PyObject * obj2 = 0 ; |
7405 | char *kwnames[] = { | |
7406 | (char *) "self",(char *) "edge",(char *) "border", NULL | |
7407 | }; | |
7408 | ||
994141e6 | 7409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
7410 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7411 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7412 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7413 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7414 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 7415 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7416 | { |
7417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7418 | (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3); | |
7419 | ||
7420 | wxPyEndAllowThreads(__tstate); | |
7421 | if (PyErr_Occurred()) SWIG_fail; | |
7422 | } | |
7423 | Py_INCREF(Py_None); resultobj = Py_None; | |
7424 | return resultobj; | |
7425 | fail: | |
7426 | return NULL; | |
7427 | } | |
7428 | ||
7429 | ||
c32bde28 | 7430 | static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7431 | PyObject *resultobj; |
7432 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7433 | int arg2 ; | |
7434 | bool result; | |
7435 | PyObject * obj0 = 0 ; | |
994141e6 | 7436 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7437 | char *kwnames[] = { |
7438 | (char *) "self",(char *) "edge", NULL | |
7439 | }; | |
7440 | ||
994141e6 | 7441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7442 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7443 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7444 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7445 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7446 | { |
7447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7448 | result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2); | |
7449 | ||
7450 | wxPyEndAllowThreads(__tstate); | |
7451 | if (PyErr_Occurred()) SWIG_fail; | |
7452 | } | |
4f89f6a3 RD |
7453 | { |
7454 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7455 | } | |
d14a1e28 RD |
7456 | return resultobj; |
7457 | fail: | |
7458 | return NULL; | |
7459 | } | |
7460 | ||
7461 | ||
c32bde28 | 7462 | static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7463 | PyObject *resultobj; |
7464 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7465 | int arg2 ; | |
7466 | int result; | |
7467 | PyObject * obj0 = 0 ; | |
994141e6 | 7468 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7469 | char *kwnames[] = { |
7470 | (char *) "self",(char *) "edge", NULL | |
7471 | }; | |
7472 | ||
994141e6 | 7473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7476 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7477 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7478 | { |
7479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7480 | result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2); | |
7481 | ||
7482 | wxPyEndAllowThreads(__tstate); | |
7483 | if (PyErr_Occurred()) SWIG_fail; | |
7484 | } | |
c32bde28 | 7485 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7486 | return resultobj; |
7487 | fail: | |
7488 | return NULL; | |
7489 | } | |
7490 | ||
7491 | ||
c32bde28 | 7492 | static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7493 | PyObject *resultobj; |
7494 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7495 | int arg2 ; | |
7496 | PyObject * obj0 = 0 ; | |
994141e6 | 7497 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7498 | char *kwnames[] = { |
7499 | (char *) "self",(char *) "width", NULL | |
7500 | }; | |
7501 | ||
994141e6 | 7502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7505 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7506 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7507 | { |
7508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7509 | (arg1)->SetDefaultBorderSize(arg2); | |
7510 | ||
7511 | wxPyEndAllowThreads(__tstate); | |
7512 | if (PyErr_Occurred()) SWIG_fail; | |
7513 | } | |
7514 | Py_INCREF(Py_None); resultobj = Py_None; | |
7515 | return resultobj; | |
7516 | fail: | |
7517 | return NULL; | |
7518 | } | |
7519 | ||
7520 | ||
c32bde28 | 7521 | static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7522 | PyObject *resultobj; |
7523 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7524 | int result; | |
7525 | PyObject * obj0 = 0 ; | |
7526 | char *kwnames[] = { | |
7527 | (char *) "self", NULL | |
7528 | }; | |
7529 | ||
7530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7531 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7532 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7533 | { |
7534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7535 | result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize(); | |
7536 | ||
7537 | wxPyEndAllowThreads(__tstate); | |
7538 | if (PyErr_Occurred()) SWIG_fail; | |
7539 | } | |
c32bde28 | 7540 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7541 | return resultobj; |
7542 | fail: | |
7543 | return NULL; | |
7544 | } | |
7545 | ||
7546 | ||
c32bde28 | 7547 | static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7548 | PyObject *resultobj; |
7549 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7550 | int arg2 ; | |
7551 | PyObject * obj0 = 0 ; | |
994141e6 | 7552 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7553 | char *kwnames[] = { |
7554 | (char *) "self",(char *) "width", NULL | |
7555 | }; | |
7556 | ||
994141e6 | 7557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7560 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7561 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7562 | { |
7563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7564 | (arg1)->SetExtraBorderSize(arg2); | |
7565 | ||
7566 | wxPyEndAllowThreads(__tstate); | |
7567 | if (PyErr_Occurred()) SWIG_fail; | |
7568 | } | |
7569 | Py_INCREF(Py_None); resultobj = Py_None; | |
7570 | return resultobj; | |
7571 | fail: | |
7572 | return NULL; | |
7573 | } | |
7574 | ||
7575 | ||
c32bde28 | 7576 | static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7577 | PyObject *resultobj; |
7578 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7579 | int result; | |
7580 | PyObject * obj0 = 0 ; | |
7581 | char *kwnames[] = { | |
7582 | (char *) "self", NULL | |
7583 | }; | |
7584 | ||
7585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7586 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7587 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7588 | { |
7589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7590 | result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize(); | |
7591 | ||
7592 | wxPyEndAllowThreads(__tstate); | |
7593 | if (PyErr_Occurred()) SWIG_fail; | |
7594 | } | |
c32bde28 | 7595 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7596 | return resultobj; |
7597 | fail: | |
7598 | return NULL; | |
7599 | } | |
7600 | ||
7601 | ||
c32bde28 | 7602 | static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7603 | PyObject *resultobj; |
7604 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7605 | int arg2 ; | |
7606 | PyObject * obj0 = 0 ; | |
994141e6 | 7607 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7608 | char *kwnames[] = { |
7609 | (char *) "self",(char *) "min", NULL | |
7610 | }; | |
7611 | ||
994141e6 | 7612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7613 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7614 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7615 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7616 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7617 | { |
7618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7619 | (arg1)->SetMinimumSizeX(arg2); | |
7620 | ||
7621 | wxPyEndAllowThreads(__tstate); | |
7622 | if (PyErr_Occurred()) SWIG_fail; | |
7623 | } | |
7624 | Py_INCREF(Py_None); resultobj = Py_None; | |
7625 | return resultobj; | |
7626 | fail: | |
7627 | return NULL; | |
7628 | } | |
7629 | ||
7630 | ||
c32bde28 | 7631 | static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7632 | PyObject *resultobj; |
7633 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7634 | int arg2 ; | |
7635 | PyObject * obj0 = 0 ; | |
994141e6 | 7636 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7637 | char *kwnames[] = { |
7638 | (char *) "self",(char *) "min", NULL | |
7639 | }; | |
7640 | ||
994141e6 | 7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7642 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7644 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7645 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7646 | { |
7647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7648 | (arg1)->SetMinimumSizeY(arg2); | |
7649 | ||
7650 | wxPyEndAllowThreads(__tstate); | |
7651 | if (PyErr_Occurred()) SWIG_fail; | |
7652 | } | |
7653 | Py_INCREF(Py_None); resultobj = Py_None; | |
7654 | return resultobj; | |
7655 | fail: | |
7656 | return NULL; | |
7657 | } | |
7658 | ||
7659 | ||
c32bde28 | 7660 | static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7661 | PyObject *resultobj; |
7662 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7663 | int result; | |
7664 | PyObject * obj0 = 0 ; | |
7665 | char *kwnames[] = { | |
7666 | (char *) "self", NULL | |
7667 | }; | |
7668 | ||
7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7672 | { |
7673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7674 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX(); | |
7675 | ||
7676 | wxPyEndAllowThreads(__tstate); | |
7677 | if (PyErr_Occurred()) SWIG_fail; | |
7678 | } | |
c32bde28 | 7679 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7680 | return resultobj; |
7681 | fail: | |
7682 | return NULL; | |
7683 | } | |
7684 | ||
7685 | ||
c32bde28 | 7686 | static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7687 | PyObject *resultobj; |
7688 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7689 | int result; | |
7690 | PyObject * obj0 = 0 ; | |
7691 | char *kwnames[] = { | |
7692 | (char *) "self", NULL | |
7693 | }; | |
7694 | ||
7695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7698 | { |
7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7700 | result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY(); | |
7701 | ||
7702 | wxPyEndAllowThreads(__tstate); | |
7703 | if (PyErr_Occurred()) SWIG_fail; | |
7704 | } | |
c32bde28 | 7705 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7706 | return resultobj; |
7707 | fail: | |
7708 | return NULL; | |
7709 | } | |
7710 | ||
7711 | ||
c32bde28 | 7712 | static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7713 | PyObject *resultobj; |
7714 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7715 | int arg2 ; | |
7716 | PyObject * obj0 = 0 ; | |
994141e6 | 7717 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7718 | char *kwnames[] = { |
7719 | (char *) "self",(char *) "max", NULL | |
7720 | }; | |
7721 | ||
994141e6 | 7722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7725 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7726 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7727 | { |
7728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7729 | (arg1)->SetMaximumSizeX(arg2); | |
7730 | ||
7731 | wxPyEndAllowThreads(__tstate); | |
7732 | if (PyErr_Occurred()) SWIG_fail; | |
7733 | } | |
7734 | Py_INCREF(Py_None); resultobj = Py_None; | |
7735 | return resultobj; | |
7736 | fail: | |
7737 | return NULL; | |
7738 | } | |
7739 | ||
7740 | ||
c32bde28 | 7741 | static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7742 | PyObject *resultobj; |
7743 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7744 | int arg2 ; | |
7745 | PyObject * obj0 = 0 ; | |
994141e6 | 7746 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7747 | char *kwnames[] = { |
7748 | (char *) "self",(char *) "max", NULL | |
7749 | }; | |
7750 | ||
994141e6 | 7751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7754 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7755 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7756 | { |
7757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7758 | (arg1)->SetMaximumSizeY(arg2); | |
7759 | ||
7760 | wxPyEndAllowThreads(__tstate); | |
7761 | if (PyErr_Occurred()) SWIG_fail; | |
7762 | } | |
7763 | Py_INCREF(Py_None); resultobj = Py_None; | |
7764 | return resultobj; | |
7765 | fail: | |
7766 | return NULL; | |
7767 | } | |
7768 | ||
7769 | ||
c32bde28 | 7770 | static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7771 | PyObject *resultobj; |
7772 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7773 | int result; | |
7774 | PyObject * obj0 = 0 ; | |
7775 | char *kwnames[] = { | |
7776 | (char *) "self", NULL | |
7777 | }; | |
7778 | ||
7779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7780 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7781 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7782 | { |
7783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7784 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX(); | |
7785 | ||
7786 | wxPyEndAllowThreads(__tstate); | |
7787 | if (PyErr_Occurred()) SWIG_fail; | |
7788 | } | |
c32bde28 | 7789 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7790 | return resultobj; |
7791 | fail: | |
7792 | return NULL; | |
7793 | } | |
7794 | ||
7795 | ||
c32bde28 | 7796 | static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7797 | PyObject *resultobj; |
7798 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7799 | int result; | |
7800 | PyObject * obj0 = 0 ; | |
7801 | char *kwnames[] = { | |
7802 | (char *) "self", NULL | |
7803 | }; | |
7804 | ||
7805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7808 | { |
7809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7810 | result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY(); | |
7811 | ||
7812 | wxPyEndAllowThreads(__tstate); | |
7813 | if (PyErr_Occurred()) SWIG_fail; | |
7814 | } | |
c32bde28 | 7815 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7816 | return resultobj; |
7817 | fail: | |
7818 | return NULL; | |
7819 | } | |
7820 | ||
7821 | ||
c32bde28 | 7822 | static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7823 | PyObject *resultobj; |
7824 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7825 | int arg2 ; | |
7826 | int arg3 ; | |
7827 | int arg4 = (int) 2 ; | |
7828 | int result; | |
7829 | PyObject * obj0 = 0 ; | |
994141e6 RD |
7830 | PyObject * obj1 = 0 ; |
7831 | PyObject * obj2 = 0 ; | |
7832 | PyObject * obj3 = 0 ; | |
d14a1e28 RD |
7833 | char *kwnames[] = { |
7834 | (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL | |
7835 | }; | |
7836 | ||
994141e6 | 7837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
7838 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7839 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7840 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7841 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 7842 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 7843 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7844 | if (obj3) { |
c32bde28 | 7845 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 7846 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7847 | } |
d14a1e28 RD |
7848 | { |
7849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7850 | result = (int)(arg1)->SashHitTest(arg2,arg3,arg4); | |
7851 | ||
7852 | wxPyEndAllowThreads(__tstate); | |
7853 | if (PyErr_Occurred()) SWIG_fail; | |
7854 | } | |
c32bde28 | 7855 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7856 | return resultobj; |
7857 | fail: | |
7858 | return NULL; | |
7859 | } | |
7860 | ||
7861 | ||
c32bde28 | 7862 | static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7863 | PyObject *resultobj; |
7864 | wxSashWindow *arg1 = (wxSashWindow *) 0 ; | |
7865 | PyObject * obj0 = 0 ; | |
7866 | char *kwnames[] = { | |
7867 | (char *) "self", NULL | |
7868 | }; | |
7869 | ||
7870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashWindow, |
7872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7873 | { |
7874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7875 | (arg1)->SizeWindows(); | |
7876 | ||
7877 | wxPyEndAllowThreads(__tstate); | |
7878 | if (PyErr_Occurred()) SWIG_fail; | |
7879 | } | |
7880 | Py_INCREF(Py_None); resultobj = Py_None; | |
7881 | return resultobj; | |
7882 | fail: | |
7883 | return NULL; | |
7884 | } | |
7885 | ||
7886 | ||
c32bde28 | 7887 | static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
7888 | PyObject *obj; |
7889 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
7890 | SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj); | |
7891 | Py_INCREF(obj); | |
7892 | return Py_BuildValue((char *)""); | |
7893 | } | |
c32bde28 | 7894 | static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7895 | PyObject *resultobj; |
7896 | int arg1 = (int) 0 ; | |
7897 | int arg2 = (int) wxSASH_NONE ; | |
7898 | wxSashEvent *result; | |
994141e6 RD |
7899 | PyObject * obj0 = 0 ; |
7900 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
7901 | char *kwnames[] = { |
7902 | (char *) "id",(char *) "edge", NULL | |
7903 | }; | |
7904 | ||
994141e6 RD |
7905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail; |
7906 | if (obj0) { | |
c32bde28 | 7907 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 7908 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
7909 | } |
7910 | if (obj1) { | |
c32bde28 | 7911 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7912 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 7913 | } |
d14a1e28 RD |
7914 | { |
7915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7916 | result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2); | |
7917 | ||
7918 | wxPyEndAllowThreads(__tstate); | |
7919 | if (PyErr_Occurred()) SWIG_fail; | |
7920 | } | |
15afbcd0 | 7921 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1); |
d14a1e28 RD |
7922 | return resultobj; |
7923 | fail: | |
7924 | return NULL; | |
7925 | } | |
7926 | ||
7927 | ||
c32bde28 | 7928 | static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7929 | PyObject *resultobj; |
7930 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7931 | int arg2 ; | |
7932 | PyObject * obj0 = 0 ; | |
994141e6 | 7933 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
7934 | char *kwnames[] = { |
7935 | (char *) "self",(char *) "edge", NULL | |
7936 | }; | |
7937 | ||
994141e6 | 7938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
7939 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7940 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 7941 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 7942 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
7943 | { |
7944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7945 | (arg1)->SetEdge((wxSashEdgePosition )arg2); | |
7946 | ||
7947 | wxPyEndAllowThreads(__tstate); | |
7948 | if (PyErr_Occurred()) SWIG_fail; | |
7949 | } | |
7950 | Py_INCREF(Py_None); resultobj = Py_None; | |
7951 | return resultobj; | |
7952 | fail: | |
7953 | return NULL; | |
7954 | } | |
7955 | ||
7956 | ||
c32bde28 | 7957 | static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7958 | PyObject *resultobj; |
7959 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7960 | int result; | |
7961 | PyObject * obj0 = 0 ; | |
7962 | char *kwnames[] = { | |
7963 | (char *) "self", NULL | |
7964 | }; | |
7965 | ||
7966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
7967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7968 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7969 | { |
7970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7971 | result = (int)((wxSashEvent const *)arg1)->GetEdge(); | |
7972 | ||
7973 | wxPyEndAllowThreads(__tstate); | |
7974 | if (PyErr_Occurred()) SWIG_fail; | |
7975 | } | |
c32bde28 | 7976 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
7977 | return resultobj; |
7978 | fail: | |
7979 | return NULL; | |
7980 | } | |
7981 | ||
7982 | ||
c32bde28 | 7983 | static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
7984 | PyObject *resultobj; |
7985 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
7986 | wxRect *arg2 = 0 ; | |
7987 | wxRect temp2 ; | |
7988 | PyObject * obj0 = 0 ; | |
7989 | PyObject * obj1 = 0 ; | |
7990 | char *kwnames[] = { | |
7991 | (char *) "self",(char *) "rect", NULL | |
7992 | }; | |
7993 | ||
7994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
7995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
7996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
7997 | { |
7998 | arg2 = &temp2; | |
7999 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8000 | } | |
8001 | { | |
8002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8003 | (arg1)->SetDragRect((wxRect const &)*arg2); | |
8004 | ||
8005 | wxPyEndAllowThreads(__tstate); | |
8006 | if (PyErr_Occurred()) SWIG_fail; | |
8007 | } | |
8008 | Py_INCREF(Py_None); resultobj = Py_None; | |
8009 | return resultobj; | |
8010 | fail: | |
8011 | return NULL; | |
8012 | } | |
8013 | ||
8014 | ||
c32bde28 | 8015 | static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8016 | PyObject *resultobj; |
8017 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
8018 | wxRect result; | |
8019 | PyObject * obj0 = 0 ; | |
8020 | char *kwnames[] = { | |
8021 | (char *) "self", NULL | |
8022 | }; | |
8023 | ||
8024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
8026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8027 | { |
8028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8029 | result = ((wxSashEvent const *)arg1)->GetDragRect(); | |
8030 | ||
8031 | wxPyEndAllowThreads(__tstate); | |
8032 | if (PyErr_Occurred()) SWIG_fail; | |
8033 | } | |
8034 | { | |
8035 | wxRect * resultptr; | |
8036 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 8037 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
8038 | } |
8039 | return resultobj; | |
8040 | fail: | |
8041 | return NULL; | |
8042 | } | |
8043 | ||
8044 | ||
c32bde28 | 8045 | static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8046 | PyObject *resultobj; |
8047 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
8048 | int arg2 ; | |
8049 | PyObject * obj0 = 0 ; | |
994141e6 | 8050 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8051 | char *kwnames[] = { |
8052 | (char *) "self",(char *) "status", NULL | |
8053 | }; | |
8054 | ||
994141e6 | 8055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8056 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
8057 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8058 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8059 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8060 | { |
8061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8062 | (arg1)->SetDragStatus((wxSashDragStatus )arg2); | |
8063 | ||
8064 | wxPyEndAllowThreads(__tstate); | |
8065 | if (PyErr_Occurred()) SWIG_fail; | |
8066 | } | |
8067 | Py_INCREF(Py_None); resultobj = Py_None; | |
8068 | return resultobj; | |
8069 | fail: | |
8070 | return NULL; | |
8071 | } | |
8072 | ||
8073 | ||
c32bde28 | 8074 | static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8075 | PyObject *resultobj; |
8076 | wxSashEvent *arg1 = (wxSashEvent *) 0 ; | |
8077 | int result; | |
8078 | PyObject * obj0 = 0 ; | |
8079 | char *kwnames[] = { | |
8080 | (char *) "self", NULL | |
8081 | }; | |
8082 | ||
8083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8084 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashEvent, |
8085 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8086 | { |
8087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8088 | result = (int)((wxSashEvent const *)arg1)->GetDragStatus(); | |
8089 | ||
8090 | wxPyEndAllowThreads(__tstate); | |
8091 | if (PyErr_Occurred()) SWIG_fail; | |
8092 | } | |
c32bde28 | 8093 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8094 | return resultobj; |
8095 | fail: | |
8096 | return NULL; | |
8097 | } | |
8098 | ||
8099 | ||
c32bde28 | 8100 | static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8101 | PyObject *obj; |
8102 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8103 | SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj); | |
8104 | Py_INCREF(obj); | |
8105 | return Py_BuildValue((char *)""); | |
8106 | } | |
c32bde28 | 8107 | static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 8108 | PyObject *resultobj; |
e811c8ce | 8109 | int arg1 = (int) 0 ; |
d14a1e28 | 8110 | wxQueryLayoutInfoEvent *result; |
994141e6 | 8111 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8112 | char *kwnames[] = { |
8113 | (char *) "id", NULL | |
8114 | }; | |
8115 | ||
994141e6 RD |
8116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail; |
8117 | if (obj0) { | |
c32bde28 | 8118 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 8119 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8120 | } |
d14a1e28 RD |
8121 | { |
8122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8123 | result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1); | |
8124 | ||
8125 | wxPyEndAllowThreads(__tstate); | |
8126 | if (PyErr_Occurred()) SWIG_fail; | |
8127 | } | |
15afbcd0 | 8128 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1); |
d14a1e28 RD |
8129 | return resultobj; |
8130 | fail: | |
8131 | return NULL; | |
8132 | } | |
8133 | ||
8134 | ||
c32bde28 | 8135 | static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8136 | PyObject *resultobj; |
8137 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8138 | int arg2 ; | |
8139 | PyObject * obj0 = 0 ; | |
994141e6 | 8140 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8141 | char *kwnames[] = { |
8142 | (char *) "self",(char *) "length", NULL | |
8143 | }; | |
8144 | ||
994141e6 | 8145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8146 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8147 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8148 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8149 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8150 | { |
8151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8152 | (arg1)->SetRequestedLength(arg2); | |
8153 | ||
8154 | wxPyEndAllowThreads(__tstate); | |
8155 | if (PyErr_Occurred()) SWIG_fail; | |
8156 | } | |
8157 | Py_INCREF(Py_None); resultobj = Py_None; | |
8158 | return resultobj; | |
8159 | fail: | |
8160 | return NULL; | |
8161 | } | |
8162 | ||
8163 | ||
c32bde28 | 8164 | static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8165 | PyObject *resultobj; |
8166 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8167 | int result; | |
8168 | PyObject * obj0 = 0 ; | |
8169 | char *kwnames[] = { | |
8170 | (char *) "self", NULL | |
8171 | }; | |
8172 | ||
8173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8174 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8175 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8176 | { |
8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8178 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength(); | |
8179 | ||
8180 | wxPyEndAllowThreads(__tstate); | |
8181 | if (PyErr_Occurred()) SWIG_fail; | |
8182 | } | |
c32bde28 | 8183 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8184 | return resultobj; |
8185 | fail: | |
8186 | return NULL; | |
8187 | } | |
8188 | ||
8189 | ||
c32bde28 | 8190 | static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8191 | PyObject *resultobj; |
8192 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8193 | int arg2 ; | |
8194 | PyObject * obj0 = 0 ; | |
994141e6 | 8195 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8196 | char *kwnames[] = { |
8197 | (char *) "self",(char *) "flags", NULL | |
8198 | }; | |
8199 | ||
994141e6 | 8200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8203 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8204 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8205 | { |
8206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8207 | (arg1)->SetFlags(arg2); | |
8208 | ||
8209 | wxPyEndAllowThreads(__tstate); | |
8210 | if (PyErr_Occurred()) SWIG_fail; | |
8211 | } | |
8212 | Py_INCREF(Py_None); resultobj = Py_None; | |
8213 | return resultobj; | |
8214 | fail: | |
8215 | return NULL; | |
8216 | } | |
8217 | ||
8218 | ||
c32bde28 | 8219 | static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8220 | PyObject *resultobj; |
8221 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8222 | int result; | |
8223 | PyObject * obj0 = 0 ; | |
8224 | char *kwnames[] = { | |
8225 | (char *) "self", NULL | |
8226 | }; | |
8227 | ||
8228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8231 | { |
8232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8233 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags(); | |
8234 | ||
8235 | wxPyEndAllowThreads(__tstate); | |
8236 | if (PyErr_Occurred()) SWIG_fail; | |
8237 | } | |
c32bde28 | 8238 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8239 | return resultobj; |
8240 | fail: | |
8241 | return NULL; | |
8242 | } | |
8243 | ||
8244 | ||
c32bde28 | 8245 | static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8246 | PyObject *resultobj; |
8247 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8248 | wxSize *arg2 = 0 ; | |
8249 | wxSize temp2 ; | |
8250 | PyObject * obj0 = 0 ; | |
8251 | PyObject * obj1 = 0 ; | |
8252 | char *kwnames[] = { | |
8253 | (char *) "self",(char *) "size", NULL | |
8254 | }; | |
8255 | ||
8256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8259 | { |
8260 | arg2 = &temp2; | |
8261 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8262 | } | |
8263 | { | |
8264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8265 | (arg1)->SetSize((wxSize const &)*arg2); | |
8266 | ||
8267 | wxPyEndAllowThreads(__tstate); | |
8268 | if (PyErr_Occurred()) SWIG_fail; | |
8269 | } | |
8270 | Py_INCREF(Py_None); resultobj = Py_None; | |
8271 | return resultobj; | |
8272 | fail: | |
8273 | return NULL; | |
8274 | } | |
8275 | ||
8276 | ||
c32bde28 | 8277 | static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8278 | PyObject *resultobj; |
8279 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8280 | wxSize result; | |
8281 | PyObject * obj0 = 0 ; | |
8282 | char *kwnames[] = { | |
8283 | (char *) "self", NULL | |
8284 | }; | |
8285 | ||
8286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8289 | { |
8290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8291 | result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize(); | |
8292 | ||
8293 | wxPyEndAllowThreads(__tstate); | |
8294 | if (PyErr_Occurred()) SWIG_fail; | |
8295 | } | |
8296 | { | |
8297 | wxSize * resultptr; | |
8298 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 8299 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
8300 | } |
8301 | return resultobj; | |
8302 | fail: | |
8303 | return NULL; | |
8304 | } | |
8305 | ||
8306 | ||
c32bde28 | 8307 | static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8308 | PyObject *resultobj; |
8309 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8310 | int arg2 ; | |
8311 | PyObject * obj0 = 0 ; | |
994141e6 | 8312 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8313 | char *kwnames[] = { |
8314 | (char *) "self",(char *) "orient", NULL | |
8315 | }; | |
8316 | ||
994141e6 | 8317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8320 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8321 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8322 | { |
8323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8324 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8325 | ||
8326 | wxPyEndAllowThreads(__tstate); | |
8327 | if (PyErr_Occurred()) SWIG_fail; | |
8328 | } | |
8329 | Py_INCREF(Py_None); resultobj = Py_None; | |
8330 | return resultobj; | |
8331 | fail: | |
8332 | return NULL; | |
8333 | } | |
8334 | ||
8335 | ||
c32bde28 | 8336 | static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8337 | PyObject *resultobj; |
8338 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8339 | int result; | |
8340 | PyObject * obj0 = 0 ; | |
8341 | char *kwnames[] = { | |
8342 | (char *) "self", NULL | |
8343 | }; | |
8344 | ||
8345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8346 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8347 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8348 | { |
8349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8350 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation(); | |
8351 | ||
8352 | wxPyEndAllowThreads(__tstate); | |
8353 | if (PyErr_Occurred()) SWIG_fail; | |
8354 | } | |
c32bde28 | 8355 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8356 | return resultobj; |
8357 | fail: | |
8358 | return NULL; | |
8359 | } | |
8360 | ||
8361 | ||
c32bde28 | 8362 | static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8363 | PyObject *resultobj; |
8364 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8365 | int arg2 ; | |
8366 | PyObject * obj0 = 0 ; | |
994141e6 | 8367 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8368 | char *kwnames[] = { |
8369 | (char *) "self",(char *) "align", NULL | |
8370 | }; | |
8371 | ||
994141e6 | 8372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8375 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8376 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8377 | { |
8378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8379 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8380 | ||
8381 | wxPyEndAllowThreads(__tstate); | |
8382 | if (PyErr_Occurred()) SWIG_fail; | |
8383 | } | |
8384 | Py_INCREF(Py_None); resultobj = Py_None; | |
8385 | return resultobj; | |
8386 | fail: | |
8387 | return NULL; | |
8388 | } | |
8389 | ||
8390 | ||
c32bde28 | 8391 | static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8392 | PyObject *resultobj; |
8393 | wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ; | |
8394 | int result; | |
8395 | PyObject * obj0 = 0 ; | |
8396 | char *kwnames[] = { | |
8397 | (char *) "self", NULL | |
8398 | }; | |
8399 | ||
8400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8401 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryLayoutInfoEvent, |
8402 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8403 | { |
8404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8405 | result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment(); | |
8406 | ||
8407 | wxPyEndAllowThreads(__tstate); | |
8408 | if (PyErr_Occurred()) SWIG_fail; | |
8409 | } | |
c32bde28 | 8410 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8411 | return resultobj; |
8412 | fail: | |
8413 | return NULL; | |
8414 | } | |
8415 | ||
8416 | ||
c32bde28 | 8417 | static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8418 | PyObject *obj; |
8419 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8420 | SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj); | |
8421 | Py_INCREF(obj); | |
8422 | return Py_BuildValue((char *)""); | |
8423 | } | |
c32bde28 | 8424 | static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 8425 | PyObject *resultobj; |
e811c8ce | 8426 | int arg1 = (int) 0 ; |
d14a1e28 | 8427 | wxCalculateLayoutEvent *result; |
994141e6 | 8428 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
8429 | char *kwnames[] = { |
8430 | (char *) "id", NULL | |
8431 | }; | |
8432 | ||
994141e6 RD |
8433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail; |
8434 | if (obj0) { | |
c32bde28 | 8435 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 8436 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8437 | } |
d14a1e28 RD |
8438 | { |
8439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8440 | result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1); | |
8441 | ||
8442 | wxPyEndAllowThreads(__tstate); | |
8443 | if (PyErr_Occurred()) SWIG_fail; | |
8444 | } | |
15afbcd0 | 8445 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1); |
d14a1e28 RD |
8446 | return resultobj; |
8447 | fail: | |
8448 | return NULL; | |
8449 | } | |
8450 | ||
8451 | ||
c32bde28 | 8452 | static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8453 | PyObject *resultobj; |
8454 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8455 | int arg2 ; | |
8456 | PyObject * obj0 = 0 ; | |
994141e6 | 8457 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8458 | char *kwnames[] = { |
8459 | (char *) "self",(char *) "flags", NULL | |
8460 | }; | |
8461 | ||
994141e6 | 8462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8465 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8466 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8467 | { |
8468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8469 | (arg1)->SetFlags(arg2); | |
8470 | ||
8471 | wxPyEndAllowThreads(__tstate); | |
8472 | if (PyErr_Occurred()) SWIG_fail; | |
8473 | } | |
8474 | Py_INCREF(Py_None); resultobj = Py_None; | |
8475 | return resultobj; | |
8476 | fail: | |
8477 | return NULL; | |
8478 | } | |
8479 | ||
8480 | ||
c32bde28 | 8481 | static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8482 | PyObject *resultobj; |
8483 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8484 | int result; | |
8485 | PyObject * obj0 = 0 ; | |
8486 | char *kwnames[] = { | |
8487 | (char *) "self", NULL | |
8488 | }; | |
8489 | ||
8490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8493 | { |
8494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8495 | result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags(); | |
8496 | ||
8497 | wxPyEndAllowThreads(__tstate); | |
8498 | if (PyErr_Occurred()) SWIG_fail; | |
8499 | } | |
c32bde28 | 8500 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8501 | return resultobj; |
8502 | fail: | |
8503 | return NULL; | |
8504 | } | |
8505 | ||
8506 | ||
c32bde28 | 8507 | static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8508 | PyObject *resultobj; |
8509 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8510 | wxRect *arg2 = 0 ; | |
8511 | wxRect temp2 ; | |
8512 | PyObject * obj0 = 0 ; | |
8513 | PyObject * obj1 = 0 ; | |
8514 | char *kwnames[] = { | |
8515 | (char *) "self",(char *) "rect", NULL | |
8516 | }; | |
8517 | ||
8518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8521 | { |
8522 | arg2 = &temp2; | |
8523 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
8524 | } | |
8525 | { | |
8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8527 | (arg1)->SetRect((wxRect const &)*arg2); | |
8528 | ||
8529 | wxPyEndAllowThreads(__tstate); | |
8530 | if (PyErr_Occurred()) SWIG_fail; | |
8531 | } | |
8532 | Py_INCREF(Py_None); resultobj = Py_None; | |
8533 | return resultobj; | |
8534 | fail: | |
8535 | return NULL; | |
8536 | } | |
8537 | ||
8538 | ||
c32bde28 | 8539 | static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8540 | PyObject *resultobj; |
8541 | wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ; | |
8542 | wxRect result; | |
8543 | PyObject * obj0 = 0 ; | |
8544 | char *kwnames[] = { | |
8545 | (char *) "self", NULL | |
8546 | }; | |
8547 | ||
8548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8549 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCalculateLayoutEvent, |
8550 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8551 | { |
8552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8553 | result = ((wxCalculateLayoutEvent const *)arg1)->GetRect(); | |
8554 | ||
8555 | wxPyEndAllowThreads(__tstate); | |
8556 | if (PyErr_Occurred()) SWIG_fail; | |
8557 | } | |
8558 | { | |
8559 | wxRect * resultptr; | |
8560 | resultptr = new wxRect((wxRect &) result); | |
15afbcd0 | 8561 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1); |
d14a1e28 RD |
8562 | } |
8563 | return resultobj; | |
8564 | fail: | |
8565 | return NULL; | |
8566 | } | |
8567 | ||
8568 | ||
c32bde28 | 8569 | static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8570 | PyObject *obj; |
8571 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8572 | SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj); | |
8573 | Py_INCREF(obj); | |
8574 | return Py_BuildValue((char *)""); | |
8575 | } | |
c32bde28 | 8576 | static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8577 | PyObject *resultobj; |
8578 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 8579 | int arg2 = (int) -1 ; |
d14a1e28 RD |
8580 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
8581 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
8582 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
8583 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
8584 | long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8585 | wxString const &arg6_defvalue = wxPySashLayoutNameStr ; | |
8586 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
8587 | wxSashLayoutWindow *result; | |
8588 | wxPoint temp3 ; | |
8589 | wxSize temp4 ; | |
ae8162c8 | 8590 | bool temp6 = false ; |
d14a1e28 | 8591 | PyObject * obj0 = 0 ; |
994141e6 | 8592 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8593 | PyObject * obj2 = 0 ; |
8594 | PyObject * obj3 = 0 ; | |
994141e6 | 8595 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
8596 | PyObject * obj5 = 0 ; |
8597 | char *kwnames[] = { | |
8598 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8599 | }; | |
8600 | ||
248ed943 | 8601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
8602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
8603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 8604 | if (obj1) { |
c32bde28 | 8605 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
8606 | if (PyErr_Occurred()) SWIG_fail; |
8607 | } | |
d14a1e28 RD |
8608 | if (obj2) { |
8609 | { | |
8610 | arg3 = &temp3; | |
8611 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
8612 | } | |
8613 | } | |
8614 | if (obj3) { | |
8615 | { | |
8616 | arg4 = &temp4; | |
8617 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
8618 | } | |
8619 | } | |
994141e6 | 8620 | if (obj4) { |
c32bde28 | 8621 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 8622 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8623 | } |
d14a1e28 RD |
8624 | if (obj5) { |
8625 | { | |
8626 | arg6 = wxString_in_helper(obj5); | |
8627 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 8628 | temp6 = true; |
d14a1e28 RD |
8629 | } |
8630 | } | |
8631 | { | |
e3b71cb8 | 8632 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8634 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
8635 | ||
8636 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8637 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8638 | } |
15afbcd0 | 8639 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8640 | { |
8641 | if (temp6) | |
8642 | delete arg6; | |
8643 | } | |
8644 | return resultobj; | |
8645 | fail: | |
8646 | { | |
8647 | if (temp6) | |
8648 | delete arg6; | |
8649 | } | |
8650 | return NULL; | |
8651 | } | |
8652 | ||
8653 | ||
c32bde28 | 8654 | static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8655 | PyObject *resultobj; |
8656 | wxSashLayoutWindow *result; | |
8657 | char *kwnames[] = { | |
8658 | NULL | |
8659 | }; | |
8660 | ||
8661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail; | |
8662 | { | |
e3b71cb8 | 8663 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
8664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
8665 | result = (wxSashLayoutWindow *)new wxSashLayoutWindow(); | |
8666 | ||
8667 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 8668 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 8669 | } |
15afbcd0 | 8670 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1); |
d14a1e28 RD |
8671 | return resultobj; |
8672 | fail: | |
8673 | return NULL; | |
8674 | } | |
8675 | ||
8676 | ||
c32bde28 | 8677 | static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8678 | PyObject *resultobj; |
8679 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8680 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 8681 | int arg3 = (int) -1 ; |
d14a1e28 RD |
8682 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8683 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8684 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8685 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8686 | long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ; | |
8687 | wxString const &arg7_defvalue = wxPySashLayoutNameStr ; | |
8688 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8689 | bool result; | |
8690 | wxPoint temp4 ; | |
8691 | wxSize temp5 ; | |
ae8162c8 | 8692 | bool temp7 = false ; |
d14a1e28 RD |
8693 | PyObject * obj0 = 0 ; |
8694 | PyObject * obj1 = 0 ; | |
994141e6 | 8695 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
8696 | PyObject * obj3 = 0 ; |
8697 | PyObject * obj4 = 0 ; | |
994141e6 | 8698 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
8699 | PyObject * obj6 = 0 ; |
8700 | char *kwnames[] = { | |
8701 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8702 | }; | |
8703 | ||
248ed943 | 8704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
8705 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8706 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8707 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
8708 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 8709 | if (obj2) { |
c32bde28 | 8710 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
8711 | if (PyErr_Occurred()) SWIG_fail; |
8712 | } | |
d14a1e28 RD |
8713 | if (obj3) { |
8714 | { | |
8715 | arg4 = &temp4; | |
8716 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8717 | } | |
8718 | } | |
8719 | if (obj4) { | |
8720 | { | |
8721 | arg5 = &temp5; | |
8722 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8723 | } | |
8724 | } | |
994141e6 | 8725 | if (obj5) { |
c32bde28 | 8726 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 8727 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 8728 | } |
d14a1e28 RD |
8729 | if (obj6) { |
8730 | { | |
8731 | arg7 = wxString_in_helper(obj6); | |
8732 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 8733 | temp7 = true; |
d14a1e28 RD |
8734 | } |
8735 | } | |
8736 | { | |
8737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8738 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8739 | ||
8740 | wxPyEndAllowThreads(__tstate); | |
8741 | if (PyErr_Occurred()) SWIG_fail; | |
8742 | } | |
4f89f6a3 RD |
8743 | { |
8744 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8745 | } | |
d14a1e28 RD |
8746 | { |
8747 | if (temp7) | |
8748 | delete arg7; | |
8749 | } | |
8750 | return resultobj; | |
8751 | fail: | |
8752 | { | |
8753 | if (temp7) | |
8754 | delete arg7; | |
8755 | } | |
8756 | return NULL; | |
8757 | } | |
8758 | ||
8759 | ||
c32bde28 | 8760 | static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8761 | PyObject *resultobj; |
8762 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8763 | int result; | |
8764 | PyObject * obj0 = 0 ; | |
8765 | char *kwnames[] = { | |
8766 | (char *) "self", NULL | |
8767 | }; | |
8768 | ||
8769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8770 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8771 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8772 | { |
8773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8774 | result = (int)(arg1)->GetAlignment(); | |
8775 | ||
8776 | wxPyEndAllowThreads(__tstate); | |
8777 | if (PyErr_Occurred()) SWIG_fail; | |
8778 | } | |
c32bde28 | 8779 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8780 | return resultobj; |
8781 | fail: | |
8782 | return NULL; | |
8783 | } | |
8784 | ||
8785 | ||
c32bde28 | 8786 | static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8787 | PyObject *resultobj; |
8788 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8789 | int result; | |
8790 | PyObject * obj0 = 0 ; | |
8791 | char *kwnames[] = { | |
8792 | (char *) "self", NULL | |
8793 | }; | |
8794 | ||
8795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8796 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8797 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8798 | { |
8799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8800 | result = (int)(arg1)->GetOrientation(); | |
8801 | ||
8802 | wxPyEndAllowThreads(__tstate); | |
8803 | if (PyErr_Occurred()) SWIG_fail; | |
8804 | } | |
c32bde28 | 8805 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
8806 | return resultobj; |
8807 | fail: | |
8808 | return NULL; | |
8809 | } | |
8810 | ||
8811 | ||
c32bde28 | 8812 | static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8813 | PyObject *resultobj; |
8814 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8815 | int arg2 ; | |
8816 | PyObject * obj0 = 0 ; | |
994141e6 | 8817 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8818 | char *kwnames[] = { |
8819 | (char *) "self",(char *) "alignment", NULL | |
8820 | }; | |
8821 | ||
994141e6 | 8822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8825 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8826 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8827 | { |
8828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8829 | (arg1)->SetAlignment((wxLayoutAlignment )arg2); | |
8830 | ||
8831 | wxPyEndAllowThreads(__tstate); | |
8832 | if (PyErr_Occurred()) SWIG_fail; | |
8833 | } | |
8834 | Py_INCREF(Py_None); resultobj = Py_None; | |
8835 | return resultobj; | |
8836 | fail: | |
8837 | return NULL; | |
8838 | } | |
8839 | ||
8840 | ||
c32bde28 | 8841 | static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8842 | PyObject *resultobj; |
8843 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8844 | wxSize *arg2 = 0 ; | |
8845 | wxSize temp2 ; | |
8846 | PyObject * obj0 = 0 ; | |
8847 | PyObject * obj1 = 0 ; | |
8848 | char *kwnames[] = { | |
8849 | (char *) "self",(char *) "size", NULL | |
8850 | }; | |
8851 | ||
8852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
8853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8855 | { |
8856 | arg2 = &temp2; | |
8857 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
8858 | } | |
8859 | { | |
8860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8861 | (arg1)->SetDefaultSize((wxSize const &)*arg2); | |
8862 | ||
8863 | wxPyEndAllowThreads(__tstate); | |
8864 | if (PyErr_Occurred()) SWIG_fail; | |
8865 | } | |
8866 | Py_INCREF(Py_None); resultobj = Py_None; | |
8867 | return resultobj; | |
8868 | fail: | |
8869 | return NULL; | |
8870 | } | |
8871 | ||
8872 | ||
c32bde28 | 8873 | static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8874 | PyObject *resultobj; |
8875 | wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ; | |
8876 | int arg2 ; | |
8877 | PyObject * obj0 = 0 ; | |
994141e6 | 8878 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
8879 | char *kwnames[] = { |
8880 | (char *) "self",(char *) "orientation", NULL | |
8881 | }; | |
8882 | ||
994141e6 | 8883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
8884 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSashLayoutWindow, |
8885 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 8886 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 8887 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
8888 | { |
8889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8890 | (arg1)->SetOrientation((wxLayoutOrientation )arg2); | |
8891 | ||
8892 | wxPyEndAllowThreads(__tstate); | |
8893 | if (PyErr_Occurred()) SWIG_fail; | |
8894 | } | |
8895 | Py_INCREF(Py_None); resultobj = Py_None; | |
8896 | return resultobj; | |
8897 | fail: | |
8898 | return NULL; | |
8899 | } | |
8900 | ||
8901 | ||
c32bde28 | 8902 | static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
8903 | PyObject *obj; |
8904 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8905 | SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj); | |
8906 | Py_INCREF(obj); | |
8907 | return Py_BuildValue((char *)""); | |
8908 | } | |
c32bde28 | 8909 | static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8910 | PyObject *resultobj; |
8911 | wxLayoutAlgorithm *result; | |
8912 | char *kwnames[] = { | |
8913 | NULL | |
8914 | }; | |
8915 | ||
8916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail; | |
8917 | { | |
8918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8919 | result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm(); | |
8920 | ||
8921 | wxPyEndAllowThreads(__tstate); | |
8922 | if (PyErr_Occurred()) SWIG_fail; | |
8923 | } | |
15afbcd0 | 8924 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1); |
d14a1e28 RD |
8925 | return resultobj; |
8926 | fail: | |
8927 | return NULL; | |
8928 | } | |
8929 | ||
8930 | ||
c32bde28 | 8931 | static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8932 | PyObject *resultobj; |
8933 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8934 | PyObject * obj0 = 0 ; | |
8935 | char *kwnames[] = { | |
8936 | (char *) "self", NULL | |
8937 | }; | |
8938 | ||
8939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
8940 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8941 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8942 | { |
8943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8944 | delete arg1; | |
8945 | ||
8946 | wxPyEndAllowThreads(__tstate); | |
8947 | if (PyErr_Occurred()) SWIG_fail; | |
8948 | } | |
8949 | Py_INCREF(Py_None); resultobj = Py_None; | |
8950 | return resultobj; | |
8951 | fail: | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
c32bde28 | 8956 | static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8957 | PyObject *resultobj; |
8958 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8959 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
8960 | wxRect *arg3 = (wxRect *) NULL ; | |
8961 | bool result; | |
8962 | PyObject * obj0 = 0 ; | |
8963 | PyObject * obj1 = 0 ; | |
8964 | PyObject * obj2 = 0 ; | |
8965 | char *kwnames[] = { | |
8966 | (char *) "self",(char *) "frame",(char *) "rect", NULL | |
8967 | }; | |
8968 | ||
8969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
8970 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
8971 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8972 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
8973 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 8974 | if (obj2) { |
15afbcd0 RD |
8975 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect, |
8976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
8977 | } |
8978 | { | |
8979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8980 | result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3); | |
8981 | ||
8982 | wxPyEndAllowThreads(__tstate); | |
8983 | if (PyErr_Occurred()) SWIG_fail; | |
8984 | } | |
4f89f6a3 RD |
8985 | { |
8986 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8987 | } | |
d14a1e28 RD |
8988 | return resultobj; |
8989 | fail: | |
8990 | return NULL; | |
8991 | } | |
8992 | ||
8993 | ||
c32bde28 | 8994 | static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
8995 | PyObject *resultobj; |
8996 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
8997 | wxFrame *arg2 = (wxFrame *) 0 ; | |
8998 | wxWindow *arg3 = (wxWindow *) NULL ; | |
8999 | bool result; | |
9000 | PyObject * obj0 = 0 ; | |
9001 | PyObject * obj1 = 0 ; | |
9002 | PyObject * obj2 = 0 ; | |
9003 | char *kwnames[] = { | |
9004 | (char *) "self",(char *) "frame",(char *) "mainWindow", NULL | |
9005 | }; | |
9006 | ||
9007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
9009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9010 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
9011 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 9012 | if (obj2) { |
15afbcd0 RD |
9013 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
9014 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9015 | } |
9016 | { | |
9017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9018 | result = (bool)(arg1)->LayoutFrame(arg2,arg3); | |
9019 | ||
9020 | wxPyEndAllowThreads(__tstate); | |
9021 | if (PyErr_Occurred()) SWIG_fail; | |
9022 | } | |
4f89f6a3 RD |
9023 | { |
9024 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9025 | } | |
d14a1e28 RD |
9026 | return resultobj; |
9027 | fail: | |
9028 | return NULL; | |
9029 | } | |
9030 | ||
9031 | ||
c32bde28 | 9032 | static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9033 | PyObject *resultobj; |
9034 | wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ; | |
9035 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9036 | wxWindow *arg3 = (wxWindow *) NULL ; | |
9037 | bool result; | |
9038 | PyObject * obj0 = 0 ; | |
9039 | PyObject * obj1 = 0 ; | |
9040 | PyObject * obj2 = 0 ; | |
9041 | char *kwnames[] = { | |
9042 | (char *) "self",(char *) "parent",(char *) "mainWindow", NULL | |
9043 | }; | |
9044 | ||
9045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9046 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutAlgorithm, |
9047 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9048 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9049 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 9050 | if (obj2) { |
15afbcd0 RD |
9051 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, |
9052 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9053 | } |
9054 | { | |
9055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9056 | result = (bool)(arg1)->LayoutWindow(arg2,arg3); | |
9057 | ||
9058 | wxPyEndAllowThreads(__tstate); | |
9059 | if (PyErr_Occurred()) SWIG_fail; | |
9060 | } | |
4f89f6a3 RD |
9061 | { |
9062 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9063 | } | |
d14a1e28 RD |
9064 | return resultobj; |
9065 | fail: | |
9066 | return NULL; | |
9067 | } | |
9068 | ||
9069 | ||
c32bde28 | 9070 | static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9071 | PyObject *obj; |
9072 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9073 | SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj); | |
9074 | Py_INCREF(obj); | |
9075 | return Py_BuildValue((char *)""); | |
9076 | } | |
c32bde28 | 9077 | static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9078 | PyObject *resultobj; |
9079 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9080 | int arg2 = (int) wxBORDER_NONE ; | |
9081 | wxPopupWindow *result; | |
9082 | PyObject * obj0 = 0 ; | |
994141e6 | 9083 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9084 | char *kwnames[] = { |
9085 | (char *) "parent",(char *) "flags", NULL | |
9086 | }; | |
9087 | ||
994141e6 | 9088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9091 | if (obj1) { |
c32bde28 | 9092 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9093 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9094 | } |
d14a1e28 | 9095 | { |
e3b71cb8 | 9096 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9098 | result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2); | |
9099 | ||
9100 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9101 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9102 | } |
15afbcd0 | 9103 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
9104 | return resultobj; |
9105 | fail: | |
9106 | return NULL; | |
9107 | } | |
9108 | ||
9109 | ||
c32bde28 | 9110 | static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9111 | PyObject *resultobj; |
9112 | wxPopupWindow *result; | |
9113 | char *kwnames[] = { | |
9114 | NULL | |
9115 | }; | |
9116 | ||
9117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail; | |
9118 | { | |
e3b71cb8 | 9119 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9121 | result = (wxPopupWindow *)new wxPopupWindow(); | |
9122 | ||
9123 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9124 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9125 | } |
15afbcd0 | 9126 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1); |
d14a1e28 RD |
9127 | return resultobj; |
9128 | fail: | |
9129 | return NULL; | |
9130 | } | |
9131 | ||
9132 | ||
c32bde28 | 9133 | static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9134 | PyObject *resultobj; |
9135 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
9136 | wxWindow *arg2 = (wxWindow *) 0 ; | |
9137 | int arg3 = (int) wxBORDER_NONE ; | |
9138 | bool result; | |
9139 | PyObject * obj0 = 0 ; | |
9140 | PyObject * obj1 = 0 ; | |
994141e6 | 9141 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9142 | char *kwnames[] = { |
9143 | (char *) "self",(char *) "parent",(char *) "flags", NULL | |
9144 | }; | |
9145 | ||
994141e6 | 9146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
9148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9149 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9150 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9151 | if (obj2) { |
c32bde28 | 9152 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9153 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9154 | } |
d14a1e28 RD |
9155 | { |
9156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9157 | result = (bool)(arg1)->Create(arg2,arg3); | |
9158 | ||
9159 | wxPyEndAllowThreads(__tstate); | |
9160 | if (PyErr_Occurred()) SWIG_fail; | |
9161 | } | |
4f89f6a3 RD |
9162 | { |
9163 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9164 | } | |
d14a1e28 RD |
9165 | return resultobj; |
9166 | fail: | |
9167 | return NULL; | |
9168 | } | |
9169 | ||
9170 | ||
c32bde28 | 9171 | static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9172 | PyObject *resultobj; |
9173 | wxPopupWindow *arg1 = (wxPopupWindow *) 0 ; | |
9174 | wxPoint *arg2 = 0 ; | |
9175 | wxSize *arg3 = 0 ; | |
9176 | wxPoint temp2 ; | |
9177 | wxSize temp3 ; | |
9178 | PyObject * obj0 = 0 ; | |
9179 | PyObject * obj1 = 0 ; | |
9180 | PyObject * obj2 = 0 ; | |
9181 | char *kwnames[] = { | |
9182 | (char *) "self",(char *) "ptOrigin",(char *) "size", NULL | |
9183 | }; | |
9184 | ||
9185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPopupWindow, |
9187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9188 | { |
9189 | arg2 = &temp2; | |
9190 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9191 | } | |
9192 | { | |
9193 | arg3 = &temp3; | |
9194 | if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail; | |
9195 | } | |
9196 | { | |
9197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9198 | (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3); | |
9199 | ||
9200 | wxPyEndAllowThreads(__tstate); | |
9201 | if (PyErr_Occurred()) SWIG_fail; | |
9202 | } | |
9203 | Py_INCREF(Py_None); resultobj = Py_None; | |
9204 | return resultobj; | |
9205 | fail: | |
9206 | return NULL; | |
9207 | } | |
9208 | ||
9209 | ||
c32bde28 | 9210 | static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9211 | PyObject *obj; |
9212 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9213 | SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj); | |
9214 | Py_INCREF(obj); | |
9215 | return Py_BuildValue((char *)""); | |
9216 | } | |
c32bde28 | 9217 | static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9218 | PyObject *resultobj; |
9219 | wxWindow *arg1 = (wxWindow *) 0 ; | |
9220 | int arg2 = (int) wxBORDER_NONE ; | |
9221 | wxPyPopupTransientWindow *result; | |
9222 | PyObject * obj0 = 0 ; | |
994141e6 | 9223 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9224 | char *kwnames[] = { |
9225 | (char *) "parent",(char *) "style", NULL | |
9226 | }; | |
9227 | ||
994141e6 | 9228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9231 | if (obj1) { |
c32bde28 | 9232 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9233 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9234 | } |
d14a1e28 | 9235 | { |
e3b71cb8 | 9236 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9238 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2); | |
9239 | ||
9240 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9241 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9242 | } |
15afbcd0 | 9243 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
9244 | return resultobj; |
9245 | fail: | |
9246 | return NULL; | |
9247 | } | |
9248 | ||
9249 | ||
c32bde28 | 9250 | static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9251 | PyObject *resultobj; |
9252 | wxPyPopupTransientWindow *result; | |
9253 | char *kwnames[] = { | |
9254 | NULL | |
9255 | }; | |
9256 | ||
9257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail; | |
9258 | { | |
e3b71cb8 | 9259 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9261 | result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(); | |
9262 | ||
9263 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9264 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9265 | } |
15afbcd0 | 9266 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1); |
d14a1e28 RD |
9267 | return resultobj; |
9268 | fail: | |
9269 | return NULL; | |
9270 | } | |
9271 | ||
9272 | ||
c32bde28 | 9273 | static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9274 | PyObject *resultobj; |
9275 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9276 | PyObject *arg2 = (PyObject *) 0 ; | |
9277 | PyObject *arg3 = (PyObject *) 0 ; | |
9278 | PyObject * obj0 = 0 ; | |
9279 | PyObject * obj1 = 0 ; | |
9280 | PyObject * obj2 = 0 ; | |
9281 | char *kwnames[] = { | |
9282 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9283 | }; | |
9284 | ||
9285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9286 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9287 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9288 | arg2 = obj1; |
9289 | arg3 = obj2; | |
9290 | { | |
9291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9292 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9293 | ||
9294 | wxPyEndAllowThreads(__tstate); | |
9295 | if (PyErr_Occurred()) SWIG_fail; | |
9296 | } | |
9297 | Py_INCREF(Py_None); resultobj = Py_None; | |
9298 | return resultobj; | |
9299 | fail: | |
9300 | return NULL; | |
9301 | } | |
9302 | ||
9303 | ||
c32bde28 | 9304 | static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9305 | PyObject *resultobj; |
9306 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9307 | wxWindow *arg2 = (wxWindow *) NULL ; | |
9308 | PyObject * obj0 = 0 ; | |
9309 | PyObject * obj1 = 0 ; | |
9310 | char *kwnames[] = { | |
9311 | (char *) "self",(char *) "focus", NULL | |
9312 | }; | |
9313 | ||
9314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 9317 | if (obj1) { |
15afbcd0 RD |
9318 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
9319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9320 | } |
9321 | { | |
9322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9323 | (arg1)->Popup(arg2); | |
9324 | ||
9325 | wxPyEndAllowThreads(__tstate); | |
9326 | if (PyErr_Occurred()) SWIG_fail; | |
9327 | } | |
9328 | Py_INCREF(Py_None); resultobj = Py_None; | |
9329 | return resultobj; | |
9330 | fail: | |
9331 | return NULL; | |
9332 | } | |
9333 | ||
9334 | ||
c32bde28 | 9335 | static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9336 | PyObject *resultobj; |
9337 | wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ; | |
9338 | PyObject * obj0 = 0 ; | |
9339 | char *kwnames[] = { | |
9340 | (char *) "self", NULL | |
9341 | }; | |
9342 | ||
9343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9344 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPopupTransientWindow, |
9345 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9346 | { |
9347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9348 | (arg1)->Dismiss(); | |
9349 | ||
9350 | wxPyEndAllowThreads(__tstate); | |
9351 | if (PyErr_Occurred()) SWIG_fail; | |
9352 | } | |
9353 | Py_INCREF(Py_None); resultobj = Py_None; | |
9354 | return resultobj; | |
9355 | fail: | |
9356 | return NULL; | |
9357 | } | |
9358 | ||
9359 | ||
c32bde28 | 9360 | static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9361 | PyObject *obj; |
9362 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9363 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj); | |
9364 | Py_INCREF(obj); | |
9365 | return Py_BuildValue((char *)""); | |
9366 | } | |
c32bde28 | 9367 | static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9368 | PyObject *resultobj; |
9369 | wxWindow *arg1 = (wxWindow *) 0 ; | |
fd3f2efe | 9370 | wxString *arg2 = 0 ; |
e811c8ce | 9371 | int arg3 = (int) 100 ; |
d14a1e28 RD |
9372 | wxRect *arg4 = (wxRect *) NULL ; |
9373 | wxTipWindow *result; | |
ae8162c8 | 9374 | bool temp2 = false ; |
d14a1e28 RD |
9375 | PyObject * obj0 = 0 ; |
9376 | PyObject * obj1 = 0 ; | |
994141e6 | 9377 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9378 | PyObject * obj3 = 0 ; |
9379 | char *kwnames[] = { | |
9380 | (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL | |
9381 | }; | |
9382 | ||
994141e6 | 9383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
9384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
fd3f2efe RD |
9386 | { |
9387 | arg2 = wxString_in_helper(obj1); | |
9388 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 9389 | temp2 = true; |
fd3f2efe | 9390 | } |
994141e6 | 9391 | if (obj2) { |
c32bde28 | 9392 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9393 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9394 | } |
d14a1e28 | 9395 | if (obj3) { |
15afbcd0 RD |
9396 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect, |
9397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9398 | } |
9399 | { | |
e3b71cb8 | 9400 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 9401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
fd3f2efe | 9402 | result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4); |
d14a1e28 RD |
9403 | |
9404 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9405 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9406 | } |
15afbcd0 | 9407 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1); |
fd3f2efe RD |
9408 | { |
9409 | if (temp2) | |
9410 | delete arg2; | |
9411 | } | |
d14a1e28 RD |
9412 | return resultobj; |
9413 | fail: | |
fd3f2efe RD |
9414 | { |
9415 | if (temp2) | |
9416 | delete arg2; | |
9417 | } | |
d14a1e28 RD |
9418 | return NULL; |
9419 | } | |
9420 | ||
9421 | ||
c32bde28 | 9422 | static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9423 | PyObject *resultobj; |
9424 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9425 | wxRect *arg2 = 0 ; | |
9426 | wxRect temp2 ; | |
9427 | PyObject * obj0 = 0 ; | |
9428 | PyObject * obj1 = 0 ; | |
9429 | char *kwnames[] = { | |
9430 | (char *) "self",(char *) "rectBound", NULL | |
9431 | }; | |
9432 | ||
9433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9434 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9435 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9436 | { |
9437 | arg2 = &temp2; | |
9438 | if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail; | |
9439 | } | |
9440 | { | |
9441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9442 | (arg1)->SetBoundingRect((wxRect const &)*arg2); | |
9443 | ||
9444 | wxPyEndAllowThreads(__tstate); | |
9445 | if (PyErr_Occurred()) SWIG_fail; | |
9446 | } | |
9447 | Py_INCREF(Py_None); resultobj = Py_None; | |
9448 | return resultobj; | |
9449 | fail: | |
9450 | return NULL; | |
9451 | } | |
9452 | ||
9453 | ||
c32bde28 | 9454 | static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9455 | PyObject *resultobj; |
9456 | wxTipWindow *arg1 = (wxTipWindow *) 0 ; | |
9457 | PyObject * obj0 = 0 ; | |
9458 | char *kwnames[] = { | |
9459 | (char *) "self", NULL | |
9460 | }; | |
9461 | ||
9462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9463 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipWindow, |
9464 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9465 | { |
9466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9467 | (arg1)->Close(); | |
9468 | ||
9469 | wxPyEndAllowThreads(__tstate); | |
9470 | if (PyErr_Occurred()) SWIG_fail; | |
9471 | } | |
9472 | Py_INCREF(Py_None); resultobj = Py_None; | |
9473 | return resultobj; | |
9474 | fail: | |
9475 | return NULL; | |
9476 | } | |
9477 | ||
9478 | ||
c32bde28 | 9479 | static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
9480 | PyObject *obj; |
9481 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9482 | SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj); | |
9483 | Py_INCREF(obj); | |
9484 | return Py_BuildValue((char *)""); | |
9485 | } | |
c32bde28 | 9486 | static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9487 | PyObject *resultobj; |
9488 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 9489 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
9490 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
9491 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
9492 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
9493 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
9494 | long arg5 = (long) 0 ; | |
9495 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
9496 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
9497 | wxPyVScrolledWindow *result; | |
9498 | wxPoint temp3 ; | |
9499 | wxSize temp4 ; | |
ae8162c8 | 9500 | bool temp6 = false ; |
d14a1e28 | 9501 | PyObject * obj0 = 0 ; |
994141e6 | 9502 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9503 | PyObject * obj2 = 0 ; |
9504 | PyObject * obj3 = 0 ; | |
994141e6 | 9505 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
9506 | PyObject * obj5 = 0 ; |
9507 | char *kwnames[] = { | |
9508 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9509 | }; | |
9510 | ||
994141e6 | 9511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
9512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
9513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9514 | if (obj1) { |
c32bde28 | 9515 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9516 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9517 | } |
d14a1e28 RD |
9518 | if (obj2) { |
9519 | { | |
9520 | arg3 = &temp3; | |
9521 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
9522 | } | |
9523 | } | |
9524 | if (obj3) { | |
9525 | { | |
9526 | arg4 = &temp4; | |
9527 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
9528 | } | |
9529 | } | |
994141e6 | 9530 | if (obj4) { |
c32bde28 | 9531 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 9532 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9533 | } |
d14a1e28 RD |
9534 | if (obj5) { |
9535 | { | |
9536 | arg6 = wxString_in_helper(obj5); | |
9537 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 9538 | temp6 = true; |
d14a1e28 RD |
9539 | } |
9540 | } | |
9541 | { | |
e3b71cb8 | 9542 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9544 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
9545 | ||
9546 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9547 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9548 | } |
15afbcd0 | 9549 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9550 | { |
9551 | if (temp6) | |
9552 | delete arg6; | |
9553 | } | |
9554 | return resultobj; | |
9555 | fail: | |
9556 | { | |
9557 | if (temp6) | |
9558 | delete arg6; | |
9559 | } | |
9560 | return NULL; | |
9561 | } | |
9562 | ||
9563 | ||
c32bde28 | 9564 | static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9565 | PyObject *resultobj; |
9566 | wxPyVScrolledWindow *result; | |
9567 | char *kwnames[] = { | |
9568 | NULL | |
9569 | }; | |
9570 | ||
9571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail; | |
9572 | { | |
e3b71cb8 | 9573 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
9574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
9575 | result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(); | |
9576 | ||
9577 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 9578 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 9579 | } |
15afbcd0 | 9580 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1); |
d14a1e28 RD |
9581 | return resultobj; |
9582 | fail: | |
9583 | return NULL; | |
9584 | } | |
9585 | ||
9586 | ||
c32bde28 | 9587 | static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9588 | PyObject *resultobj; |
9589 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9590 | PyObject *arg2 = (PyObject *) 0 ; | |
9591 | PyObject *arg3 = (PyObject *) 0 ; | |
9592 | PyObject * obj0 = 0 ; | |
9593 | PyObject * obj1 = 0 ; | |
9594 | PyObject * obj2 = 0 ; | |
9595 | char *kwnames[] = { | |
9596 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
9597 | }; | |
9598 | ||
9599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9602 | arg2 = obj1; |
9603 | arg3 = obj2; | |
9604 | { | |
9605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9606 | (arg1)->_setCallbackInfo(arg2,arg3); | |
9607 | ||
9608 | wxPyEndAllowThreads(__tstate); | |
9609 | if (PyErr_Occurred()) SWIG_fail; | |
9610 | } | |
9611 | Py_INCREF(Py_None); resultobj = Py_None; | |
9612 | return resultobj; | |
9613 | fail: | |
9614 | return NULL; | |
9615 | } | |
9616 | ||
9617 | ||
c32bde28 | 9618 | static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9619 | PyObject *resultobj; |
9620 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9621 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 9622 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
9623 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
9624 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
9625 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
9626 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
9627 | long arg6 = (long) 0 ; | |
9628 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
9629 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
9630 | bool result; | |
9631 | wxPoint temp4 ; | |
9632 | wxSize temp5 ; | |
ae8162c8 | 9633 | bool temp7 = false ; |
d14a1e28 RD |
9634 | PyObject * obj0 = 0 ; |
9635 | PyObject * obj1 = 0 ; | |
994141e6 | 9636 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
9637 | PyObject * obj3 = 0 ; |
9638 | PyObject * obj4 = 0 ; | |
994141e6 | 9639 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
9640 | PyObject * obj6 = 0 ; |
9641 | char *kwnames[] = { | |
9642 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
9643 | }; | |
9644 | ||
994141e6 | 9645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
9646 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9647 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
9648 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
9649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 9650 | if (obj2) { |
c32bde28 | 9651 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9652 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9653 | } |
d14a1e28 RD |
9654 | if (obj3) { |
9655 | { | |
9656 | arg4 = &temp4; | |
9657 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
9658 | } | |
9659 | } | |
9660 | if (obj4) { | |
9661 | { | |
9662 | arg5 = &temp5; | |
9663 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
9664 | } | |
9665 | } | |
994141e6 | 9666 | if (obj5) { |
c32bde28 | 9667 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 9668 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 9669 | } |
d14a1e28 RD |
9670 | if (obj6) { |
9671 | { | |
9672 | arg7 = wxString_in_helper(obj6); | |
9673 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 9674 | temp7 = true; |
d14a1e28 RD |
9675 | } |
9676 | } | |
9677 | { | |
9678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9679 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
9680 | ||
9681 | wxPyEndAllowThreads(__tstate); | |
9682 | if (PyErr_Occurred()) SWIG_fail; | |
9683 | } | |
4f89f6a3 RD |
9684 | { |
9685 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9686 | } | |
d14a1e28 RD |
9687 | { |
9688 | if (temp7) | |
9689 | delete arg7; | |
9690 | } | |
9691 | return resultobj; | |
9692 | fail: | |
9693 | { | |
9694 | if (temp7) | |
9695 | delete arg7; | |
9696 | } | |
9697 | return NULL; | |
9698 | } | |
9699 | ||
9700 | ||
c32bde28 | 9701 | static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9702 | PyObject *resultobj; |
9703 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9704 | size_t arg2 ; | |
9705 | PyObject * obj0 = 0 ; | |
9706 | PyObject * obj1 = 0 ; | |
9707 | char *kwnames[] = { | |
9708 | (char *) "self",(char *) "count", NULL | |
9709 | }; | |
9710 | ||
9711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9714 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9715 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9716 | { |
9717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9718 | (arg1)->SetLineCount(arg2); | |
9719 | ||
9720 | wxPyEndAllowThreads(__tstate); | |
9721 | if (PyErr_Occurred()) SWIG_fail; | |
9722 | } | |
9723 | Py_INCREF(Py_None); resultobj = Py_None; | |
9724 | return resultobj; | |
9725 | fail: | |
9726 | return NULL; | |
9727 | } | |
9728 | ||
9729 | ||
c32bde28 | 9730 | static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9731 | PyObject *resultobj; |
9732 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9733 | size_t arg2 ; | |
9734 | bool result; | |
9735 | PyObject * obj0 = 0 ; | |
9736 | PyObject * obj1 = 0 ; | |
9737 | char *kwnames[] = { | |
9738 | (char *) "self",(char *) "line", NULL | |
9739 | }; | |
9740 | ||
9741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9744 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9745 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9746 | { |
9747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9748 | result = (bool)(arg1)->ScrollToLine(arg2); | |
9749 | ||
9750 | wxPyEndAllowThreads(__tstate); | |
9751 | if (PyErr_Occurred()) SWIG_fail; | |
9752 | } | |
4f89f6a3 RD |
9753 | { |
9754 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9755 | } | |
d14a1e28 RD |
9756 | return resultobj; |
9757 | fail: | |
9758 | return NULL; | |
9759 | } | |
9760 | ||
9761 | ||
c32bde28 | 9762 | static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9763 | PyObject *resultobj; |
9764 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9765 | int arg2 ; | |
9766 | bool result; | |
9767 | PyObject * obj0 = 0 ; | |
994141e6 | 9768 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9769 | char *kwnames[] = { |
9770 | (char *) "self",(char *) "lines", NULL | |
9771 | }; | |
9772 | ||
994141e6 | 9773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9774 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9775 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9776 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9777 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9778 | { |
9779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9780 | result = (bool)(arg1)->ScrollLines(arg2); | |
9781 | ||
9782 | wxPyEndAllowThreads(__tstate); | |
9783 | if (PyErr_Occurred()) SWIG_fail; | |
9784 | } | |
4f89f6a3 RD |
9785 | { |
9786 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9787 | } | |
d14a1e28 RD |
9788 | return resultobj; |
9789 | fail: | |
9790 | return NULL; | |
9791 | } | |
9792 | ||
9793 | ||
c32bde28 | 9794 | static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9795 | PyObject *resultobj; |
9796 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9797 | int arg2 ; | |
9798 | bool result; | |
9799 | PyObject * obj0 = 0 ; | |
994141e6 | 9800 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
9801 | char *kwnames[] = { |
9802 | (char *) "self",(char *) "pages", NULL | |
9803 | }; | |
9804 | ||
994141e6 | 9805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
9806 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9807 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9808 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9809 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9810 | { |
9811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9812 | result = (bool)(arg1)->ScrollPages(arg2); | |
9813 | ||
9814 | wxPyEndAllowThreads(__tstate); | |
9815 | if (PyErr_Occurred()) SWIG_fail; | |
9816 | } | |
4f89f6a3 RD |
9817 | { |
9818 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
9819 | } | |
d14a1e28 RD |
9820 | return resultobj; |
9821 | fail: | |
9822 | return NULL; | |
9823 | } | |
9824 | ||
9825 | ||
c32bde28 | 9826 | static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9827 | PyObject *resultobj; |
9828 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9829 | size_t arg2 ; | |
9830 | PyObject * obj0 = 0 ; | |
9831 | PyObject * obj1 = 0 ; | |
9832 | char *kwnames[] = { | |
9833 | (char *) "self",(char *) "line", NULL | |
9834 | }; | |
9835 | ||
9836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9839 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9840 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9841 | { |
9842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9843 | (arg1)->RefreshLine(arg2); | |
9844 | ||
9845 | wxPyEndAllowThreads(__tstate); | |
9846 | if (PyErr_Occurred()) SWIG_fail; | |
9847 | } | |
9848 | Py_INCREF(Py_None); resultobj = Py_None; | |
9849 | return resultobj; | |
9850 | fail: | |
9851 | return NULL; | |
9852 | } | |
9853 | ||
9854 | ||
c32bde28 | 9855 | static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9856 | PyObject *resultobj; |
9857 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9858 | size_t arg2 ; | |
9859 | size_t arg3 ; | |
9860 | PyObject * obj0 = 0 ; | |
9861 | PyObject * obj1 = 0 ; | |
9862 | PyObject * obj2 = 0 ; | |
9863 | char *kwnames[] = { | |
9864 | (char *) "self",(char *) "from",(char *) "to", NULL | |
9865 | }; | |
9866 | ||
9867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
9868 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9869 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9870 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 9871 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 9872 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
15afbcd0 | 9873 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9874 | { |
9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9876 | (arg1)->RefreshLines(arg2,arg3); | |
9877 | ||
9878 | wxPyEndAllowThreads(__tstate); | |
9879 | if (PyErr_Occurred()) SWIG_fail; | |
9880 | } | |
9881 | Py_INCREF(Py_None); resultobj = Py_None; | |
9882 | return resultobj; | |
9883 | fail: | |
9884 | return NULL; | |
9885 | } | |
9886 | ||
9887 | ||
c32bde28 | 9888 | static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9889 | PyObject *resultobj; |
9890 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
e811c8ce RD |
9891 | int arg2 ; |
9892 | int arg3 ; | |
d14a1e28 RD |
9893 | int result; |
9894 | PyObject * obj0 = 0 ; | |
994141e6 RD |
9895 | PyObject * obj1 = 0 ; |
9896 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
9897 | char *kwnames[] = { |
9898 | (char *) "self",(char *) "x",(char *) "y", NULL | |
9899 | }; | |
9900 | ||
354693ff | 9901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
9902 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9903 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 9904 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 9905 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 9906 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 9907 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
9908 | { |
9909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9910 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3); | |
9911 | ||
9912 | wxPyEndAllowThreads(__tstate); | |
9913 | if (PyErr_Occurred()) SWIG_fail; | |
9914 | } | |
c32bde28 | 9915 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9916 | return resultobj; |
9917 | fail: | |
9918 | return NULL; | |
9919 | } | |
9920 | ||
9921 | ||
c32bde28 | 9922 | static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9923 | PyObject *resultobj; |
9924 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9925 | wxPoint *arg2 = 0 ; | |
9926 | int result; | |
9927 | wxPoint temp2 ; | |
9928 | PyObject * obj0 = 0 ; | |
9929 | PyObject * obj1 = 0 ; | |
9930 | char *kwnames[] = { | |
9931 | (char *) "self",(char *) "pt", NULL | |
9932 | }; | |
9933 | ||
9934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
9935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9937 | { |
9938 | arg2 = &temp2; | |
9939 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
9940 | } | |
9941 | { | |
9942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9943 | result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2); | |
9944 | ||
9945 | wxPyEndAllowThreads(__tstate); | |
9946 | if (PyErr_Occurred()) SWIG_fail; | |
9947 | } | |
c32bde28 | 9948 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
9949 | return resultobj; |
9950 | fail: | |
9951 | return NULL; | |
9952 | } | |
9953 | ||
9954 | ||
c32bde28 | 9955 | static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9956 | PyObject *resultobj; |
9957 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9958 | PyObject * obj0 = 0 ; | |
9959 | char *kwnames[] = { | |
9960 | (char *) "self", NULL | |
9961 | }; | |
9962 | ||
9963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9964 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9965 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9966 | { |
9967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9968 | (arg1)->RefreshAll(); | |
9969 | ||
9970 | wxPyEndAllowThreads(__tstate); | |
9971 | if (PyErr_Occurred()) SWIG_fail; | |
9972 | } | |
9973 | Py_INCREF(Py_None); resultobj = Py_None; | |
9974 | return resultobj; | |
9975 | fail: | |
9976 | return NULL; | |
9977 | } | |
9978 | ||
9979 | ||
c32bde28 | 9980 | static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
9981 | PyObject *resultobj; |
9982 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
9983 | size_t result; | |
9984 | PyObject * obj0 = 0 ; | |
9985 | char *kwnames[] = { | |
9986 | (char *) "self", NULL | |
9987 | }; | |
9988 | ||
9989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
9990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
9991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
9992 | { |
9993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9994 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount(); | |
9995 | ||
9996 | wxPyEndAllowThreads(__tstate); | |
9997 | if (PyErr_Occurred()) SWIG_fail; | |
9998 | } | |
c32bde28 | 9999 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10000 | return resultobj; |
10001 | fail: | |
10002 | return NULL; | |
10003 | } | |
10004 | ||
10005 | ||
c32bde28 | 10006 | static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10007 | PyObject *resultobj; |
10008 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10009 | size_t result; | |
10010 | PyObject * obj0 = 0 ; | |
10011 | char *kwnames[] = { | |
10012 | (char *) "self", NULL | |
10013 | }; | |
10014 | ||
10015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10016 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
10017 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10018 | { |
10019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10020 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine(); | |
10021 | ||
10022 | wxPyEndAllowThreads(__tstate); | |
10023 | if (PyErr_Occurred()) SWIG_fail; | |
10024 | } | |
c32bde28 | 10025 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10026 | return resultobj; |
10027 | fail: | |
10028 | return NULL; | |
10029 | } | |
10030 | ||
10031 | ||
c32bde28 | 10032 | static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10033 | PyObject *resultobj; |
10034 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10035 | size_t result; | |
10036 | PyObject * obj0 = 0 ; | |
10037 | char *kwnames[] = { | |
10038 | (char *) "self", NULL | |
10039 | }; | |
10040 | ||
10041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10042 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
10043 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10044 | { |
10045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10046 | result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine(); | |
10047 | ||
10048 | wxPyEndAllowThreads(__tstate); | |
10049 | if (PyErr_Occurred()) SWIG_fail; | |
10050 | } | |
c32bde28 | 10051 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10052 | return resultobj; |
10053 | fail: | |
10054 | return NULL; | |
10055 | } | |
10056 | ||
10057 | ||
c32bde28 | 10058 | static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10059 | PyObject *resultobj; |
10060 | wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ; | |
10061 | size_t arg2 ; | |
10062 | bool result; | |
10063 | PyObject * obj0 = 0 ; | |
10064 | PyObject * obj1 = 0 ; | |
10065 | char *kwnames[] = { | |
10066 | (char *) "self",(char *) "line", NULL | |
10067 | }; | |
10068 | ||
10069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10070 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVScrolledWindow, |
10071 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10072 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10073 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10074 | { |
10075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10076 | result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2); | |
10077 | ||
10078 | wxPyEndAllowThreads(__tstate); | |
10079 | if (PyErr_Occurred()) SWIG_fail; | |
10080 | } | |
4f89f6a3 RD |
10081 | { |
10082 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10083 | } | |
d14a1e28 RD |
10084 | return resultobj; |
10085 | fail: | |
10086 | return NULL; | |
10087 | } | |
10088 | ||
10089 | ||
c32bde28 | 10090 | static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10091 | PyObject *obj; |
10092 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10093 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj); | |
10094 | Py_INCREF(obj); | |
10095 | return Py_BuildValue((char *)""); | |
10096 | } | |
c32bde28 | 10097 | static int _wrap_VListBoxNameStr_set(PyObject *) { |
b2dc1044 RD |
10098 | PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only."); |
10099 | return 1; | |
10100 | } | |
10101 | ||
10102 | ||
10103 | static PyObject *_wrap_VListBoxNameStr_get() { | |
10104 | PyObject *pyobj; | |
10105 | ||
10106 | { | |
10107 | #if wxUSE_UNICODE | |
10108 | pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
10109 | #else | |
10110 | pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len()); | |
10111 | #endif | |
10112 | } | |
10113 | return pyobj; | |
10114 | } | |
10115 | ||
10116 | ||
c32bde28 | 10117 | static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10118 | PyObject *resultobj; |
10119 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10120 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10121 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10122 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10123 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10124 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10125 | long arg5 = (long) 0 ; | |
10126 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10127 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10128 | wxPyVListBox *result; | |
10129 | wxPoint temp3 ; | |
10130 | wxSize temp4 ; | |
ae8162c8 | 10131 | bool temp6 = false ; |
d14a1e28 | 10132 | PyObject * obj0 = 0 ; |
994141e6 | 10133 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10134 | PyObject * obj2 = 0 ; |
10135 | PyObject * obj3 = 0 ; | |
994141e6 | 10136 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10137 | PyObject * obj5 = 0 ; |
10138 | char *kwnames[] = { | |
10139 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10140 | }; | |
10141 | ||
994141e6 | 10142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10143 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10144 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10145 | if (obj1) { |
c32bde28 | 10146 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10147 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10148 | } |
d14a1e28 RD |
10149 | if (obj2) { |
10150 | { | |
10151 | arg3 = &temp3; | |
10152 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10153 | } | |
10154 | } | |
10155 | if (obj3) { | |
10156 | { | |
10157 | arg4 = &temp4; | |
10158 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
10159 | } | |
10160 | } | |
994141e6 | 10161 | if (obj4) { |
c32bde28 | 10162 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 10163 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10164 | } |
d14a1e28 RD |
10165 | if (obj5) { |
10166 | { | |
10167 | arg6 = wxString_in_helper(obj5); | |
10168 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 10169 | temp6 = true; |
d14a1e28 RD |
10170 | } |
10171 | } | |
10172 | { | |
e3b71cb8 | 10173 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10175 | result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
10176 | ||
10177 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10178 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10179 | } |
15afbcd0 | 10180 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
10181 | { |
10182 | if (temp6) | |
10183 | delete arg6; | |
10184 | } | |
10185 | return resultobj; | |
10186 | fail: | |
10187 | { | |
10188 | if (temp6) | |
10189 | delete arg6; | |
10190 | } | |
10191 | return NULL; | |
10192 | } | |
10193 | ||
10194 | ||
c32bde28 | 10195 | static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10196 | PyObject *resultobj; |
10197 | wxPyVListBox *result; | |
10198 | char *kwnames[] = { | |
10199 | NULL | |
10200 | }; | |
10201 | ||
10202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail; | |
10203 | { | |
e3b71cb8 | 10204 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
10205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10206 | result = (wxPyVListBox *)new wxPyVListBox(); | |
10207 | ||
10208 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 10209 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 10210 | } |
15afbcd0 | 10211 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1); |
d14a1e28 RD |
10212 | return resultobj; |
10213 | fail: | |
10214 | return NULL; | |
10215 | } | |
10216 | ||
10217 | ||
c32bde28 | 10218 | static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10219 | PyObject *resultobj; |
10220 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10221 | PyObject *arg2 = (PyObject *) 0 ; | |
10222 | PyObject *arg3 = (PyObject *) 0 ; | |
10223 | PyObject * obj0 = 0 ; | |
10224 | PyObject * obj1 = 0 ; | |
10225 | PyObject * obj2 = 0 ; | |
10226 | char *kwnames[] = { | |
10227 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
10228 | }; | |
10229 | ||
10230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10233 | arg2 = obj1; |
10234 | arg3 = obj2; | |
10235 | { | |
10236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10237 | (arg1)->_setCallbackInfo(arg2,arg3); | |
10238 | ||
10239 | wxPyEndAllowThreads(__tstate); | |
10240 | if (PyErr_Occurred()) SWIG_fail; | |
10241 | } | |
10242 | Py_INCREF(Py_None); resultobj = Py_None; | |
10243 | return resultobj; | |
10244 | fail: | |
10245 | return NULL; | |
10246 | } | |
10247 | ||
10248 | ||
c32bde28 | 10249 | static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10250 | PyObject *resultobj; |
10251 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10252 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 10253 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
10254 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
10255 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10256 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10257 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10258 | long arg6 = (long) 0 ; | |
10259 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
10260 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10261 | bool result; | |
10262 | wxPoint temp4 ; | |
10263 | wxSize temp5 ; | |
ae8162c8 | 10264 | bool temp7 = false ; |
d14a1e28 RD |
10265 | PyObject * obj0 = 0 ; |
10266 | PyObject * obj1 = 0 ; | |
994141e6 | 10267 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
10268 | PyObject * obj3 = 0 ; |
10269 | PyObject * obj4 = 0 ; | |
994141e6 | 10270 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
10271 | PyObject * obj6 = 0 ; |
10272 | char *kwnames[] = { | |
10273 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10274 | }; | |
10275 | ||
994141e6 | 10276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
10277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
10279 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
10280 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10281 | if (obj2) { |
c32bde28 | 10282 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 10283 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10284 | } |
d14a1e28 RD |
10285 | if (obj3) { |
10286 | { | |
10287 | arg4 = &temp4; | |
10288 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
10289 | } | |
10290 | } | |
10291 | if (obj4) { | |
10292 | { | |
10293 | arg5 = &temp5; | |
10294 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
10295 | } | |
10296 | } | |
994141e6 | 10297 | if (obj5) { |
c32bde28 | 10298 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 10299 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10300 | } |
d14a1e28 RD |
10301 | if (obj6) { |
10302 | { | |
10303 | arg7 = wxString_in_helper(obj6); | |
10304 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 10305 | temp7 = true; |
d14a1e28 RD |
10306 | } |
10307 | } | |
10308 | { | |
10309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10310 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10311 | ||
10312 | wxPyEndAllowThreads(__tstate); | |
10313 | if (PyErr_Occurred()) SWIG_fail; | |
10314 | } | |
4f89f6a3 RD |
10315 | { |
10316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10317 | } | |
d14a1e28 RD |
10318 | { |
10319 | if (temp7) | |
10320 | delete arg7; | |
10321 | } | |
10322 | return resultobj; | |
10323 | fail: | |
10324 | { | |
10325 | if (temp7) | |
10326 | delete arg7; | |
10327 | } | |
10328 | return NULL; | |
10329 | } | |
10330 | ||
10331 | ||
c32bde28 | 10332 | static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10333 | PyObject *resultobj; |
10334 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10335 | size_t result; | |
10336 | PyObject * obj0 = 0 ; | |
10337 | char *kwnames[] = { | |
10338 | (char *) "self", NULL | |
10339 | }; | |
10340 | ||
10341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10342 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10343 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10344 | { |
10345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10346 | result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount(); | |
10347 | ||
10348 | wxPyEndAllowThreads(__tstate); | |
10349 | if (PyErr_Occurred()) SWIG_fail; | |
10350 | } | |
c32bde28 | 10351 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10352 | return resultobj; |
10353 | fail: | |
10354 | return NULL; | |
10355 | } | |
10356 | ||
10357 | ||
c32bde28 | 10358 | static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10359 | PyObject *resultobj; |
10360 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10361 | bool result; | |
10362 | PyObject * obj0 = 0 ; | |
10363 | char *kwnames[] = { | |
10364 | (char *) "self", NULL | |
10365 | }; | |
10366 | ||
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10368 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10369 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10370 | { |
10371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10372 | result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection(); | |
10373 | ||
10374 | wxPyEndAllowThreads(__tstate); | |
10375 | if (PyErr_Occurred()) SWIG_fail; | |
10376 | } | |
4f89f6a3 RD |
10377 | { |
10378 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10379 | } | |
d14a1e28 RD |
10380 | return resultobj; |
10381 | fail: | |
10382 | return NULL; | |
10383 | } | |
10384 | ||
10385 | ||
c32bde28 | 10386 | static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10387 | PyObject *resultobj; |
10388 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10389 | int result; | |
10390 | PyObject * obj0 = 0 ; | |
10391 | char *kwnames[] = { | |
10392 | (char *) "self", NULL | |
10393 | }; | |
10394 | ||
10395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10396 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10397 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10398 | { |
10399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10400 | result = (int)((wxPyVListBox const *)arg1)->GetSelection(); | |
10401 | ||
10402 | wxPyEndAllowThreads(__tstate); | |
10403 | if (PyErr_Occurred()) SWIG_fail; | |
10404 | } | |
c32bde28 | 10405 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
10406 | return resultobj; |
10407 | fail: | |
10408 | return NULL; | |
10409 | } | |
10410 | ||
10411 | ||
c32bde28 | 10412 | static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10413 | PyObject *resultobj; |
10414 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10415 | size_t arg2 ; | |
10416 | bool result; | |
10417 | PyObject * obj0 = 0 ; | |
10418 | PyObject * obj1 = 0 ; | |
10419 | char *kwnames[] = { | |
10420 | (char *) "self",(char *) "item", NULL | |
10421 | }; | |
10422 | ||
10423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10426 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10427 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10428 | { |
10429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10430 | result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2); | |
10431 | ||
10432 | wxPyEndAllowThreads(__tstate); | |
10433 | if (PyErr_Occurred()) SWIG_fail; | |
10434 | } | |
4f89f6a3 RD |
10435 | { |
10436 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10437 | } | |
d14a1e28 RD |
10438 | return resultobj; |
10439 | fail: | |
10440 | return NULL; | |
10441 | } | |
10442 | ||
10443 | ||
c32bde28 | 10444 | static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10445 | PyObject *resultobj; |
10446 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10447 | size_t arg2 ; | |
10448 | bool result; | |
10449 | PyObject * obj0 = 0 ; | |
10450 | PyObject * obj1 = 0 ; | |
10451 | char *kwnames[] = { | |
10452 | (char *) "self",(char *) "item", NULL | |
10453 | }; | |
10454 | ||
10455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10458 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10459 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10460 | { |
10461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10462 | result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2); | |
10463 | ||
10464 | wxPyEndAllowThreads(__tstate); | |
10465 | if (PyErr_Occurred()) SWIG_fail; | |
10466 | } | |
4f89f6a3 RD |
10467 | { |
10468 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10469 | } | |
d14a1e28 RD |
10470 | return resultobj; |
10471 | fail: | |
10472 | return NULL; | |
10473 | } | |
10474 | ||
10475 | ||
c32bde28 | 10476 | static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10477 | PyObject *resultobj; |
10478 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10479 | size_t result; | |
10480 | PyObject * obj0 = 0 ; | |
10481 | char *kwnames[] = { | |
10482 | (char *) "self", NULL | |
10483 | }; | |
10484 | ||
10485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10486 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10487 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10488 | { |
10489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10490 | result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount(); | |
10491 | ||
10492 | wxPyEndAllowThreads(__tstate); | |
10493 | if (PyErr_Occurred()) SWIG_fail; | |
10494 | } | |
c32bde28 | 10495 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)result); |
d14a1e28 RD |
10496 | return resultobj; |
10497 | fail: | |
10498 | return NULL; | |
10499 | } | |
10500 | ||
10501 | ||
c32bde28 | 10502 | static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10503 | PyObject *resultobj; |
10504 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b | 10505 | PyObject *result; |
d14a1e28 | 10506 | PyObject * obj0 = 0 ; |
d14a1e28 | 10507 | char *kwnames[] = { |
09c21d3b | 10508 | (char *) "self", NULL |
d14a1e28 RD |
10509 | }; |
10510 | ||
09c21d3b | 10511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
10512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10514 | { |
10515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10516 | result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1); |
d14a1e28 RD |
10517 | |
10518 | wxPyEndAllowThreads(__tstate); | |
10519 | if (PyErr_Occurred()) SWIG_fail; | |
10520 | } | |
09c21d3b | 10521 | resultobj = result; |
d14a1e28 RD |
10522 | return resultobj; |
10523 | fail: | |
10524 | return NULL; | |
10525 | } | |
10526 | ||
10527 | ||
c32bde28 | 10528 | static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10529 | PyObject *resultobj; |
10530 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
09c21d3b RD |
10531 | unsigned long arg2 ; |
10532 | PyObject *result; | |
d14a1e28 RD |
10533 | PyObject * obj0 = 0 ; |
10534 | PyObject * obj1 = 0 ; | |
10535 | char *kwnames[] = { | |
10536 | (char *) "self",(char *) "cookie", NULL | |
10537 | }; | |
10538 | ||
10539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10540 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10541 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10542 | arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1); |
09c21d3b | 10543 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10544 | { |
10545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
09c21d3b | 10546 | result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2); |
d14a1e28 RD |
10547 | |
10548 | wxPyEndAllowThreads(__tstate); | |
10549 | if (PyErr_Occurred()) SWIG_fail; | |
10550 | } | |
09c21d3b | 10551 | resultobj = result; |
d14a1e28 RD |
10552 | return resultobj; |
10553 | fail: | |
10554 | return NULL; | |
10555 | } | |
10556 | ||
10557 | ||
c32bde28 | 10558 | static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10559 | PyObject *resultobj; |
10560 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10561 | wxPoint result; | |
10562 | PyObject * obj0 = 0 ; | |
10563 | char *kwnames[] = { | |
10564 | (char *) "self", NULL | |
10565 | }; | |
10566 | ||
10567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10570 | { |
10571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10572 | result = ((wxPyVListBox const *)arg1)->GetMargins(); | |
10573 | ||
10574 | wxPyEndAllowThreads(__tstate); | |
10575 | if (PyErr_Occurred()) SWIG_fail; | |
10576 | } | |
10577 | { | |
10578 | wxPoint * resultptr; | |
10579 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 10580 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
10581 | } |
10582 | return resultobj; | |
10583 | fail: | |
10584 | return NULL; | |
10585 | } | |
10586 | ||
10587 | ||
c32bde28 | 10588 | static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10589 | PyObject *resultobj; |
10590 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10591 | wxColour *result; | |
10592 | PyObject * obj0 = 0 ; | |
10593 | char *kwnames[] = { | |
10594 | (char *) "self", NULL | |
10595 | }; | |
10596 | ||
10597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10598 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10599 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10600 | { |
10601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10602 | { | |
10603 | wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground(); | |
10604 | result = (wxColour *) &_result_ref; | |
10605 | } | |
10606 | ||
10607 | wxPyEndAllowThreads(__tstate); | |
10608 | if (PyErr_Occurred()) SWIG_fail; | |
10609 | } | |
15afbcd0 | 10610 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0); |
d14a1e28 RD |
10611 | return resultobj; |
10612 | fail: | |
10613 | return NULL; | |
10614 | } | |
10615 | ||
10616 | ||
c32bde28 | 10617 | static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10618 | PyObject *resultobj; |
10619 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10620 | size_t arg2 ; | |
10621 | PyObject * obj0 = 0 ; | |
10622 | PyObject * obj1 = 0 ; | |
10623 | char *kwnames[] = { | |
10624 | (char *) "self",(char *) "count", NULL | |
10625 | }; | |
10626 | ||
10627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10628 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10629 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10630 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10631 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10632 | { |
10633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10634 | (arg1)->SetItemCount(arg2); | |
10635 | ||
10636 | wxPyEndAllowThreads(__tstate); | |
10637 | if (PyErr_Occurred()) SWIG_fail; | |
10638 | } | |
10639 | Py_INCREF(Py_None); resultobj = Py_None; | |
10640 | return resultobj; | |
10641 | fail: | |
10642 | return NULL; | |
10643 | } | |
10644 | ||
10645 | ||
c32bde28 | 10646 | static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10647 | PyObject *resultobj; |
10648 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10649 | PyObject * obj0 = 0 ; | |
10650 | char *kwnames[] = { | |
10651 | (char *) "self", NULL | |
10652 | }; | |
10653 | ||
10654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10655 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10656 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10657 | { |
10658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10659 | (arg1)->Clear(); | |
10660 | ||
10661 | wxPyEndAllowThreads(__tstate); | |
10662 | if (PyErr_Occurred()) SWIG_fail; | |
10663 | } | |
10664 | Py_INCREF(Py_None); resultobj = Py_None; | |
10665 | return resultobj; | |
10666 | fail: | |
10667 | return NULL; | |
10668 | } | |
10669 | ||
10670 | ||
c32bde28 | 10671 | static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10672 | PyObject *resultobj; |
10673 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10674 | int arg2 ; | |
10675 | PyObject * obj0 = 0 ; | |
994141e6 | 10676 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10677 | char *kwnames[] = { |
10678 | (char *) "self",(char *) "selection", NULL | |
10679 | }; | |
10680 | ||
994141e6 | 10681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
10682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10684 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10685 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10686 | { |
10687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10688 | (arg1)->SetSelection(arg2); | |
10689 | ||
10690 | wxPyEndAllowThreads(__tstate); | |
10691 | if (PyErr_Occurred()) SWIG_fail; | |
10692 | } | |
10693 | Py_INCREF(Py_None); resultobj = Py_None; | |
10694 | return resultobj; | |
10695 | fail: | |
10696 | return NULL; | |
10697 | } | |
10698 | ||
10699 | ||
c32bde28 | 10700 | static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10701 | PyObject *resultobj; |
10702 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10703 | size_t arg2 ; | |
ae8162c8 | 10704 | bool arg3 = (bool) true ; |
d14a1e28 RD |
10705 | bool result; |
10706 | PyObject * obj0 = 0 ; | |
10707 | PyObject * obj1 = 0 ; | |
10708 | PyObject * obj2 = 0 ; | |
10709 | char *kwnames[] = { | |
10710 | (char *) "self",(char *) "item",(char *) "select", NULL | |
10711 | }; | |
10712 | ||
10713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
10714 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10715 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10716 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10717 | if (PyErr_Occurred()) SWIG_fail; |
a41e16b6 | 10718 | if (obj2) { |
c32bde28 | 10719 | arg3 = (bool)SWIG_As_bool(obj2); |
15afbcd0 | 10720 | if (PyErr_Occurred()) SWIG_fail; |
a41e16b6 | 10721 | } |
d14a1e28 RD |
10722 | { |
10723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10724 | result = (bool)(arg1)->Select(arg2,arg3); | |
10725 | ||
10726 | wxPyEndAllowThreads(__tstate); | |
10727 | if (PyErr_Occurred()) SWIG_fail; | |
10728 | } | |
4f89f6a3 RD |
10729 | { |
10730 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10731 | } | |
d14a1e28 RD |
10732 | return resultobj; |
10733 | fail: | |
10734 | return NULL; | |
10735 | } | |
10736 | ||
10737 | ||
c32bde28 | 10738 | static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10739 | PyObject *resultobj; |
10740 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10741 | size_t arg2 ; | |
10742 | size_t arg3 ; | |
10743 | bool result; | |
10744 | PyObject * obj0 = 0 ; | |
10745 | PyObject * obj1 = 0 ; | |
10746 | PyObject * obj2 = 0 ; | |
15afbcd0 RD |
10747 | char *kwnames[] = { |
10748 | (char *) "self",(char *) "from",(char *) "to", NULL | |
10749 | }; | |
10750 | ||
10751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
10752 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, | |
10753 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10754 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10755 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 10756 | arg3 = (size_t)SWIG_As_unsigned_SS_long(obj2); |
15afbcd0 | 10757 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10758 | { |
10759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10760 | result = (bool)(arg1)->SelectRange(arg2,arg3); | |
10761 | ||
10762 | wxPyEndAllowThreads(__tstate); | |
10763 | if (PyErr_Occurred()) SWIG_fail; | |
10764 | } | |
4f89f6a3 RD |
10765 | { |
10766 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10767 | } | |
d14a1e28 RD |
10768 | return resultobj; |
10769 | fail: | |
10770 | return NULL; | |
10771 | } | |
10772 | ||
10773 | ||
c32bde28 | 10774 | static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10775 | PyObject *resultobj; |
10776 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10777 | size_t arg2 ; | |
10778 | PyObject * obj0 = 0 ; | |
10779 | PyObject * obj1 = 0 ; | |
10780 | char *kwnames[] = { | |
10781 | (char *) "self",(char *) "item", NULL | |
10782 | }; | |
10783 | ||
10784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10785 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10786 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10787 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 10788 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10789 | { |
10790 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10791 | (arg1)->Toggle(arg2); | |
10792 | ||
10793 | wxPyEndAllowThreads(__tstate); | |
10794 | if (PyErr_Occurred()) SWIG_fail; | |
10795 | } | |
10796 | Py_INCREF(Py_None); resultobj = Py_None; | |
10797 | return resultobj; | |
10798 | fail: | |
10799 | return NULL; | |
10800 | } | |
10801 | ||
10802 | ||
c32bde28 | 10803 | static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10804 | PyObject *resultobj; |
10805 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10806 | bool result; | |
10807 | PyObject * obj0 = 0 ; | |
10808 | char *kwnames[] = { | |
10809 | (char *) "self", NULL | |
10810 | }; | |
10811 | ||
10812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10813 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10814 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10815 | { |
10816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10817 | result = (bool)(arg1)->SelectAll(); | |
10818 | ||
10819 | wxPyEndAllowThreads(__tstate); | |
10820 | if (PyErr_Occurred()) SWIG_fail; | |
10821 | } | |
4f89f6a3 RD |
10822 | { |
10823 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10824 | } | |
d14a1e28 RD |
10825 | return resultobj; |
10826 | fail: | |
10827 | return NULL; | |
10828 | } | |
10829 | ||
10830 | ||
c32bde28 | 10831 | static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10832 | PyObject *resultobj; |
10833 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10834 | bool result; | |
10835 | PyObject * obj0 = 0 ; | |
10836 | char *kwnames[] = { | |
10837 | (char *) "self", NULL | |
10838 | }; | |
10839 | ||
10840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
10841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10843 | { |
10844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10845 | result = (bool)(arg1)->DeselectAll(); | |
10846 | ||
10847 | wxPyEndAllowThreads(__tstate); | |
10848 | if (PyErr_Occurred()) SWIG_fail; | |
10849 | } | |
4f89f6a3 RD |
10850 | { |
10851 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
10852 | } | |
d14a1e28 RD |
10853 | return resultobj; |
10854 | fail: | |
10855 | return NULL; | |
10856 | } | |
10857 | ||
10858 | ||
c32bde28 | 10859 | static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10860 | PyObject *resultobj; |
10861 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10862 | wxPoint *arg2 = 0 ; | |
10863 | wxPoint temp2 ; | |
10864 | PyObject * obj0 = 0 ; | |
10865 | PyObject * obj1 = 0 ; | |
10866 | char *kwnames[] = { | |
10867 | (char *) "self",(char *) "pt", NULL | |
10868 | }; | |
10869 | ||
10870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10871 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10872 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10873 | { |
10874 | arg2 = &temp2; | |
10875 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10876 | } | |
10877 | { | |
10878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10879 | (arg1)->SetMargins((wxPoint const &)*arg2); | |
10880 | ||
10881 | wxPyEndAllowThreads(__tstate); | |
10882 | if (PyErr_Occurred()) SWIG_fail; | |
10883 | } | |
10884 | Py_INCREF(Py_None); resultobj = Py_None; | |
10885 | return resultobj; | |
10886 | fail: | |
10887 | return NULL; | |
10888 | } | |
10889 | ||
10890 | ||
c32bde28 | 10891 | static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10892 | PyObject *resultobj; |
10893 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
e811c8ce RD |
10894 | int arg2 ; |
10895 | int arg3 ; | |
d14a1e28 | 10896 | PyObject * obj0 = 0 ; |
994141e6 RD |
10897 | PyObject * obj1 = 0 ; |
10898 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
10899 | char *kwnames[] = { |
10900 | (char *) "self",(char *) "x",(char *) "y", NULL | |
10901 | }; | |
10902 | ||
994141e6 | 10903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
10904 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10905 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 10906 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10907 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 10908 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 10909 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
10910 | { |
10911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10912 | (arg1)->SetMargins(arg2,arg3); | |
10913 | ||
10914 | wxPyEndAllowThreads(__tstate); | |
10915 | if (PyErr_Occurred()) SWIG_fail; | |
10916 | } | |
10917 | Py_INCREF(Py_None); resultobj = Py_None; | |
10918 | return resultobj; | |
10919 | fail: | |
10920 | return NULL; | |
10921 | } | |
10922 | ||
10923 | ||
c32bde28 | 10924 | static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10925 | PyObject *resultobj; |
10926 | wxPyVListBox *arg1 = (wxPyVListBox *) 0 ; | |
10927 | wxColour *arg2 = 0 ; | |
10928 | wxColour temp2 ; | |
10929 | PyObject * obj0 = 0 ; | |
10930 | PyObject * obj1 = 0 ; | |
10931 | char *kwnames[] = { | |
10932 | (char *) "self",(char *) "col", NULL | |
10933 | }; | |
10934 | ||
10935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
10936 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyVListBox, |
10937 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
10938 | { |
10939 | arg2 = &temp2; | |
10940 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
10941 | } | |
10942 | { | |
10943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10944 | (arg1)->SetSelectionBackground((wxColour const &)*arg2); | |
10945 | ||
10946 | wxPyEndAllowThreads(__tstate); | |
10947 | if (PyErr_Occurred()) SWIG_fail; | |
10948 | } | |
10949 | Py_INCREF(Py_None); resultobj = Py_None; | |
10950 | return resultobj; | |
10951 | fail: | |
10952 | return NULL; | |
10953 | } | |
10954 | ||
10955 | ||
c32bde28 | 10956 | static PyObject * VListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
10957 | PyObject *obj; |
10958 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
10959 | SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj); | |
10960 | Py_INCREF(obj); | |
10961 | return Py_BuildValue((char *)""); | |
10962 | } | |
c32bde28 | 10963 | static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
10964 | PyObject *resultobj; |
10965 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 10966 | int arg2 = (int) wxID_ANY ; |
d14a1e28 RD |
10967 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
10968 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
10969 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
10970 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
10971 | long arg5 = (long) 0 ; | |
10972 | wxString const &arg6_defvalue = wxPyVListBoxNameStr ; | |
10973 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
10974 | wxPyHtmlListBox *result; | |
10975 | wxPoint temp3 ; | |
10976 | wxSize temp4 ; | |
ae8162c8 | 10977 | bool temp6 = false ; |
d14a1e28 | 10978 | PyObject * obj0 = 0 ; |
994141e6 | 10979 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
10980 | PyObject * obj2 = 0 ; |
10981 | PyObject * obj3 = 0 ; | |
994141e6 | 10982 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
10983 | PyObject * obj5 = 0 ; |
10984 | char *kwnames[] = { | |
10985 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10986 | }; | |
10987 | ||
994141e6 | 10988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
10989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
10990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 10991 | if (obj1) { |
c32bde28 | 10992 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 10993 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 10994 | } |
d14a1e28 RD |
10995 | if (obj2) { |
10996 | { | |
10997 | arg3 = &temp3; | |
10998 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
10999 | } | |
11000 | } | |
11001 | if (obj3) { | |
11002 | { | |
11003 | arg4 = &temp4; | |
11004 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
11005 | } | |
11006 | } | |
994141e6 | 11007 | if (obj4) { |
c32bde28 | 11008 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 11009 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 11010 | } |
d14a1e28 RD |
11011 | if (obj5) { |
11012 | { | |
11013 | arg6 = wxString_in_helper(obj5); | |
11014 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 11015 | temp6 = true; |
d14a1e28 RD |
11016 | } |
11017 | } | |
11018 | { | |
e3b71cb8 | 11019 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11021 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
11022 | ||
11023 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11024 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11025 | } |
15afbcd0 | 11026 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
11027 | { |
11028 | if (temp6) | |
11029 | delete arg6; | |
11030 | } | |
11031 | return resultobj; | |
11032 | fail: | |
11033 | { | |
11034 | if (temp6) | |
11035 | delete arg6; | |
11036 | } | |
11037 | return NULL; | |
11038 | } | |
11039 | ||
11040 | ||
c32bde28 | 11041 | static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11042 | PyObject *resultobj; |
11043 | wxPyHtmlListBox *result; | |
11044 | char *kwnames[] = { | |
11045 | NULL | |
11046 | }; | |
11047 | ||
11048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail; | |
11049 | { | |
e3b71cb8 | 11050 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11052 | result = (wxPyHtmlListBox *)new wxPyHtmlListBox(); | |
11053 | ||
11054 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11055 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11056 | } |
15afbcd0 | 11057 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1); |
d14a1e28 RD |
11058 | return resultobj; |
11059 | fail: | |
11060 | return NULL; | |
11061 | } | |
11062 | ||
11063 | ||
c32bde28 | 11064 | static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11065 | PyObject *resultobj; |
11066 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11067 | PyObject *arg2 = (PyObject *) 0 ; | |
11068 | PyObject *arg3 = (PyObject *) 0 ; | |
11069 | PyObject * obj0 = 0 ; | |
11070 | PyObject * obj1 = 0 ; | |
11071 | PyObject * obj2 = 0 ; | |
11072 | char *kwnames[] = { | |
11073 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
11074 | }; | |
11075 | ||
11076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
11077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11079 | arg2 = obj1; |
11080 | arg3 = obj2; | |
11081 | { | |
11082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11083 | (arg1)->_setCallbackInfo(arg2,arg3); | |
11084 | ||
11085 | wxPyEndAllowThreads(__tstate); | |
11086 | if (PyErr_Occurred()) SWIG_fail; | |
11087 | } | |
11088 | Py_INCREF(Py_None); resultobj = Py_None; | |
11089 | return resultobj; | |
11090 | fail: | |
11091 | return NULL; | |
11092 | } | |
11093 | ||
11094 | ||
c32bde28 | 11095 | static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11096 | PyObject *resultobj; |
11097 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11098 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 11099 | int arg3 = (int) wxID_ANY ; |
d14a1e28 RD |
11100 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
11101 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
11102 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
11103 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
11104 | long arg6 = (long) 0 ; | |
11105 | wxString const &arg7_defvalue = wxPyVListBoxNameStr ; | |
11106 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
11107 | bool result; | |
11108 | wxPoint temp4 ; | |
11109 | wxSize temp5 ; | |
ae8162c8 | 11110 | bool temp7 = false ; |
d14a1e28 RD |
11111 | PyObject * obj0 = 0 ; |
11112 | PyObject * obj1 = 0 ; | |
994141e6 | 11113 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
11114 | PyObject * obj3 = 0 ; |
11115 | PyObject * obj4 = 0 ; | |
994141e6 | 11116 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
11117 | PyObject * obj6 = 0 ; |
11118 | char *kwnames[] = { | |
11119 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
11120 | }; | |
11121 | ||
994141e6 | 11122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
11123 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11124 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11125 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
11126 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 11127 | if (obj2) { |
c32bde28 | 11128 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 11129 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 11130 | } |
d14a1e28 RD |
11131 | if (obj3) { |
11132 | { | |
11133 | arg4 = &temp4; | |
11134 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
11135 | } | |
11136 | } | |
11137 | if (obj4) { | |
11138 | { | |
11139 | arg5 = &temp5; | |
11140 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
11141 | } | |
11142 | } | |
994141e6 | 11143 | if (obj5) { |
c32bde28 | 11144 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 11145 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 11146 | } |
d14a1e28 RD |
11147 | if (obj6) { |
11148 | { | |
11149 | arg7 = wxString_in_helper(obj6); | |
11150 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 11151 | temp7 = true; |
d14a1e28 RD |
11152 | } |
11153 | } | |
11154 | { | |
11155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11156 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
11157 | ||
11158 | wxPyEndAllowThreads(__tstate); | |
11159 | if (PyErr_Occurred()) SWIG_fail; | |
11160 | } | |
4f89f6a3 RD |
11161 | { |
11162 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11163 | } | |
d14a1e28 RD |
11164 | { |
11165 | if (temp7) | |
11166 | delete arg7; | |
11167 | } | |
11168 | return resultobj; | |
11169 | fail: | |
11170 | { | |
11171 | if (temp7) | |
11172 | delete arg7; | |
11173 | } | |
11174 | return NULL; | |
11175 | } | |
11176 | ||
11177 | ||
c32bde28 | 11178 | static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11179 | PyObject *resultobj; |
11180 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11181 | PyObject * obj0 = 0 ; | |
11182 | char *kwnames[] = { | |
11183 | (char *) "self", NULL | |
11184 | }; | |
11185 | ||
11186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11189 | { |
11190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11191 | (arg1)->RefreshAll(); | |
11192 | ||
11193 | wxPyEndAllowThreads(__tstate); | |
11194 | if (PyErr_Occurred()) SWIG_fail; | |
11195 | } | |
11196 | Py_INCREF(Py_None); resultobj = Py_None; | |
11197 | return resultobj; | |
11198 | fail: | |
11199 | return NULL; | |
11200 | } | |
11201 | ||
11202 | ||
c32bde28 | 11203 | static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11204 | PyObject *resultobj; |
11205 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11206 | size_t arg2 ; | |
11207 | PyObject * obj0 = 0 ; | |
11208 | PyObject * obj1 = 0 ; | |
11209 | char *kwnames[] = { | |
11210 | (char *) "self",(char *) "count", NULL | |
11211 | }; | |
11212 | ||
11213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, |
11215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11216 | arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1); |
15afbcd0 | 11217 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11218 | { |
11219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11220 | (arg1)->SetItemCount(arg2); | |
11221 | ||
11222 | wxPyEndAllowThreads(__tstate); | |
11223 | if (PyErr_Occurred()) SWIG_fail; | |
11224 | } | |
11225 | Py_INCREF(Py_None); resultobj = Py_None; | |
11226 | return resultobj; | |
11227 | fail: | |
11228 | return NULL; | |
11229 | } | |
11230 | ||
11231 | ||
c32bde28 | 11232 | static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) { |
7fdaaabe RD |
11233 | PyObject *resultobj; |
11234 | wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ; | |
11235 | wxFileSystem *result; | |
11236 | PyObject * obj0 = 0 ; | |
11237 | char *kwnames[] = { | |
11238 | (char *) "self", NULL | |
11239 | }; | |
11240 | ||
11241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail; | |
11242 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyHtmlListBox, | |
11243 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
11244 | { | |
11245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11246 | { | |
11247 | wxFileSystem &_result_ref = (arg1)->GetFileSystem(); | |
11248 | result = (wxFileSystem *) &_result_ref; | |
11249 | } | |
11250 | ||
11251 | wxPyEndAllowThreads(__tstate); | |
11252 | if (PyErr_Occurred()) SWIG_fail; | |
11253 | } | |
11254 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0); | |
11255 | return resultobj; | |
11256 | fail: | |
11257 | return NULL; | |
11258 | } | |
11259 | ||
11260 | ||
c32bde28 | 11261 | static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11262 | PyObject *obj; |
11263 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11264 | SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj); | |
11265 | Py_INCREF(obj); | |
11266 | return Py_BuildValue((char *)""); | |
11267 | } | |
c32bde28 | 11268 | static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11269 | PyObject *resultobj; |
5e483524 | 11270 | wxPyTaskBarIcon *result; |
d14a1e28 RD |
11271 | char *kwnames[] = { |
11272 | NULL | |
11273 | }; | |
11274 | ||
11275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail; | |
11276 | { | |
e3b71cb8 | 11277 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 11278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
5e483524 | 11279 | result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon(); |
d14a1e28 RD |
11280 | |
11281 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11282 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11283 | } |
5e483524 | 11284 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1); |
d14a1e28 RD |
11285 | return resultobj; |
11286 | fail: | |
11287 | return NULL; | |
11288 | } | |
11289 | ||
11290 | ||
5e483524 | 11291 | static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11292 | PyObject *resultobj; |
5e483524 RD |
11293 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
11294 | PyObject *arg2 = (PyObject *) 0 ; | |
11295 | PyObject *arg3 = (PyObject *) 0 ; | |
11296 | int arg4 ; | |
d14a1e28 | 11297 | PyObject * obj0 = 0 ; |
5e483524 RD |
11298 | PyObject * obj1 = 0 ; |
11299 | PyObject * obj2 = 0 ; | |
11300 | PyObject * obj3 = 0 ; | |
d14a1e28 | 11301 | char *kwnames[] = { |
5e483524 | 11302 | (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL |
d14a1e28 RD |
11303 | }; |
11304 | ||
5e483524 RD |
11305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
11306 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, | |
15afbcd0 | 11307 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
5e483524 RD |
11308 | arg2 = obj1; |
11309 | arg3 = obj2; | |
11310 | arg4 = (int)SWIG_As_int(obj3); | |
11311 | if (PyErr_Occurred()) SWIG_fail; | |
d14a1e28 RD |
11312 | { |
11313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11314 | (arg1)->_setCallbackInfo(arg2,arg3,arg4); |
d14a1e28 RD |
11315 | |
11316 | wxPyEndAllowThreads(__tstate); | |
11317 | if (PyErr_Occurred()) SWIG_fail; | |
11318 | } | |
11319 | Py_INCREF(Py_None); resultobj = Py_None; | |
11320 | return resultobj; | |
11321 | fail: | |
11322 | return NULL; | |
11323 | } | |
11324 | ||
11325 | ||
c32bde28 | 11326 | static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) { |
74a57fcd | 11327 | PyObject *resultobj; |
5e483524 | 11328 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
74a57fcd RD |
11329 | PyObject * obj0 = 0 ; |
11330 | char *kwnames[] = { | |
11331 | (char *) "self", NULL | |
11332 | }; | |
11333 | ||
11334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail; | |
5e483524 | 11335 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
74a57fcd RD |
11336 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11337 | { | |
11338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11339 | wxPyTaskBarIcon_Destroy(arg1); |
74a57fcd RD |
11340 | |
11341 | wxPyEndAllowThreads(__tstate); | |
11342 | if (PyErr_Occurred()) SWIG_fail; | |
11343 | } | |
11344 | Py_INCREF(Py_None); resultobj = Py_None; | |
11345 | return resultobj; | |
11346 | fail: | |
11347 | return NULL; | |
11348 | } | |
11349 | ||
11350 | ||
c32bde28 | 11351 | static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11352 | PyObject *resultobj; |
5e483524 | 11353 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11354 | bool result; |
11355 | PyObject * obj0 = 0 ; | |
11356 | char *kwnames[] = { | |
11357 | (char *) "self", NULL | |
11358 | }; | |
11359 | ||
11360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail; | |
5e483524 | 11361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11363 | { |
11364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11365 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk(); |
d14a1e28 RD |
11366 | |
11367 | wxPyEndAllowThreads(__tstate); | |
11368 | if (PyErr_Occurred()) SWIG_fail; | |
11369 | } | |
4f89f6a3 RD |
11370 | { |
11371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11372 | } | |
d14a1e28 RD |
11373 | return resultobj; |
11374 | fail: | |
11375 | return NULL; | |
11376 | } | |
11377 | ||
11378 | ||
c32bde28 | 11379 | static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11380 | PyObject *resultobj; |
5e483524 | 11381 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11382 | bool result; |
11383 | PyObject * obj0 = 0 ; | |
11384 | char *kwnames[] = { | |
11385 | (char *) "self", NULL | |
11386 | }; | |
11387 | ||
11388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail; | |
5e483524 | 11389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11391 | { |
11392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5e483524 | 11393 | result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled(); |
d14a1e28 RD |
11394 | |
11395 | wxPyEndAllowThreads(__tstate); | |
11396 | if (PyErr_Occurred()) SWIG_fail; | |
11397 | } | |
4f89f6a3 RD |
11398 | { |
11399 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11400 | } | |
d14a1e28 RD |
11401 | return resultobj; |
11402 | fail: | |
11403 | return NULL; | |
11404 | } | |
11405 | ||
11406 | ||
c32bde28 | 11407 | static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11408 | PyObject *resultobj; |
5e483524 | 11409 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11410 | wxIcon *arg2 = 0 ; |
11411 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
11412 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
11413 | bool result; | |
ae8162c8 | 11414 | bool temp3 = false ; |
d14a1e28 RD |
11415 | PyObject * obj0 = 0 ; |
11416 | PyObject * obj1 = 0 ; | |
11417 | PyObject * obj2 = 0 ; | |
11418 | char *kwnames[] = { | |
11419 | (char *) "self",(char *) "icon",(char *) "tooltip", NULL | |
11420 | }; | |
11421 | ||
11422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5e483524 | 11423 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 RD |
11424 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11425 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon, | |
11426 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
11427 | SWIG_fail; | |
d14a1e28 | 11428 | if (arg2 == NULL) { |
15afbcd0 RD |
11429 | PyErr_SetString(PyExc_TypeError,"null reference"); |
11430 | SWIG_fail; | |
d14a1e28 RD |
11431 | } |
11432 | if (obj2) { | |
11433 | { | |
11434 | arg3 = wxString_in_helper(obj2); | |
11435 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 11436 | temp3 = true; |
d14a1e28 RD |
11437 | } |
11438 | } | |
11439 | { | |
11440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11441 | result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3); | |
11442 | ||
11443 | wxPyEndAllowThreads(__tstate); | |
11444 | if (PyErr_Occurred()) SWIG_fail; | |
11445 | } | |
4f89f6a3 RD |
11446 | { |
11447 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11448 | } | |
d14a1e28 RD |
11449 | { |
11450 | if (temp3) | |
11451 | delete arg3; | |
11452 | } | |
11453 | return resultobj; | |
11454 | fail: | |
11455 | { | |
11456 | if (temp3) | |
11457 | delete arg3; | |
11458 | } | |
11459 | return NULL; | |
11460 | } | |
11461 | ||
11462 | ||
c32bde28 | 11463 | static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11464 | PyObject *resultobj; |
5e483524 | 11465 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11466 | bool result; |
11467 | PyObject * obj0 = 0 ; | |
11468 | char *kwnames[] = { | |
11469 | (char *) "self", NULL | |
11470 | }; | |
11471 | ||
11472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail; | |
5e483524 | 11473 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 | 11474 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
11475 | { |
11476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11477 | result = (bool)(arg1)->RemoveIcon(); | |
11478 | ||
11479 | wxPyEndAllowThreads(__tstate); | |
11480 | if (PyErr_Occurred()) SWIG_fail; | |
11481 | } | |
4f89f6a3 RD |
11482 | { |
11483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11484 | } | |
d14a1e28 RD |
11485 | return resultobj; |
11486 | fail: | |
11487 | return NULL; | |
11488 | } | |
11489 | ||
11490 | ||
c32bde28 | 11491 | static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 11492 | PyObject *resultobj; |
5e483524 | 11493 | wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ; |
d14a1e28 RD |
11494 | wxMenu *arg2 = (wxMenu *) 0 ; |
11495 | bool result; | |
11496 | PyObject * obj0 = 0 ; | |
11497 | PyObject * obj1 = 0 ; | |
11498 | char *kwnames[] = { | |
11499 | (char *) "self",(char *) "menu", NULL | |
11500 | }; | |
11501 | ||
11502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail; | |
5e483524 | 11503 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTaskBarIcon, |
15afbcd0 RD |
11504 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
11505 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu, | |
11506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11507 | { |
11508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11509 | result = (bool)(arg1)->PopupMenu(arg2); | |
11510 | ||
11511 | wxPyEndAllowThreads(__tstate); | |
11512 | if (PyErr_Occurred()) SWIG_fail; | |
11513 | } | |
4f89f6a3 RD |
11514 | { |
11515 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11516 | } | |
d14a1e28 RD |
11517 | return resultobj; |
11518 | fail: | |
11519 | return NULL; | |
11520 | } | |
11521 | ||
11522 | ||
c32bde28 | 11523 | static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11524 | PyObject *obj; |
11525 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5e483524 | 11526 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj); |
d14a1e28 RD |
11527 | Py_INCREF(obj); |
11528 | return Py_BuildValue((char *)""); | |
11529 | } | |
c32bde28 | 11530 | static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11531 | PyObject *resultobj; |
11532 | wxEventType arg1 ; | |
11533 | wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ; | |
11534 | wxTaskBarIconEvent *result; | |
994141e6 | 11535 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
11536 | PyObject * obj1 = 0 ; |
11537 | char *kwnames[] = { | |
11538 | (char *) "evtType",(char *) "tbIcon", NULL | |
11539 | }; | |
11540 | ||
994141e6 | 11541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail; |
c32bde28 | 11542 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 RD |
11543 | if (PyErr_Occurred()) SWIG_fail; |
11544 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTaskBarIcon, | |
11545 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11546 | { |
11547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11548 | result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2); | |
11549 | ||
11550 | wxPyEndAllowThreads(__tstate); | |
11551 | if (PyErr_Occurred()) SWIG_fail; | |
11552 | } | |
15afbcd0 | 11553 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1); |
d14a1e28 RD |
11554 | return resultobj; |
11555 | fail: | |
11556 | return NULL; | |
11557 | } | |
11558 | ||
11559 | ||
c32bde28 | 11560 | static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11561 | PyObject *obj; |
11562 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11563 | SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj); | |
11564 | Py_INCREF(obj); | |
11565 | return Py_BuildValue((char *)""); | |
11566 | } | |
c32bde28 | 11567 | static int _wrap_FileSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
11568 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only."); |
11569 | return 1; | |
11570 | } | |
11571 | ||
11572 | ||
11573 | static PyObject *_wrap_FileSelectorPromptStr_get() { | |
11574 | PyObject *pyobj; | |
11575 | ||
11576 | { | |
11577 | #if wxUSE_UNICODE | |
11578 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11579 | #else | |
11580 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len()); | |
11581 | #endif | |
11582 | } | |
11583 | return pyobj; | |
11584 | } | |
11585 | ||
11586 | ||
c32bde28 | 11587 | static int _wrap_DirSelectorPromptStr_set(PyObject *) { |
b2dc1044 RD |
11588 | PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only."); |
11589 | return 1; | |
11590 | } | |
11591 | ||
11592 | ||
11593 | static PyObject *_wrap_DirSelectorPromptStr_get() { | |
11594 | PyObject *pyobj; | |
11595 | ||
11596 | { | |
11597 | #if wxUSE_UNICODE | |
11598 | pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11599 | #else | |
11600 | pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len()); | |
11601 | #endif | |
11602 | } | |
11603 | return pyobj; | |
11604 | } | |
11605 | ||
11606 | ||
c32bde28 | 11607 | static int _wrap_DirDialogNameStr_set(PyObject *) { |
b2dc1044 RD |
11608 | PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only."); |
11609 | return 1; | |
11610 | } | |
11611 | ||
11612 | ||
11613 | static PyObject *_wrap_DirDialogNameStr_get() { | |
11614 | PyObject *pyobj; | |
11615 | ||
11616 | { | |
11617 | #if wxUSE_UNICODE | |
11618 | pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11619 | #else | |
11620 | pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len()); | |
11621 | #endif | |
11622 | } | |
11623 | return pyobj; | |
11624 | } | |
11625 | ||
11626 | ||
c32bde28 | 11627 | static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) { |
b2dc1044 RD |
11628 | PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only."); |
11629 | return 1; | |
11630 | } | |
11631 | ||
11632 | ||
11633 | static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() { | |
11634 | PyObject *pyobj; | |
11635 | ||
11636 | { | |
11637 | #if wxUSE_UNICODE | |
11638 | pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11639 | #else | |
11640 | pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len()); | |
11641 | #endif | |
11642 | } | |
11643 | return pyobj; | |
11644 | } | |
11645 | ||
11646 | ||
c32bde28 | 11647 | static int _wrap_GetTextFromUserPromptStr_set(PyObject *) { |
b2dc1044 RD |
11648 | PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only."); |
11649 | return 1; | |
11650 | } | |
11651 | ||
11652 | ||
11653 | static PyObject *_wrap_GetTextFromUserPromptStr_get() { | |
11654 | PyObject *pyobj; | |
11655 | ||
11656 | { | |
11657 | #if wxUSE_UNICODE | |
11658 | pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11659 | #else | |
11660 | pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len()); | |
11661 | #endif | |
11662 | } | |
11663 | return pyobj; | |
11664 | } | |
11665 | ||
11666 | ||
c32bde28 | 11667 | static int _wrap_MessageBoxCaptionStr_set(PyObject *) { |
b2dc1044 RD |
11668 | PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only."); |
11669 | return 1; | |
11670 | } | |
11671 | ||
11672 | ||
11673 | static PyObject *_wrap_MessageBoxCaptionStr_get() { | |
11674 | PyObject *pyobj; | |
11675 | ||
11676 | { | |
11677 | #if wxUSE_UNICODE | |
11678 | pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11679 | #else | |
11680 | pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len()); | |
11681 | #endif | |
11682 | } | |
11683 | return pyobj; | |
11684 | } | |
11685 | ||
11686 | ||
c32bde28 | 11687 | static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11688 | PyObject *resultobj; |
11689 | wxColourData *result; | |
11690 | char *kwnames[] = { | |
11691 | NULL | |
11692 | }; | |
11693 | ||
11694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail; | |
11695 | { | |
11696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11697 | result = (wxColourData *)new wxColourData(); | |
11698 | ||
11699 | wxPyEndAllowThreads(__tstate); | |
11700 | if (PyErr_Occurred()) SWIG_fail; | |
11701 | } | |
15afbcd0 | 11702 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1); |
d14a1e28 RD |
11703 | return resultobj; |
11704 | fail: | |
11705 | return NULL; | |
11706 | } | |
11707 | ||
11708 | ||
c32bde28 | 11709 | static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11710 | PyObject *resultobj; |
11711 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11712 | PyObject * obj0 = 0 ; | |
11713 | char *kwnames[] = { | |
11714 | (char *) "self", NULL | |
11715 | }; | |
11716 | ||
11717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11718 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11719 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11720 | { |
11721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11722 | delete arg1; | |
11723 | ||
11724 | wxPyEndAllowThreads(__tstate); | |
11725 | if (PyErr_Occurred()) SWIG_fail; | |
11726 | } | |
11727 | Py_INCREF(Py_None); resultobj = Py_None; | |
11728 | return resultobj; | |
11729 | fail: | |
11730 | return NULL; | |
11731 | } | |
11732 | ||
11733 | ||
c32bde28 | 11734 | static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11735 | PyObject *resultobj; |
11736 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11737 | bool result; | |
11738 | PyObject * obj0 = 0 ; | |
11739 | char *kwnames[] = { | |
11740 | (char *) "self", NULL | |
11741 | }; | |
11742 | ||
11743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11746 | { |
11747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11748 | result = (bool)(arg1)->GetChooseFull(); | |
11749 | ||
11750 | wxPyEndAllowThreads(__tstate); | |
11751 | if (PyErr_Occurred()) SWIG_fail; | |
11752 | } | |
4f89f6a3 RD |
11753 | { |
11754 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11755 | } | |
d14a1e28 RD |
11756 | return resultobj; |
11757 | fail: | |
11758 | return NULL; | |
11759 | } | |
11760 | ||
11761 | ||
c32bde28 | 11762 | static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11763 | PyObject *resultobj; |
11764 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11765 | wxColour result; | |
11766 | PyObject * obj0 = 0 ; | |
11767 | char *kwnames[] = { | |
11768 | (char *) "self", NULL | |
11769 | }; | |
11770 | ||
11771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11774 | { |
11775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11776 | result = (arg1)->GetColour(); | |
11777 | ||
11778 | wxPyEndAllowThreads(__tstate); | |
11779 | if (PyErr_Occurred()) SWIG_fail; | |
11780 | } | |
11781 | { | |
11782 | wxColour * resultptr; | |
11783 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11784 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11785 | } |
11786 | return resultobj; | |
11787 | fail: | |
11788 | return NULL; | |
11789 | } | |
11790 | ||
11791 | ||
c32bde28 | 11792 | static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11793 | PyObject *resultobj; |
11794 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11795 | int arg2 ; | |
11796 | wxColour result; | |
11797 | PyObject * obj0 = 0 ; | |
994141e6 | 11798 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11799 | char *kwnames[] = { |
11800 | (char *) "self",(char *) "i", NULL | |
11801 | }; | |
11802 | ||
994141e6 | 11803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11806 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11807 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11808 | { |
11809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11810 | result = (arg1)->GetCustomColour(arg2); | |
11811 | ||
11812 | wxPyEndAllowThreads(__tstate); | |
11813 | if (PyErr_Occurred()) SWIG_fail; | |
11814 | } | |
11815 | { | |
11816 | wxColour * resultptr; | |
11817 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 11818 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
11819 | } |
11820 | return resultobj; | |
11821 | fail: | |
11822 | return NULL; | |
11823 | } | |
11824 | ||
11825 | ||
c32bde28 | 11826 | static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11827 | PyObject *resultobj; |
11828 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11829 | int arg2 ; | |
11830 | PyObject * obj0 = 0 ; | |
994141e6 | 11831 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11832 | char *kwnames[] = { |
11833 | (char *) "self",(char *) "flag", NULL | |
11834 | }; | |
11835 | ||
994141e6 | 11836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
11837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11839 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11840 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11841 | { |
11842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11843 | (arg1)->SetChooseFull(arg2); | |
11844 | ||
11845 | wxPyEndAllowThreads(__tstate); | |
11846 | if (PyErr_Occurred()) SWIG_fail; | |
11847 | } | |
11848 | Py_INCREF(Py_None); resultobj = Py_None; | |
11849 | return resultobj; | |
11850 | fail: | |
11851 | return NULL; | |
11852 | } | |
11853 | ||
11854 | ||
c32bde28 | 11855 | static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11856 | PyObject *resultobj; |
11857 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11858 | wxColour *arg2 = 0 ; | |
11859 | wxColour temp2 ; | |
11860 | PyObject * obj0 = 0 ; | |
11861 | PyObject * obj1 = 0 ; | |
11862 | char *kwnames[] = { | |
11863 | (char *) "self",(char *) "colour", NULL | |
11864 | }; | |
11865 | ||
11866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11867 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11868 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11869 | { |
11870 | arg2 = &temp2; | |
11871 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
11872 | } | |
11873 | { | |
11874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11875 | (arg1)->SetColour((wxColour const &)*arg2); | |
11876 | ||
11877 | wxPyEndAllowThreads(__tstate); | |
11878 | if (PyErr_Occurred()) SWIG_fail; | |
11879 | } | |
11880 | Py_INCREF(Py_None); resultobj = Py_None; | |
11881 | return resultobj; | |
11882 | fail: | |
11883 | return NULL; | |
11884 | } | |
11885 | ||
11886 | ||
c32bde28 | 11887 | static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11888 | PyObject *resultobj; |
11889 | wxColourData *arg1 = (wxColourData *) 0 ; | |
11890 | int arg2 ; | |
11891 | wxColour *arg3 = 0 ; | |
11892 | wxColour temp3 ; | |
11893 | PyObject * obj0 = 0 ; | |
994141e6 | 11894 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
11895 | PyObject * obj2 = 0 ; |
11896 | char *kwnames[] = { | |
11897 | (char *) "self",(char *) "i",(char *) "colour", NULL | |
11898 | }; | |
11899 | ||
994141e6 | 11900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
11901 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourData, |
11902 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 11903 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 11904 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
11905 | { |
11906 | arg3 = &temp3; | |
11907 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
11908 | } | |
11909 | { | |
11910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11911 | (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3); | |
11912 | ||
11913 | wxPyEndAllowThreads(__tstate); | |
11914 | if (PyErr_Occurred()) SWIG_fail; | |
11915 | } | |
11916 | Py_INCREF(Py_None); resultobj = Py_None; | |
11917 | return resultobj; | |
11918 | fail: | |
11919 | return NULL; | |
11920 | } | |
11921 | ||
11922 | ||
c32bde28 | 11923 | static PyObject * ColourData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11924 | PyObject *obj; |
11925 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11926 | SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj); | |
11927 | Py_INCREF(obj); | |
11928 | return Py_BuildValue((char *)""); | |
11929 | } | |
c32bde28 | 11930 | static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11931 | PyObject *resultobj; |
11932 | wxWindow *arg1 = (wxWindow *) 0 ; | |
11933 | wxColourData *arg2 = (wxColourData *) NULL ; | |
11934 | wxColourDialog *result; | |
11935 | PyObject * obj0 = 0 ; | |
11936 | PyObject * obj1 = 0 ; | |
11937 | char *kwnames[] = { | |
11938 | (char *) "parent",(char *) "data", NULL | |
11939 | }; | |
11940 | ||
11941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
11942 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
11943 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 11944 | if (obj1) { |
15afbcd0 RD |
11945 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColourData, |
11946 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11947 | } |
11948 | { | |
e3b71cb8 | 11949 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
11950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
11951 | result = (wxColourDialog *)new wxColourDialog(arg1,arg2); | |
11952 | ||
11953 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 11954 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 11955 | } |
15afbcd0 | 11956 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1); |
d14a1e28 RD |
11957 | return resultobj; |
11958 | fail: | |
11959 | return NULL; | |
11960 | } | |
11961 | ||
11962 | ||
c32bde28 | 11963 | static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
11964 | PyObject *resultobj; |
11965 | wxColourDialog *arg1 = (wxColourDialog *) 0 ; | |
11966 | wxColourData *result; | |
11967 | PyObject * obj0 = 0 ; | |
11968 | char *kwnames[] = { | |
11969 | (char *) "self", NULL | |
11970 | }; | |
11971 | ||
11972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
11973 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxColourDialog, |
11974 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
11975 | { |
11976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11977 | { | |
11978 | wxColourData &_result_ref = (arg1)->GetColourData(); | |
11979 | result = (wxColourData *) &_result_ref; | |
11980 | } | |
11981 | ||
11982 | wxPyEndAllowThreads(__tstate); | |
11983 | if (PyErr_Occurred()) SWIG_fail; | |
11984 | } | |
15afbcd0 | 11985 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0); |
d14a1e28 RD |
11986 | return resultobj; |
11987 | fail: | |
11988 | return NULL; | |
11989 | } | |
11990 | ||
11991 | ||
c32bde28 | 11992 | static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
11993 | PyObject *obj; |
11994 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11995 | SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj); | |
11996 | Py_INCREF(obj); | |
11997 | return Py_BuildValue((char *)""); | |
11998 | } | |
c32bde28 | 11999 | static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12000 | PyObject *resultobj; |
12001 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12002 | wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ; | |
12003 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
12004 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12005 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12006 | long arg4 = (long) 0 ; | |
12007 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
12008 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
12009 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
12010 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
12011 | wxString const &arg7_defvalue = wxPyDirDialogNameStr ; | |
12012 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
12013 | wxDirDialog *result; | |
ae8162c8 RD |
12014 | bool temp2 = false ; |
12015 | bool temp3 = false ; | |
d14a1e28 RD |
12016 | wxPoint temp5 ; |
12017 | wxSize temp6 ; | |
ae8162c8 | 12018 | bool temp7 = false ; |
d14a1e28 RD |
12019 | PyObject * obj0 = 0 ; |
12020 | PyObject * obj1 = 0 ; | |
12021 | PyObject * obj2 = 0 ; | |
994141e6 | 12022 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
12023 | PyObject * obj4 = 0 ; |
12024 | PyObject * obj5 = 0 ; | |
12025 | PyObject * obj6 = 0 ; | |
12026 | char *kwnames[] = { | |
12027 | (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL | |
12028 | }; | |
12029 | ||
994141e6 | 12030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12031 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12032 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12033 | if (obj1) { |
12034 | { | |
12035 | arg2 = wxString_in_helper(obj1); | |
12036 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12037 | temp2 = true; |
d14a1e28 RD |
12038 | } |
12039 | } | |
12040 | if (obj2) { | |
12041 | { | |
12042 | arg3 = wxString_in_helper(obj2); | |
12043 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12044 | temp3 = true; |
d14a1e28 RD |
12045 | } |
12046 | } | |
994141e6 | 12047 | if (obj3) { |
c32bde28 | 12048 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 12049 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12050 | } |
d14a1e28 RD |
12051 | if (obj4) { |
12052 | { | |
12053 | arg5 = &temp5; | |
12054 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
12055 | } | |
12056 | } | |
12057 | if (obj5) { | |
12058 | { | |
12059 | arg6 = &temp6; | |
12060 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
12061 | } | |
12062 | } | |
12063 | if (obj6) { | |
12064 | { | |
12065 | arg7 = wxString_in_helper(obj6); | |
12066 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 12067 | temp7 = true; |
d14a1e28 RD |
12068 | } |
12069 | } | |
12070 | { | |
e3b71cb8 | 12071 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12073 | result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7); | |
12074 | ||
12075 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12076 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12077 | } |
15afbcd0 | 12078 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1); |
d14a1e28 RD |
12079 | { |
12080 | if (temp2) | |
12081 | delete arg2; | |
12082 | } | |
12083 | { | |
12084 | if (temp3) | |
12085 | delete arg3; | |
12086 | } | |
12087 | { | |
12088 | if (temp7) | |
12089 | delete arg7; | |
12090 | } | |
12091 | return resultobj; | |
12092 | fail: | |
12093 | { | |
12094 | if (temp2) | |
12095 | delete arg2; | |
12096 | } | |
12097 | { | |
12098 | if (temp3) | |
12099 | delete arg3; | |
12100 | } | |
12101 | { | |
12102 | if (temp7) | |
12103 | delete arg7; | |
12104 | } | |
12105 | return NULL; | |
12106 | } | |
12107 | ||
12108 | ||
c32bde28 | 12109 | static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12110 | PyObject *resultobj; |
12111 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12112 | wxString result; | |
12113 | PyObject * obj0 = 0 ; | |
12114 | char *kwnames[] = { | |
12115 | (char *) "self", NULL | |
12116 | }; | |
12117 | ||
12118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12121 | { |
12122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12123 | result = (arg1)->GetPath(); | |
12124 | ||
12125 | wxPyEndAllowThreads(__tstate); | |
12126 | if (PyErr_Occurred()) SWIG_fail; | |
12127 | } | |
12128 | { | |
12129 | #if wxUSE_UNICODE | |
12130 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12131 | #else | |
12132 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12133 | #endif | |
12134 | } | |
12135 | return resultobj; | |
12136 | fail: | |
12137 | return NULL; | |
12138 | } | |
12139 | ||
12140 | ||
c32bde28 | 12141 | static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12142 | PyObject *resultobj; |
12143 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12144 | wxString result; | |
12145 | PyObject * obj0 = 0 ; | |
12146 | char *kwnames[] = { | |
12147 | (char *) "self", NULL | |
12148 | }; | |
12149 | ||
12150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12151 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12152 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12153 | { |
12154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12155 | result = (arg1)->GetMessage(); | |
12156 | ||
12157 | wxPyEndAllowThreads(__tstate); | |
12158 | if (PyErr_Occurred()) SWIG_fail; | |
12159 | } | |
12160 | { | |
12161 | #if wxUSE_UNICODE | |
12162 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12163 | #else | |
12164 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12165 | #endif | |
12166 | } | |
12167 | return resultobj; | |
12168 | fail: | |
12169 | return NULL; | |
12170 | } | |
12171 | ||
12172 | ||
c32bde28 | 12173 | static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12174 | PyObject *resultobj; |
12175 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12176 | long result; | |
12177 | PyObject * obj0 = 0 ; | |
12178 | char *kwnames[] = { | |
12179 | (char *) "self", NULL | |
12180 | }; | |
12181 | ||
12182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12183 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12184 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12185 | { |
12186 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12187 | result = (long)(arg1)->GetStyle(); | |
12188 | ||
12189 | wxPyEndAllowThreads(__tstate); | |
12190 | if (PyErr_Occurred()) SWIG_fail; | |
12191 | } | |
c32bde28 | 12192 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
12193 | return resultobj; |
12194 | fail: | |
12195 | return NULL; | |
12196 | } | |
12197 | ||
12198 | ||
c32bde28 | 12199 | static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12200 | PyObject *resultobj; |
12201 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12202 | wxString *arg2 = 0 ; | |
ae8162c8 | 12203 | bool temp2 = false ; |
d14a1e28 RD |
12204 | PyObject * obj0 = 0 ; |
12205 | PyObject * obj1 = 0 ; | |
12206 | char *kwnames[] = { | |
12207 | (char *) "self",(char *) "message", NULL | |
12208 | }; | |
12209 | ||
12210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12213 | { |
12214 | arg2 = wxString_in_helper(obj1); | |
12215 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12216 | temp2 = true; |
d14a1e28 RD |
12217 | } |
12218 | { | |
12219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12220 | (arg1)->SetMessage((wxString const &)*arg2); | |
12221 | ||
12222 | wxPyEndAllowThreads(__tstate); | |
12223 | if (PyErr_Occurred()) SWIG_fail; | |
12224 | } | |
12225 | Py_INCREF(Py_None); resultobj = Py_None; | |
12226 | { | |
12227 | if (temp2) | |
12228 | delete arg2; | |
12229 | } | |
12230 | return resultobj; | |
12231 | fail: | |
12232 | { | |
12233 | if (temp2) | |
12234 | delete arg2; | |
12235 | } | |
12236 | return NULL; | |
12237 | } | |
12238 | ||
12239 | ||
c32bde28 | 12240 | static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12241 | PyObject *resultobj; |
12242 | wxDirDialog *arg1 = (wxDirDialog *) 0 ; | |
12243 | wxString *arg2 = 0 ; | |
ae8162c8 | 12244 | bool temp2 = false ; |
d14a1e28 RD |
12245 | PyObject * obj0 = 0 ; |
12246 | PyObject * obj1 = 0 ; | |
12247 | char *kwnames[] = { | |
12248 | (char *) "self",(char *) "path", NULL | |
12249 | }; | |
12250 | ||
12251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12252 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirDialog, |
12253 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12254 | { |
12255 | arg2 = wxString_in_helper(obj1); | |
12256 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12257 | temp2 = true; |
d14a1e28 RD |
12258 | } |
12259 | { | |
12260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12261 | (arg1)->SetPath((wxString const &)*arg2); | |
12262 | ||
12263 | wxPyEndAllowThreads(__tstate); | |
12264 | if (PyErr_Occurred()) SWIG_fail; | |
12265 | } | |
12266 | Py_INCREF(Py_None); resultobj = Py_None; | |
12267 | { | |
12268 | if (temp2) | |
12269 | delete arg2; | |
12270 | } | |
12271 | return resultobj; | |
12272 | fail: | |
12273 | { | |
12274 | if (temp2) | |
12275 | delete arg2; | |
12276 | } | |
12277 | return NULL; | |
12278 | } | |
12279 | ||
12280 | ||
c32bde28 | 12281 | static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12282 | PyObject *obj; |
12283 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12284 | SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj); | |
12285 | Py_INCREF(obj); | |
12286 | return Py_BuildValue((char *)""); | |
12287 | } | |
c32bde28 | 12288 | static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12289 | PyObject *resultobj; |
12290 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12291 | wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ; | |
12292 | wxString *arg2 = (wxString *) &arg2_defvalue ; | |
12293 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
12294 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
12295 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
12296 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
12297 | wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ; | |
12298 | wxString *arg5 = (wxString *) &arg5_defvalue ; | |
12299 | long arg6 = (long) 0 ; | |
12300 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12301 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12302 | wxFileDialog *result; | |
ae8162c8 RD |
12303 | bool temp2 = false ; |
12304 | bool temp3 = false ; | |
12305 | bool temp4 = false ; | |
12306 | bool temp5 = false ; | |
d14a1e28 RD |
12307 | wxPoint temp7 ; |
12308 | PyObject * obj0 = 0 ; | |
12309 | PyObject * obj1 = 0 ; | |
12310 | PyObject * obj2 = 0 ; | |
12311 | PyObject * obj3 = 0 ; | |
12312 | PyObject * obj4 = 0 ; | |
994141e6 | 12313 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
12314 | PyObject * obj6 = 0 ; |
12315 | char *kwnames[] = { | |
12316 | (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL | |
12317 | }; | |
12318 | ||
994141e6 | 12319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
12320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12322 | if (obj1) { |
12323 | { | |
12324 | arg2 = wxString_in_helper(obj1); | |
12325 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12326 | temp2 = true; |
d14a1e28 RD |
12327 | } |
12328 | } | |
12329 | if (obj2) { | |
12330 | { | |
12331 | arg3 = wxString_in_helper(obj2); | |
12332 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12333 | temp3 = true; |
d14a1e28 RD |
12334 | } |
12335 | } | |
12336 | if (obj3) { | |
12337 | { | |
12338 | arg4 = wxString_in_helper(obj3); | |
12339 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 12340 | temp4 = true; |
d14a1e28 RD |
12341 | } |
12342 | } | |
12343 | if (obj4) { | |
12344 | { | |
12345 | arg5 = wxString_in_helper(obj4); | |
12346 | if (arg5 == NULL) SWIG_fail; | |
ae8162c8 | 12347 | temp5 = true; |
d14a1e28 RD |
12348 | } |
12349 | } | |
994141e6 | 12350 | if (obj5) { |
c32bde28 | 12351 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 12352 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12353 | } |
d14a1e28 RD |
12354 | if (obj6) { |
12355 | { | |
12356 | arg7 = &temp7; | |
12357 | if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail; | |
12358 | } | |
12359 | } | |
12360 | { | |
e3b71cb8 | 12361 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12363 | result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7); | |
12364 | ||
12365 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 12366 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 12367 | } |
15afbcd0 | 12368 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1); |
d14a1e28 RD |
12369 | { |
12370 | if (temp2) | |
12371 | delete arg2; | |
12372 | } | |
12373 | { | |
12374 | if (temp3) | |
12375 | delete arg3; | |
12376 | } | |
12377 | { | |
12378 | if (temp4) | |
12379 | delete arg4; | |
12380 | } | |
12381 | { | |
12382 | if (temp5) | |
12383 | delete arg5; | |
12384 | } | |
12385 | return resultobj; | |
12386 | fail: | |
12387 | { | |
12388 | if (temp2) | |
12389 | delete arg2; | |
12390 | } | |
12391 | { | |
12392 | if (temp3) | |
12393 | delete arg3; | |
12394 | } | |
12395 | { | |
12396 | if (temp4) | |
12397 | delete arg4; | |
12398 | } | |
12399 | { | |
12400 | if (temp5) | |
12401 | delete arg5; | |
12402 | } | |
12403 | return NULL; | |
12404 | } | |
12405 | ||
12406 | ||
c32bde28 | 12407 | static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12408 | PyObject *resultobj; |
12409 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12410 | wxString *arg2 = 0 ; | |
ae8162c8 | 12411 | bool temp2 = false ; |
d14a1e28 RD |
12412 | PyObject * obj0 = 0 ; |
12413 | PyObject * obj1 = 0 ; | |
12414 | char *kwnames[] = { | |
12415 | (char *) "self",(char *) "message", NULL | |
12416 | }; | |
12417 | ||
12418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12419 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12420 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12421 | { |
12422 | arg2 = wxString_in_helper(obj1); | |
12423 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12424 | temp2 = true; |
d14a1e28 RD |
12425 | } |
12426 | { | |
12427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12428 | (arg1)->SetMessage((wxString const &)*arg2); | |
12429 | ||
12430 | wxPyEndAllowThreads(__tstate); | |
12431 | if (PyErr_Occurred()) SWIG_fail; | |
12432 | } | |
12433 | Py_INCREF(Py_None); resultobj = Py_None; | |
12434 | { | |
12435 | if (temp2) | |
12436 | delete arg2; | |
12437 | } | |
12438 | return resultobj; | |
12439 | fail: | |
12440 | { | |
12441 | if (temp2) | |
12442 | delete arg2; | |
12443 | } | |
12444 | return NULL; | |
12445 | } | |
12446 | ||
12447 | ||
c32bde28 | 12448 | static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12449 | PyObject *resultobj; |
12450 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12451 | wxString *arg2 = 0 ; | |
ae8162c8 | 12452 | bool temp2 = false ; |
d14a1e28 RD |
12453 | PyObject * obj0 = 0 ; |
12454 | PyObject * obj1 = 0 ; | |
12455 | char *kwnames[] = { | |
12456 | (char *) "self",(char *) "path", NULL | |
12457 | }; | |
12458 | ||
12459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12462 | { |
12463 | arg2 = wxString_in_helper(obj1); | |
12464 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12465 | temp2 = true; |
d14a1e28 RD |
12466 | } |
12467 | { | |
12468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12469 | (arg1)->SetPath((wxString const &)*arg2); | |
12470 | ||
12471 | wxPyEndAllowThreads(__tstate); | |
12472 | if (PyErr_Occurred()) SWIG_fail; | |
12473 | } | |
12474 | Py_INCREF(Py_None); resultobj = Py_None; | |
12475 | { | |
12476 | if (temp2) | |
12477 | delete arg2; | |
12478 | } | |
12479 | return resultobj; | |
12480 | fail: | |
12481 | { | |
12482 | if (temp2) | |
12483 | delete arg2; | |
12484 | } | |
12485 | return NULL; | |
12486 | } | |
12487 | ||
12488 | ||
c32bde28 | 12489 | static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12490 | PyObject *resultobj; |
12491 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12492 | wxString *arg2 = 0 ; | |
ae8162c8 | 12493 | bool temp2 = false ; |
d14a1e28 RD |
12494 | PyObject * obj0 = 0 ; |
12495 | PyObject * obj1 = 0 ; | |
12496 | char *kwnames[] = { | |
12497 | (char *) "self",(char *) "dir", NULL | |
12498 | }; | |
12499 | ||
12500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12501 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12502 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12503 | { |
12504 | arg2 = wxString_in_helper(obj1); | |
12505 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12506 | temp2 = true; |
d14a1e28 RD |
12507 | } |
12508 | { | |
12509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12510 | (arg1)->SetDirectory((wxString const &)*arg2); | |
12511 | ||
12512 | wxPyEndAllowThreads(__tstate); | |
12513 | if (PyErr_Occurred()) SWIG_fail; | |
12514 | } | |
12515 | Py_INCREF(Py_None); resultobj = Py_None; | |
12516 | { | |
12517 | if (temp2) | |
12518 | delete arg2; | |
12519 | } | |
12520 | return resultobj; | |
12521 | fail: | |
12522 | { | |
12523 | if (temp2) | |
12524 | delete arg2; | |
12525 | } | |
12526 | return NULL; | |
12527 | } | |
12528 | ||
12529 | ||
c32bde28 | 12530 | static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12531 | PyObject *resultobj; |
12532 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12533 | wxString *arg2 = 0 ; | |
ae8162c8 | 12534 | bool temp2 = false ; |
d14a1e28 RD |
12535 | PyObject * obj0 = 0 ; |
12536 | PyObject * obj1 = 0 ; | |
12537 | char *kwnames[] = { | |
12538 | (char *) "self",(char *) "name", NULL | |
12539 | }; | |
12540 | ||
12541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12544 | { |
12545 | arg2 = wxString_in_helper(obj1); | |
12546 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12547 | temp2 = true; |
d14a1e28 RD |
12548 | } |
12549 | { | |
12550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12551 | (arg1)->SetFilename((wxString const &)*arg2); | |
12552 | ||
12553 | wxPyEndAllowThreads(__tstate); | |
12554 | if (PyErr_Occurred()) SWIG_fail; | |
12555 | } | |
12556 | Py_INCREF(Py_None); resultobj = Py_None; | |
12557 | { | |
12558 | if (temp2) | |
12559 | delete arg2; | |
12560 | } | |
12561 | return resultobj; | |
12562 | fail: | |
12563 | { | |
12564 | if (temp2) | |
12565 | delete arg2; | |
12566 | } | |
12567 | return NULL; | |
12568 | } | |
12569 | ||
12570 | ||
c32bde28 | 12571 | static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12572 | PyObject *resultobj; |
12573 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12574 | wxString *arg2 = 0 ; | |
ae8162c8 | 12575 | bool temp2 = false ; |
d14a1e28 RD |
12576 | PyObject * obj0 = 0 ; |
12577 | PyObject * obj1 = 0 ; | |
12578 | char *kwnames[] = { | |
12579 | (char *) "self",(char *) "wildCard", NULL | |
12580 | }; | |
12581 | ||
12582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
12583 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12584 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12585 | { |
12586 | arg2 = wxString_in_helper(obj1); | |
12587 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12588 | temp2 = true; |
d14a1e28 RD |
12589 | } |
12590 | { | |
12591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12592 | (arg1)->SetWildcard((wxString const &)*arg2); | |
12593 | ||
12594 | wxPyEndAllowThreads(__tstate); | |
12595 | if (PyErr_Occurred()) SWIG_fail; | |
12596 | } | |
12597 | Py_INCREF(Py_None); resultobj = Py_None; | |
12598 | { | |
12599 | if (temp2) | |
12600 | delete arg2; | |
12601 | } | |
12602 | return resultobj; | |
12603 | fail: | |
12604 | { | |
12605 | if (temp2) | |
12606 | delete arg2; | |
12607 | } | |
12608 | return NULL; | |
12609 | } | |
12610 | ||
12611 | ||
c32bde28 | 12612 | static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12613 | PyObject *resultobj; |
12614 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12615 | long arg2 ; | |
12616 | PyObject * obj0 = 0 ; | |
994141e6 | 12617 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12618 | char *kwnames[] = { |
12619 | (char *) "self",(char *) "style", NULL | |
12620 | }; | |
12621 | ||
994141e6 | 12622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 12625 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 12626 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12627 | { |
12628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12629 | (arg1)->SetStyle(arg2); | |
12630 | ||
12631 | wxPyEndAllowThreads(__tstate); | |
12632 | if (PyErr_Occurred()) SWIG_fail; | |
12633 | } | |
12634 | Py_INCREF(Py_None); resultobj = Py_None; | |
12635 | return resultobj; | |
12636 | fail: | |
12637 | return NULL; | |
12638 | } | |
12639 | ||
12640 | ||
c32bde28 | 12641 | static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12642 | PyObject *resultobj; |
12643 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12644 | int arg2 ; | |
12645 | PyObject * obj0 = 0 ; | |
994141e6 | 12646 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
12647 | char *kwnames[] = { |
12648 | (char *) "self",(char *) "filterIndex", NULL | |
12649 | }; | |
12650 | ||
994141e6 | 12651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
12652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 12654 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 12655 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
12656 | { |
12657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12658 | (arg1)->SetFilterIndex(arg2); | |
12659 | ||
12660 | wxPyEndAllowThreads(__tstate); | |
12661 | if (PyErr_Occurred()) SWIG_fail; | |
12662 | } | |
12663 | Py_INCREF(Py_None); resultobj = Py_None; | |
12664 | return resultobj; | |
12665 | fail: | |
12666 | return NULL; | |
12667 | } | |
12668 | ||
12669 | ||
c32bde28 | 12670 | static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12671 | PyObject *resultobj; |
12672 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12673 | wxString result; | |
12674 | PyObject * obj0 = 0 ; | |
12675 | char *kwnames[] = { | |
12676 | (char *) "self", NULL | |
12677 | }; | |
12678 | ||
12679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12680 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12681 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12682 | { |
12683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12684 | result = ((wxFileDialog const *)arg1)->GetMessage(); | |
12685 | ||
12686 | wxPyEndAllowThreads(__tstate); | |
12687 | if (PyErr_Occurred()) SWIG_fail; | |
12688 | } | |
12689 | { | |
12690 | #if wxUSE_UNICODE | |
12691 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12692 | #else | |
12693 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12694 | #endif | |
12695 | } | |
12696 | return resultobj; | |
12697 | fail: | |
12698 | return NULL; | |
12699 | } | |
12700 | ||
12701 | ||
c32bde28 | 12702 | static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12703 | PyObject *resultobj; |
12704 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12705 | wxString result; | |
12706 | PyObject * obj0 = 0 ; | |
12707 | char *kwnames[] = { | |
12708 | (char *) "self", NULL | |
12709 | }; | |
12710 | ||
12711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12714 | { |
12715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12716 | result = ((wxFileDialog const *)arg1)->GetPath(); | |
12717 | ||
12718 | wxPyEndAllowThreads(__tstate); | |
12719 | if (PyErr_Occurred()) SWIG_fail; | |
12720 | } | |
12721 | { | |
12722 | #if wxUSE_UNICODE | |
12723 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12724 | #else | |
12725 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12726 | #endif | |
12727 | } | |
12728 | return resultobj; | |
12729 | fail: | |
12730 | return NULL; | |
12731 | } | |
12732 | ||
12733 | ||
c32bde28 | 12734 | static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12735 | PyObject *resultobj; |
12736 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12737 | wxString result; | |
12738 | PyObject * obj0 = 0 ; | |
12739 | char *kwnames[] = { | |
12740 | (char *) "self", NULL | |
12741 | }; | |
12742 | ||
12743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12746 | { |
12747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12748 | result = ((wxFileDialog const *)arg1)->GetDirectory(); | |
12749 | ||
12750 | wxPyEndAllowThreads(__tstate); | |
12751 | if (PyErr_Occurred()) SWIG_fail; | |
12752 | } | |
12753 | { | |
12754 | #if wxUSE_UNICODE | |
12755 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12756 | #else | |
12757 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12758 | #endif | |
12759 | } | |
12760 | return resultobj; | |
12761 | fail: | |
12762 | return NULL; | |
12763 | } | |
12764 | ||
12765 | ||
c32bde28 | 12766 | static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12767 | PyObject *resultobj; |
12768 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12769 | wxString result; | |
12770 | PyObject * obj0 = 0 ; | |
12771 | char *kwnames[] = { | |
12772 | (char *) "self", NULL | |
12773 | }; | |
12774 | ||
12775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12776 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12777 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12778 | { |
12779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12780 | result = ((wxFileDialog const *)arg1)->GetFilename(); | |
12781 | ||
12782 | wxPyEndAllowThreads(__tstate); | |
12783 | if (PyErr_Occurred()) SWIG_fail; | |
12784 | } | |
12785 | { | |
12786 | #if wxUSE_UNICODE | |
12787 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12788 | #else | |
12789 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12790 | #endif | |
12791 | } | |
12792 | return resultobj; | |
12793 | fail: | |
12794 | return NULL; | |
12795 | } | |
12796 | ||
12797 | ||
c32bde28 | 12798 | static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12799 | PyObject *resultobj; |
12800 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12801 | wxString result; | |
12802 | PyObject * obj0 = 0 ; | |
12803 | char *kwnames[] = { | |
12804 | (char *) "self", NULL | |
12805 | }; | |
12806 | ||
12807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12808 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12809 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12810 | { |
12811 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12812 | result = ((wxFileDialog const *)arg1)->GetWildcard(); | |
12813 | ||
12814 | wxPyEndAllowThreads(__tstate); | |
12815 | if (PyErr_Occurred()) SWIG_fail; | |
12816 | } | |
12817 | { | |
12818 | #if wxUSE_UNICODE | |
12819 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
12820 | #else | |
12821 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
12822 | #endif | |
12823 | } | |
12824 | return resultobj; | |
12825 | fail: | |
12826 | return NULL; | |
12827 | } | |
12828 | ||
12829 | ||
c32bde28 | 12830 | static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12831 | PyObject *resultobj; |
12832 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12833 | long result; | |
12834 | PyObject * obj0 = 0 ; | |
12835 | char *kwnames[] = { | |
12836 | (char *) "self", NULL | |
12837 | }; | |
12838 | ||
12839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12842 | { |
12843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12844 | result = (long)((wxFileDialog const *)arg1)->GetStyle(); | |
12845 | ||
12846 | wxPyEndAllowThreads(__tstate); | |
12847 | if (PyErr_Occurred()) SWIG_fail; | |
12848 | } | |
c32bde28 | 12849 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
12850 | return resultobj; |
12851 | fail: | |
12852 | return NULL; | |
12853 | } | |
12854 | ||
12855 | ||
c32bde28 | 12856 | static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12857 | PyObject *resultobj; |
12858 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12859 | int result; | |
12860 | PyObject * obj0 = 0 ; | |
12861 | char *kwnames[] = { | |
12862 | (char *) "self", NULL | |
12863 | }; | |
12864 | ||
12865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12866 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12867 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12868 | { |
12869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12870 | result = (int)((wxFileDialog const *)arg1)->GetFilterIndex(); | |
12871 | ||
12872 | wxPyEndAllowThreads(__tstate); | |
12873 | if (PyErr_Occurred()) SWIG_fail; | |
12874 | } | |
c32bde28 | 12875 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
12876 | return resultobj; |
12877 | fail: | |
12878 | return NULL; | |
12879 | } | |
12880 | ||
12881 | ||
c32bde28 | 12882 | static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12883 | PyObject *resultobj; |
12884 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12885 | PyObject *result; | |
12886 | PyObject * obj0 = 0 ; | |
12887 | char *kwnames[] = { | |
12888 | (char *) "self", NULL | |
12889 | }; | |
12890 | ||
12891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12892 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12893 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12894 | { |
12895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12896 | result = (PyObject *)wxFileDialog_GetFilenames(arg1); | |
12897 | ||
12898 | wxPyEndAllowThreads(__tstate); | |
12899 | if (PyErr_Occurred()) SWIG_fail; | |
12900 | } | |
12901 | resultobj = result; | |
12902 | return resultobj; | |
12903 | fail: | |
12904 | return NULL; | |
12905 | } | |
12906 | ||
12907 | ||
c32bde28 | 12908 | static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12909 | PyObject *resultobj; |
12910 | wxFileDialog *arg1 = (wxFileDialog *) 0 ; | |
12911 | PyObject *result; | |
12912 | PyObject * obj0 = 0 ; | |
12913 | char *kwnames[] = { | |
12914 | (char *) "self", NULL | |
12915 | }; | |
12916 | ||
12917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
12918 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDialog, |
12919 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12920 | { |
12921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
12922 | result = (PyObject *)wxFileDialog_GetPaths(arg1); | |
12923 | ||
12924 | wxPyEndAllowThreads(__tstate); | |
12925 | if (PyErr_Occurred()) SWIG_fail; | |
12926 | } | |
12927 | resultobj = result; | |
12928 | return resultobj; | |
12929 | fail: | |
12930 | return NULL; | |
12931 | } | |
12932 | ||
12933 | ||
c32bde28 | 12934 | static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
12935 | PyObject *obj; |
12936 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
12937 | SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj); | |
12938 | Py_INCREF(obj); | |
12939 | return Py_BuildValue((char *)""); | |
12940 | } | |
c32bde28 | 12941 | static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
12942 | PyObject *resultobj; |
12943 | wxWindow *arg1 = (wxWindow *) 0 ; | |
12944 | wxString *arg2 = 0 ; | |
12945 | wxString *arg3 = 0 ; | |
4d5c3d91 | 12946 | int arg4 = (int) 0 ; |
248ed943 | 12947 | wxString *arg5 = (wxString *) NULL ; |
d14a1e28 RD |
12948 | long arg6 = (long) wxCHOICEDLG_STYLE ; |
12949 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
12950 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
12951 | wxMultiChoiceDialog *result; | |
ae8162c8 RD |
12952 | bool temp2 = false ; |
12953 | bool temp3 = false ; | |
4d5c3d91 | 12954 | wxPoint temp6 ; |
d14a1e28 RD |
12955 | PyObject * obj0 = 0 ; |
12956 | PyObject * obj1 = 0 ; | |
12957 | PyObject * obj2 = 0 ; | |
994141e6 | 12958 | PyObject * obj3 = 0 ; |
d14a1e28 | 12959 | PyObject * obj4 = 0 ; |
994141e6 | 12960 | PyObject * obj5 = 0 ; |
d14a1e28 | 12961 | char *kwnames[] = { |
4d5c3d91 | 12962 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL |
d14a1e28 RD |
12963 | }; |
12964 | ||
4d5c3d91 | 12965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
12966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
12967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
12968 | { |
12969 | arg2 = wxString_in_helper(obj1); | |
12970 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 12971 | temp2 = true; |
d14a1e28 RD |
12972 | } |
12973 | { | |
12974 | arg3 = wxString_in_helper(obj2); | |
12975 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 12976 | temp3 = true; |
d14a1e28 | 12977 | } |
4d5c3d91 RD |
12978 | if (obj3) { |
12979 | { | |
12980 | arg4 = PyList_Size(obj3); | |
12981 | arg5 = wxString_LIST_helper(obj3); | |
12982 | if (arg5 == NULL) SWIG_fail; | |
12983 | } | |
7eae615b | 12984 | } |
4d5c3d91 | 12985 | if (obj4) { |
c32bde28 | 12986 | arg6 = (long)SWIG_As_long(obj4); |
15afbcd0 | 12987 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 12988 | } |
4d5c3d91 | 12989 | if (obj5) { |
d14a1e28 | 12990 | { |
4d5c3d91 RD |
12991 | arg7 = &temp6; |
12992 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
d14a1e28 RD |
12993 | } |
12994 | } | |
12995 | { | |
e3b71cb8 | 12996 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
12997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
12998 | result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
12999 | ||
13000 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13001 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13002 | } |
15afbcd0 | 13003 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1); |
d14a1e28 RD |
13004 | { |
13005 | if (temp2) | |
13006 | delete arg2; | |
13007 | } | |
13008 | { | |
13009 | if (temp3) | |
13010 | delete arg3; | |
13011 | } | |
7eae615b | 13012 | { |
4d5c3d91 | 13013 | if (arg5) delete [] arg5; |
7eae615b | 13014 | } |
d14a1e28 RD |
13015 | return resultobj; |
13016 | fail: | |
13017 | { | |
13018 | if (temp2) | |
13019 | delete arg2; | |
13020 | } | |
13021 | { | |
13022 | if (temp3) | |
13023 | delete arg3; | |
13024 | } | |
7eae615b | 13025 | { |
4d5c3d91 | 13026 | if (arg5) delete [] arg5; |
7eae615b | 13027 | } |
d14a1e28 RD |
13028 | return NULL; |
13029 | } | |
13030 | ||
13031 | ||
c32bde28 | 13032 | static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13033 | PyObject *resultobj; |
13034 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
13035 | wxArrayInt *arg2 = 0 ; | |
ae8162c8 | 13036 | bool temp2 = false ; |
d14a1e28 RD |
13037 | PyObject * obj0 = 0 ; |
13038 | PyObject * obj1 = 0 ; | |
13039 | char *kwnames[] = { | |
13040 | (char *) "self",(char *) "selections", NULL | |
13041 | }; | |
13042 | ||
13043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
13045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13046 | { |
13047 | if (! PySequence_Check(obj1)) { | |
13048 | PyErr_SetString(PyExc_TypeError, "Sequence of integers expected."); | |
13049 | SWIG_fail; | |
13050 | } | |
13051 | arg2 = new wxArrayInt; | |
ae8162c8 | 13052 | temp2 = true; |
d14a1e28 RD |
13053 | int i, len=PySequence_Length(obj1); |
13054 | for (i=0; i<len; i++) { | |
13055 | PyObject* item = PySequence_GetItem(obj1, i); | |
13056 | PyObject* number = PyNumber_Int(item); | |
13057 | arg2->Add(PyInt_AS_LONG(number)); | |
13058 | Py_DECREF(item); | |
13059 | Py_DECREF(number); | |
13060 | } | |
13061 | } | |
13062 | { | |
13063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13064 | (arg1)->SetSelections((wxArrayInt const &)*arg2); | |
13065 | ||
13066 | wxPyEndAllowThreads(__tstate); | |
13067 | if (PyErr_Occurred()) SWIG_fail; | |
13068 | } | |
13069 | Py_INCREF(Py_None); resultobj = Py_None; | |
13070 | { | |
3adfb63b | 13071 | if (temp2) delete arg2; |
d14a1e28 RD |
13072 | } |
13073 | return resultobj; | |
13074 | fail: | |
13075 | { | |
3adfb63b | 13076 | if (temp2) delete arg2; |
d14a1e28 RD |
13077 | } |
13078 | return NULL; | |
13079 | } | |
13080 | ||
13081 | ||
c32bde28 | 13082 | static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13083 | PyObject *resultobj; |
13084 | wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ; | |
13085 | PyObject *result; | |
13086 | PyObject * obj0 = 0 ; | |
13087 | char *kwnames[] = { | |
13088 | (char *) "self", NULL | |
13089 | }; | |
13090 | ||
13091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMultiChoiceDialog, |
13093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13094 | { |
13095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13096 | result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1); | |
13097 | ||
13098 | wxPyEndAllowThreads(__tstate); | |
13099 | if (PyErr_Occurred()) SWIG_fail; | |
13100 | } | |
13101 | resultobj = result; | |
13102 | return resultobj; | |
13103 | fail: | |
13104 | return NULL; | |
13105 | } | |
13106 | ||
13107 | ||
c32bde28 | 13108 | static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13109 | PyObject *obj; |
13110 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13111 | SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj); | |
13112 | Py_INCREF(obj); | |
13113 | return Py_BuildValue((char *)""); | |
13114 | } | |
c32bde28 | 13115 | static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13116 | PyObject *resultobj; |
13117 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13118 | wxString *arg2 = 0 ; | |
13119 | wxString *arg3 = 0 ; | |
13120 | int arg4 ; | |
13121 | wxString *arg5 = (wxString *) 0 ; | |
13122 | long arg6 = (long) wxCHOICEDLG_STYLE ; | |
13123 | wxPoint const &arg7_defvalue = wxDefaultPosition ; | |
13124 | wxPoint *arg7 = (wxPoint *) &arg7_defvalue ; | |
13125 | wxSingleChoiceDialog *result; | |
ae8162c8 RD |
13126 | bool temp2 = false ; |
13127 | bool temp3 = false ; | |
d14a1e28 RD |
13128 | wxPoint temp6 ; |
13129 | PyObject * obj0 = 0 ; | |
13130 | PyObject * obj1 = 0 ; | |
13131 | PyObject * obj2 = 0 ; | |
13132 | PyObject * obj3 = 0 ; | |
994141e6 | 13133 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13134 | PyObject * obj5 = 0 ; |
13135 | char *kwnames[] = { | |
13136 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL | |
13137 | }; | |
13138 | ||
994141e6 | 13139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
13140 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13141 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13142 | { |
13143 | arg2 = wxString_in_helper(obj1); | |
13144 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13145 | temp2 = true; |
d14a1e28 RD |
13146 | } |
13147 | { | |
13148 | arg3 = wxString_in_helper(obj2); | |
13149 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13150 | temp3 = true; |
d14a1e28 RD |
13151 | } |
13152 | { | |
13153 | arg4 = PyList_Size(obj3); | |
13154 | arg5 = wxString_LIST_helper(obj3); | |
13155 | if (arg5 == NULL) SWIG_fail; | |
13156 | } | |
994141e6 | 13157 | if (obj4) { |
c32bde28 | 13158 | arg6 = (long)SWIG_As_long(obj4); |
15afbcd0 | 13159 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13160 | } |
d14a1e28 RD |
13161 | if (obj5) { |
13162 | { | |
13163 | arg7 = &temp6; | |
13164 | if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail; | |
13165 | } | |
13166 | } | |
13167 | { | |
e3b71cb8 | 13168 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13170 | result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7); | |
13171 | ||
13172 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13173 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13174 | } |
15afbcd0 | 13175 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1); |
d14a1e28 RD |
13176 | { |
13177 | if (temp2) | |
13178 | delete arg2; | |
13179 | } | |
13180 | { | |
13181 | if (temp3) | |
13182 | delete arg3; | |
13183 | } | |
13184 | { | |
13185 | if (arg5) delete [] arg5; | |
13186 | } | |
13187 | return resultobj; | |
13188 | fail: | |
13189 | { | |
13190 | if (temp2) | |
13191 | delete arg2; | |
13192 | } | |
13193 | { | |
13194 | if (temp3) | |
13195 | delete arg3; | |
13196 | } | |
13197 | { | |
13198 | if (arg5) delete [] arg5; | |
13199 | } | |
13200 | return NULL; | |
13201 | } | |
13202 | ||
13203 | ||
c32bde28 | 13204 | static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13205 | PyObject *resultobj; |
13206 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13207 | int result; | |
13208 | PyObject * obj0 = 0 ; | |
13209 | char *kwnames[] = { | |
13210 | (char *) "self", NULL | |
13211 | }; | |
13212 | ||
13213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13216 | { |
13217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13218 | result = (int)(arg1)->GetSelection(); | |
13219 | ||
13220 | wxPyEndAllowThreads(__tstate); | |
13221 | if (PyErr_Occurred()) SWIG_fail; | |
13222 | } | |
c32bde28 | 13223 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
13224 | return resultobj; |
13225 | fail: | |
13226 | return NULL; | |
13227 | } | |
13228 | ||
13229 | ||
c32bde28 | 13230 | static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13231 | PyObject *resultobj; |
13232 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13233 | wxString result; | |
13234 | PyObject * obj0 = 0 ; | |
13235 | char *kwnames[] = { | |
13236 | (char *) "self", NULL | |
13237 | }; | |
13238 | ||
13239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13242 | { |
13243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13244 | result = (arg1)->GetStringSelection(); | |
13245 | ||
13246 | wxPyEndAllowThreads(__tstate); | |
13247 | if (PyErr_Occurred()) SWIG_fail; | |
13248 | } | |
13249 | { | |
13250 | #if wxUSE_UNICODE | |
13251 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13252 | #else | |
13253 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13254 | #endif | |
13255 | } | |
13256 | return resultobj; | |
13257 | fail: | |
13258 | return NULL; | |
13259 | } | |
13260 | ||
13261 | ||
c32bde28 | 13262 | static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13263 | PyObject *resultobj; |
13264 | wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ; | |
13265 | int arg2 ; | |
13266 | PyObject * obj0 = 0 ; | |
994141e6 | 13267 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
13268 | char *kwnames[] = { |
13269 | (char *) "self",(char *) "sel", NULL | |
13270 | }; | |
13271 | ||
994141e6 | 13272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
13273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleChoiceDialog, |
13274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13275 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13276 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13277 | { |
13278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13279 | (arg1)->SetSelection(arg2); | |
13280 | ||
13281 | wxPyEndAllowThreads(__tstate); | |
13282 | if (PyErr_Occurred()) SWIG_fail; | |
13283 | } | |
13284 | Py_INCREF(Py_None); resultobj = Py_None; | |
13285 | return resultobj; | |
13286 | fail: | |
13287 | return NULL; | |
13288 | } | |
13289 | ||
13290 | ||
c32bde28 | 13291 | static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13292 | PyObject *obj; |
13293 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13294 | SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj); | |
13295 | Py_INCREF(obj); | |
13296 | return Py_BuildValue((char *)""); | |
13297 | } | |
c32bde28 | 13298 | static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13299 | PyObject *resultobj; |
13300 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13301 | wxString *arg2 = 0 ; | |
13302 | wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ; | |
13303 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13304 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13305 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d3b6e4ff | 13306 | long arg5 = (long) wxTextEntryDialogStyle ; |
d14a1e28 RD |
13307 | wxPoint const &arg6_defvalue = wxDefaultPosition ; |
13308 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
13309 | wxTextEntryDialog *result; | |
ae8162c8 RD |
13310 | bool temp2 = false ; |
13311 | bool temp3 = false ; | |
13312 | bool temp4 = false ; | |
d14a1e28 RD |
13313 | wxPoint temp6 ; |
13314 | PyObject * obj0 = 0 ; | |
13315 | PyObject * obj1 = 0 ; | |
13316 | PyObject * obj2 = 0 ; | |
13317 | PyObject * obj3 = 0 ; | |
994141e6 | 13318 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
13319 | PyObject * obj5 = 0 ; |
13320 | char *kwnames[] = { | |
13321 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL | |
13322 | }; | |
13323 | ||
994141e6 | 13324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
13325 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
13326 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13327 | { |
13328 | arg2 = wxString_in_helper(obj1); | |
13329 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13330 | temp2 = true; |
d14a1e28 RD |
13331 | } |
13332 | if (obj2) { | |
13333 | { | |
13334 | arg3 = wxString_in_helper(obj2); | |
13335 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 13336 | temp3 = true; |
d14a1e28 RD |
13337 | } |
13338 | } | |
13339 | if (obj3) { | |
13340 | { | |
13341 | arg4 = wxString_in_helper(obj3); | |
13342 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 13343 | temp4 = true; |
d14a1e28 RD |
13344 | } |
13345 | } | |
994141e6 | 13346 | if (obj4) { |
c32bde28 | 13347 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 13348 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 13349 | } |
d14a1e28 RD |
13350 | if (obj5) { |
13351 | { | |
13352 | arg6 = &temp6; | |
13353 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13354 | } | |
13355 | } | |
13356 | { | |
e3b71cb8 | 13357 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
13358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
13359 | result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13360 | ||
13361 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 13362 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 13363 | } |
15afbcd0 | 13364 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1); |
d14a1e28 RD |
13365 | { |
13366 | if (temp2) | |
13367 | delete arg2; | |
13368 | } | |
13369 | { | |
13370 | if (temp3) | |
13371 | delete arg3; | |
13372 | } | |
13373 | { | |
13374 | if (temp4) | |
13375 | delete arg4; | |
13376 | } | |
13377 | return resultobj; | |
13378 | fail: | |
13379 | { | |
13380 | if (temp2) | |
13381 | delete arg2; | |
13382 | } | |
13383 | { | |
13384 | if (temp3) | |
13385 | delete arg3; | |
13386 | } | |
13387 | { | |
13388 | if (temp4) | |
13389 | delete arg4; | |
13390 | } | |
13391 | return NULL; | |
13392 | } | |
13393 | ||
13394 | ||
c32bde28 | 13395 | static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13396 | PyObject *resultobj; |
13397 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13398 | wxString result; | |
13399 | PyObject * obj0 = 0 ; | |
13400 | char *kwnames[] = { | |
13401 | (char *) "self", NULL | |
13402 | }; | |
13403 | ||
13404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13407 | { |
13408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13409 | result = (arg1)->GetValue(); | |
13410 | ||
13411 | wxPyEndAllowThreads(__tstate); | |
13412 | if (PyErr_Occurred()) SWIG_fail; | |
13413 | } | |
13414 | { | |
13415 | #if wxUSE_UNICODE | |
13416 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
13417 | #else | |
13418 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
13419 | #endif | |
13420 | } | |
13421 | return resultobj; | |
13422 | fail: | |
13423 | return NULL; | |
13424 | } | |
13425 | ||
13426 | ||
c32bde28 | 13427 | static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13428 | PyObject *resultobj; |
13429 | wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ; | |
13430 | wxString *arg2 = 0 ; | |
ae8162c8 | 13431 | bool temp2 = false ; |
d14a1e28 RD |
13432 | PyObject * obj0 = 0 ; |
13433 | PyObject * obj1 = 0 ; | |
13434 | char *kwnames[] = { | |
13435 | (char *) "self",(char *) "value", NULL | |
13436 | }; | |
13437 | ||
13438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13439 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextEntryDialog, |
13440 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13441 | { |
13442 | arg2 = wxString_in_helper(obj1); | |
13443 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 13444 | temp2 = true; |
d14a1e28 RD |
13445 | } |
13446 | { | |
13447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13448 | (arg1)->SetValue((wxString const &)*arg2); | |
13449 | ||
13450 | wxPyEndAllowThreads(__tstate); | |
13451 | if (PyErr_Occurred()) SWIG_fail; | |
13452 | } | |
13453 | Py_INCREF(Py_None); resultobj = Py_None; | |
13454 | { | |
13455 | if (temp2) | |
13456 | delete arg2; | |
13457 | } | |
13458 | return resultobj; | |
13459 | fail: | |
13460 | { | |
13461 | if (temp2) | |
13462 | delete arg2; | |
13463 | } | |
13464 | return NULL; | |
13465 | } | |
13466 | ||
13467 | ||
c32bde28 | 13468 | static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
13469 | PyObject *obj; |
13470 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13471 | SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj); | |
13472 | Py_INCREF(obj); | |
13473 | return Py_BuildValue((char *)""); | |
13474 | } | |
d3b6e4ff RD |
13475 | static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) { |
13476 | PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only."); | |
13477 | return 1; | |
13478 | } | |
13479 | ||
13480 | ||
13481 | static PyObject *_wrap_GetPasswordFromUserPromptStr_get() { | |
13482 | PyObject *pyobj; | |
13483 | ||
13484 | { | |
13485 | #if wxUSE_UNICODE | |
13486 | pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
13487 | #else | |
13488 | pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len()); | |
13489 | #endif | |
13490 | } | |
13491 | return pyobj; | |
13492 | } | |
13493 | ||
13494 | ||
13495 | static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) { | |
13496 | PyObject *resultobj; | |
13497 | wxWindow *arg1 = (wxWindow *) 0 ; | |
13498 | wxString *arg2 = 0 ; | |
13499 | wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ; | |
13500 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
13501 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
13502 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
13503 | long arg5 = (long) wxTextEntryDialogStyle ; | |
13504 | wxPoint const &arg6_defvalue = wxDefaultPosition ; | |
13505 | wxPoint *arg6 = (wxPoint *) &arg6_defvalue ; | |
13506 | wxPasswordEntryDialog *result; | |
13507 | bool temp2 = false ; | |
13508 | bool temp3 = false ; | |
13509 | bool temp4 = false ; | |
13510 | wxPoint temp6 ; | |
13511 | PyObject * obj0 = 0 ; | |
13512 | PyObject * obj1 = 0 ; | |
13513 | PyObject * obj2 = 0 ; | |
13514 | PyObject * obj3 = 0 ; | |
13515 | PyObject * obj4 = 0 ; | |
13516 | PyObject * obj5 = 0 ; | |
13517 | char *kwnames[] = { | |
13518 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL | |
13519 | }; | |
13520 | ||
13521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
13522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
13523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13524 | { | |
13525 | arg2 = wxString_in_helper(obj1); | |
13526 | if (arg2 == NULL) SWIG_fail; | |
13527 | temp2 = true; | |
13528 | } | |
13529 | if (obj2) { | |
13530 | { | |
13531 | arg3 = wxString_in_helper(obj2); | |
13532 | if (arg3 == NULL) SWIG_fail; | |
13533 | temp3 = true; | |
13534 | } | |
13535 | } | |
13536 | if (obj3) { | |
13537 | { | |
13538 | arg4 = wxString_in_helper(obj3); | |
13539 | if (arg4 == NULL) SWIG_fail; | |
13540 | temp4 = true; | |
13541 | } | |
13542 | } | |
13543 | if (obj4) { | |
13544 | arg5 = (long)SWIG_As_long(obj4); | |
13545 | if (PyErr_Occurred()) SWIG_fail; | |
13546 | } | |
13547 | if (obj5) { | |
13548 | { | |
13549 | arg6 = &temp6; | |
13550 | if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail; | |
13551 | } | |
13552 | } | |
13553 | { | |
13554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13555 | result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6); | |
13556 | ||
13557 | wxPyEndAllowThreads(__tstate); | |
13558 | if (PyErr_Occurred()) SWIG_fail; | |
13559 | } | |
13560 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1); | |
13561 | { | |
13562 | if (temp2) | |
13563 | delete arg2; | |
13564 | } | |
13565 | { | |
13566 | if (temp3) | |
13567 | delete arg3; | |
13568 | } | |
13569 | { | |
13570 | if (temp4) | |
13571 | delete arg4; | |
13572 | } | |
13573 | return resultobj; | |
13574 | fail: | |
13575 | { | |
13576 | if (temp2) | |
13577 | delete arg2; | |
13578 | } | |
13579 | { | |
13580 | if (temp3) | |
13581 | delete arg3; | |
13582 | } | |
13583 | { | |
13584 | if (temp4) | |
13585 | delete arg4; | |
13586 | } | |
13587 | return NULL; | |
13588 | } | |
13589 | ||
13590 | ||
13591 | static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) { | |
13592 | PyObject *obj; | |
13593 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
13594 | SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj); | |
13595 | Py_INCREF(obj); | |
13596 | return Py_BuildValue((char *)""); | |
13597 | } | |
c32bde28 | 13598 | static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13599 | PyObject *resultobj; |
13600 | wxFontData *result; | |
13601 | char *kwnames[] = { | |
13602 | NULL | |
13603 | }; | |
13604 | ||
13605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail; | |
13606 | { | |
13607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13608 | result = (wxFontData *)new wxFontData(); | |
13609 | ||
13610 | wxPyEndAllowThreads(__tstate); | |
13611 | if (PyErr_Occurred()) SWIG_fail; | |
13612 | } | |
15afbcd0 | 13613 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1); |
d14a1e28 RD |
13614 | return resultobj; |
13615 | fail: | |
13616 | return NULL; | |
13617 | } | |
13618 | ||
13619 | ||
c32bde28 | 13620 | static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13621 | PyObject *resultobj; |
13622 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13623 | PyObject * obj0 = 0 ; | |
13624 | char *kwnames[] = { | |
13625 | (char *) "self", NULL | |
13626 | }; | |
13627 | ||
13628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13629 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13630 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13631 | { |
13632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13633 | delete arg1; | |
13634 | ||
13635 | wxPyEndAllowThreads(__tstate); | |
13636 | if (PyErr_Occurred()) SWIG_fail; | |
13637 | } | |
13638 | Py_INCREF(Py_None); resultobj = Py_None; | |
13639 | return resultobj; | |
13640 | fail: | |
13641 | return NULL; | |
13642 | } | |
13643 | ||
13644 | ||
c32bde28 | 13645 | static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13646 | PyObject *resultobj; |
13647 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13648 | bool arg2 ; | |
13649 | PyObject * obj0 = 0 ; | |
13650 | PyObject * obj1 = 0 ; | |
13651 | char *kwnames[] = { | |
13652 | (char *) "self",(char *) "enable", NULL | |
13653 | }; | |
13654 | ||
13655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13656 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13657 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13658 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13659 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13660 | { |
13661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13662 | (arg1)->EnableEffects(arg2); | |
13663 | ||
13664 | wxPyEndAllowThreads(__tstate); | |
13665 | if (PyErr_Occurred()) SWIG_fail; | |
13666 | } | |
13667 | Py_INCREF(Py_None); resultobj = Py_None; | |
13668 | return resultobj; | |
13669 | fail: | |
13670 | return NULL; | |
13671 | } | |
13672 | ||
13673 | ||
c32bde28 | 13674 | static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13675 | PyObject *resultobj; |
13676 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13677 | bool result; | |
13678 | PyObject * obj0 = 0 ; | |
13679 | char *kwnames[] = { | |
13680 | (char *) "self", NULL | |
13681 | }; | |
13682 | ||
13683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13686 | { |
13687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13688 | result = (bool)(arg1)->GetAllowSymbols(); | |
13689 | ||
13690 | wxPyEndAllowThreads(__tstate); | |
13691 | if (PyErr_Occurred()) SWIG_fail; | |
13692 | } | |
4f89f6a3 RD |
13693 | { |
13694 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13695 | } | |
d14a1e28 RD |
13696 | return resultobj; |
13697 | fail: | |
13698 | return NULL; | |
13699 | } | |
13700 | ||
13701 | ||
c32bde28 | 13702 | static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13703 | PyObject *resultobj; |
13704 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13705 | wxColour result; | |
13706 | PyObject * obj0 = 0 ; | |
13707 | char *kwnames[] = { | |
13708 | (char *) "self", NULL | |
13709 | }; | |
13710 | ||
13711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13714 | { |
13715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13716 | result = (arg1)->GetColour(); | |
13717 | ||
13718 | wxPyEndAllowThreads(__tstate); | |
13719 | if (PyErr_Occurred()) SWIG_fail; | |
13720 | } | |
13721 | { | |
13722 | wxColour * resultptr; | |
13723 | resultptr = new wxColour((wxColour &) result); | |
15afbcd0 | 13724 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
d14a1e28 RD |
13725 | } |
13726 | return resultobj; | |
13727 | fail: | |
13728 | return NULL; | |
13729 | } | |
13730 | ||
13731 | ||
c32bde28 | 13732 | static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13733 | PyObject *resultobj; |
13734 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13735 | wxFont result; | |
13736 | PyObject * obj0 = 0 ; | |
13737 | char *kwnames[] = { | |
13738 | (char *) "self", NULL | |
13739 | }; | |
13740 | ||
13741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13742 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13743 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13744 | { |
13745 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13746 | result = (arg1)->GetChosenFont(); | |
13747 | ||
13748 | wxPyEndAllowThreads(__tstate); | |
13749 | if (PyErr_Occurred()) SWIG_fail; | |
13750 | } | |
13751 | { | |
13752 | wxFont * resultptr; | |
13753 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13754 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13755 | } |
13756 | return resultobj; | |
13757 | fail: | |
13758 | return NULL; | |
13759 | } | |
13760 | ||
13761 | ||
c32bde28 | 13762 | static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13763 | PyObject *resultobj; |
13764 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13765 | bool result; | |
13766 | PyObject * obj0 = 0 ; | |
13767 | char *kwnames[] = { | |
13768 | (char *) "self", NULL | |
13769 | }; | |
13770 | ||
13771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13772 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13773 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13774 | { |
13775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13776 | result = (bool)(arg1)->GetEnableEffects(); | |
13777 | ||
13778 | wxPyEndAllowThreads(__tstate); | |
13779 | if (PyErr_Occurred()) SWIG_fail; | |
13780 | } | |
4f89f6a3 RD |
13781 | { |
13782 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13783 | } | |
d14a1e28 RD |
13784 | return resultobj; |
13785 | fail: | |
13786 | return NULL; | |
13787 | } | |
13788 | ||
13789 | ||
c32bde28 | 13790 | static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13791 | PyObject *resultobj; |
13792 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13793 | wxFont result; | |
13794 | PyObject * obj0 = 0 ; | |
13795 | char *kwnames[] = { | |
13796 | (char *) "self", NULL | |
13797 | }; | |
13798 | ||
13799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13800 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13801 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13802 | { |
13803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13804 | result = (arg1)->GetInitialFont(); | |
13805 | ||
13806 | wxPyEndAllowThreads(__tstate); | |
13807 | if (PyErr_Occurred()) SWIG_fail; | |
13808 | } | |
13809 | { | |
13810 | wxFont * resultptr; | |
13811 | resultptr = new wxFont((wxFont &) result); | |
15afbcd0 | 13812 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
d14a1e28 RD |
13813 | } |
13814 | return resultobj; | |
13815 | fail: | |
13816 | return NULL; | |
13817 | } | |
13818 | ||
13819 | ||
c32bde28 | 13820 | static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13821 | PyObject *resultobj; |
13822 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13823 | bool result; | |
13824 | PyObject * obj0 = 0 ; | |
13825 | char *kwnames[] = { | |
13826 | (char *) "self", NULL | |
13827 | }; | |
13828 | ||
13829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
13830 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13831 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13832 | { |
13833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13834 | result = (bool)(arg1)->GetShowHelp(); | |
13835 | ||
13836 | wxPyEndAllowThreads(__tstate); | |
13837 | if (PyErr_Occurred()) SWIG_fail; | |
13838 | } | |
4f89f6a3 RD |
13839 | { |
13840 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
13841 | } | |
d14a1e28 RD |
13842 | return resultobj; |
13843 | fail: | |
13844 | return NULL; | |
13845 | } | |
13846 | ||
13847 | ||
c32bde28 | 13848 | static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13849 | PyObject *resultobj; |
13850 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13851 | bool arg2 ; | |
13852 | PyObject * obj0 = 0 ; | |
13853 | PyObject * obj1 = 0 ; | |
13854 | char *kwnames[] = { | |
13855 | (char *) "self",(char *) "allowSymbols", NULL | |
13856 | }; | |
13857 | ||
13858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13859 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13860 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13861 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 13862 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13863 | { |
13864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13865 | (arg1)->SetAllowSymbols(arg2); | |
13866 | ||
13867 | wxPyEndAllowThreads(__tstate); | |
13868 | if (PyErr_Occurred()) SWIG_fail; | |
13869 | } | |
13870 | Py_INCREF(Py_None); resultobj = Py_None; | |
13871 | return resultobj; | |
13872 | fail: | |
13873 | return NULL; | |
13874 | } | |
13875 | ||
13876 | ||
c32bde28 | 13877 | static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13878 | PyObject *resultobj; |
13879 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13880 | wxFont *arg2 = 0 ; | |
13881 | PyObject * obj0 = 0 ; | |
13882 | PyObject * obj1 = 0 ; | |
13883 | char *kwnames[] = { | |
13884 | (char *) "self",(char *) "font", NULL | |
13885 | }; | |
13886 | ||
13887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13890 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13891 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13892 | SWIG_fail; | |
d14a1e28 | 13893 | if (arg2 == NULL) { |
15afbcd0 RD |
13894 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13895 | SWIG_fail; | |
d14a1e28 RD |
13896 | } |
13897 | { | |
13898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13899 | (arg1)->SetChosenFont((wxFont const &)*arg2); | |
13900 | ||
13901 | wxPyEndAllowThreads(__tstate); | |
13902 | if (PyErr_Occurred()) SWIG_fail; | |
13903 | } | |
13904 | Py_INCREF(Py_None); resultobj = Py_None; | |
13905 | return resultobj; | |
13906 | fail: | |
13907 | return NULL; | |
13908 | } | |
13909 | ||
13910 | ||
c32bde28 | 13911 | static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13912 | PyObject *resultobj; |
13913 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13914 | wxColour *arg2 = 0 ; | |
13915 | wxColour temp2 ; | |
13916 | PyObject * obj0 = 0 ; | |
13917 | PyObject * obj1 = 0 ; | |
13918 | char *kwnames[] = { | |
13919 | (char *) "self",(char *) "colour", NULL | |
13920 | }; | |
13921 | ||
13922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13923 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
13925 | { |
13926 | arg2 = &temp2; | |
13927 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
13928 | } | |
13929 | { | |
13930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13931 | (arg1)->SetColour((wxColour const &)*arg2); | |
13932 | ||
13933 | wxPyEndAllowThreads(__tstate); | |
13934 | if (PyErr_Occurred()) SWIG_fail; | |
13935 | } | |
13936 | Py_INCREF(Py_None); resultobj = Py_None; | |
13937 | return resultobj; | |
13938 | fail: | |
13939 | return NULL; | |
13940 | } | |
13941 | ||
13942 | ||
c32bde28 | 13943 | static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13944 | PyObject *resultobj; |
13945 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13946 | wxFont *arg2 = 0 ; | |
13947 | PyObject * obj0 = 0 ; | |
13948 | PyObject * obj1 = 0 ; | |
13949 | char *kwnames[] = { | |
13950 | (char *) "self",(char *) "font", NULL | |
13951 | }; | |
13952 | ||
13953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
13954 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13955 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
13956 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont, | |
13957 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
13958 | SWIG_fail; | |
d14a1e28 | 13959 | if (arg2 == NULL) { |
15afbcd0 RD |
13960 | PyErr_SetString(PyExc_TypeError,"null reference"); |
13961 | SWIG_fail; | |
d14a1e28 RD |
13962 | } |
13963 | { | |
13964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13965 | (arg1)->SetInitialFont((wxFont const &)*arg2); | |
13966 | ||
13967 | wxPyEndAllowThreads(__tstate); | |
13968 | if (PyErr_Occurred()) SWIG_fail; | |
13969 | } | |
13970 | Py_INCREF(Py_None); resultobj = Py_None; | |
13971 | return resultobj; | |
13972 | fail: | |
13973 | return NULL; | |
13974 | } | |
13975 | ||
13976 | ||
c32bde28 | 13977 | static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
13978 | PyObject *resultobj; |
13979 | wxFontData *arg1 = (wxFontData *) 0 ; | |
13980 | int arg2 ; | |
13981 | int arg3 ; | |
13982 | PyObject * obj0 = 0 ; | |
994141e6 RD |
13983 | PyObject * obj1 = 0 ; |
13984 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
13985 | char *kwnames[] = { |
13986 | (char *) "self",(char *) "min",(char *) "max", NULL | |
13987 | }; | |
13988 | ||
994141e6 | 13989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
13990 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
13991 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 13992 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 13993 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 13994 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 13995 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
13996 | { |
13997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
13998 | (arg1)->SetRange(arg2,arg3); | |
13999 | ||
14000 | wxPyEndAllowThreads(__tstate); | |
14001 | if (PyErr_Occurred()) SWIG_fail; | |
14002 | } | |
14003 | Py_INCREF(Py_None); resultobj = Py_None; | |
14004 | return resultobj; | |
14005 | fail: | |
14006 | return NULL; | |
14007 | } | |
14008 | ||
14009 | ||
c32bde28 | 14010 | static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14011 | PyObject *resultobj; |
14012 | wxFontData *arg1 = (wxFontData *) 0 ; | |
14013 | bool arg2 ; | |
14014 | PyObject * obj0 = 0 ; | |
14015 | PyObject * obj1 = 0 ; | |
14016 | char *kwnames[] = { | |
14017 | (char *) "self",(char *) "showHelp", NULL | |
14018 | }; | |
14019 | ||
14020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontData, |
14022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14023 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 14024 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14025 | { |
14026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14027 | (arg1)->SetShowHelp(arg2); | |
14028 | ||
14029 | wxPyEndAllowThreads(__tstate); | |
14030 | if (PyErr_Occurred()) SWIG_fail; | |
14031 | } | |
14032 | Py_INCREF(Py_None); resultobj = Py_None; | |
14033 | return resultobj; | |
14034 | fail: | |
14035 | return NULL; | |
14036 | } | |
14037 | ||
14038 | ||
c32bde28 | 14039 | static PyObject * FontData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14040 | PyObject *obj; |
14041 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14042 | SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj); | |
14043 | Py_INCREF(obj); | |
14044 | return Py_BuildValue((char *)""); | |
14045 | } | |
c32bde28 | 14046 | static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 14047 | PyObject *resultobj; |
e498079e RD |
14048 | wxWindow *arg1 = (wxWindow *) 0 ; |
14049 | wxFontData *arg2 = 0 ; | |
14050 | wxFontDialog *result; | |
d14a1e28 | 14051 | PyObject * obj0 = 0 ; |
e498079e | 14052 | PyObject * obj1 = 0 ; |
15afbcd0 RD |
14053 | char *kwnames[] = { |
14054 | (char *) "parent",(char *) "data", NULL | |
14055 | }; | |
d14a1e28 | 14056 | |
15afbcd0 RD |
14057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail; |
14058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, | |
14059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14060 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFontData, | |
14061 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
14062 | SWIG_fail; | |
e498079e | 14063 | if (arg2 == NULL) { |
15afbcd0 RD |
14064 | PyErr_SetString(PyExc_TypeError,"null reference"); |
14065 | SWIG_fail; | |
e498079e | 14066 | } |
d14a1e28 | 14067 | { |
e3b71cb8 | 14068 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 | 14069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
e498079e | 14070 | result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2); |
d14a1e28 RD |
14071 | |
14072 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14073 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14074 | } |
15afbcd0 | 14075 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1); |
d14a1e28 RD |
14076 | return resultobj; |
14077 | fail: | |
14078 | return NULL; | |
14079 | } | |
14080 | ||
14081 | ||
c32bde28 | 14082 | static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14083 | PyObject *resultobj; |
14084 | wxFontDialog *arg1 = (wxFontDialog *) 0 ; | |
e498079e | 14085 | wxFontData *result; |
d14a1e28 RD |
14086 | PyObject * obj0 = 0 ; |
14087 | char *kwnames[] = { | |
14088 | (char *) "self", NULL | |
14089 | }; | |
14090 | ||
e498079e | 14091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
14092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFontDialog, |
14093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14094 | { |
14095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
e498079e RD |
14096 | { |
14097 | wxFontData &_result_ref = (arg1)->GetFontData(); | |
14098 | result = (wxFontData *) &_result_ref; | |
14099 | } | |
d14a1e28 RD |
14100 | |
14101 | wxPyEndAllowThreads(__tstate); | |
14102 | if (PyErr_Occurred()) SWIG_fail; | |
14103 | } | |
15afbcd0 | 14104 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0); |
d14a1e28 RD |
14105 | return resultobj; |
14106 | fail: | |
14107 | return NULL; | |
14108 | } | |
14109 | ||
14110 | ||
c32bde28 | 14111 | static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14112 | PyObject *obj; |
14113 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14114 | SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj); | |
14115 | Py_INCREF(obj); | |
14116 | return Py_BuildValue((char *)""); | |
14117 | } | |
c32bde28 | 14118 | static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14119 | PyObject *resultobj; |
14120 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14121 | wxString *arg2 = 0 ; | |
14122 | wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ; | |
14123 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14124 | long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ; | |
14125 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
14126 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
14127 | wxMessageDialog *result; | |
ae8162c8 RD |
14128 | bool temp2 = false ; |
14129 | bool temp3 = false ; | |
d14a1e28 RD |
14130 | wxPoint temp5 ; |
14131 | PyObject * obj0 = 0 ; | |
14132 | PyObject * obj1 = 0 ; | |
14133 | PyObject * obj2 = 0 ; | |
994141e6 | 14134 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14135 | PyObject * obj4 = 0 ; |
14136 | char *kwnames[] = { | |
14137 | (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL | |
14138 | }; | |
14139 | ||
994141e6 | 14140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14143 | { |
14144 | arg2 = wxString_in_helper(obj1); | |
14145 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14146 | temp2 = true; |
d14a1e28 RD |
14147 | } |
14148 | if (obj2) { | |
14149 | { | |
14150 | arg3 = wxString_in_helper(obj2); | |
14151 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14152 | temp3 = true; |
d14a1e28 RD |
14153 | } |
14154 | } | |
994141e6 | 14155 | if (obj3) { |
c32bde28 | 14156 | arg4 = (long)SWIG_As_long(obj3); |
15afbcd0 | 14157 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14158 | } |
d14a1e28 RD |
14159 | if (obj4) { |
14160 | { | |
14161 | arg5 = &temp5; | |
14162 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
14163 | } | |
14164 | } | |
14165 | { | |
e3b71cb8 | 14166 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14168 | result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5); | |
14169 | ||
14170 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14171 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14172 | } |
15afbcd0 | 14173 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1); |
d14a1e28 RD |
14174 | { |
14175 | if (temp2) | |
14176 | delete arg2; | |
14177 | } | |
14178 | { | |
14179 | if (temp3) | |
14180 | delete arg3; | |
14181 | } | |
14182 | return resultobj; | |
14183 | fail: | |
14184 | { | |
14185 | if (temp2) | |
14186 | delete arg2; | |
14187 | } | |
14188 | { | |
14189 | if (temp3) | |
14190 | delete arg3; | |
14191 | } | |
14192 | return NULL; | |
14193 | } | |
14194 | ||
14195 | ||
c32bde28 | 14196 | static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14197 | PyObject *obj; |
14198 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14199 | SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj); | |
14200 | Py_INCREF(obj); | |
14201 | return Py_BuildValue((char *)""); | |
14202 | } | |
c32bde28 | 14203 | static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14204 | PyObject *resultobj; |
14205 | wxString *arg1 = 0 ; | |
14206 | wxString *arg2 = 0 ; | |
14207 | int arg3 = (int) 100 ; | |
14208 | wxWindow *arg4 = (wxWindow *) NULL ; | |
14209 | int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ; | |
14210 | wxProgressDialog *result; | |
ae8162c8 RD |
14211 | bool temp1 = false ; |
14212 | bool temp2 = false ; | |
d14a1e28 RD |
14213 | PyObject * obj0 = 0 ; |
14214 | PyObject * obj1 = 0 ; | |
994141e6 | 14215 | PyObject * obj2 = 0 ; |
d14a1e28 | 14216 | PyObject * obj3 = 0 ; |
994141e6 | 14217 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14218 | char *kwnames[] = { |
14219 | (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL | |
14220 | }; | |
14221 | ||
994141e6 | 14222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
d14a1e28 RD |
14223 | { |
14224 | arg1 = wxString_in_helper(obj0); | |
14225 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 14226 | temp1 = true; |
d14a1e28 RD |
14227 | } |
14228 | { | |
14229 | arg2 = wxString_in_helper(obj1); | |
14230 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14231 | temp2 = true; |
d14a1e28 | 14232 | } |
994141e6 | 14233 | if (obj2) { |
c32bde28 | 14234 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 14235 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14236 | } |
d14a1e28 | 14237 | if (obj3) { |
15afbcd0 RD |
14238 | if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow, |
14239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 14240 | } |
994141e6 | 14241 | if (obj4) { |
c32bde28 | 14242 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 14243 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14244 | } |
d14a1e28 | 14245 | { |
e3b71cb8 | 14246 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14248 | result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5); | |
14249 | ||
14250 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14251 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14252 | } |
15afbcd0 | 14253 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1); |
d14a1e28 RD |
14254 | { |
14255 | if (temp1) | |
14256 | delete arg1; | |
14257 | } | |
14258 | { | |
14259 | if (temp2) | |
14260 | delete arg2; | |
14261 | } | |
14262 | return resultobj; | |
14263 | fail: | |
14264 | { | |
14265 | if (temp1) | |
14266 | delete arg1; | |
14267 | } | |
14268 | { | |
14269 | if (temp2) | |
14270 | delete arg2; | |
14271 | } | |
14272 | return NULL; | |
14273 | } | |
14274 | ||
14275 | ||
c32bde28 | 14276 | static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14277 | PyObject *resultobj; |
14278 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
14279 | int arg2 ; | |
14280 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
14281 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
14282 | bool result; | |
ae8162c8 | 14283 | bool temp3 = false ; |
d14a1e28 | 14284 | PyObject * obj0 = 0 ; |
994141e6 | 14285 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14286 | PyObject * obj2 = 0 ; |
14287 | char *kwnames[] = { | |
14288 | (char *) "self",(char *) "value",(char *) "newmsg", NULL | |
14289 | }; | |
14290 | ||
994141e6 | 14291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
14292 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
14293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14294 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14295 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14296 | if (obj2) { |
14297 | { | |
14298 | arg3 = wxString_in_helper(obj2); | |
14299 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14300 | temp3 = true; |
d14a1e28 RD |
14301 | } |
14302 | } | |
14303 | { | |
14304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14305 | result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3); | |
14306 | ||
14307 | wxPyEndAllowThreads(__tstate); | |
14308 | if (PyErr_Occurred()) SWIG_fail; | |
14309 | } | |
4f89f6a3 RD |
14310 | { |
14311 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
14312 | } | |
d14a1e28 RD |
14313 | { |
14314 | if (temp3) | |
14315 | delete arg3; | |
14316 | } | |
14317 | return resultobj; | |
14318 | fail: | |
14319 | { | |
14320 | if (temp3) | |
14321 | delete arg3; | |
14322 | } | |
14323 | return NULL; | |
14324 | } | |
14325 | ||
14326 | ||
c32bde28 | 14327 | static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14328 | PyObject *resultobj; |
14329 | wxProgressDialog *arg1 = (wxProgressDialog *) 0 ; | |
14330 | PyObject * obj0 = 0 ; | |
14331 | char *kwnames[] = { | |
14332 | (char *) "self", NULL | |
14333 | }; | |
14334 | ||
14335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProgressDialog, |
14337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14338 | { |
14339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14340 | (arg1)->Resume(); | |
14341 | ||
14342 | wxPyEndAllowThreads(__tstate); | |
14343 | if (PyErr_Occurred()) SWIG_fail; | |
14344 | } | |
14345 | Py_INCREF(Py_None); resultobj = Py_None; | |
14346 | return resultobj; | |
14347 | fail: | |
14348 | return NULL; | |
14349 | } | |
14350 | ||
14351 | ||
c32bde28 | 14352 | static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14353 | PyObject *obj; |
14354 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14355 | SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj); | |
14356 | Py_INCREF(obj); | |
14357 | return Py_BuildValue((char *)""); | |
14358 | } | |
c32bde28 | 14359 | static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14360 | PyObject *resultobj; |
14361 | wxEventType arg1 = (wxEventType) wxEVT_NULL ; | |
14362 | int arg2 = (int) 0 ; | |
14363 | wxFindDialogEvent *result; | |
994141e6 RD |
14364 | PyObject * obj0 = 0 ; |
14365 | PyObject * obj1 = 0 ; | |
d14a1e28 RD |
14366 | char *kwnames[] = { |
14367 | (char *) "commandType",(char *) "id", NULL | |
14368 | }; | |
14369 | ||
994141e6 RD |
14370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail; |
14371 | if (obj0) { | |
c32bde28 | 14372 | arg1 = (wxEventType)SWIG_As_int(obj0); |
15afbcd0 | 14373 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 RD |
14374 | } |
14375 | if (obj1) { | |
c32bde28 | 14376 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14377 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14378 | } |
d14a1e28 RD |
14379 | { |
14380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14381 | result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2); | |
14382 | ||
14383 | wxPyEndAllowThreads(__tstate); | |
14384 | if (PyErr_Occurred()) SWIG_fail; | |
14385 | } | |
15afbcd0 | 14386 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1); |
d14a1e28 RD |
14387 | return resultobj; |
14388 | fail: | |
14389 | return NULL; | |
14390 | } | |
14391 | ||
14392 | ||
c32bde28 | 14393 | static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14394 | PyObject *resultobj; |
14395 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14396 | int result; | |
14397 | PyObject * obj0 = 0 ; | |
14398 | char *kwnames[] = { | |
14399 | (char *) "self", NULL | |
14400 | }; | |
14401 | ||
14402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14405 | { |
14406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14407 | result = (int)(arg1)->GetFlags(); | |
14408 | ||
14409 | wxPyEndAllowThreads(__tstate); | |
14410 | if (PyErr_Occurred()) SWIG_fail; | |
14411 | } | |
c32bde28 | 14412 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14413 | return resultobj; |
14414 | fail: | |
14415 | return NULL; | |
14416 | } | |
14417 | ||
14418 | ||
c32bde28 | 14419 | static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14420 | PyObject *resultobj; |
14421 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
cc6dd355 | 14422 | wxString *result; |
d14a1e28 RD |
14423 | PyObject * obj0 = 0 ; |
14424 | char *kwnames[] = { | |
14425 | (char *) "self", NULL | |
14426 | }; | |
14427 | ||
14428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14429 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14430 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14431 | { |
14432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
cc6dd355 RD |
14433 | { |
14434 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14435 | result = (wxString *) &_result_ref; | |
14436 | } | |
d14a1e28 RD |
14437 | |
14438 | wxPyEndAllowThreads(__tstate); | |
14439 | if (PyErr_Occurred()) SWIG_fail; | |
14440 | } | |
14441 | { | |
14442 | #if wxUSE_UNICODE | |
cc6dd355 | 14443 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
d14a1e28 | 14444 | #else |
cc6dd355 | 14445 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
d14a1e28 RD |
14446 | #endif |
14447 | } | |
14448 | return resultobj; | |
14449 | fail: | |
14450 | return NULL; | |
14451 | } | |
14452 | ||
14453 | ||
c32bde28 | 14454 | static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14455 | PyObject *resultobj; |
14456 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14457 | wxString *result; | |
14458 | PyObject * obj0 = 0 ; | |
14459 | char *kwnames[] = { | |
14460 | (char *) "self", NULL | |
14461 | }; | |
14462 | ||
14463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14464 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14465 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14466 | { |
14467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14468 | { | |
14469 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14470 | result = (wxString *) &_result_ref; | |
14471 | } | |
14472 | ||
14473 | wxPyEndAllowThreads(__tstate); | |
14474 | if (PyErr_Occurred()) SWIG_fail; | |
14475 | } | |
cc6dd355 RD |
14476 | { |
14477 | #if wxUSE_UNICODE | |
14478 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14479 | #else | |
14480 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14481 | #endif | |
14482 | } | |
d14a1e28 RD |
14483 | return resultobj; |
14484 | fail: | |
14485 | return NULL; | |
14486 | } | |
14487 | ||
14488 | ||
c32bde28 | 14489 | static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14490 | PyObject *resultobj; |
14491 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14492 | wxFindReplaceDialog *result; | |
14493 | PyObject * obj0 = 0 ; | |
14494 | char *kwnames[] = { | |
14495 | (char *) "self", NULL | |
14496 | }; | |
14497 | ||
14498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14499 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14500 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14501 | { |
14502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14503 | result = (wxFindReplaceDialog *)(arg1)->GetDialog(); | |
14504 | ||
14505 | wxPyEndAllowThreads(__tstate); | |
14506 | if (PyErr_Occurred()) SWIG_fail; | |
14507 | } | |
15afbcd0 | 14508 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0); |
d14a1e28 RD |
14509 | return resultobj; |
14510 | fail: | |
14511 | return NULL; | |
14512 | } | |
14513 | ||
14514 | ||
c32bde28 | 14515 | static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14516 | PyObject *resultobj; |
14517 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14518 | int arg2 ; | |
14519 | PyObject * obj0 = 0 ; | |
994141e6 | 14520 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14521 | char *kwnames[] = { |
14522 | (char *) "self",(char *) "flags", NULL | |
14523 | }; | |
14524 | ||
994141e6 | 14525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14526 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14527 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14528 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14529 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14530 | { |
14531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14532 | (arg1)->SetFlags(arg2); | |
14533 | ||
14534 | wxPyEndAllowThreads(__tstate); | |
14535 | if (PyErr_Occurred()) SWIG_fail; | |
14536 | } | |
14537 | Py_INCREF(Py_None); resultobj = Py_None; | |
14538 | return resultobj; | |
14539 | fail: | |
14540 | return NULL; | |
14541 | } | |
14542 | ||
14543 | ||
c32bde28 | 14544 | static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14545 | PyObject *resultobj; |
14546 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14547 | wxString *arg2 = 0 ; | |
ae8162c8 | 14548 | bool temp2 = false ; |
d14a1e28 RD |
14549 | PyObject * obj0 = 0 ; |
14550 | PyObject * obj1 = 0 ; | |
14551 | char *kwnames[] = { | |
14552 | (char *) "self",(char *) "str", NULL | |
14553 | }; | |
14554 | ||
14555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14556 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14557 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14558 | { |
14559 | arg2 = wxString_in_helper(obj1); | |
14560 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14561 | temp2 = true; |
d14a1e28 RD |
14562 | } |
14563 | { | |
14564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14565 | (arg1)->SetFindString((wxString const &)*arg2); | |
14566 | ||
14567 | wxPyEndAllowThreads(__tstate); | |
14568 | if (PyErr_Occurred()) SWIG_fail; | |
14569 | } | |
14570 | Py_INCREF(Py_None); resultobj = Py_None; | |
14571 | { | |
14572 | if (temp2) | |
14573 | delete arg2; | |
14574 | } | |
14575 | return resultobj; | |
14576 | fail: | |
14577 | { | |
14578 | if (temp2) | |
14579 | delete arg2; | |
14580 | } | |
14581 | return NULL; | |
14582 | } | |
14583 | ||
14584 | ||
c32bde28 | 14585 | static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14586 | PyObject *resultobj; |
14587 | wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ; | |
14588 | wxString *arg2 = 0 ; | |
ae8162c8 | 14589 | bool temp2 = false ; |
d14a1e28 RD |
14590 | PyObject * obj0 = 0 ; |
14591 | PyObject * obj1 = 0 ; | |
14592 | char *kwnames[] = { | |
14593 | (char *) "self",(char *) "str", NULL | |
14594 | }; | |
14595 | ||
14596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindDialogEvent, |
14598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14599 | { |
14600 | arg2 = wxString_in_helper(obj1); | |
14601 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14602 | temp2 = true; |
d14a1e28 RD |
14603 | } |
14604 | { | |
14605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14606 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14607 | ||
14608 | wxPyEndAllowThreads(__tstate); | |
14609 | if (PyErr_Occurred()) SWIG_fail; | |
14610 | } | |
14611 | Py_INCREF(Py_None); resultobj = Py_None; | |
14612 | { | |
14613 | if (temp2) | |
14614 | delete arg2; | |
14615 | } | |
14616 | return resultobj; | |
14617 | fail: | |
14618 | { | |
14619 | if (temp2) | |
14620 | delete arg2; | |
14621 | } | |
14622 | return NULL; | |
14623 | } | |
14624 | ||
14625 | ||
c32bde28 | 14626 | static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14627 | PyObject *obj; |
14628 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14629 | SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj); | |
14630 | Py_INCREF(obj); | |
14631 | return Py_BuildValue((char *)""); | |
14632 | } | |
c32bde28 | 14633 | static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14634 | PyObject *resultobj; |
14635 | int arg1 = (int) 0 ; | |
14636 | wxFindReplaceData *result; | |
994141e6 | 14637 | PyObject * obj0 = 0 ; |
d14a1e28 RD |
14638 | char *kwnames[] = { |
14639 | (char *) "flags", NULL | |
14640 | }; | |
14641 | ||
994141e6 RD |
14642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail; |
14643 | if (obj0) { | |
c32bde28 | 14644 | arg1 = (int)SWIG_As_int(obj0); |
15afbcd0 | 14645 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14646 | } |
d14a1e28 RD |
14647 | { |
14648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14649 | result = (wxFindReplaceData *)new wxFindReplaceData(arg1); | |
14650 | ||
14651 | wxPyEndAllowThreads(__tstate); | |
14652 | if (PyErr_Occurred()) SWIG_fail; | |
14653 | } | |
15afbcd0 | 14654 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1); |
d14a1e28 RD |
14655 | return resultobj; |
14656 | fail: | |
14657 | return NULL; | |
14658 | } | |
14659 | ||
14660 | ||
c32bde28 | 14661 | static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14662 | PyObject *resultobj; |
14663 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14664 | PyObject * obj0 = 0 ; | |
14665 | char *kwnames[] = { | |
14666 | (char *) "self", NULL | |
14667 | }; | |
14668 | ||
14669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14670 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14671 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14672 | { |
14673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14674 | delete arg1; | |
14675 | ||
14676 | wxPyEndAllowThreads(__tstate); | |
14677 | if (PyErr_Occurred()) SWIG_fail; | |
14678 | } | |
14679 | Py_INCREF(Py_None); resultobj = Py_None; | |
14680 | return resultobj; | |
14681 | fail: | |
14682 | return NULL; | |
14683 | } | |
14684 | ||
14685 | ||
c32bde28 | 14686 | static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14687 | PyObject *resultobj; |
14688 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14689 | wxString *result; | |
14690 | PyObject * obj0 = 0 ; | |
14691 | char *kwnames[] = { | |
14692 | (char *) "self", NULL | |
14693 | }; | |
14694 | ||
14695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14696 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14697 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14698 | { |
14699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14700 | { | |
14701 | wxString const &_result_ref = (arg1)->GetFindString(); | |
14702 | result = (wxString *) &_result_ref; | |
14703 | } | |
14704 | ||
14705 | wxPyEndAllowThreads(__tstate); | |
14706 | if (PyErr_Occurred()) SWIG_fail; | |
14707 | } | |
cc6dd355 RD |
14708 | { |
14709 | #if wxUSE_UNICODE | |
14710 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14711 | #else | |
14712 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14713 | #endif | |
14714 | } | |
d14a1e28 RD |
14715 | return resultobj; |
14716 | fail: | |
14717 | return NULL; | |
14718 | } | |
14719 | ||
14720 | ||
c32bde28 | 14721 | static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14722 | PyObject *resultobj; |
14723 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14724 | wxString *result; | |
14725 | PyObject * obj0 = 0 ; | |
14726 | char *kwnames[] = { | |
14727 | (char *) "self", NULL | |
14728 | }; | |
14729 | ||
14730 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14731 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14732 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14733 | { |
14734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14735 | { | |
14736 | wxString const &_result_ref = (arg1)->GetReplaceString(); | |
14737 | result = (wxString *) &_result_ref; | |
14738 | } | |
14739 | ||
14740 | wxPyEndAllowThreads(__tstate); | |
14741 | if (PyErr_Occurred()) SWIG_fail; | |
14742 | } | |
cc6dd355 RD |
14743 | { |
14744 | #if wxUSE_UNICODE | |
14745 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
14746 | #else | |
14747 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
14748 | #endif | |
14749 | } | |
d14a1e28 RD |
14750 | return resultobj; |
14751 | fail: | |
14752 | return NULL; | |
14753 | } | |
14754 | ||
14755 | ||
c32bde28 | 14756 | static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14757 | PyObject *resultobj; |
14758 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14759 | int result; | |
14760 | PyObject * obj0 = 0 ; | |
14761 | char *kwnames[] = { | |
14762 | (char *) "self", NULL | |
14763 | }; | |
14764 | ||
14765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
14766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14768 | { |
14769 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14770 | result = (int)(arg1)->GetFlags(); | |
14771 | ||
14772 | wxPyEndAllowThreads(__tstate); | |
14773 | if (PyErr_Occurred()) SWIG_fail; | |
14774 | } | |
c32bde28 | 14775 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
14776 | return resultobj; |
14777 | fail: | |
14778 | return NULL; | |
14779 | } | |
14780 | ||
14781 | ||
c32bde28 | 14782 | static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14783 | PyObject *resultobj; |
14784 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14785 | int arg2 ; | |
14786 | PyObject * obj0 = 0 ; | |
994141e6 | 14787 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
14788 | char *kwnames[] = { |
14789 | (char *) "self",(char *) "flags", NULL | |
14790 | }; | |
14791 | ||
994141e6 | 14792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
14793 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14794 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 14795 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 14796 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
14797 | { |
14798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14799 | (arg1)->SetFlags(arg2); | |
14800 | ||
14801 | wxPyEndAllowThreads(__tstate); | |
14802 | if (PyErr_Occurred()) SWIG_fail; | |
14803 | } | |
14804 | Py_INCREF(Py_None); resultobj = Py_None; | |
14805 | return resultobj; | |
14806 | fail: | |
14807 | return NULL; | |
14808 | } | |
14809 | ||
14810 | ||
c32bde28 | 14811 | static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14812 | PyObject *resultobj; |
14813 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14814 | wxString *arg2 = 0 ; | |
ae8162c8 | 14815 | bool temp2 = false ; |
d14a1e28 RD |
14816 | PyObject * obj0 = 0 ; |
14817 | PyObject * obj1 = 0 ; | |
14818 | char *kwnames[] = { | |
14819 | (char *) "self",(char *) "str", NULL | |
14820 | }; | |
14821 | ||
14822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14825 | { |
14826 | arg2 = wxString_in_helper(obj1); | |
14827 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14828 | temp2 = true; |
d14a1e28 RD |
14829 | } |
14830 | { | |
14831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14832 | (arg1)->SetFindString((wxString const &)*arg2); | |
14833 | ||
14834 | wxPyEndAllowThreads(__tstate); | |
14835 | if (PyErr_Occurred()) SWIG_fail; | |
14836 | } | |
14837 | Py_INCREF(Py_None); resultobj = Py_None; | |
14838 | { | |
14839 | if (temp2) | |
14840 | delete arg2; | |
14841 | } | |
14842 | return resultobj; | |
14843 | fail: | |
14844 | { | |
14845 | if (temp2) | |
14846 | delete arg2; | |
14847 | } | |
14848 | return NULL; | |
14849 | } | |
14850 | ||
14851 | ||
c32bde28 | 14852 | static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14853 | PyObject *resultobj; |
14854 | wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ; | |
14855 | wxString *arg2 = 0 ; | |
ae8162c8 | 14856 | bool temp2 = false ; |
d14a1e28 RD |
14857 | PyObject * obj0 = 0 ; |
14858 | PyObject * obj1 = 0 ; | |
14859 | char *kwnames[] = { | |
14860 | (char *) "self",(char *) "str", NULL | |
14861 | }; | |
14862 | ||
14863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
14864 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceData, |
14865 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14866 | { |
14867 | arg2 = wxString_in_helper(obj1); | |
14868 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 14869 | temp2 = true; |
d14a1e28 RD |
14870 | } |
14871 | { | |
14872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
14873 | (arg1)->SetReplaceString((wxString const &)*arg2); | |
14874 | ||
14875 | wxPyEndAllowThreads(__tstate); | |
14876 | if (PyErr_Occurred()) SWIG_fail; | |
14877 | } | |
14878 | Py_INCREF(Py_None); resultobj = Py_None; | |
14879 | { | |
14880 | if (temp2) | |
14881 | delete arg2; | |
14882 | } | |
14883 | return resultobj; | |
14884 | fail: | |
14885 | { | |
14886 | if (temp2) | |
14887 | delete arg2; | |
14888 | } | |
14889 | return NULL; | |
14890 | } | |
14891 | ||
14892 | ||
c32bde28 | 14893 | static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
14894 | PyObject *obj; |
14895 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
14896 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj); | |
14897 | Py_INCREF(obj); | |
14898 | return Py_BuildValue((char *)""); | |
14899 | } | |
c32bde28 | 14900 | static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14901 | PyObject *resultobj; |
14902 | wxWindow *arg1 = (wxWindow *) 0 ; | |
14903 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
14904 | wxString *arg3 = 0 ; | |
14905 | int arg4 = (int) 0 ; | |
14906 | wxFindReplaceDialog *result; | |
ae8162c8 | 14907 | bool temp3 = false ; |
d14a1e28 RD |
14908 | PyObject * obj0 = 0 ; |
14909 | PyObject * obj1 = 0 ; | |
14910 | PyObject * obj2 = 0 ; | |
994141e6 | 14911 | PyObject * obj3 = 0 ; |
d14a1e28 RD |
14912 | char *kwnames[] = { |
14913 | (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14914 | }; | |
14915 | ||
994141e6 | 14916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
14917 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
14918 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14919 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
14920 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
14921 | { |
14922 | arg3 = wxString_in_helper(obj2); | |
14923 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 14924 | temp3 = true; |
d14a1e28 | 14925 | } |
994141e6 | 14926 | if (obj3) { |
c32bde28 | 14927 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 14928 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 14929 | } |
d14a1e28 | 14930 | { |
e3b71cb8 | 14931 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14933 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4); | |
14934 | ||
14935 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14936 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14937 | } |
15afbcd0 | 14938 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14939 | { |
14940 | if (temp3) | |
14941 | delete arg3; | |
14942 | } | |
14943 | return resultobj; | |
14944 | fail: | |
14945 | { | |
14946 | if (temp3) | |
14947 | delete arg3; | |
14948 | } | |
14949 | return NULL; | |
14950 | } | |
14951 | ||
14952 | ||
c32bde28 | 14953 | static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14954 | PyObject *resultobj; |
14955 | wxFindReplaceDialog *result; | |
14956 | char *kwnames[] = { | |
14957 | NULL | |
14958 | }; | |
14959 | ||
14960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail; | |
14961 | { | |
e3b71cb8 | 14962 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
14963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
14964 | result = (wxFindReplaceDialog *)new wxFindReplaceDialog(); | |
14965 | ||
14966 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 14967 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 14968 | } |
15afbcd0 | 14969 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1); |
d14a1e28 RD |
14970 | return resultobj; |
14971 | fail: | |
14972 | return NULL; | |
14973 | } | |
14974 | ||
14975 | ||
c32bde28 | 14976 | static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
14977 | PyObject *resultobj; |
14978 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
14979 | wxWindow *arg2 = (wxWindow *) 0 ; | |
14980 | wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ; | |
14981 | wxString *arg4 = 0 ; | |
14982 | int arg5 = (int) 0 ; | |
14983 | bool result; | |
ae8162c8 | 14984 | bool temp4 = false ; |
d14a1e28 RD |
14985 | PyObject * obj0 = 0 ; |
14986 | PyObject * obj1 = 0 ; | |
14987 | PyObject * obj2 = 0 ; | |
14988 | PyObject * obj3 = 0 ; | |
994141e6 | 14989 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
14990 | char *kwnames[] = { |
14991 | (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL | |
14992 | }; | |
14993 | ||
994141e6 | 14994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
14995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
14996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14997 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
14998 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
14999 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFindReplaceData, | |
15000 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15001 | { |
15002 | arg4 = wxString_in_helper(obj3); | |
15003 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15004 | temp4 = true; |
d14a1e28 | 15005 | } |
994141e6 | 15006 | if (obj4) { |
c32bde28 | 15007 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 15008 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15009 | } |
d14a1e28 RD |
15010 | { |
15011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15012 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5); | |
15013 | ||
15014 | wxPyEndAllowThreads(__tstate); | |
15015 | if (PyErr_Occurred()) SWIG_fail; | |
15016 | } | |
4f89f6a3 RD |
15017 | { |
15018 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15019 | } | |
d14a1e28 RD |
15020 | { |
15021 | if (temp4) | |
15022 | delete arg4; | |
15023 | } | |
15024 | return resultobj; | |
15025 | fail: | |
15026 | { | |
15027 | if (temp4) | |
15028 | delete arg4; | |
15029 | } | |
15030 | return NULL; | |
15031 | } | |
15032 | ||
15033 | ||
c32bde28 | 15034 | static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15035 | PyObject *resultobj; |
15036 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
15037 | wxFindReplaceData *result; | |
15038 | PyObject * obj0 = 0 ; | |
15039 | char *kwnames[] = { | |
15040 | (char *) "self", NULL | |
15041 | }; | |
15042 | ||
15043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15044 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
15045 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15046 | { |
15047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15048 | result = (wxFindReplaceData *)(arg1)->GetData(); | |
15049 | ||
15050 | wxPyEndAllowThreads(__tstate); | |
15051 | if (PyErr_Occurred()) SWIG_fail; | |
15052 | } | |
15afbcd0 | 15053 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0); |
d14a1e28 RD |
15054 | return resultobj; |
15055 | fail: | |
15056 | return NULL; | |
15057 | } | |
15058 | ||
15059 | ||
c32bde28 | 15060 | static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15061 | PyObject *resultobj; |
15062 | wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ; | |
15063 | wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ; | |
15064 | PyObject * obj0 = 0 ; | |
15065 | PyObject * obj1 = 0 ; | |
15066 | char *kwnames[] = { | |
15067 | (char *) "self",(char *) "data", NULL | |
15068 | }; | |
15069 | ||
15070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
15071 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFindReplaceDialog, |
15072 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15073 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFindReplaceData, | |
15074 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15075 | { |
15076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15077 | (arg1)->SetData(arg2); | |
15078 | ||
15079 | wxPyEndAllowThreads(__tstate); | |
15080 | if (PyErr_Occurred()) SWIG_fail; | |
15081 | } | |
15082 | Py_INCREF(Py_None); resultobj = Py_None; | |
15083 | return resultobj; | |
15084 | fail: | |
15085 | return NULL; | |
15086 | } | |
15087 | ||
15088 | ||
c32bde28 | 15089 | static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15090 | PyObject *obj; |
15091 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15092 | SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj); | |
15093 | Py_INCREF(obj); | |
15094 | return Py_BuildValue((char *)""); | |
15095 | } | |
c32bde28 | 15096 | static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15097 | PyObject *resultobj; |
15098 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
15099 | int arg2 = (int) (int)-1 ; |
15100 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15101 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
15102 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15103 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15104 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15105 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15106 | long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
15107 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15108 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15109 | wxMDIParentFrame *result; | |
ae8162c8 | 15110 | bool temp3 = false ; |
d14a1e28 RD |
15111 | wxPoint temp4 ; |
15112 | wxSize temp5 ; | |
ae8162c8 | 15113 | bool temp7 = false ; |
d14a1e28 | 15114 | PyObject * obj0 = 0 ; |
994141e6 | 15115 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15116 | PyObject * obj2 = 0 ; |
15117 | PyObject * obj3 = 0 ; | |
15118 | PyObject * obj4 = 0 ; | |
994141e6 | 15119 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
15120 | PyObject * obj6 = 0 ; |
15121 | char *kwnames[] = { | |
15122 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15123 | }; | |
15124 | ||
248ed943 | 15125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
15126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15128 | if (obj1) { |
c32bde28 | 15129 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
15130 | if (PyErr_Occurred()) SWIG_fail; |
15131 | } | |
15132 | if (obj2) { | |
15133 | { | |
15134 | arg3 = wxString_in_helper(obj2); | |
15135 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15136 | temp3 = true; |
248ed943 | 15137 | } |
d14a1e28 RD |
15138 | } |
15139 | if (obj3) { | |
15140 | { | |
15141 | arg4 = &temp4; | |
15142 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15143 | } | |
15144 | } | |
15145 | if (obj4) { | |
15146 | { | |
15147 | arg5 = &temp5; | |
15148 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15149 | } | |
15150 | } | |
994141e6 | 15151 | if (obj5) { |
c32bde28 | 15152 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 15153 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15154 | } |
d14a1e28 RD |
15155 | if (obj6) { |
15156 | { | |
15157 | arg7 = wxString_in_helper(obj6); | |
15158 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 15159 | temp7 = true; |
d14a1e28 RD |
15160 | } |
15161 | } | |
15162 | { | |
e3b71cb8 | 15163 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15165 | result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15166 | ||
15167 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15168 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15169 | } |
15afbcd0 | 15170 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
15171 | { |
15172 | if (temp3) | |
15173 | delete arg3; | |
15174 | } | |
15175 | { | |
15176 | if (temp7) | |
15177 | delete arg7; | |
15178 | } | |
15179 | return resultobj; | |
15180 | fail: | |
15181 | { | |
15182 | if (temp3) | |
15183 | delete arg3; | |
15184 | } | |
15185 | { | |
15186 | if (temp7) | |
15187 | delete arg7; | |
15188 | } | |
15189 | return NULL; | |
15190 | } | |
15191 | ||
15192 | ||
c32bde28 | 15193 | static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15194 | PyObject *resultobj; |
15195 | wxMDIParentFrame *result; | |
15196 | char *kwnames[] = { | |
15197 | NULL | |
15198 | }; | |
15199 | ||
15200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail; | |
15201 | { | |
e3b71cb8 | 15202 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15204 | result = (wxMDIParentFrame *)new wxMDIParentFrame(); | |
15205 | ||
15206 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15207 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15208 | } |
15afbcd0 | 15209 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1); |
d14a1e28 RD |
15210 | return resultobj; |
15211 | fail: | |
15212 | return NULL; | |
15213 | } | |
15214 | ||
15215 | ||
c32bde28 | 15216 | static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15217 | PyObject *resultobj; |
15218 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15219 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 RD |
15220 | int arg3 = (int) (int)-1 ; |
15221 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15222 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
15223 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15224 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15225 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15226 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15227 | long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ; | |
15228 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15229 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15230 | bool result; | |
ae8162c8 | 15231 | bool temp4 = false ; |
d14a1e28 RD |
15232 | wxPoint temp5 ; |
15233 | wxSize temp6 ; | |
ae8162c8 | 15234 | bool temp8 = false ; |
d14a1e28 RD |
15235 | PyObject * obj0 = 0 ; |
15236 | PyObject * obj1 = 0 ; | |
994141e6 | 15237 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15238 | PyObject * obj3 = 0 ; |
15239 | PyObject * obj4 = 0 ; | |
15240 | PyObject * obj5 = 0 ; | |
994141e6 | 15241 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
15242 | PyObject * obj7 = 0 ; |
15243 | char *kwnames[] = { | |
15244 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15245 | }; | |
15246 | ||
248ed943 | 15247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
15248 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15249 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15250 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
15251 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15252 | if (obj2) { |
c32bde28 | 15253 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
15254 | if (PyErr_Occurred()) SWIG_fail; |
15255 | } | |
15256 | if (obj3) { | |
15257 | { | |
15258 | arg4 = wxString_in_helper(obj3); | |
15259 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15260 | temp4 = true; |
248ed943 | 15261 | } |
d14a1e28 RD |
15262 | } |
15263 | if (obj4) { | |
15264 | { | |
15265 | arg5 = &temp5; | |
15266 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15267 | } | |
15268 | } | |
15269 | if (obj5) { | |
15270 | { | |
15271 | arg6 = &temp6; | |
15272 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15273 | } | |
15274 | } | |
994141e6 | 15275 | if (obj6) { |
c32bde28 | 15276 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 15277 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15278 | } |
d14a1e28 RD |
15279 | if (obj7) { |
15280 | { | |
15281 | arg8 = wxString_in_helper(obj7); | |
15282 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 15283 | temp8 = true; |
d14a1e28 RD |
15284 | } |
15285 | } | |
15286 | { | |
15287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15288 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15289 | ||
15290 | wxPyEndAllowThreads(__tstate); | |
15291 | if (PyErr_Occurred()) SWIG_fail; | |
15292 | } | |
4f89f6a3 RD |
15293 | { |
15294 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15295 | } | |
d14a1e28 RD |
15296 | { |
15297 | if (temp4) | |
15298 | delete arg4; | |
15299 | } | |
15300 | { | |
15301 | if (temp8) | |
15302 | delete arg8; | |
15303 | } | |
15304 | return resultobj; | |
15305 | fail: | |
15306 | { | |
15307 | if (temp4) | |
15308 | delete arg4; | |
15309 | } | |
15310 | { | |
15311 | if (temp8) | |
15312 | delete arg8; | |
15313 | } | |
15314 | return NULL; | |
15315 | } | |
15316 | ||
15317 | ||
c32bde28 | 15318 | static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15319 | PyObject *resultobj; |
15320 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15321 | PyObject * obj0 = 0 ; | |
15322 | char *kwnames[] = { | |
15323 | (char *) "self", NULL | |
15324 | }; | |
15325 | ||
15326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15327 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15328 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15329 | { |
15330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15331 | (arg1)->ActivateNext(); | |
15332 | ||
15333 | wxPyEndAllowThreads(__tstate); | |
15334 | if (PyErr_Occurred()) SWIG_fail; | |
15335 | } | |
15336 | Py_INCREF(Py_None); resultobj = Py_None; | |
15337 | return resultobj; | |
15338 | fail: | |
15339 | return NULL; | |
15340 | } | |
15341 | ||
15342 | ||
c32bde28 | 15343 | static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15344 | PyObject *resultobj; |
15345 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15346 | PyObject * obj0 = 0 ; | |
15347 | char *kwnames[] = { | |
15348 | (char *) "self", NULL | |
15349 | }; | |
15350 | ||
15351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15352 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15353 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15354 | { |
15355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15356 | (arg1)->ActivatePrevious(); | |
15357 | ||
15358 | wxPyEndAllowThreads(__tstate); | |
15359 | if (PyErr_Occurred()) SWIG_fail; | |
15360 | } | |
15361 | Py_INCREF(Py_None); resultobj = Py_None; | |
15362 | return resultobj; | |
15363 | fail: | |
15364 | return NULL; | |
15365 | } | |
15366 | ||
15367 | ||
c32bde28 | 15368 | static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15369 | PyObject *resultobj; |
15370 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15371 | PyObject * obj0 = 0 ; | |
15372 | char *kwnames[] = { | |
15373 | (char *) "self", NULL | |
15374 | }; | |
15375 | ||
15376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15377 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15378 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15379 | { |
15380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15381 | (arg1)->ArrangeIcons(); | |
15382 | ||
15383 | wxPyEndAllowThreads(__tstate); | |
15384 | if (PyErr_Occurred()) SWIG_fail; | |
15385 | } | |
15386 | Py_INCREF(Py_None); resultobj = Py_None; | |
15387 | return resultobj; | |
15388 | fail: | |
15389 | return NULL; | |
15390 | } | |
15391 | ||
15392 | ||
c32bde28 | 15393 | static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15394 | PyObject *resultobj; |
15395 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15396 | PyObject * obj0 = 0 ; | |
15397 | char *kwnames[] = { | |
15398 | (char *) "self", NULL | |
15399 | }; | |
15400 | ||
15401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15402 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15404 | { |
15405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15406 | (arg1)->Cascade(); | |
15407 | ||
15408 | wxPyEndAllowThreads(__tstate); | |
15409 | if (PyErr_Occurred()) SWIG_fail; | |
15410 | } | |
15411 | Py_INCREF(Py_None); resultobj = Py_None; | |
15412 | return resultobj; | |
15413 | fail: | |
15414 | return NULL; | |
15415 | } | |
15416 | ||
15417 | ||
c32bde28 | 15418 | static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15419 | PyObject *resultobj; |
15420 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15421 | wxMDIChildFrame *result; | |
15422 | PyObject * obj0 = 0 ; | |
15423 | char *kwnames[] = { | |
15424 | (char *) "self", NULL | |
15425 | }; | |
15426 | ||
15427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15428 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15429 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15430 | { |
15431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15432 | result = (wxMDIChildFrame *)(arg1)->GetActiveChild(); | |
15433 | ||
15434 | wxPyEndAllowThreads(__tstate); | |
15435 | if (PyErr_Occurred()) SWIG_fail; | |
15436 | } | |
15437 | { | |
412d302d | 15438 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15439 | } |
15440 | return resultobj; | |
15441 | fail: | |
15442 | return NULL; | |
15443 | } | |
15444 | ||
15445 | ||
c32bde28 | 15446 | static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15447 | PyObject *resultobj; |
15448 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15449 | wxMDIClientWindow *result; | |
15450 | PyObject * obj0 = 0 ; | |
15451 | char *kwnames[] = { | |
15452 | (char *) "self", NULL | |
15453 | }; | |
15454 | ||
15455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15456 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15457 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15458 | { |
15459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15460 | result = (wxMDIClientWindow *)(arg1)->GetClientWindow(); | |
15461 | ||
15462 | wxPyEndAllowThreads(__tstate); | |
15463 | if (PyErr_Occurred()) SWIG_fail; | |
15464 | } | |
15465 | { | |
412d302d | 15466 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15467 | } |
15468 | return resultobj; | |
15469 | fail: | |
15470 | return NULL; | |
15471 | } | |
15472 | ||
15473 | ||
c32bde28 | 15474 | static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15475 | PyObject *resultobj; |
15476 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15477 | wxWindow *result; | |
15478 | PyObject * obj0 = 0 ; | |
15479 | char *kwnames[] = { | |
15480 | (char *) "self", NULL | |
15481 | }; | |
15482 | ||
15483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15484 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15485 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15486 | { |
15487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15488 | result = (wxWindow *)(arg1)->GetToolBar(); | |
15489 | ||
15490 | wxPyEndAllowThreads(__tstate); | |
15491 | if (PyErr_Occurred()) SWIG_fail; | |
15492 | } | |
15493 | { | |
412d302d | 15494 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
15495 | } |
15496 | return resultobj; | |
15497 | fail: | |
15498 | return NULL; | |
15499 | } | |
15500 | ||
15501 | ||
c32bde28 | 15502 | static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15503 | PyObject *resultobj; |
15504 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15505 | PyObject * obj0 = 0 ; | |
15506 | char *kwnames[] = { | |
15507 | (char *) "self", NULL | |
15508 | }; | |
15509 | ||
15510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15511 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15512 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15513 | { |
15514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15515 | (arg1)->Tile(); | |
15516 | ||
15517 | wxPyEndAllowThreads(__tstate); | |
15518 | if (PyErr_Occurred()) SWIG_fail; | |
15519 | } | |
15520 | Py_INCREF(Py_None); resultobj = Py_None; | |
15521 | return resultobj; | |
15522 | fail: | |
15523 | return NULL; | |
15524 | } | |
15525 | ||
15526 | ||
c32bde28 | 15527 | static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15528 | PyObject *obj; |
15529 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15530 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj); | |
15531 | Py_INCREF(obj); | |
15532 | return Py_BuildValue((char *)""); | |
15533 | } | |
c32bde28 | 15534 | static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15535 | PyObject *resultobj; |
15536 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15537 | int arg2 = (int) (int)-1 ; |
15538 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
15539 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
d14a1e28 RD |
15540 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
15541 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
15542 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
15543 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
15544 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
15545 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
15546 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
15547 | wxMDIChildFrame *result; | |
ae8162c8 | 15548 | bool temp3 = false ; |
d14a1e28 RD |
15549 | wxPoint temp4 ; |
15550 | wxSize temp5 ; | |
ae8162c8 | 15551 | bool temp7 = false ; |
d14a1e28 | 15552 | PyObject * obj0 = 0 ; |
994141e6 | 15553 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15554 | PyObject * obj2 = 0 ; |
15555 | PyObject * obj3 = 0 ; | |
15556 | PyObject * obj4 = 0 ; | |
994141e6 | 15557 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
15558 | PyObject * obj6 = 0 ; |
15559 | char *kwnames[] = { | |
15560 | (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15561 | }; | |
15562 | ||
248ed943 | 15563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
15564 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15565 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15566 | if (obj1) { |
c32bde28 | 15567 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
15568 | if (PyErr_Occurred()) SWIG_fail; |
15569 | } | |
15570 | if (obj2) { | |
15571 | { | |
15572 | arg3 = wxString_in_helper(obj2); | |
15573 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 15574 | temp3 = true; |
248ed943 | 15575 | } |
d14a1e28 RD |
15576 | } |
15577 | if (obj3) { | |
15578 | { | |
15579 | arg4 = &temp4; | |
15580 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
15581 | } | |
15582 | } | |
15583 | if (obj4) { | |
15584 | { | |
15585 | arg5 = &temp5; | |
15586 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
15587 | } | |
15588 | } | |
994141e6 | 15589 | if (obj5) { |
c32bde28 | 15590 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 15591 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15592 | } |
d14a1e28 RD |
15593 | if (obj6) { |
15594 | { | |
15595 | arg7 = wxString_in_helper(obj6); | |
15596 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 15597 | temp7 = true; |
d14a1e28 RD |
15598 | } |
15599 | } | |
15600 | { | |
e3b71cb8 | 15601 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15603 | result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
15604 | ||
15605 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15606 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15607 | } |
b0f7404b | 15608 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
15609 | { |
15610 | if (temp3) | |
15611 | delete arg3; | |
15612 | } | |
15613 | { | |
15614 | if (temp7) | |
15615 | delete arg7; | |
15616 | } | |
15617 | return resultobj; | |
15618 | fail: | |
15619 | { | |
15620 | if (temp3) | |
15621 | delete arg3; | |
15622 | } | |
15623 | { | |
15624 | if (temp7) | |
15625 | delete arg7; | |
15626 | } | |
15627 | return NULL; | |
15628 | } | |
15629 | ||
15630 | ||
c32bde28 | 15631 | static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15632 | PyObject *resultobj; |
15633 | wxMDIChildFrame *result; | |
15634 | char *kwnames[] = { | |
15635 | NULL | |
15636 | }; | |
15637 | ||
15638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail; | |
15639 | { | |
e3b71cb8 | 15640 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15642 | result = (wxMDIChildFrame *)new wxMDIChildFrame(); | |
15643 | ||
15644 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15645 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15646 | } |
b0f7404b | 15647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1); |
d14a1e28 RD |
15648 | return resultobj; |
15649 | fail: | |
15650 | return NULL; | |
15651 | } | |
15652 | ||
15653 | ||
c32bde28 | 15654 | static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15655 | PyObject *resultobj; |
15656 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15657 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
248ed943 RD |
15658 | int arg3 = (int) (int)-1 ; |
15659 | wxString const &arg4_defvalue = wxPyEmptyString ; | |
15660 | wxString *arg4 = (wxString *) &arg4_defvalue ; | |
d14a1e28 RD |
15661 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
15662 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
15663 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
15664 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
15665 | long arg7 = (long) wxDEFAULT_FRAME_STYLE ; | |
15666 | wxString const &arg8_defvalue = wxPyFrameNameStr ; | |
15667 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
15668 | bool result; | |
ae8162c8 | 15669 | bool temp4 = false ; |
d14a1e28 RD |
15670 | wxPoint temp5 ; |
15671 | wxSize temp6 ; | |
ae8162c8 | 15672 | bool temp8 = false ; |
d14a1e28 RD |
15673 | PyObject * obj0 = 0 ; |
15674 | PyObject * obj1 = 0 ; | |
994141e6 | 15675 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15676 | PyObject * obj3 = 0 ; |
15677 | PyObject * obj4 = 0 ; | |
15678 | PyObject * obj5 = 0 ; | |
994141e6 | 15679 | PyObject * obj6 = 0 ; |
d14a1e28 RD |
15680 | PyObject * obj7 = 0 ; |
15681 | char *kwnames[] = { | |
15682 | (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15683 | }; | |
15684 | ||
248ed943 | 15685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
15afbcd0 RD |
15686 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15687 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15688 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15689 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15690 | if (obj2) { |
c32bde28 | 15691 | arg3 = (int)SWIG_As_int(obj2); |
248ed943 RD |
15692 | if (PyErr_Occurred()) SWIG_fail; |
15693 | } | |
15694 | if (obj3) { | |
15695 | { | |
15696 | arg4 = wxString_in_helper(obj3); | |
15697 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 15698 | temp4 = true; |
248ed943 | 15699 | } |
d14a1e28 RD |
15700 | } |
15701 | if (obj4) { | |
15702 | { | |
15703 | arg5 = &temp5; | |
15704 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
15705 | } | |
15706 | } | |
15707 | if (obj5) { | |
15708 | { | |
15709 | arg6 = &temp6; | |
15710 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
15711 | } | |
15712 | } | |
994141e6 | 15713 | if (obj6) { |
c32bde28 | 15714 | arg7 = (long)SWIG_As_long(obj6); |
15afbcd0 | 15715 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15716 | } |
d14a1e28 RD |
15717 | if (obj7) { |
15718 | { | |
15719 | arg8 = wxString_in_helper(obj7); | |
15720 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 15721 | temp8 = true; |
d14a1e28 RD |
15722 | } |
15723 | } | |
15724 | { | |
15725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15726 | result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
15727 | ||
15728 | wxPyEndAllowThreads(__tstate); | |
15729 | if (PyErr_Occurred()) SWIG_fail; | |
15730 | } | |
4f89f6a3 RD |
15731 | { |
15732 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15733 | } | |
d14a1e28 RD |
15734 | { |
15735 | if (temp4) | |
15736 | delete arg4; | |
15737 | } | |
15738 | { | |
15739 | if (temp8) | |
15740 | delete arg8; | |
15741 | } | |
15742 | return resultobj; | |
15743 | fail: | |
15744 | { | |
15745 | if (temp4) | |
15746 | delete arg4; | |
15747 | } | |
15748 | { | |
15749 | if (temp8) | |
15750 | delete arg8; | |
15751 | } | |
15752 | return NULL; | |
15753 | } | |
15754 | ||
15755 | ||
c32bde28 | 15756 | static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15757 | PyObject *resultobj; |
15758 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15759 | PyObject * obj0 = 0 ; | |
15760 | char *kwnames[] = { | |
15761 | (char *) "self", NULL | |
15762 | }; | |
15763 | ||
15764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15765 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15766 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15767 | { |
15768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15769 | (arg1)->Activate(); | |
15770 | ||
15771 | wxPyEndAllowThreads(__tstate); | |
15772 | if (PyErr_Occurred()) SWIG_fail; | |
15773 | } | |
15774 | Py_INCREF(Py_None); resultobj = Py_None; | |
15775 | return resultobj; | |
15776 | fail: | |
15777 | return NULL; | |
15778 | } | |
15779 | ||
15780 | ||
c32bde28 | 15781 | static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15782 | PyObject *resultobj; |
15783 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
5cbf236d | 15784 | bool arg2 = (bool) true ; |
d14a1e28 RD |
15785 | PyObject * obj0 = 0 ; |
15786 | PyObject * obj1 = 0 ; | |
15787 | char *kwnames[] = { | |
15788 | (char *) "self",(char *) "maximize", NULL | |
15789 | }; | |
15790 | ||
5cbf236d | 15791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
15792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5cbf236d RD |
15794 | if (obj1) { |
15795 | arg2 = (bool)SWIG_As_bool(obj1); | |
15796 | if (PyErr_Occurred()) SWIG_fail; | |
15797 | } | |
d14a1e28 RD |
15798 | { |
15799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15800 | (arg1)->Maximize(arg2); | |
15801 | ||
15802 | wxPyEndAllowThreads(__tstate); | |
15803 | if (PyErr_Occurred()) SWIG_fail; | |
15804 | } | |
15805 | Py_INCREF(Py_None); resultobj = Py_None; | |
15806 | return resultobj; | |
15807 | fail: | |
15808 | return NULL; | |
15809 | } | |
15810 | ||
15811 | ||
c32bde28 | 15812 | static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15813 | PyObject *resultobj; |
15814 | wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ; | |
15815 | PyObject * obj0 = 0 ; | |
15816 | char *kwnames[] = { | |
15817 | (char *) "self", NULL | |
15818 | }; | |
15819 | ||
15820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
15821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIChildFrame, |
15822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
15823 | { |
15824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15825 | (arg1)->Restore(); | |
15826 | ||
15827 | wxPyEndAllowThreads(__tstate); | |
15828 | if (PyErr_Occurred()) SWIG_fail; | |
15829 | } | |
15830 | Py_INCREF(Py_None); resultobj = Py_None; | |
15831 | return resultobj; | |
15832 | fail: | |
15833 | return NULL; | |
15834 | } | |
15835 | ||
15836 | ||
c32bde28 | 15837 | static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15838 | PyObject *obj; |
15839 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15840 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj); | |
15841 | Py_INCREF(obj); | |
15842 | return Py_BuildValue((char *)""); | |
15843 | } | |
c32bde28 | 15844 | static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15845 | PyObject *resultobj; |
15846 | wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ; | |
15847 | long arg2 = (long) 0 ; | |
15848 | wxMDIClientWindow *result; | |
15849 | PyObject * obj0 = 0 ; | |
994141e6 | 15850 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15851 | char *kwnames[] = { |
15852 | (char *) "parent",(char *) "style", NULL | |
15853 | }; | |
15854 | ||
994141e6 | 15855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
15856 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIParentFrame, |
15857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15858 | if (obj1) { |
c32bde28 | 15859 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 15860 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15861 | } |
d14a1e28 | 15862 | { |
e3b71cb8 | 15863 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15865 | result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2); | |
15866 | ||
15867 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15868 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15869 | } |
b0f7404b | 15870 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
15871 | return resultobj; |
15872 | fail: | |
15873 | return NULL; | |
15874 | } | |
15875 | ||
15876 | ||
c32bde28 | 15877 | static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15878 | PyObject *resultobj; |
15879 | wxMDIClientWindow *result; | |
15880 | char *kwnames[] = { | |
15881 | NULL | |
15882 | }; | |
15883 | ||
15884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail; | |
15885 | { | |
e3b71cb8 | 15886 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
15887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
15888 | result = (wxMDIClientWindow *)new wxMDIClientWindow(); | |
15889 | ||
15890 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 15891 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 15892 | } |
b0f7404b | 15893 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1); |
d14a1e28 RD |
15894 | return resultobj; |
15895 | fail: | |
15896 | return NULL; | |
15897 | } | |
15898 | ||
15899 | ||
c32bde28 | 15900 | static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15901 | PyObject *resultobj; |
15902 | wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ; | |
15903 | wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ; | |
15904 | long arg3 = (long) 0 ; | |
15905 | bool result; | |
15906 | PyObject * obj0 = 0 ; | |
15907 | PyObject * obj1 = 0 ; | |
994141e6 | 15908 | PyObject * obj2 = 0 ; |
d14a1e28 RD |
15909 | char *kwnames[] = { |
15910 | (char *) "self",(char *) "parent",(char *) "style", NULL | |
15911 | }; | |
15912 | ||
994141e6 | 15913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
15914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMDIClientWindow, |
15915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
15916 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMDIParentFrame, | |
15917 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
994141e6 | 15918 | if (obj2) { |
c32bde28 | 15919 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 15920 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15921 | } |
d14a1e28 RD |
15922 | { |
15923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
15924 | result = (bool)(arg1)->Create(arg2,arg3); | |
15925 | ||
15926 | wxPyEndAllowThreads(__tstate); | |
15927 | if (PyErr_Occurred()) SWIG_fail; | |
15928 | } | |
4f89f6a3 RD |
15929 | { |
15930 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
15931 | } | |
d14a1e28 RD |
15932 | return resultobj; |
15933 | fail: | |
15934 | return NULL; | |
15935 | } | |
15936 | ||
15937 | ||
c32bde28 | 15938 | static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
15939 | PyObject *obj; |
15940 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
15941 | SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj); | |
15942 | Py_INCREF(obj); | |
15943 | return Py_BuildValue((char *)""); | |
15944 | } | |
c32bde28 | 15945 | static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
15946 | PyObject *resultobj; |
15947 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 15948 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
15949 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
15950 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
15951 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
15952 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
15953 | long arg5 = (long) 0 ; | |
15954 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
15955 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
15956 | wxPyWindow *result; | |
15957 | wxPoint temp3 ; | |
15958 | wxSize temp4 ; | |
ae8162c8 | 15959 | bool temp6 = false ; |
d14a1e28 | 15960 | PyObject * obj0 = 0 ; |
994141e6 | 15961 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
15962 | PyObject * obj2 = 0 ; |
15963 | PyObject * obj3 = 0 ; | |
994141e6 | 15964 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
15965 | PyObject * obj5 = 0 ; |
15966 | char *kwnames[] = { | |
15967 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
15968 | }; | |
15969 | ||
248ed943 | 15970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
15971 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15972 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 15973 | if (obj1) { |
c32bde28 | 15974 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
15975 | if (PyErr_Occurred()) SWIG_fail; |
15976 | } | |
d14a1e28 RD |
15977 | if (obj2) { |
15978 | { | |
15979 | arg3 = &temp3; | |
15980 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
15981 | } | |
15982 | } | |
15983 | if (obj3) { | |
15984 | { | |
15985 | arg4 = &temp4; | |
15986 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
15987 | } | |
15988 | } | |
994141e6 | 15989 | if (obj4) { |
c32bde28 | 15990 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 15991 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 15992 | } |
d14a1e28 RD |
15993 | if (obj5) { |
15994 | { | |
15995 | arg6 = wxString_in_helper(obj5); | |
15996 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 15997 | temp6 = true; |
d14a1e28 RD |
15998 | } |
15999 | } | |
16000 | { | |
e3b71cb8 | 16001 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16002 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16003 | result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16004 | ||
16005 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16006 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16007 | } |
15afbcd0 | 16008 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); |
d14a1e28 RD |
16009 | { |
16010 | if (temp6) | |
16011 | delete arg6; | |
16012 | } | |
16013 | return resultobj; | |
16014 | fail: | |
16015 | { | |
16016 | if (temp6) | |
16017 | delete arg6; | |
16018 | } | |
16019 | return NULL; | |
16020 | } | |
16021 | ||
16022 | ||
c32bde28 | 16023 | static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16024 | PyObject *resultobj; |
16025 | wxPyWindow *result; | |
16026 | char *kwnames[] = { | |
16027 | NULL | |
16028 | }; | |
16029 | ||
16030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail; | |
16031 | { | |
e3b71cb8 | 16032 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
16033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16034 | result = (wxPyWindow *)new wxPyWindow(); | |
16035 | ||
16036 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16037 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
16038 | } |
16039 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1); | |
16040 | return resultobj; | |
16041 | fail: | |
16042 | return NULL; | |
16043 | } | |
16044 | ||
16045 | ||
c32bde28 | 16046 | static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16047 | PyObject *resultobj; |
16048 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16049 | PyObject *arg2 = (PyObject *) 0 ; | |
16050 | PyObject *arg3 = (PyObject *) 0 ; | |
16051 | PyObject * obj0 = 0 ; | |
16052 | PyObject * obj1 = 0 ; | |
16053 | PyObject * obj2 = 0 ; | |
16054 | char *kwnames[] = { | |
16055 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16056 | }; | |
16057 | ||
16058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
16059 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16060 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16061 | arg2 = obj1; |
16062 | arg3 = obj2; | |
16063 | { | |
16064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16065 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16066 | ||
16067 | wxPyEndAllowThreads(__tstate); | |
16068 | if (PyErr_Occurred()) SWIG_fail; | |
16069 | } | |
16070 | Py_INCREF(Py_None); resultobj = Py_None; | |
16071 | return resultobj; | |
16072 | fail: | |
16073 | return NULL; | |
16074 | } | |
16075 | ||
16076 | ||
c32bde28 | 16077 | static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
16078 | PyObject *resultobj; |
16079 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16080 | wxSize *arg2 = 0 ; | |
16081 | wxSize temp2 ; | |
16082 | PyObject * obj0 = 0 ; | |
16083 | PyObject * obj1 = 0 ; | |
16084 | char *kwnames[] = { | |
16085 | (char *) "self",(char *) "size", NULL | |
16086 | }; | |
16087 | ||
16088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16089 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16090 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16091 | { | |
16092 | arg2 = &temp2; | |
16093 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16094 | } | |
16095 | { | |
16096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16097 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16098 | ||
16099 | wxPyEndAllowThreads(__tstate); | |
16100 | if (PyErr_Occurred()) SWIG_fail; | |
16101 | } | |
16102 | Py_INCREF(Py_None); resultobj = Py_None; | |
16103 | return resultobj; | |
16104 | fail: | |
16105 | return NULL; | |
16106 | } | |
16107 | ||
16108 | ||
c32bde28 | 16109 | static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16110 | PyObject *resultobj; |
16111 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16112 | int arg2 ; | |
16113 | int arg3 ; | |
16114 | int arg4 ; | |
16115 | int arg5 ; | |
16116 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16117 | PyObject * obj1 = 0 ; |
16118 | PyObject * obj2 = 0 ; | |
16119 | PyObject * obj3 = 0 ; | |
16120 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
16121 | char *kwnames[] = { |
16122 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16123 | }; | |
16124 | ||
994141e6 | 16125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
16126 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16127 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16128 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16129 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16130 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16131 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16132 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 16133 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16134 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 16135 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16136 | { |
16137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16138 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16139 | ||
16140 | wxPyEndAllowThreads(__tstate); | |
16141 | if (PyErr_Occurred()) SWIG_fail; | |
16142 | } | |
16143 | Py_INCREF(Py_None); resultobj = Py_None; | |
16144 | return resultobj; | |
16145 | fail: | |
16146 | return NULL; | |
16147 | } | |
16148 | ||
16149 | ||
c32bde28 | 16150 | static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16151 | PyObject *resultobj; |
16152 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16153 | int arg2 ; | |
16154 | int arg3 ; | |
16155 | int arg4 ; | |
16156 | int arg5 ; | |
16157 | int arg6 = (int) wxSIZE_AUTO ; | |
16158 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16159 | PyObject * obj1 = 0 ; |
16160 | PyObject * obj2 = 0 ; | |
16161 | PyObject * obj3 = 0 ; | |
16162 | PyObject * obj4 = 0 ; | |
16163 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
16164 | char *kwnames[] = { |
16165 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
16166 | }; | |
16167 | ||
994141e6 | 16168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16171 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16172 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16173 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16174 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16175 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 16176 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16177 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 16178 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16179 | if (obj5) { |
c32bde28 | 16180 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 16181 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16182 | } |
d14a1e28 RD |
16183 | { |
16184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16185 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
16186 | ||
16187 | wxPyEndAllowThreads(__tstate); | |
16188 | if (PyErr_Occurred()) SWIG_fail; | |
16189 | } | |
16190 | Py_INCREF(Py_None); resultobj = Py_None; | |
16191 | return resultobj; | |
16192 | fail: | |
16193 | return NULL; | |
16194 | } | |
16195 | ||
16196 | ||
c32bde28 | 16197 | static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16198 | PyObject *resultobj; |
16199 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16200 | int arg2 ; | |
16201 | int arg3 ; | |
16202 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16203 | PyObject * obj1 = 0 ; |
16204 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
16205 | char *kwnames[] = { |
16206 | (char *) "self",(char *) "width",(char *) "height", NULL | |
16207 | }; | |
16208 | ||
994141e6 | 16209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
16210 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16211 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16212 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16213 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16214 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16215 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16216 | { |
16217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16218 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
16219 | ||
16220 | wxPyEndAllowThreads(__tstate); | |
16221 | if (PyErr_Occurred()) SWIG_fail; | |
16222 | } | |
16223 | Py_INCREF(Py_None); resultobj = Py_None; | |
16224 | return resultobj; | |
16225 | fail: | |
16226 | return NULL; | |
16227 | } | |
16228 | ||
16229 | ||
c32bde28 | 16230 | static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16231 | PyObject *resultobj; |
16232 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16233 | int arg2 ; | |
16234 | int arg3 ; | |
16235 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16236 | PyObject * obj1 = 0 ; |
16237 | PyObject * obj2 = 0 ; | |
d14a1e28 | 16238 | char *kwnames[] = { |
15afbcd0 RD |
16239 | (char *) "self",(char *) "x",(char *) "y", NULL |
16240 | }; | |
16241 | ||
16242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
16243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16245 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16246 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16247 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16248 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16249 | { |
16250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16251 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
16252 | ||
16253 | wxPyEndAllowThreads(__tstate); | |
16254 | if (PyErr_Occurred()) SWIG_fail; | |
16255 | } | |
16256 | Py_INCREF(Py_None); resultobj = Py_None; | |
16257 | return resultobj; | |
16258 | fail: | |
16259 | return NULL; | |
16260 | } | |
16261 | ||
16262 | ||
c32bde28 | 16263 | static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16264 | PyObject *resultobj; |
16265 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16266 | int *arg2 = (int *) 0 ; | |
16267 | int *arg3 = (int *) 0 ; | |
16268 | int temp2 ; | |
c32bde28 | 16269 | int res2 = 0 ; |
d14a1e28 | 16270 | int temp3 ; |
c32bde28 | 16271 | int res3 = 0 ; |
d14a1e28 RD |
16272 | PyObject * obj0 = 0 ; |
16273 | char *kwnames[] = { | |
16274 | (char *) "self", NULL | |
16275 | }; | |
16276 | ||
c32bde28 RD |
16277 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16278 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16280 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16281 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16282 | { |
16283 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16284 | ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
16285 | ||
16286 | wxPyEndAllowThreads(__tstate); | |
16287 | if (PyErr_Occurred()) SWIG_fail; | |
16288 | } | |
16289 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16290 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16291 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16292 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16293 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16294 | return resultobj; |
16295 | fail: | |
16296 | return NULL; | |
16297 | } | |
16298 | ||
16299 | ||
c32bde28 | 16300 | static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16301 | PyObject *resultobj; |
16302 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16303 | int *arg2 = (int *) 0 ; | |
16304 | int *arg3 = (int *) 0 ; | |
16305 | int temp2 ; | |
c32bde28 | 16306 | int res2 = 0 ; |
d14a1e28 | 16307 | int temp3 ; |
c32bde28 | 16308 | int res3 = 0 ; |
d14a1e28 RD |
16309 | PyObject * obj0 = 0 ; |
16310 | char *kwnames[] = { | |
16311 | (char *) "self", NULL | |
16312 | }; | |
16313 | ||
c32bde28 RD |
16314 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16315 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16317 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16318 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16319 | { |
16320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16321 | ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
16322 | ||
16323 | wxPyEndAllowThreads(__tstate); | |
16324 | if (PyErr_Occurred()) SWIG_fail; | |
16325 | } | |
16326 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16327 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16328 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16329 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16330 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16331 | return resultobj; |
16332 | fail: | |
16333 | return NULL; | |
16334 | } | |
16335 | ||
16336 | ||
c32bde28 | 16337 | static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16338 | PyObject *resultobj; |
16339 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16340 | int *arg2 = (int *) 0 ; | |
16341 | int *arg3 = (int *) 0 ; | |
16342 | int temp2 ; | |
c32bde28 | 16343 | int res2 = 0 ; |
d14a1e28 | 16344 | int temp3 ; |
c32bde28 | 16345 | int res3 = 0 ; |
d14a1e28 RD |
16346 | PyObject * obj0 = 0 ; |
16347 | char *kwnames[] = { | |
16348 | (char *) "self", NULL | |
16349 | }; | |
16350 | ||
c32bde28 RD |
16351 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
16352 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 16353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
16354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16356 | { |
16357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16358 | ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
16359 | ||
16360 | wxPyEndAllowThreads(__tstate); | |
16361 | if (PyErr_Occurred()) SWIG_fail; | |
16362 | } | |
16363 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
16364 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
16365 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
16366 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
16367 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
16368 | return resultobj; |
16369 | fail: | |
16370 | return NULL; | |
16371 | } | |
16372 | ||
16373 | ||
c32bde28 | 16374 | static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16375 | PyObject *resultobj; |
16376 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16377 | wxSize result; | |
16378 | PyObject * obj0 = 0 ; | |
16379 | char *kwnames[] = { | |
16380 | (char *) "self", NULL | |
16381 | }; | |
16382 | ||
16383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16384 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16385 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16386 | { |
16387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16388 | result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize(); | |
16389 | ||
16390 | wxPyEndAllowThreads(__tstate); | |
16391 | if (PyErr_Occurred()) SWIG_fail; | |
16392 | } | |
16393 | { | |
16394 | wxSize * resultptr; | |
16395 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16396 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16397 | } |
16398 | return resultobj; | |
16399 | fail: | |
16400 | return NULL; | |
16401 | } | |
16402 | ||
16403 | ||
c32bde28 | 16404 | static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16405 | PyObject *resultobj; |
16406 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16407 | wxSize result; | |
16408 | PyObject * obj0 = 0 ; | |
16409 | char *kwnames[] = { | |
16410 | (char *) "self", NULL | |
16411 | }; | |
16412 | ||
16413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16414 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16415 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16416 | { |
16417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16418 | result = ((wxPyWindow const *)arg1)->base_DoGetBestSize(); | |
16419 | ||
16420 | wxPyEndAllowThreads(__tstate); | |
16421 | if (PyErr_Occurred()) SWIG_fail; | |
16422 | } | |
16423 | { | |
16424 | wxSize * resultptr; | |
16425 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16426 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16427 | } |
16428 | return resultobj; | |
16429 | fail: | |
16430 | return NULL; | |
16431 | } | |
16432 | ||
16433 | ||
c32bde28 | 16434 | static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16435 | PyObject *resultobj; |
16436 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16437 | PyObject * obj0 = 0 ; | |
16438 | char *kwnames[] = { | |
16439 | (char *) "self", NULL | |
16440 | }; | |
16441 | ||
16442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16443 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16444 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16445 | { |
16446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16447 | (arg1)->base_InitDialog(); | |
16448 | ||
16449 | wxPyEndAllowThreads(__tstate); | |
16450 | if (PyErr_Occurred()) SWIG_fail; | |
16451 | } | |
16452 | Py_INCREF(Py_None); resultobj = Py_None; | |
16453 | return resultobj; | |
16454 | fail: | |
16455 | return NULL; | |
16456 | } | |
16457 | ||
16458 | ||
c32bde28 | 16459 | static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16460 | PyObject *resultobj; |
16461 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16462 | bool result; | |
16463 | PyObject * obj0 = 0 ; | |
16464 | char *kwnames[] = { | |
16465 | (char *) "self", NULL | |
16466 | }; | |
16467 | ||
16468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16469 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16470 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16471 | { |
16472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16473 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
16474 | ||
16475 | wxPyEndAllowThreads(__tstate); | |
16476 | if (PyErr_Occurred()) SWIG_fail; | |
16477 | } | |
4f89f6a3 RD |
16478 | { |
16479 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16480 | } | |
d14a1e28 RD |
16481 | return resultobj; |
16482 | fail: | |
16483 | return NULL; | |
16484 | } | |
16485 | ||
16486 | ||
c32bde28 | 16487 | static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16488 | PyObject *resultobj; |
16489 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16490 | bool result; | |
16491 | PyObject * obj0 = 0 ; | |
16492 | char *kwnames[] = { | |
16493 | (char *) "self", NULL | |
16494 | }; | |
16495 | ||
16496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16499 | { |
16500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16501 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
16502 | ||
16503 | wxPyEndAllowThreads(__tstate); | |
16504 | if (PyErr_Occurred()) SWIG_fail; | |
16505 | } | |
4f89f6a3 RD |
16506 | { |
16507 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16508 | } | |
d14a1e28 RD |
16509 | return resultobj; |
16510 | fail: | |
16511 | return NULL; | |
16512 | } | |
16513 | ||
16514 | ||
c32bde28 | 16515 | static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16516 | PyObject *resultobj; |
16517 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16518 | bool result; | |
16519 | PyObject * obj0 = 0 ; | |
16520 | char *kwnames[] = { | |
16521 | (char *) "self", NULL | |
16522 | }; | |
16523 | ||
16524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16525 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16526 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16527 | { |
16528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16529 | result = (bool)(arg1)->base_Validate(); | |
16530 | ||
16531 | wxPyEndAllowThreads(__tstate); | |
16532 | if (PyErr_Occurred()) SWIG_fail; | |
16533 | } | |
4f89f6a3 RD |
16534 | { |
16535 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16536 | } | |
d14a1e28 RD |
16537 | return resultobj; |
16538 | fail: | |
16539 | return NULL; | |
16540 | } | |
16541 | ||
16542 | ||
c32bde28 | 16543 | static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16544 | PyObject *resultobj; |
16545 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16546 | bool result; | |
16547 | PyObject * obj0 = 0 ; | |
16548 | char *kwnames[] = { | |
16549 | (char *) "self", NULL | |
16550 | }; | |
16551 | ||
16552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16553 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16554 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16555 | { |
16556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16557 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus(); | |
16558 | ||
16559 | wxPyEndAllowThreads(__tstate); | |
16560 | if (PyErr_Occurred()) SWIG_fail; | |
16561 | } | |
4f89f6a3 RD |
16562 | { |
16563 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16564 | } | |
d14a1e28 RD |
16565 | return resultobj; |
16566 | fail: | |
16567 | return NULL; | |
16568 | } | |
16569 | ||
16570 | ||
c32bde28 | 16571 | static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16572 | PyObject *resultobj; |
16573 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16574 | bool result; | |
16575 | PyObject * obj0 = 0 ; | |
16576 | char *kwnames[] = { | |
16577 | (char *) "self", NULL | |
16578 | }; | |
16579 | ||
16580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16581 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16582 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16583 | { |
16584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16585 | result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
16586 | ||
16587 | wxPyEndAllowThreads(__tstate); | |
16588 | if (PyErr_Occurred()) SWIG_fail; | |
16589 | } | |
4f89f6a3 RD |
16590 | { |
16591 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16592 | } | |
d14a1e28 RD |
16593 | return resultobj; |
16594 | fail: | |
16595 | return NULL; | |
16596 | } | |
16597 | ||
16598 | ||
c32bde28 | 16599 | static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16600 | PyObject *resultobj; |
16601 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16602 | wxSize result; | |
16603 | PyObject * obj0 = 0 ; | |
16604 | char *kwnames[] = { | |
16605 | (char *) "self", NULL | |
16606 | }; | |
16607 | ||
16608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
16609 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16610 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16611 | { |
16612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16613 | result = ((wxPyWindow const *)arg1)->base_GetMaxSize(); | |
16614 | ||
16615 | wxPyEndAllowThreads(__tstate); | |
16616 | if (PyErr_Occurred()) SWIG_fail; | |
16617 | } | |
16618 | { | |
16619 | wxSize * resultptr; | |
16620 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 16621 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
16622 | } |
16623 | return resultobj; | |
16624 | fail: | |
16625 | return NULL; | |
16626 | } | |
16627 | ||
16628 | ||
c32bde28 | 16629 | static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16630 | PyObject *resultobj; |
16631 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16632 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16633 | PyObject * obj0 = 0 ; | |
16634 | PyObject * obj1 = 0 ; | |
16635 | char *kwnames[] = { | |
16636 | (char *) "self",(char *) "child", NULL | |
16637 | }; | |
16638 | ||
16639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16640 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16641 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16642 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16643 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16644 | { |
16645 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16646 | (arg1)->base_AddChild(arg2); | |
16647 | ||
16648 | wxPyEndAllowThreads(__tstate); | |
16649 | if (PyErr_Occurred()) SWIG_fail; | |
16650 | } | |
16651 | Py_INCREF(Py_None); resultobj = Py_None; | |
16652 | return resultobj; | |
16653 | fail: | |
16654 | return NULL; | |
16655 | } | |
16656 | ||
16657 | ||
c32bde28 | 16658 | static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16659 | PyObject *resultobj; |
16660 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16661 | wxWindow *arg2 = (wxWindow *) 0 ; | |
16662 | PyObject * obj0 = 0 ; | |
16663 | PyObject * obj1 = 0 ; | |
16664 | char *kwnames[] = { | |
16665 | (char *) "self",(char *) "child", NULL | |
16666 | }; | |
16667 | ||
16668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
16669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, |
16670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16671 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
16672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16673 | { |
16674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16675 | (arg1)->base_RemoveChild(arg2); | |
16676 | ||
16677 | wxPyEndAllowThreads(__tstate); | |
16678 | if (PyErr_Occurred()) SWIG_fail; | |
16679 | } | |
16680 | Py_INCREF(Py_None); resultobj = Py_None; | |
16681 | return resultobj; | |
16682 | fail: | |
16683 | return NULL; | |
16684 | } | |
16685 | ||
16686 | ||
c32bde28 | 16687 | static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16688 | PyObject *resultobj; |
16689 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16690 | bool result; | |
16691 | PyObject * obj0 = 0 ; | |
16692 | char *kwnames[] = { | |
16693 | (char *) "self", NULL | |
16694 | }; | |
16695 | ||
16696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
16697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16699 | { | |
16700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 16701 | result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
16702 | |
16703 | wxPyEndAllowThreads(__tstate); | |
16704 | if (PyErr_Occurred()) SWIG_fail; | |
16705 | } | |
16706 | { | |
16707 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
16708 | } | |
16709 | return resultobj; | |
16710 | fail: | |
16711 | return NULL; | |
16712 | } | |
16713 | ||
16714 | ||
c32bde28 | 16715 | static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16716 | PyObject *resultobj; |
16717 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16718 | wxColour *arg2 = 0 ; | |
16719 | wxColour temp2 ; | |
16720 | PyObject * obj0 = 0 ; | |
16721 | PyObject * obj1 = 0 ; | |
16722 | char *kwnames[] = { | |
16723 | (char *) "self",(char *) "c", NULL | |
16724 | }; | |
16725 | ||
16726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
16727 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16728 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16729 | { | |
16730 | arg2 = &temp2; | |
16731 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
16732 | } | |
16733 | { | |
16734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16735 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
16736 | ||
16737 | wxPyEndAllowThreads(__tstate); | |
16738 | if (PyErr_Occurred()) SWIG_fail; | |
16739 | } | |
16740 | Py_INCREF(Py_None); resultobj = Py_None; | |
16741 | return resultobj; | |
16742 | fail: | |
16743 | return NULL; | |
16744 | } | |
16745 | ||
16746 | ||
c32bde28 | 16747 | static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
16748 | PyObject *resultobj; |
16749 | wxPyWindow *arg1 = (wxPyWindow *) 0 ; | |
16750 | wxVisualAttributes result; | |
16751 | PyObject * obj0 = 0 ; | |
16752 | char *kwnames[] = { | |
16753 | (char *) "self", NULL | |
16754 | }; | |
16755 | ||
16756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
16757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyWindow, | |
16758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16759 | { | |
16760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16761 | result = (arg1)->base_GetDefaultAttributes(); | |
16762 | ||
16763 | wxPyEndAllowThreads(__tstate); | |
16764 | if (PyErr_Occurred()) SWIG_fail; | |
16765 | } | |
16766 | { | |
16767 | wxVisualAttributes * resultptr; | |
16768 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
16769 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
16770 | } | |
16771 | return resultobj; | |
16772 | fail: | |
16773 | return NULL; | |
16774 | } | |
16775 | ||
16776 | ||
c32bde28 | 16777 | static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
16778 | PyObject *obj; |
16779 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
16780 | SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj); | |
16781 | Py_INCREF(obj); | |
16782 | return Py_BuildValue((char *)""); | |
16783 | } | |
c32bde28 | 16784 | static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16785 | PyObject *resultobj; |
16786 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 16787 | int arg2 = (int) (int)-1 ; |
d14a1e28 RD |
16788 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
16789 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
16790 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
16791 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
16792 | long arg5 = (long) 0 ; | |
16793 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
16794 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
16795 | wxPyPanel *result; | |
16796 | wxPoint temp3 ; | |
16797 | wxSize temp4 ; | |
ae8162c8 | 16798 | bool temp6 = false ; |
d14a1e28 | 16799 | PyObject * obj0 = 0 ; |
994141e6 | 16800 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
16801 | PyObject * obj2 = 0 ; |
16802 | PyObject * obj3 = 0 ; | |
994141e6 | 16803 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
16804 | PyObject * obj5 = 0 ; |
16805 | char *kwnames[] = { | |
16806 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
16807 | }; | |
16808 | ||
248ed943 | 16809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
16810 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
16811 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 | 16812 | if (obj1) { |
c32bde28 | 16813 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
16814 | if (PyErr_Occurred()) SWIG_fail; |
16815 | } | |
d14a1e28 RD |
16816 | if (obj2) { |
16817 | { | |
16818 | arg3 = &temp3; | |
16819 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
16820 | } | |
16821 | } | |
16822 | if (obj3) { | |
16823 | { | |
16824 | arg4 = &temp4; | |
16825 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
16826 | } | |
16827 | } | |
994141e6 | 16828 | if (obj4) { |
c32bde28 | 16829 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 16830 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 16831 | } |
d14a1e28 RD |
16832 | if (obj5) { |
16833 | { | |
16834 | arg6 = wxString_in_helper(obj5); | |
16835 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 16836 | temp6 = true; |
d14a1e28 RD |
16837 | } |
16838 | } | |
16839 | { | |
e3b71cb8 | 16840 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
16841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16842 | result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
16843 | ||
16844 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16845 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 16846 | } |
15afbcd0 | 16847 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); |
d14a1e28 RD |
16848 | { |
16849 | if (temp6) | |
16850 | delete arg6; | |
16851 | } | |
16852 | return resultobj; | |
16853 | fail: | |
16854 | { | |
16855 | if (temp6) | |
16856 | delete arg6; | |
16857 | } | |
16858 | return NULL; | |
16859 | } | |
16860 | ||
16861 | ||
c32bde28 | 16862 | static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
16863 | PyObject *resultobj; |
16864 | wxPyPanel *result; | |
16865 | char *kwnames[] = { | |
16866 | NULL | |
16867 | }; | |
16868 | ||
16869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail; | |
16870 | { | |
e3b71cb8 | 16871 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
16872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
16873 | result = (wxPyPanel *)new wxPyPanel(); | |
16874 | ||
16875 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 16876 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
16877 | } |
16878 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1); | |
16879 | return resultobj; | |
16880 | fail: | |
16881 | return NULL; | |
16882 | } | |
16883 | ||
16884 | ||
c32bde28 | 16885 | static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16886 | PyObject *resultobj; |
16887 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16888 | PyObject *arg2 = (PyObject *) 0 ; | |
16889 | PyObject *arg3 = (PyObject *) 0 ; | |
16890 | PyObject * obj0 = 0 ; | |
16891 | PyObject * obj1 = 0 ; | |
16892 | PyObject * obj2 = 0 ; | |
16893 | char *kwnames[] = { | |
16894 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
16895 | }; | |
16896 | ||
16897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
16898 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
16900 | arg2 = obj1; |
16901 | arg3 = obj2; | |
16902 | { | |
16903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16904 | (arg1)->_setCallbackInfo(arg2,arg3); | |
16905 | ||
16906 | wxPyEndAllowThreads(__tstate); | |
16907 | if (PyErr_Occurred()) SWIG_fail; | |
16908 | } | |
16909 | Py_INCREF(Py_None); resultobj = Py_None; | |
16910 | return resultobj; | |
16911 | fail: | |
16912 | return NULL; | |
16913 | } | |
16914 | ||
16915 | ||
c32bde28 | 16916 | static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
16917 | PyObject *resultobj; |
16918 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16919 | wxSize *arg2 = 0 ; | |
16920 | wxSize temp2 ; | |
16921 | PyObject * obj0 = 0 ; | |
16922 | PyObject * obj1 = 0 ; | |
16923 | char *kwnames[] = { | |
16924 | (char *) "self",(char *) "size", NULL | |
16925 | }; | |
16926 | ||
16927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
16928 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
16929 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
16930 | { | |
16931 | arg2 = &temp2; | |
16932 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
16933 | } | |
16934 | { | |
16935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16936 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
16937 | ||
16938 | wxPyEndAllowThreads(__tstate); | |
16939 | if (PyErr_Occurred()) SWIG_fail; | |
16940 | } | |
16941 | Py_INCREF(Py_None); resultobj = Py_None; | |
16942 | return resultobj; | |
16943 | fail: | |
16944 | return NULL; | |
16945 | } | |
16946 | ||
16947 | ||
c32bde28 | 16948 | static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16949 | PyObject *resultobj; |
16950 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16951 | int arg2 ; | |
16952 | int arg3 ; | |
16953 | int arg4 ; | |
16954 | int arg5 ; | |
16955 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16956 | PyObject * obj1 = 0 ; |
16957 | PyObject * obj2 = 0 ; | |
16958 | PyObject * obj3 = 0 ; | |
16959 | PyObject * obj4 = 0 ; | |
d14a1e28 RD |
16960 | char *kwnames[] = { |
16961 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
16962 | }; | |
16963 | ||
994141e6 | 16964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
15afbcd0 RD |
16965 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
16966 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 16967 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 16968 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16969 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 16970 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16971 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 16972 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 16973 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 16974 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
16975 | { |
16976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
16977 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
16978 | ||
16979 | wxPyEndAllowThreads(__tstate); | |
16980 | if (PyErr_Occurred()) SWIG_fail; | |
16981 | } | |
16982 | Py_INCREF(Py_None); resultobj = Py_None; | |
16983 | return resultobj; | |
16984 | fail: | |
16985 | return NULL; | |
16986 | } | |
16987 | ||
16988 | ||
c32bde28 | 16989 | static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
16990 | PyObject *resultobj; |
16991 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
16992 | int arg2 ; | |
16993 | int arg3 ; | |
16994 | int arg4 ; | |
16995 | int arg5 ; | |
16996 | int arg6 = (int) wxSIZE_AUTO ; | |
16997 | PyObject * obj0 = 0 ; | |
994141e6 RD |
16998 | PyObject * obj1 = 0 ; |
16999 | PyObject * obj2 = 0 ; | |
17000 | PyObject * obj3 = 0 ; | |
17001 | PyObject * obj4 = 0 ; | |
17002 | PyObject * obj5 = 0 ; | |
d14a1e28 RD |
17003 | char *kwnames[] = { |
17004 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17005 | }; | |
17006 | ||
994141e6 | 17007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
17008 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17009 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17010 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 17011 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17012 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 17013 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17014 | arg4 = (int)SWIG_As_int(obj3); |
15afbcd0 | 17015 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17016 | arg5 = (int)SWIG_As_int(obj4); |
15afbcd0 | 17017 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 17018 | if (obj5) { |
c32bde28 | 17019 | arg6 = (int)SWIG_As_int(obj5); |
15afbcd0 | 17020 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 17021 | } |
d14a1e28 RD |
17022 | { |
17023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17024 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17025 | ||
17026 | wxPyEndAllowThreads(__tstate); | |
17027 | if (PyErr_Occurred()) SWIG_fail; | |
17028 | } | |
17029 | Py_INCREF(Py_None); resultobj = Py_None; | |
17030 | return resultobj; | |
17031 | fail: | |
17032 | return NULL; | |
17033 | } | |
17034 | ||
17035 | ||
c32bde28 | 17036 | static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17037 | PyObject *resultobj; |
17038 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17039 | int arg2 ; | |
17040 | int arg3 ; | |
17041 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17042 | PyObject * obj1 = 0 ; |
17043 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17044 | char *kwnames[] = { |
17045 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17046 | }; | |
17047 | ||
994141e6 | 17048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17051 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 17052 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17053 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 17054 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
17055 | { |
17056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17057 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17058 | ||
17059 | wxPyEndAllowThreads(__tstate); | |
17060 | if (PyErr_Occurred()) SWIG_fail; | |
17061 | } | |
17062 | Py_INCREF(Py_None); resultobj = Py_None; | |
17063 | return resultobj; | |
17064 | fail: | |
17065 | return NULL; | |
17066 | } | |
17067 | ||
17068 | ||
c32bde28 | 17069 | static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17070 | PyObject *resultobj; |
17071 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17072 | int arg2 ; | |
17073 | int arg3 ; | |
17074 | PyObject * obj0 = 0 ; | |
994141e6 RD |
17075 | PyObject * obj1 = 0 ; |
17076 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
17077 | char *kwnames[] = { |
17078 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17079 | }; | |
17080 | ||
994141e6 | 17081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
17082 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17083 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17084 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 17085 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17086 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 17087 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
17088 | { |
17089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17090 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17091 | ||
17092 | wxPyEndAllowThreads(__tstate); | |
17093 | if (PyErr_Occurred()) SWIG_fail; | |
17094 | } | |
17095 | Py_INCREF(Py_None); resultobj = Py_None; | |
17096 | return resultobj; | |
17097 | fail: | |
17098 | return NULL; | |
17099 | } | |
17100 | ||
17101 | ||
c32bde28 | 17102 | static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17103 | PyObject *resultobj; |
17104 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17105 | int *arg2 = (int *) 0 ; | |
17106 | int *arg3 = (int *) 0 ; | |
17107 | int temp2 ; | |
c32bde28 | 17108 | int res2 = 0 ; |
d14a1e28 | 17109 | int temp3 ; |
c32bde28 | 17110 | int res3 = 0 ; |
d14a1e28 RD |
17111 | PyObject * obj0 = 0 ; |
17112 | char *kwnames[] = { | |
17113 | (char *) "self", NULL | |
17114 | }; | |
17115 | ||
c32bde28 RD |
17116 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17117 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 17118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
17119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17121 | { |
17122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17123 | ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3); | |
17124 | ||
17125 | wxPyEndAllowThreads(__tstate); | |
17126 | if (PyErr_Occurred()) SWIG_fail; | |
17127 | } | |
17128 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17129 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17130 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17131 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17132 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
17133 | return resultobj; |
17134 | fail: | |
17135 | return NULL; | |
17136 | } | |
17137 | ||
17138 | ||
c32bde28 | 17139 | static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17140 | PyObject *resultobj; |
17141 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17142 | int *arg2 = (int *) 0 ; | |
17143 | int *arg3 = (int *) 0 ; | |
17144 | int temp2 ; | |
c32bde28 | 17145 | int res2 = 0 ; |
d14a1e28 | 17146 | int temp3 ; |
c32bde28 | 17147 | int res3 = 0 ; |
d14a1e28 RD |
17148 | PyObject * obj0 = 0 ; |
17149 | char *kwnames[] = { | |
17150 | (char *) "self", NULL | |
17151 | }; | |
17152 | ||
c32bde28 RD |
17153 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17154 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 17155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
17156 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17157 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17158 | { |
17159 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17160 | ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
17161 | ||
17162 | wxPyEndAllowThreads(__tstate); | |
17163 | if (PyErr_Occurred()) SWIG_fail; | |
17164 | } | |
17165 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17166 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17167 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17168 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17169 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
17170 | return resultobj; |
17171 | fail: | |
17172 | return NULL; | |
17173 | } | |
17174 | ||
17175 | ||
c32bde28 | 17176 | static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17177 | PyObject *resultobj; |
17178 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17179 | int *arg2 = (int *) 0 ; | |
17180 | int *arg3 = (int *) 0 ; | |
17181 | int temp2 ; | |
c32bde28 | 17182 | int res2 = 0 ; |
d14a1e28 | 17183 | int temp3 ; |
c32bde28 | 17184 | int res3 = 0 ; |
d14a1e28 RD |
17185 | PyObject * obj0 = 0 ; |
17186 | char *kwnames[] = { | |
17187 | (char *) "self", NULL | |
17188 | }; | |
17189 | ||
c32bde28 RD |
17190 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17191 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 17192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
17193 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17194 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17195 | { |
17196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17197 | ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3); | |
17198 | ||
17199 | wxPyEndAllowThreads(__tstate); | |
17200 | if (PyErr_Occurred()) SWIG_fail; | |
17201 | } | |
17202 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17203 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17204 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17205 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17206 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
17207 | return resultobj; |
17208 | fail: | |
17209 | return NULL; | |
17210 | } | |
17211 | ||
17212 | ||
c32bde28 | 17213 | static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17214 | PyObject *resultobj; |
17215 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17216 | wxSize result; | |
17217 | PyObject * obj0 = 0 ; | |
17218 | char *kwnames[] = { | |
17219 | (char *) "self", NULL | |
17220 | }; | |
17221 | ||
17222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17223 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17224 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17225 | { |
17226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17227 | result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize(); | |
17228 | ||
17229 | wxPyEndAllowThreads(__tstate); | |
17230 | if (PyErr_Occurred()) SWIG_fail; | |
17231 | } | |
17232 | { | |
17233 | wxSize * resultptr; | |
17234 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 17235 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
17236 | } |
17237 | return resultobj; | |
17238 | fail: | |
17239 | return NULL; | |
17240 | } | |
17241 | ||
17242 | ||
c32bde28 | 17243 | static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17244 | PyObject *resultobj; |
17245 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17246 | wxSize result; | |
17247 | PyObject * obj0 = 0 ; | |
17248 | char *kwnames[] = { | |
17249 | (char *) "self", NULL | |
17250 | }; | |
17251 | ||
17252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17255 | { |
17256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17257 | result = ((wxPyPanel const *)arg1)->base_DoGetBestSize(); | |
17258 | ||
17259 | wxPyEndAllowThreads(__tstate); | |
17260 | if (PyErr_Occurred()) SWIG_fail; | |
17261 | } | |
17262 | { | |
17263 | wxSize * resultptr; | |
17264 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 17265 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
17266 | } |
17267 | return resultobj; | |
17268 | fail: | |
17269 | return NULL; | |
17270 | } | |
17271 | ||
17272 | ||
c32bde28 | 17273 | static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17274 | PyObject *resultobj; |
17275 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17276 | PyObject * obj0 = 0 ; | |
17277 | char *kwnames[] = { | |
17278 | (char *) "self", NULL | |
17279 | }; | |
17280 | ||
17281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17282 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17283 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17284 | { |
17285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17286 | (arg1)->base_InitDialog(); | |
17287 | ||
17288 | wxPyEndAllowThreads(__tstate); | |
17289 | if (PyErr_Occurred()) SWIG_fail; | |
17290 | } | |
17291 | Py_INCREF(Py_None); resultobj = Py_None; | |
17292 | return resultobj; | |
17293 | fail: | |
17294 | return NULL; | |
17295 | } | |
17296 | ||
17297 | ||
c32bde28 | 17298 | static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17299 | PyObject *resultobj; |
17300 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17301 | bool result; | |
17302 | PyObject * obj0 = 0 ; | |
17303 | char *kwnames[] = { | |
17304 | (char *) "self", NULL | |
17305 | }; | |
17306 | ||
17307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17308 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17309 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17310 | { |
17311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17312 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
17313 | ||
17314 | wxPyEndAllowThreads(__tstate); | |
17315 | if (PyErr_Occurred()) SWIG_fail; | |
17316 | } | |
4f89f6a3 RD |
17317 | { |
17318 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17319 | } | |
d14a1e28 RD |
17320 | return resultobj; |
17321 | fail: | |
17322 | return NULL; | |
17323 | } | |
17324 | ||
17325 | ||
c32bde28 | 17326 | static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17327 | PyObject *resultobj; |
17328 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17329 | bool result; | |
17330 | PyObject * obj0 = 0 ; | |
17331 | char *kwnames[] = { | |
17332 | (char *) "self", NULL | |
17333 | }; | |
17334 | ||
17335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17336 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17337 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17338 | { |
17339 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17340 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
17341 | ||
17342 | wxPyEndAllowThreads(__tstate); | |
17343 | if (PyErr_Occurred()) SWIG_fail; | |
17344 | } | |
4f89f6a3 RD |
17345 | { |
17346 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17347 | } | |
d14a1e28 RD |
17348 | return resultobj; |
17349 | fail: | |
17350 | return NULL; | |
17351 | } | |
17352 | ||
17353 | ||
c32bde28 | 17354 | static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17355 | PyObject *resultobj; |
17356 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17357 | bool result; | |
17358 | PyObject * obj0 = 0 ; | |
17359 | char *kwnames[] = { | |
17360 | (char *) "self", NULL | |
17361 | }; | |
17362 | ||
17363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17364 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17366 | { |
17367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17368 | result = (bool)(arg1)->base_Validate(); | |
17369 | ||
17370 | wxPyEndAllowThreads(__tstate); | |
17371 | if (PyErr_Occurred()) SWIG_fail; | |
17372 | } | |
4f89f6a3 RD |
17373 | { |
17374 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17375 | } | |
d14a1e28 RD |
17376 | return resultobj; |
17377 | fail: | |
17378 | return NULL; | |
17379 | } | |
17380 | ||
17381 | ||
c32bde28 | 17382 | static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17383 | PyObject *resultobj; |
17384 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17385 | bool result; | |
17386 | PyObject * obj0 = 0 ; | |
17387 | char *kwnames[] = { | |
17388 | (char *) "self", NULL | |
17389 | }; | |
17390 | ||
17391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17392 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17393 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17394 | { |
17395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17396 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus(); | |
17397 | ||
17398 | wxPyEndAllowThreads(__tstate); | |
17399 | if (PyErr_Occurred()) SWIG_fail; | |
17400 | } | |
4f89f6a3 RD |
17401 | { |
17402 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17403 | } | |
d14a1e28 RD |
17404 | return resultobj; |
17405 | fail: | |
17406 | return NULL; | |
17407 | } | |
17408 | ||
17409 | ||
c32bde28 | 17410 | static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17411 | PyObject *resultobj; |
17412 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17413 | bool result; | |
17414 | PyObject * obj0 = 0 ; | |
17415 | char *kwnames[] = { | |
17416 | (char *) "self", NULL | |
17417 | }; | |
17418 | ||
17419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17420 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17421 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17422 | { |
17423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17424 | result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
17425 | ||
17426 | wxPyEndAllowThreads(__tstate); | |
17427 | if (PyErr_Occurred()) SWIG_fail; | |
17428 | } | |
4f89f6a3 RD |
17429 | { |
17430 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17431 | } | |
d14a1e28 RD |
17432 | return resultobj; |
17433 | fail: | |
17434 | return NULL; | |
17435 | } | |
17436 | ||
17437 | ||
c32bde28 | 17438 | static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17439 | PyObject *resultobj; |
17440 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17441 | wxSize result; | |
17442 | PyObject * obj0 = 0 ; | |
17443 | char *kwnames[] = { | |
17444 | (char *) "self", NULL | |
17445 | }; | |
17446 | ||
17447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
17448 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17449 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17450 | { |
17451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17452 | result = ((wxPyPanel const *)arg1)->base_GetMaxSize(); | |
17453 | ||
17454 | wxPyEndAllowThreads(__tstate); | |
17455 | if (PyErr_Occurred()) SWIG_fail; | |
17456 | } | |
17457 | { | |
17458 | wxSize * resultptr; | |
17459 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 17460 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
17461 | } |
17462 | return resultobj; | |
17463 | fail: | |
17464 | return NULL; | |
17465 | } | |
17466 | ||
17467 | ||
c32bde28 | 17468 | static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17469 | PyObject *resultobj; |
17470 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17471 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17472 | PyObject * obj0 = 0 ; | |
17473 | PyObject * obj1 = 0 ; | |
17474 | char *kwnames[] = { | |
17475 | (char *) "self",(char *) "child", NULL | |
17476 | }; | |
17477 | ||
17478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17479 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17480 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17481 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17482 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17483 | { |
17484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17485 | (arg1)->base_AddChild(arg2); | |
17486 | ||
17487 | wxPyEndAllowThreads(__tstate); | |
17488 | if (PyErr_Occurred()) SWIG_fail; | |
17489 | } | |
17490 | Py_INCREF(Py_None); resultobj = Py_None; | |
17491 | return resultobj; | |
17492 | fail: | |
17493 | return NULL; | |
17494 | } | |
17495 | ||
17496 | ||
c32bde28 | 17497 | static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
17498 | PyObject *resultobj; |
17499 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17500 | wxWindow *arg2 = (wxWindow *) 0 ; | |
17501 | PyObject * obj0 = 0 ; | |
17502 | PyObject * obj1 = 0 ; | |
17503 | char *kwnames[] = { | |
17504 | (char *) "self",(char *) "child", NULL | |
17505 | }; | |
17506 | ||
17507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
17508 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, |
17509 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17510 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
17511 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17512 | { |
17513 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17514 | (arg1)->base_RemoveChild(arg2); | |
17515 | ||
17516 | wxPyEndAllowThreads(__tstate); | |
17517 | if (PyErr_Occurred()) SWIG_fail; | |
17518 | } | |
17519 | Py_INCREF(Py_None); resultobj = Py_None; | |
17520 | return resultobj; | |
17521 | fail: | |
17522 | return NULL; | |
17523 | } | |
17524 | ||
17525 | ||
c32bde28 | 17526 | static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17527 | PyObject *resultobj; |
1cb4a8aa RD |
17528 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17529 | bool result; | |
17530 | PyObject * obj0 = 0 ; | |
d14a1e28 | 17531 | char *kwnames[] = { |
1cb4a8aa | 17532 | (char *) "self", NULL |
d14a1e28 RD |
17533 | }; |
17534 | ||
1cb4a8aa RD |
17535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail; |
17536 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17537 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
17538 | { |
17539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 17540 | result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours(); |
d14a1e28 RD |
17541 | |
17542 | wxPyEndAllowThreads(__tstate); | |
17543 | if (PyErr_Occurred()) SWIG_fail; | |
17544 | } | |
1cb4a8aa RD |
17545 | { |
17546 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
17547 | } | |
d14a1e28 RD |
17548 | return resultobj; |
17549 | fail: | |
17550 | return NULL; | |
17551 | } | |
17552 | ||
17553 | ||
c32bde28 | 17554 | static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17555 | PyObject *resultobj; |
1cb4a8aa RD |
17556 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; |
17557 | wxColour *arg2 = 0 ; | |
17558 | wxColour temp2 ; | |
d14a1e28 | 17559 | PyObject * obj0 = 0 ; |
1cb4a8aa | 17560 | PyObject * obj1 = 0 ; |
d14a1e28 | 17561 | char *kwnames[] = { |
1cb4a8aa | 17562 | (char *) "self",(char *) "c", NULL |
d14a1e28 RD |
17563 | }; |
17564 | ||
1cb4a8aa RD |
17565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; |
17566 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
15afbcd0 | 17567 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
1cb4a8aa RD |
17568 | { |
17569 | arg2 = &temp2; | |
17570 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
17571 | } | |
d14a1e28 RD |
17572 | { |
17573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1cb4a8aa | 17574 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); |
d14a1e28 RD |
17575 | |
17576 | wxPyEndAllowThreads(__tstate); | |
17577 | if (PyErr_Occurred()) SWIG_fail; | |
17578 | } | |
17579 | Py_INCREF(Py_None); resultobj = Py_None; | |
17580 | return resultobj; | |
17581 | fail: | |
17582 | return NULL; | |
17583 | } | |
17584 | ||
17585 | ||
c32bde28 | 17586 | static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
17587 | PyObject *resultobj; |
17588 | wxPyPanel *arg1 = (wxPyPanel *) 0 ; | |
17589 | wxVisualAttributes result; | |
17590 | PyObject * obj0 = 0 ; | |
17591 | char *kwnames[] = { | |
17592 | (char *) "self", NULL | |
17593 | }; | |
17594 | ||
17595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
17596 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPanel, | |
17597 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17598 | { | |
17599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17600 | result = (arg1)->base_GetDefaultAttributes(); | |
17601 | ||
17602 | wxPyEndAllowThreads(__tstate); | |
17603 | if (PyErr_Occurred()) SWIG_fail; | |
17604 | } | |
17605 | { | |
17606 | wxVisualAttributes * resultptr; | |
17607 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
17608 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
17609 | } | |
17610 | return resultobj; | |
17611 | fail: | |
17612 | return NULL; | |
17613 | } | |
17614 | ||
17615 | ||
c32bde28 | 17616 | static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
17617 | PyObject *obj; |
17618 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
17619 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj); | |
17620 | Py_INCREF(obj); | |
17621 | return Py_BuildValue((char *)""); | |
17622 | } | |
c32bde28 | 17623 | static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 | 17624 | PyObject *resultobj; |
1cb4a8aa | 17625 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 17626 | int arg2 = (int) (int)-1 ; |
1cb4a8aa RD |
17627 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
17628 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
17629 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
17630 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
17631 | long arg5 = (long) 0 ; | |
17632 | wxString const &arg6_defvalue = wxPyPanelNameStr ; | |
17633 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
17634 | wxPyScrolledWindow *result; | |
17635 | wxPoint temp3 ; | |
17636 | wxSize temp4 ; | |
ae8162c8 | 17637 | bool temp6 = false ; |
d14a1e28 | 17638 | PyObject * obj0 = 0 ; |
1cb4a8aa RD |
17639 | PyObject * obj1 = 0 ; |
17640 | PyObject * obj2 = 0 ; | |
17641 | PyObject * obj3 = 0 ; | |
17642 | PyObject * obj4 = 0 ; | |
17643 | PyObject * obj5 = 0 ; | |
d14a1e28 | 17644 | char *kwnames[] = { |
1cb4a8aa | 17645 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
d14a1e28 RD |
17646 | }; |
17647 | ||
248ed943 | 17648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
1cb4a8aa | 17649 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
15afbcd0 | 17650 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
248ed943 | 17651 | if (obj1) { |
c32bde28 | 17652 | arg2 = (int)SWIG_As_int(obj1); |
248ed943 RD |
17653 | if (PyErr_Occurred()) SWIG_fail; |
17654 | } | |
1cb4a8aa RD |
17655 | if (obj2) { |
17656 | { | |
17657 | arg3 = &temp3; | |
17658 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
17659 | } | |
17660 | } | |
17661 | if (obj3) { | |
17662 | { | |
17663 | arg4 = &temp4; | |
17664 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
17665 | } | |
17666 | } | |
17667 | if (obj4) { | |
c32bde28 | 17668 | arg5 = (long)SWIG_As_long(obj4); |
1cb4a8aa RD |
17669 | if (PyErr_Occurred()) SWIG_fail; |
17670 | } | |
17671 | if (obj5) { | |
17672 | { | |
17673 | arg6 = wxString_in_helper(obj5); | |
17674 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 17675 | temp6 = true; |
1cb4a8aa RD |
17676 | } |
17677 | } | |
17678 | { | |
e3b71cb8 | 17679 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17681 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
17682 | ||
17683 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17684 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17685 | } |
17686 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17687 | { | |
17688 | if (temp6) | |
17689 | delete arg6; | |
17690 | } | |
17691 | return resultobj; | |
17692 | fail: | |
17693 | { | |
17694 | if (temp6) | |
17695 | delete arg6; | |
17696 | } | |
17697 | return NULL; | |
17698 | } | |
17699 | ||
17700 | ||
c32bde28 | 17701 | static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17702 | PyObject *resultobj; |
17703 | wxPyScrolledWindow *result; | |
17704 | char *kwnames[] = { | |
17705 | NULL | |
17706 | }; | |
17707 | ||
17708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail; | |
17709 | { | |
e3b71cb8 | 17710 | if (!wxPyCheckForApp()) SWIG_fail; |
1cb4a8aa RD |
17711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
17712 | result = (wxPyScrolledWindow *)new wxPyScrolledWindow(); | |
17713 | ||
17714 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 17715 | if (PyErr_Occurred()) SWIG_fail; |
1cb4a8aa RD |
17716 | } |
17717 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1); | |
17718 | return resultobj; | |
17719 | fail: | |
17720 | return NULL; | |
17721 | } | |
17722 | ||
17723 | ||
c32bde28 | 17724 | static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17725 | PyObject *resultobj; |
17726 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17727 | PyObject *arg2 = (PyObject *) 0 ; | |
17728 | PyObject *arg3 = (PyObject *) 0 ; | |
17729 | PyObject * obj0 = 0 ; | |
17730 | PyObject * obj1 = 0 ; | |
17731 | PyObject * obj2 = 0 ; | |
17732 | char *kwnames[] = { | |
17733 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
17734 | }; | |
17735 | ||
17736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17739 | arg2 = obj1; | |
17740 | arg3 = obj2; | |
17741 | { | |
17742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17743 | (arg1)->_setCallbackInfo(arg2,arg3); | |
17744 | ||
17745 | wxPyEndAllowThreads(__tstate); | |
17746 | if (PyErr_Occurred()) SWIG_fail; | |
17747 | } | |
17748 | Py_INCREF(Py_None); resultobj = Py_None; | |
17749 | return resultobj; | |
17750 | fail: | |
17751 | return NULL; | |
17752 | } | |
17753 | ||
17754 | ||
c32bde28 | 17755 | static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
17756 | PyObject *resultobj; |
17757 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17758 | wxSize *arg2 = 0 ; | |
17759 | wxSize temp2 ; | |
17760 | PyObject * obj0 = 0 ; | |
17761 | PyObject * obj1 = 0 ; | |
17762 | char *kwnames[] = { | |
17763 | (char *) "self",(char *) "size", NULL | |
17764 | }; | |
17765 | ||
17766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail; | |
17767 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17769 | { | |
17770 | arg2 = &temp2; | |
17771 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
17772 | } | |
17773 | { | |
17774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17775 | (arg1)->SetBestSize((wxSize const &)*arg2); | |
17776 | ||
17777 | wxPyEndAllowThreads(__tstate); | |
17778 | if (PyErr_Occurred()) SWIG_fail; | |
17779 | } | |
17780 | Py_INCREF(Py_None); resultobj = Py_None; | |
17781 | return resultobj; | |
17782 | fail: | |
17783 | return NULL; | |
17784 | } | |
17785 | ||
17786 | ||
c32bde28 | 17787 | static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17788 | PyObject *resultobj; |
17789 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17790 | int arg2 ; | |
17791 | int arg3 ; | |
17792 | int arg4 ; | |
17793 | int arg5 ; | |
17794 | PyObject * obj0 = 0 ; | |
17795 | PyObject * obj1 = 0 ; | |
17796 | PyObject * obj2 = 0 ; | |
17797 | PyObject * obj3 = 0 ; | |
17798 | PyObject * obj4 = 0 ; | |
17799 | char *kwnames[] = { | |
17800 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL | |
17801 | }; | |
17802 | ||
17803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
17804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17806 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17807 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17808 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa | 17809 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17810 | arg4 = (int)SWIG_As_int(obj3); |
1cb4a8aa | 17811 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17812 | arg5 = (int)SWIG_As_int(obj4); |
1cb4a8aa RD |
17813 | if (PyErr_Occurred()) SWIG_fail; |
17814 | { | |
17815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17816 | (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5); | |
17817 | ||
17818 | wxPyEndAllowThreads(__tstate); | |
17819 | if (PyErr_Occurred()) SWIG_fail; | |
17820 | } | |
17821 | Py_INCREF(Py_None); resultobj = Py_None; | |
17822 | return resultobj; | |
17823 | fail: | |
17824 | return NULL; | |
17825 | } | |
17826 | ||
17827 | ||
c32bde28 | 17828 | static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17829 | PyObject *resultobj; |
17830 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17831 | int arg2 ; | |
17832 | int arg3 ; | |
17833 | int arg4 ; | |
17834 | int arg5 ; | |
17835 | int arg6 = (int) wxSIZE_AUTO ; | |
17836 | PyObject * obj0 = 0 ; | |
17837 | PyObject * obj1 = 0 ; | |
17838 | PyObject * obj2 = 0 ; | |
17839 | PyObject * obj3 = 0 ; | |
17840 | PyObject * obj4 = 0 ; | |
17841 | PyObject * obj5 = 0 ; | |
17842 | char *kwnames[] = { | |
17843 | (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL | |
17844 | }; | |
17845 | ||
17846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
17847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17849 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17850 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17851 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa | 17852 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17853 | arg4 = (int)SWIG_As_int(obj3); |
1cb4a8aa | 17854 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17855 | arg5 = (int)SWIG_As_int(obj4); |
1cb4a8aa RD |
17856 | if (PyErr_Occurred()) SWIG_fail; |
17857 | if (obj5) { | |
c32bde28 | 17858 | arg6 = (int)SWIG_As_int(obj5); |
1cb4a8aa RD |
17859 | if (PyErr_Occurred()) SWIG_fail; |
17860 | } | |
17861 | { | |
17862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17863 | (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6); | |
17864 | ||
17865 | wxPyEndAllowThreads(__tstate); | |
17866 | if (PyErr_Occurred()) SWIG_fail; | |
17867 | } | |
17868 | Py_INCREF(Py_None); resultobj = Py_None; | |
17869 | return resultobj; | |
17870 | fail: | |
17871 | return NULL; | |
17872 | } | |
17873 | ||
17874 | ||
c32bde28 | 17875 | static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17876 | PyObject *resultobj; |
17877 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17878 | int arg2 ; | |
17879 | int arg3 ; | |
17880 | PyObject * obj0 = 0 ; | |
17881 | PyObject * obj1 = 0 ; | |
17882 | PyObject * obj2 = 0 ; | |
17883 | char *kwnames[] = { | |
17884 | (char *) "self",(char *) "width",(char *) "height", NULL | |
17885 | }; | |
17886 | ||
17887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17888 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17889 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17890 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17891 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17892 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa RD |
17893 | if (PyErr_Occurred()) SWIG_fail; |
17894 | { | |
17895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17896 | (arg1)->base_DoSetClientSize(arg2,arg3); | |
17897 | ||
17898 | wxPyEndAllowThreads(__tstate); | |
17899 | if (PyErr_Occurred()) SWIG_fail; | |
17900 | } | |
17901 | Py_INCREF(Py_None); resultobj = Py_None; | |
17902 | return resultobj; | |
17903 | fail: | |
17904 | return NULL; | |
17905 | } | |
17906 | ||
17907 | ||
c32bde28 | 17908 | static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17909 | PyObject *resultobj; |
17910 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17911 | int arg2 ; | |
17912 | int arg3 ; | |
17913 | PyObject * obj0 = 0 ; | |
17914 | PyObject * obj1 = 0 ; | |
17915 | PyObject * obj2 = 0 ; | |
17916 | char *kwnames[] = { | |
17917 | (char *) "self",(char *) "x",(char *) "y", NULL | |
17918 | }; | |
17919 | ||
17920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
17921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 17923 | arg2 = (int)SWIG_As_int(obj1); |
1cb4a8aa | 17924 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 17925 | arg3 = (int)SWIG_As_int(obj2); |
1cb4a8aa RD |
17926 | if (PyErr_Occurred()) SWIG_fail; |
17927 | { | |
17928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17929 | (arg1)->base_DoSetVirtualSize(arg2,arg3); | |
17930 | ||
17931 | wxPyEndAllowThreads(__tstate); | |
17932 | if (PyErr_Occurred()) SWIG_fail; | |
17933 | } | |
17934 | Py_INCREF(Py_None); resultobj = Py_None; | |
17935 | return resultobj; | |
17936 | fail: | |
17937 | return NULL; | |
17938 | } | |
17939 | ||
17940 | ||
c32bde28 | 17941 | static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17942 | PyObject *resultobj; |
17943 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17944 | int *arg2 = (int *) 0 ; | |
17945 | int *arg3 = (int *) 0 ; | |
17946 | int temp2 ; | |
c32bde28 | 17947 | int res2 = 0 ; |
1cb4a8aa | 17948 | int temp3 ; |
c32bde28 | 17949 | int res3 = 0 ; |
1cb4a8aa RD |
17950 | PyObject * obj0 = 0 ; |
17951 | char *kwnames[] = { | |
17952 | (char *) "self", NULL | |
17953 | }; | |
17954 | ||
c32bde28 RD |
17955 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17956 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
17957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail; |
17958 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17960 | { | |
17961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17962 | ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3); | |
17963 | ||
17964 | wxPyEndAllowThreads(__tstate); | |
17965 | if (PyErr_Occurred()) SWIG_fail; | |
17966 | } | |
17967 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
17968 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
17969 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
17970 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
17971 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
17972 | return resultobj; |
17973 | fail: | |
17974 | return NULL; | |
17975 | } | |
17976 | ||
17977 | ||
c32bde28 | 17978 | static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
17979 | PyObject *resultobj; |
17980 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
17981 | int *arg2 = (int *) 0 ; | |
17982 | int *arg3 = (int *) 0 ; | |
17983 | int temp2 ; | |
c32bde28 | 17984 | int res2 = 0 ; |
1cb4a8aa | 17985 | int temp3 ; |
c32bde28 | 17986 | int res3 = 0 ; |
1cb4a8aa RD |
17987 | PyObject * obj0 = 0 ; |
17988 | char *kwnames[] = { | |
17989 | (char *) "self", NULL | |
17990 | }; | |
17991 | ||
c32bde28 RD |
17992 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
17993 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
17994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail; |
17995 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
17996 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
17997 | { | |
17998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
17999 | ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3); | |
18000 | ||
18001 | wxPyEndAllowThreads(__tstate); | |
18002 | if (PyErr_Occurred()) SWIG_fail; | |
18003 | } | |
18004 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18005 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18006 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18007 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18008 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
18009 | return resultobj; |
18010 | fail: | |
18011 | return NULL; | |
18012 | } | |
18013 | ||
18014 | ||
c32bde28 | 18015 | static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18016 | PyObject *resultobj; |
18017 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18018 | int *arg2 = (int *) 0 ; | |
18019 | int *arg3 = (int *) 0 ; | |
18020 | int temp2 ; | |
c32bde28 | 18021 | int res2 = 0 ; |
1cb4a8aa | 18022 | int temp3 ; |
c32bde28 | 18023 | int res3 = 0 ; |
1cb4a8aa RD |
18024 | PyObject * obj0 = 0 ; |
18025 | char *kwnames[] = { | |
18026 | (char *) "self", NULL | |
18027 | }; | |
18028 | ||
c32bde28 RD |
18029 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
18030 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
1cb4a8aa RD |
18031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail; |
18032 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18033 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18034 | { | |
18035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18036 | ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3); | |
18037 | ||
18038 | wxPyEndAllowThreads(__tstate); | |
18039 | if (PyErr_Occurred()) SWIG_fail; | |
18040 | } | |
18041 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
18042 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
18043 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
18044 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
18045 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
1cb4a8aa RD |
18046 | return resultobj; |
18047 | fail: | |
18048 | return NULL; | |
18049 | } | |
18050 | ||
18051 | ||
c32bde28 | 18052 | static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18053 | PyObject *resultobj; |
18054 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18055 | wxSize result; | |
18056 | PyObject * obj0 = 0 ; | |
18057 | char *kwnames[] = { | |
18058 | (char *) "self", NULL | |
18059 | }; | |
18060 | ||
18061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail; | |
18062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18064 | { | |
18065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18066 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize(); | |
18067 | ||
18068 | wxPyEndAllowThreads(__tstate); | |
18069 | if (PyErr_Occurred()) SWIG_fail; | |
18070 | } | |
18071 | { | |
18072 | wxSize * resultptr; | |
18073 | resultptr = new wxSize((wxSize &) result); | |
18074 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
18075 | } | |
18076 | return resultobj; | |
18077 | fail: | |
18078 | return NULL; | |
18079 | } | |
18080 | ||
18081 | ||
c32bde28 | 18082 | static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18083 | PyObject *resultobj; |
18084 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18085 | wxSize result; | |
18086 | PyObject * obj0 = 0 ; | |
18087 | char *kwnames[] = { | |
18088 | (char *) "self", NULL | |
18089 | }; | |
18090 | ||
18091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail; | |
18092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18094 | { | |
18095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18096 | result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize(); | |
18097 | ||
18098 | wxPyEndAllowThreads(__tstate); | |
18099 | if (PyErr_Occurred()) SWIG_fail; | |
18100 | } | |
18101 | { | |
18102 | wxSize * resultptr; | |
18103 | resultptr = new wxSize((wxSize &) result); | |
18104 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
18105 | } | |
18106 | return resultobj; | |
18107 | fail: | |
18108 | return NULL; | |
18109 | } | |
18110 | ||
18111 | ||
c32bde28 | 18112 | static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18113 | PyObject *resultobj; |
18114 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18115 | PyObject * obj0 = 0 ; | |
18116 | char *kwnames[] = { | |
18117 | (char *) "self", NULL | |
18118 | }; | |
18119 | ||
18120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail; | |
18121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18123 | { | |
18124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18125 | (arg1)->base_InitDialog(); | |
18126 | ||
18127 | wxPyEndAllowThreads(__tstate); | |
18128 | if (PyErr_Occurred()) SWIG_fail; | |
18129 | } | |
18130 | Py_INCREF(Py_None); resultobj = Py_None; | |
18131 | return resultobj; | |
18132 | fail: | |
18133 | return NULL; | |
18134 | } | |
18135 | ||
18136 | ||
c32bde28 | 18137 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18138 | PyObject *resultobj; |
18139 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18140 | bool result; | |
18141 | PyObject * obj0 = 0 ; | |
18142 | char *kwnames[] = { | |
18143 | (char *) "self", NULL | |
18144 | }; | |
18145 | ||
18146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail; | |
18147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18149 | { | |
18150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18151 | result = (bool)(arg1)->base_TransferDataToWindow(); | |
18152 | ||
18153 | wxPyEndAllowThreads(__tstate); | |
18154 | if (PyErr_Occurred()) SWIG_fail; | |
18155 | } | |
18156 | { | |
18157 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18158 | } | |
18159 | return resultobj; | |
18160 | fail: | |
18161 | return NULL; | |
18162 | } | |
18163 | ||
18164 | ||
c32bde28 | 18165 | static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18166 | PyObject *resultobj; |
18167 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18168 | bool result; | |
18169 | PyObject * obj0 = 0 ; | |
18170 | char *kwnames[] = { | |
18171 | (char *) "self", NULL | |
18172 | }; | |
18173 | ||
18174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail; | |
18175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18177 | { | |
18178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18179 | result = (bool)(arg1)->base_TransferDataFromWindow(); | |
18180 | ||
18181 | wxPyEndAllowThreads(__tstate); | |
18182 | if (PyErr_Occurred()) SWIG_fail; | |
18183 | } | |
18184 | { | |
18185 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18186 | } | |
18187 | return resultobj; | |
18188 | fail: | |
18189 | return NULL; | |
18190 | } | |
18191 | ||
18192 | ||
c32bde28 | 18193 | static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18194 | PyObject *resultobj; |
18195 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18196 | bool result; | |
18197 | PyObject * obj0 = 0 ; | |
18198 | char *kwnames[] = { | |
18199 | (char *) "self", NULL | |
18200 | }; | |
18201 | ||
18202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail; | |
18203 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18204 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18205 | { | |
18206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18207 | result = (bool)(arg1)->base_Validate(); | |
18208 | ||
18209 | wxPyEndAllowThreads(__tstate); | |
18210 | if (PyErr_Occurred()) SWIG_fail; | |
18211 | } | |
18212 | { | |
18213 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18214 | } | |
18215 | return resultobj; | |
18216 | fail: | |
18217 | return NULL; | |
18218 | } | |
18219 | ||
18220 | ||
c32bde28 | 18221 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18222 | PyObject *resultobj; |
18223 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18224 | bool result; | |
18225 | PyObject * obj0 = 0 ; | |
18226 | char *kwnames[] = { | |
18227 | (char *) "self", NULL | |
18228 | }; | |
18229 | ||
18230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail; | |
18231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18233 | { | |
18234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18235 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus(); | |
18236 | ||
18237 | wxPyEndAllowThreads(__tstate); | |
18238 | if (PyErr_Occurred()) SWIG_fail; | |
18239 | } | |
18240 | { | |
18241 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18242 | } | |
18243 | return resultobj; | |
18244 | fail: | |
18245 | return NULL; | |
18246 | } | |
18247 | ||
18248 | ||
c32bde28 | 18249 | static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18250 | PyObject *resultobj; |
18251 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18252 | bool result; | |
18253 | PyObject * obj0 = 0 ; | |
18254 | char *kwnames[] = { | |
18255 | (char *) "self", NULL | |
18256 | }; | |
18257 | ||
18258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail; | |
18259 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18261 | { | |
18262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18263 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard(); | |
18264 | ||
18265 | wxPyEndAllowThreads(__tstate); | |
18266 | if (PyErr_Occurred()) SWIG_fail; | |
18267 | } | |
18268 | { | |
18269 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18270 | } | |
18271 | return resultobj; | |
18272 | fail: | |
18273 | return NULL; | |
18274 | } | |
18275 | ||
18276 | ||
c32bde28 | 18277 | static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18278 | PyObject *resultobj; |
18279 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18280 | wxSize result; | |
18281 | PyObject * obj0 = 0 ; | |
18282 | char *kwnames[] = { | |
18283 | (char *) "self", NULL | |
18284 | }; | |
18285 | ||
18286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail; | |
18287 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18288 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18289 | { | |
18290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18291 | result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize(); | |
18292 | ||
18293 | wxPyEndAllowThreads(__tstate); | |
18294 | if (PyErr_Occurred()) SWIG_fail; | |
18295 | } | |
18296 | { | |
18297 | wxSize * resultptr; | |
18298 | resultptr = new wxSize((wxSize &) result); | |
18299 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); | |
18300 | } | |
18301 | return resultobj; | |
18302 | fail: | |
18303 | return NULL; | |
18304 | } | |
18305 | ||
18306 | ||
c32bde28 | 18307 | static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18308 | PyObject *resultobj; |
18309 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18310 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18311 | PyObject * obj0 = 0 ; | |
18312 | PyObject * obj1 = 0 ; | |
18313 | char *kwnames[] = { | |
18314 | (char *) "self",(char *) "child", NULL | |
18315 | }; | |
18316 | ||
18317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail; | |
18318 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18319 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18320 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18322 | { | |
18323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18324 | (arg1)->base_AddChild(arg2); | |
18325 | ||
18326 | wxPyEndAllowThreads(__tstate); | |
18327 | if (PyErr_Occurred()) SWIG_fail; | |
18328 | } | |
18329 | Py_INCREF(Py_None); resultobj = Py_None; | |
18330 | return resultobj; | |
18331 | fail: | |
18332 | return NULL; | |
18333 | } | |
18334 | ||
18335 | ||
c32bde28 | 18336 | static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18337 | PyObject *resultobj; |
18338 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18339 | wxWindow *arg2 = (wxWindow *) 0 ; | |
18340 | PyObject * obj0 = 0 ; | |
18341 | PyObject * obj1 = 0 ; | |
18342 | char *kwnames[] = { | |
18343 | (char *) "self",(char *) "child", NULL | |
18344 | }; | |
18345 | ||
18346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail; | |
18347 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18349 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
18350 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18351 | { | |
18352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18353 | (arg1)->base_RemoveChild(arg2); | |
18354 | ||
18355 | wxPyEndAllowThreads(__tstate); | |
18356 | if (PyErr_Occurred()) SWIG_fail; | |
18357 | } | |
18358 | Py_INCREF(Py_None); resultobj = Py_None; | |
18359 | return resultobj; | |
18360 | fail: | |
18361 | return NULL; | |
18362 | } | |
18363 | ||
18364 | ||
c32bde28 | 18365 | static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18366 | PyObject *resultobj; |
18367 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18368 | bool result; | |
18369 | PyObject * obj0 = 0 ; | |
18370 | char *kwnames[] = { | |
18371 | (char *) "self", NULL | |
18372 | }; | |
18373 | ||
18374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail; | |
18375 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18376 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18377 | { | |
18378 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
db3e571a | 18379 | result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours(); |
1cb4a8aa RD |
18380 | |
18381 | wxPyEndAllowThreads(__tstate); | |
18382 | if (PyErr_Occurred()) SWIG_fail; | |
18383 | } | |
18384 | { | |
18385 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18386 | } | |
18387 | return resultobj; | |
18388 | fail: | |
18389 | return NULL; | |
18390 | } | |
18391 | ||
18392 | ||
c32bde28 | 18393 | static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18394 | PyObject *resultobj; |
18395 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18396 | wxColour *arg2 = 0 ; | |
18397 | wxColour temp2 ; | |
18398 | PyObject * obj0 = 0 ; | |
18399 | PyObject * obj1 = 0 ; | |
18400 | char *kwnames[] = { | |
18401 | (char *) "self",(char *) "c", NULL | |
18402 | }; | |
18403 | ||
18404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail; | |
18405 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18406 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18407 | { | |
18408 | arg2 = &temp2; | |
18409 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
18410 | } | |
18411 | { | |
18412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18413 | (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2); | |
18414 | ||
18415 | wxPyEndAllowThreads(__tstate); | |
18416 | if (PyErr_Occurred()) SWIG_fail; | |
18417 | } | |
18418 | Py_INCREF(Py_None); resultobj = Py_None; | |
18419 | return resultobj; | |
18420 | fail: | |
18421 | return NULL; | |
18422 | } | |
18423 | ||
18424 | ||
c32bde28 | 18425 | static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) { |
db3e571a RD |
18426 | PyObject *resultobj; |
18427 | wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ; | |
18428 | wxVisualAttributes result; | |
18429 | PyObject * obj0 = 0 ; | |
18430 | char *kwnames[] = { | |
18431 | (char *) "self", NULL | |
18432 | }; | |
18433 | ||
18434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail; | |
18435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyScrolledWindow, | |
18436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18437 | { | |
18438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18439 | result = (arg1)->base_GetDefaultAttributes(); | |
18440 | ||
18441 | wxPyEndAllowThreads(__tstate); | |
18442 | if (PyErr_Occurred()) SWIG_fail; | |
18443 | } | |
18444 | { | |
18445 | wxVisualAttributes * resultptr; | |
18446 | resultptr = new wxVisualAttributes((wxVisualAttributes &) result); | |
18447 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1); | |
18448 | } | |
18449 | return resultobj; | |
18450 | fail: | |
18451 | return NULL; | |
18452 | } | |
18453 | ||
18454 | ||
c32bde28 | 18455 | static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) { |
1cb4a8aa RD |
18456 | PyObject *obj; |
18457 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
18458 | SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj); | |
18459 | Py_INCREF(obj); | |
18460 | return Py_BuildValue((char *)""); | |
18461 | } | |
c32bde28 | 18462 | static int _wrap_PrintoutTitleStr_set(PyObject *) { |
1cb4a8aa RD |
18463 | PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only."); |
18464 | return 1; | |
18465 | } | |
18466 | ||
18467 | ||
18468 | static PyObject *_wrap_PrintoutTitleStr_get() { | |
18469 | PyObject *pyobj; | |
18470 | ||
18471 | { | |
18472 | #if wxUSE_UNICODE | |
18473 | pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18474 | #else | |
18475 | pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len()); | |
18476 | #endif | |
18477 | } | |
18478 | return pyobj; | |
18479 | } | |
18480 | ||
18481 | ||
c32bde28 | 18482 | static int _wrap_PreviewCanvasNameStr_set(PyObject *) { |
1cb4a8aa RD |
18483 | PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only."); |
18484 | return 1; | |
18485 | } | |
18486 | ||
18487 | ||
18488 | static PyObject *_wrap_PreviewCanvasNameStr_get() { | |
18489 | PyObject *pyobj; | |
18490 | ||
18491 | { | |
18492 | #if wxUSE_UNICODE | |
18493 | pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18494 | #else | |
18495 | pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len()); | |
18496 | #endif | |
18497 | } | |
18498 | return pyobj; | |
18499 | } | |
18500 | ||
18501 | ||
c32bde28 | 18502 | static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) { |
1cb4a8aa RD |
18503 | PyObject *resultobj; |
18504 | wxPrintData *result; | |
1cb4a8aa | 18505 | |
11207aef | 18506 | if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail; |
1cb4a8aa RD |
18507 | { |
18508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18509 | result = (wxPrintData *)new wxPrintData(); | |
18510 | ||
18511 | wxPyEndAllowThreads(__tstate); | |
18512 | if (PyErr_Occurred()) SWIG_fail; | |
18513 | } | |
18514 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18515 | return resultobj; | |
18516 | fail: | |
18517 | return NULL; | |
18518 | } | |
18519 | ||
18520 | ||
c32bde28 | 18521 | static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) { |
11207aef RD |
18522 | PyObject *resultobj; |
18523 | wxPrintData *arg1 = 0 ; | |
18524 | wxPrintData *result; | |
18525 | PyObject * obj0 = 0 ; | |
18526 | ||
18527 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail; | |
18528 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18529 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
18530 | SWIG_fail; | |
18531 | if (arg1 == NULL) { | |
18532 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
18533 | SWIG_fail; | |
18534 | } | |
18535 | { | |
18536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18537 | result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1); | |
18538 | ||
18539 | wxPyEndAllowThreads(__tstate); | |
18540 | if (PyErr_Occurred()) SWIG_fail; | |
18541 | } | |
18542 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1); | |
18543 | return resultobj; | |
18544 | fail: | |
18545 | return NULL; | |
18546 | } | |
18547 | ||
18548 | ||
18549 | static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) { | |
18550 | int argc; | |
18551 | PyObject *argv[2]; | |
18552 | int ii; | |
18553 | ||
18554 | argc = PyObject_Length(args); | |
18555 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
18556 | argv[ii] = PyTuple_GetItem(args,ii); | |
18557 | } | |
18558 | if (argc == 0) { | |
18559 | return _wrap_new_PrintData__SWIG_0(self,args); | |
18560 | } | |
18561 | if (argc == 1) { | |
18562 | int _v; | |
18563 | { | |
18564 | void *ptr; | |
18565 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
18566 | _v = 0; | |
18567 | PyErr_Clear(); | |
18568 | } else { | |
18569 | _v = 1; | |
18570 | } | |
18571 | } | |
18572 | if (_v) { | |
18573 | return _wrap_new_PrintData__SWIG_1(self,args); | |
18574 | } | |
18575 | } | |
18576 | ||
18577 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintData'"); | |
18578 | return NULL; | |
18579 | } | |
18580 | ||
18581 | ||
c32bde28 | 18582 | static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18583 | PyObject *resultobj; |
18584 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18585 | PyObject * obj0 = 0 ; | |
18586 | char *kwnames[] = { | |
18587 | (char *) "self", NULL | |
18588 | }; | |
18589 | ||
18590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail; | |
18591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18593 | { | |
18594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18595 | delete arg1; | |
18596 | ||
18597 | wxPyEndAllowThreads(__tstate); | |
18598 | if (PyErr_Occurred()) SWIG_fail; | |
18599 | } | |
18600 | Py_INCREF(Py_None); resultobj = Py_None; | |
18601 | return resultobj; | |
18602 | fail: | |
18603 | return NULL; | |
18604 | } | |
18605 | ||
18606 | ||
c32bde28 | 18607 | static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
1cb4a8aa RD |
18608 | PyObject *resultobj; |
18609 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18610 | int result; | |
18611 | PyObject * obj0 = 0 ; | |
18612 | char *kwnames[] = { | |
18613 | (char *) "self", NULL | |
18614 | }; | |
18615 | ||
18616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail; | |
18617 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18619 | { | |
18620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18621 | result = (int)(arg1)->GetNoCopies(); | |
18622 | ||
18623 | wxPyEndAllowThreads(__tstate); | |
18624 | if (PyErr_Occurred()) SWIG_fail; | |
18625 | } | |
c32bde28 | 18626 | resultobj = SWIG_From_int((int)result); |
1cb4a8aa RD |
18627 | return resultobj; |
18628 | fail: | |
d14a1e28 RD |
18629 | return NULL; |
18630 | } | |
18631 | ||
18632 | ||
c32bde28 | 18633 | static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18634 | PyObject *resultobj; |
18635 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18636 | bool result; | |
18637 | PyObject * obj0 = 0 ; | |
18638 | char *kwnames[] = { | |
18639 | (char *) "self", NULL | |
18640 | }; | |
18641 | ||
18642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18643 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18644 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18645 | { |
18646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18647 | result = (bool)(arg1)->GetCollate(); | |
18648 | ||
18649 | wxPyEndAllowThreads(__tstate); | |
18650 | if (PyErr_Occurred()) SWIG_fail; | |
18651 | } | |
4f89f6a3 RD |
18652 | { |
18653 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18654 | } | |
d14a1e28 RD |
18655 | return resultobj; |
18656 | fail: | |
18657 | return NULL; | |
18658 | } | |
18659 | ||
18660 | ||
c32bde28 | 18661 | static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18662 | PyObject *resultobj; |
18663 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18664 | int result; | |
18665 | PyObject * obj0 = 0 ; | |
18666 | char *kwnames[] = { | |
18667 | (char *) "self", NULL | |
18668 | }; | |
18669 | ||
18670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18671 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18672 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18673 | { |
18674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18675 | result = (int)(arg1)->GetOrientation(); | |
18676 | ||
18677 | wxPyEndAllowThreads(__tstate); | |
18678 | if (PyErr_Occurred()) SWIG_fail; | |
18679 | } | |
c32bde28 | 18680 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18681 | return resultobj; |
18682 | fail: | |
18683 | return NULL; | |
18684 | } | |
18685 | ||
18686 | ||
c32bde28 | 18687 | static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18688 | PyObject *resultobj; |
18689 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18690 | bool result; | |
18691 | PyObject * obj0 = 0 ; | |
18692 | char *kwnames[] = { | |
18693 | (char *) "self", NULL | |
18694 | }; | |
18695 | ||
18696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18697 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18698 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18699 | { |
18700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18701 | result = (bool)(arg1)->Ok(); | |
18702 | ||
18703 | wxPyEndAllowThreads(__tstate); | |
18704 | if (PyErr_Occurred()) SWIG_fail; | |
18705 | } | |
4f89f6a3 RD |
18706 | { |
18707 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18708 | } | |
d14a1e28 RD |
18709 | return resultobj; |
18710 | fail: | |
18711 | return NULL; | |
18712 | } | |
18713 | ||
18714 | ||
c32bde28 | 18715 | static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18716 | PyObject *resultobj; |
18717 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18718 | wxString *result; | |
18719 | PyObject * obj0 = 0 ; | |
18720 | char *kwnames[] = { | |
18721 | (char *) "self", NULL | |
18722 | }; | |
18723 | ||
18724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18725 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18726 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18727 | { |
18728 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18729 | { | |
18730 | wxString const &_result_ref = (arg1)->GetPrinterName(); | |
18731 | result = (wxString *) &_result_ref; | |
18732 | } | |
18733 | ||
18734 | wxPyEndAllowThreads(__tstate); | |
18735 | if (PyErr_Occurred()) SWIG_fail; | |
18736 | } | |
cc6dd355 RD |
18737 | { |
18738 | #if wxUSE_UNICODE | |
18739 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
18740 | #else | |
18741 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
18742 | #endif | |
18743 | } | |
d14a1e28 RD |
18744 | return resultobj; |
18745 | fail: | |
18746 | return NULL; | |
18747 | } | |
18748 | ||
18749 | ||
c32bde28 | 18750 | static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18751 | PyObject *resultobj; |
18752 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18753 | bool result; | |
18754 | PyObject * obj0 = 0 ; | |
18755 | char *kwnames[] = { | |
18756 | (char *) "self", NULL | |
18757 | }; | |
18758 | ||
18759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18760 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18761 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18762 | { |
18763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18764 | result = (bool)(arg1)->GetColour(); | |
18765 | ||
18766 | wxPyEndAllowThreads(__tstate); | |
18767 | if (PyErr_Occurred()) SWIG_fail; | |
18768 | } | |
4f89f6a3 RD |
18769 | { |
18770 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
18771 | } | |
d14a1e28 RD |
18772 | return resultobj; |
18773 | fail: | |
18774 | return NULL; | |
18775 | } | |
18776 | ||
18777 | ||
c32bde28 | 18778 | static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18779 | PyObject *resultobj; |
18780 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18781 | int result; | |
18782 | PyObject * obj0 = 0 ; | |
18783 | char *kwnames[] = { | |
18784 | (char *) "self", NULL | |
18785 | }; | |
18786 | ||
18787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18790 | { |
18791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18792 | result = (int)(arg1)->GetDuplex(); | |
18793 | ||
18794 | wxPyEndAllowThreads(__tstate); | |
18795 | if (PyErr_Occurred()) SWIG_fail; | |
18796 | } | |
c32bde28 | 18797 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18798 | return resultobj; |
18799 | fail: | |
18800 | return NULL; | |
18801 | } | |
18802 | ||
18803 | ||
c32bde28 | 18804 | static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18805 | PyObject *resultobj; |
18806 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18807 | int result; | |
18808 | PyObject * obj0 = 0 ; | |
18809 | char *kwnames[] = { | |
18810 | (char *) "self", NULL | |
18811 | }; | |
18812 | ||
18813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18814 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18815 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18816 | { |
18817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18818 | result = (int)(arg1)->GetPaperId(); | |
18819 | ||
18820 | wxPyEndAllowThreads(__tstate); | |
18821 | if (PyErr_Occurred()) SWIG_fail; | |
18822 | } | |
c32bde28 | 18823 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18824 | return resultobj; |
18825 | fail: | |
18826 | return NULL; | |
18827 | } | |
18828 | ||
18829 | ||
c32bde28 | 18830 | static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18831 | PyObject *resultobj; |
18832 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18833 | wxSize *result; | |
18834 | PyObject * obj0 = 0 ; | |
18835 | char *kwnames[] = { | |
18836 | (char *) "self", NULL | |
18837 | }; | |
18838 | ||
18839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18840 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18841 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18842 | { |
18843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18844 | { | |
18845 | wxSize const &_result_ref = (arg1)->GetPaperSize(); | |
18846 | result = (wxSize *) &_result_ref; | |
18847 | } | |
18848 | ||
18849 | wxPyEndAllowThreads(__tstate); | |
18850 | if (PyErr_Occurred()) SWIG_fail; | |
18851 | } | |
15afbcd0 | 18852 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0); |
d14a1e28 RD |
18853 | return resultobj; |
18854 | fail: | |
18855 | return NULL; | |
18856 | } | |
18857 | ||
18858 | ||
c32bde28 | 18859 | static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18860 | PyObject *resultobj; |
18861 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 18862 | int result; |
d14a1e28 RD |
18863 | PyObject * obj0 = 0 ; |
18864 | char *kwnames[] = { | |
18865 | (char *) "self", NULL | |
18866 | }; | |
18867 | ||
18868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
18869 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18870 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
18871 | { |
18872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
b2dc1044 | 18873 | result = (int)(arg1)->GetQuality(); |
d14a1e28 RD |
18874 | |
18875 | wxPyEndAllowThreads(__tstate); | |
18876 | if (PyErr_Occurred()) SWIG_fail; | |
18877 | } | |
c32bde28 | 18878 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
18879 | return resultobj; |
18880 | fail: | |
18881 | return NULL; | |
18882 | } | |
18883 | ||
18884 | ||
2ef75293 RD |
18885 | static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
18886 | PyObject *resultobj; | |
18887 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18888 | int result; | |
18889 | PyObject * obj0 = 0 ; | |
18890 | char *kwnames[] = { | |
18891 | (char *) "self", NULL | |
18892 | }; | |
18893 | ||
18894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail; | |
18895 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18896 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18897 | { | |
18898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18899 | result = (int)(arg1)->GetBin(); | |
18900 | ||
18901 | wxPyEndAllowThreads(__tstate); | |
18902 | if (PyErr_Occurred()) SWIG_fail; | |
18903 | } | |
18904 | resultobj = SWIG_From_int((int)result); | |
18905 | return resultobj; | |
18906 | fail: | |
18907 | return NULL; | |
18908 | } | |
18909 | ||
18910 | ||
d3b6e4ff RD |
18911 | static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
18912 | PyObject *resultobj; | |
18913 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18914 | int result; | |
18915 | PyObject * obj0 = 0 ; | |
18916 | char *kwnames[] = { | |
18917 | (char *) "self", NULL | |
18918 | }; | |
18919 | ||
18920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail; | |
18921 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
18922 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
18923 | { | |
18924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18925 | result = (int)((wxPrintData const *)arg1)->GetPrintMode(); | |
18926 | ||
18927 | wxPyEndAllowThreads(__tstate); | |
18928 | if (PyErr_Occurred()) SWIG_fail; | |
18929 | } | |
18930 | resultobj = SWIG_From_int((int)result); | |
18931 | return resultobj; | |
18932 | fail: | |
18933 | return NULL; | |
18934 | } | |
18935 | ||
18936 | ||
c32bde28 | 18937 | static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18938 | PyObject *resultobj; |
18939 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18940 | int arg2 ; | |
18941 | PyObject * obj0 = 0 ; | |
994141e6 | 18942 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
18943 | char *kwnames[] = { |
18944 | (char *) "self",(char *) "v", NULL | |
18945 | }; | |
18946 | ||
994141e6 | 18947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
18948 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18949 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18950 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 18951 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18952 | { |
18953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18954 | (arg1)->SetNoCopies(arg2); | |
18955 | ||
18956 | wxPyEndAllowThreads(__tstate); | |
18957 | if (PyErr_Occurred()) SWIG_fail; | |
18958 | } | |
18959 | Py_INCREF(Py_None); resultobj = Py_None; | |
18960 | return resultobj; | |
18961 | fail: | |
18962 | return NULL; | |
18963 | } | |
18964 | ||
18965 | ||
c32bde28 | 18966 | static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18967 | PyObject *resultobj; |
18968 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18969 | bool arg2 ; | |
18970 | PyObject * obj0 = 0 ; | |
18971 | PyObject * obj1 = 0 ; | |
18972 | char *kwnames[] = { | |
18973 | (char *) "self",(char *) "flag", NULL | |
18974 | }; | |
18975 | ||
18976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
18977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
18978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 18979 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 18980 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
18981 | { |
18982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
18983 | (arg1)->SetCollate(arg2); | |
18984 | ||
18985 | wxPyEndAllowThreads(__tstate); | |
18986 | if (PyErr_Occurred()) SWIG_fail; | |
18987 | } | |
18988 | Py_INCREF(Py_None); resultobj = Py_None; | |
18989 | return resultobj; | |
18990 | fail: | |
18991 | return NULL; | |
18992 | } | |
18993 | ||
18994 | ||
c32bde28 | 18995 | static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
18996 | PyObject *resultobj; |
18997 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
18998 | int arg2 ; | |
18999 | PyObject * obj0 = 0 ; | |
994141e6 | 19000 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19001 | char *kwnames[] = { |
19002 | (char *) "self",(char *) "orient", NULL | |
19003 | }; | |
19004 | ||
994141e6 | 19005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19006 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19007 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19008 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 19009 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19010 | { |
19011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19012 | (arg1)->SetOrientation(arg2); | |
19013 | ||
19014 | wxPyEndAllowThreads(__tstate); | |
19015 | if (PyErr_Occurred()) SWIG_fail; | |
19016 | } | |
19017 | Py_INCREF(Py_None); resultobj = Py_None; | |
19018 | return resultobj; | |
19019 | fail: | |
19020 | return NULL; | |
19021 | } | |
19022 | ||
19023 | ||
c32bde28 | 19024 | static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19025 | PyObject *resultobj; |
19026 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19027 | wxString *arg2 = 0 ; | |
ae8162c8 | 19028 | bool temp2 = false ; |
d14a1e28 RD |
19029 | PyObject * obj0 = 0 ; |
19030 | PyObject * obj1 = 0 ; | |
19031 | char *kwnames[] = { | |
19032 | (char *) "self",(char *) "name", NULL | |
19033 | }; | |
19034 | ||
19035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19038 | { |
19039 | arg2 = wxString_in_helper(obj1); | |
19040 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19041 | temp2 = true; |
d14a1e28 RD |
19042 | } |
19043 | { | |
19044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19045 | (arg1)->SetPrinterName((wxString const &)*arg2); | |
19046 | ||
19047 | wxPyEndAllowThreads(__tstate); | |
19048 | if (PyErr_Occurred()) SWIG_fail; | |
19049 | } | |
19050 | Py_INCREF(Py_None); resultobj = Py_None; | |
19051 | { | |
19052 | if (temp2) | |
19053 | delete arg2; | |
19054 | } | |
19055 | return resultobj; | |
19056 | fail: | |
19057 | { | |
19058 | if (temp2) | |
19059 | delete arg2; | |
19060 | } | |
19061 | return NULL; | |
19062 | } | |
19063 | ||
19064 | ||
c32bde28 | 19065 | static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19066 | PyObject *resultobj; |
19067 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19068 | bool arg2 ; | |
19069 | PyObject * obj0 = 0 ; | |
19070 | PyObject * obj1 = 0 ; | |
19071 | char *kwnames[] = { | |
19072 | (char *) "self",(char *) "colour", NULL | |
19073 | }; | |
19074 | ||
19075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19076 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19077 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19078 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 19079 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19080 | { |
19081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19082 | (arg1)->SetColour(arg2); | |
19083 | ||
19084 | wxPyEndAllowThreads(__tstate); | |
19085 | if (PyErr_Occurred()) SWIG_fail; | |
19086 | } | |
19087 | Py_INCREF(Py_None); resultobj = Py_None; | |
19088 | return resultobj; | |
19089 | fail: | |
19090 | return NULL; | |
19091 | } | |
19092 | ||
19093 | ||
c32bde28 | 19094 | static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19095 | PyObject *resultobj; |
19096 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19097 | int arg2 ; | |
19098 | PyObject * obj0 = 0 ; | |
994141e6 | 19099 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19100 | char *kwnames[] = { |
19101 | (char *) "self",(char *) "duplex", NULL | |
19102 | }; | |
19103 | ||
994141e6 | 19104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19105 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19106 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19107 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 19108 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19109 | { |
19110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19111 | (arg1)->SetDuplex((wxDuplexMode )arg2); | |
19112 | ||
19113 | wxPyEndAllowThreads(__tstate); | |
19114 | if (PyErr_Occurred()) SWIG_fail; | |
19115 | } | |
19116 | Py_INCREF(Py_None); resultobj = Py_None; | |
19117 | return resultobj; | |
19118 | fail: | |
19119 | return NULL; | |
19120 | } | |
19121 | ||
19122 | ||
c32bde28 | 19123 | static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19124 | PyObject *resultobj; |
19125 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19126 | int arg2 ; | |
19127 | PyObject * obj0 = 0 ; | |
994141e6 | 19128 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19129 | char *kwnames[] = { |
19130 | (char *) "self",(char *) "sizeId", NULL | |
19131 | }; | |
19132 | ||
994141e6 | 19133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19134 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19135 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19136 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 19137 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19138 | { |
19139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19140 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
19141 | ||
19142 | wxPyEndAllowThreads(__tstate); | |
19143 | if (PyErr_Occurred()) SWIG_fail; | |
19144 | } | |
19145 | Py_INCREF(Py_None); resultobj = Py_None; | |
19146 | return resultobj; | |
19147 | fail: | |
19148 | return NULL; | |
19149 | } | |
19150 | ||
19151 | ||
c32bde28 | 19152 | static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19153 | PyObject *resultobj; |
19154 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19155 | wxSize *arg2 = 0 ; | |
19156 | wxSize temp2 ; | |
19157 | PyObject * obj0 = 0 ; | |
19158 | PyObject * obj1 = 0 ; | |
19159 | char *kwnames[] = { | |
19160 | (char *) "self",(char *) "sz", NULL | |
19161 | }; | |
19162 | ||
19163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19164 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19165 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19166 | { |
19167 | arg2 = &temp2; | |
19168 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
19169 | } | |
19170 | { | |
19171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19172 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
19173 | ||
19174 | wxPyEndAllowThreads(__tstate); | |
19175 | if (PyErr_Occurred()) SWIG_fail; | |
19176 | } | |
19177 | Py_INCREF(Py_None); resultobj = Py_None; | |
19178 | return resultobj; | |
19179 | fail: | |
19180 | return NULL; | |
19181 | } | |
19182 | ||
19183 | ||
c32bde28 | 19184 | static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19185 | PyObject *resultobj; |
19186 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
b2dc1044 | 19187 | int arg2 ; |
d14a1e28 | 19188 | PyObject * obj0 = 0 ; |
994141e6 | 19189 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19190 | char *kwnames[] = { |
19191 | (char *) "self",(char *) "quality", NULL | |
19192 | }; | |
19193 | ||
994141e6 | 19194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19197 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 19198 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19199 | { |
19200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19201 | (arg1)->SetQuality(arg2); | |
19202 | ||
19203 | wxPyEndAllowThreads(__tstate); | |
19204 | if (PyErr_Occurred()) SWIG_fail; | |
19205 | } | |
19206 | Py_INCREF(Py_None); resultobj = Py_None; | |
19207 | return resultobj; | |
19208 | fail: | |
19209 | return NULL; | |
19210 | } | |
19211 | ||
19212 | ||
2ef75293 RD |
19213 | static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) { |
19214 | PyObject *resultobj; | |
19215 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19216 | int arg2 ; | |
19217 | PyObject * obj0 = 0 ; | |
19218 | PyObject * obj1 = 0 ; | |
19219 | char *kwnames[] = { | |
19220 | (char *) "self",(char *) "bin", NULL | |
19221 | }; | |
19222 | ||
19223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail; | |
19224 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19225 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19226 | arg2 = (int)SWIG_As_int(obj1); | |
19227 | if (PyErr_Occurred()) SWIG_fail; | |
19228 | { | |
19229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19230 | (arg1)->SetBin((wxPrintBin )arg2); | |
19231 | ||
19232 | wxPyEndAllowThreads(__tstate); | |
19233 | if (PyErr_Occurred()) SWIG_fail; | |
19234 | } | |
19235 | Py_INCREF(Py_None); resultobj = Py_None; | |
19236 | return resultobj; | |
19237 | fail: | |
19238 | return NULL; | |
19239 | } | |
19240 | ||
19241 | ||
d3b6e4ff | 19242 | static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19243 | PyObject *resultobj; |
19244 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d3b6e4ff RD |
19245 | int arg2 ; |
19246 | PyObject * obj0 = 0 ; | |
19247 | PyObject * obj1 = 0 ; | |
19248 | char *kwnames[] = { | |
19249 | (char *) "self",(char *) "printMode", NULL | |
19250 | }; | |
19251 | ||
19252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail; | |
19253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19255 | arg2 = (int)SWIG_As_int(obj1); | |
19256 | if (PyErr_Occurred()) SWIG_fail; | |
19257 | { | |
19258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19259 | (arg1)->SetPrintMode((wxPrintMode )arg2); | |
19260 | ||
19261 | wxPyEndAllowThreads(__tstate); | |
19262 | if (PyErr_Occurred()) SWIG_fail; | |
19263 | } | |
19264 | Py_INCREF(Py_None); resultobj = Py_None; | |
19265 | return resultobj; | |
19266 | fail: | |
19267 | return NULL; | |
19268 | } | |
19269 | ||
19270 | ||
19271 | static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) { | |
19272 | PyObject *resultobj; | |
19273 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19274 | wxString result; | |
d14a1e28 RD |
19275 | PyObject * obj0 = 0 ; |
19276 | char *kwnames[] = { | |
19277 | (char *) "self", NULL | |
19278 | }; | |
19279 | ||
d3b6e4ff | 19280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
19281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19283 | { |
19284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 19285 | result = ((wxPrintData const *)arg1)->GetFilename(); |
d14a1e28 RD |
19286 | |
19287 | wxPyEndAllowThreads(__tstate); | |
19288 | if (PyErr_Occurred()) SWIG_fail; | |
19289 | } | |
cc6dd355 RD |
19290 | { |
19291 | #if wxUSE_UNICODE | |
d3b6e4ff | 19292 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
cc6dd355 | 19293 | #else |
d3b6e4ff | 19294 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
cc6dd355 RD |
19295 | #endif |
19296 | } | |
d14a1e28 RD |
19297 | return resultobj; |
19298 | fail: | |
19299 | return NULL; | |
19300 | } | |
19301 | ||
19302 | ||
d3b6e4ff RD |
19303 | static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) { |
19304 | PyObject *resultobj; | |
19305 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19306 | wxString *arg2 = 0 ; | |
19307 | bool temp2 = false ; | |
19308 | PyObject * obj0 = 0 ; | |
19309 | PyObject * obj1 = 0 ; | |
19310 | char *kwnames[] = { | |
19311 | (char *) "self",(char *) "filename", NULL | |
19312 | }; | |
19313 | ||
19314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail; | |
19315 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
19316 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
19317 | { | |
19318 | arg2 = wxString_in_helper(obj1); | |
19319 | if (arg2 == NULL) SWIG_fail; | |
19320 | temp2 = true; | |
19321 | } | |
19322 | { | |
19323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19324 | (arg1)->SetFilename((wxString const &)*arg2); | |
19325 | ||
19326 | wxPyEndAllowThreads(__tstate); | |
19327 | if (PyErr_Occurred()) SWIG_fail; | |
19328 | } | |
19329 | Py_INCREF(Py_None); resultobj = Py_None; | |
19330 | { | |
19331 | if (temp2) | |
19332 | delete arg2; | |
19333 | } | |
19334 | return resultobj; | |
19335 | fail: | |
19336 | { | |
19337 | if (temp2) | |
19338 | delete arg2; | |
19339 | } | |
19340 | return NULL; | |
19341 | } | |
19342 | ||
19343 | ||
19344 | static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { | |
d14a1e28 RD |
19345 | PyObject *resultobj; |
19346 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19347 | wxString *result; | |
19348 | PyObject * obj0 = 0 ; | |
19349 | char *kwnames[] = { | |
19350 | (char *) "self", NULL | |
19351 | }; | |
19352 | ||
d3b6e4ff | 19353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
19354 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19355 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19356 | { |
19357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19358 | { | |
d3b6e4ff | 19359 | wxString const &_result_ref = (arg1)->GetPrinterCommand(); |
d14a1e28 RD |
19360 | result = (wxString *) &_result_ref; |
19361 | } | |
19362 | ||
19363 | wxPyEndAllowThreads(__tstate); | |
19364 | if (PyErr_Occurred()) SWIG_fail; | |
19365 | } | |
cc6dd355 RD |
19366 | { |
19367 | #if wxUSE_UNICODE | |
19368 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19369 | #else | |
19370 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19371 | #endif | |
19372 | } | |
d14a1e28 RD |
19373 | return resultobj; |
19374 | fail: | |
19375 | return NULL; | |
19376 | } | |
19377 | ||
19378 | ||
d3b6e4ff | 19379 | static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19380 | PyObject *resultobj; |
19381 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19382 | wxString *result; | |
19383 | PyObject * obj0 = 0 ; | |
19384 | char *kwnames[] = { | |
19385 | (char *) "self", NULL | |
19386 | }; | |
19387 | ||
d3b6e4ff | 19388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
19389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19391 | { |
19392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19393 | { | |
d3b6e4ff | 19394 | wxString const &_result_ref = (arg1)->GetPrinterOptions(); |
d14a1e28 RD |
19395 | result = (wxString *) &_result_ref; |
19396 | } | |
19397 | ||
19398 | wxPyEndAllowThreads(__tstate); | |
19399 | if (PyErr_Occurred()) SWIG_fail; | |
19400 | } | |
cc6dd355 RD |
19401 | { |
19402 | #if wxUSE_UNICODE | |
19403 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19404 | #else | |
19405 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19406 | #endif | |
19407 | } | |
d14a1e28 RD |
19408 | return resultobj; |
19409 | fail: | |
19410 | return NULL; | |
19411 | } | |
19412 | ||
19413 | ||
d3b6e4ff | 19414 | static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19415 | PyObject *resultobj; |
19416 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19417 | wxString *result; | |
19418 | PyObject * obj0 = 0 ; | |
19419 | char *kwnames[] = { | |
19420 | (char *) "self", NULL | |
19421 | }; | |
19422 | ||
d3b6e4ff | 19423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
19424 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19425 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19426 | { |
19427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19428 | { | |
d3b6e4ff | 19429 | wxString const &_result_ref = (arg1)->GetPreviewCommand(); |
d14a1e28 RD |
19430 | result = (wxString *) &_result_ref; |
19431 | } | |
19432 | ||
19433 | wxPyEndAllowThreads(__tstate); | |
19434 | if (PyErr_Occurred()) SWIG_fail; | |
19435 | } | |
cc6dd355 RD |
19436 | { |
19437 | #if wxUSE_UNICODE | |
19438 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19439 | #else | |
19440 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19441 | #endif | |
19442 | } | |
d14a1e28 RD |
19443 | return resultobj; |
19444 | fail: | |
19445 | return NULL; | |
19446 | } | |
19447 | ||
19448 | ||
c32bde28 | 19449 | static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19450 | PyObject *resultobj; |
19451 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19452 | wxString *result; | |
19453 | PyObject * obj0 = 0 ; | |
19454 | char *kwnames[] = { | |
19455 | (char *) "self", NULL | |
19456 | }; | |
19457 | ||
19458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19461 | { |
19462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19463 | { | |
19464 | wxString const &_result_ref = (arg1)->GetFontMetricPath(); | |
19465 | result = (wxString *) &_result_ref; | |
19466 | } | |
19467 | ||
19468 | wxPyEndAllowThreads(__tstate); | |
19469 | if (PyErr_Occurred()) SWIG_fail; | |
19470 | } | |
cc6dd355 RD |
19471 | { |
19472 | #if wxUSE_UNICODE | |
19473 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
19474 | #else | |
19475 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
19476 | #endif | |
19477 | } | |
d14a1e28 RD |
19478 | return resultobj; |
19479 | fail: | |
19480 | return NULL; | |
19481 | } | |
19482 | ||
19483 | ||
c32bde28 | 19484 | static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19485 | PyObject *resultobj; |
19486 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19487 | double result; | |
19488 | PyObject * obj0 = 0 ; | |
19489 | char *kwnames[] = { | |
19490 | (char *) "self", NULL | |
19491 | }; | |
19492 | ||
19493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19496 | { |
19497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19498 | result = (double)(arg1)->GetPrinterScaleX(); | |
19499 | ||
19500 | wxPyEndAllowThreads(__tstate); | |
19501 | if (PyErr_Occurred()) SWIG_fail; | |
19502 | } | |
c32bde28 | 19503 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
19504 | return resultobj; |
19505 | fail: | |
19506 | return NULL; | |
19507 | } | |
19508 | ||
19509 | ||
c32bde28 | 19510 | static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19511 | PyObject *resultobj; |
19512 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19513 | double result; | |
19514 | PyObject * obj0 = 0 ; | |
19515 | char *kwnames[] = { | |
19516 | (char *) "self", NULL | |
19517 | }; | |
19518 | ||
19519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19520 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19521 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19522 | { |
19523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19524 | result = (double)(arg1)->GetPrinterScaleY(); | |
19525 | ||
19526 | wxPyEndAllowThreads(__tstate); | |
19527 | if (PyErr_Occurred()) SWIG_fail; | |
19528 | } | |
c32bde28 | 19529 | resultobj = SWIG_From_double((double)result); |
d14a1e28 RD |
19530 | return resultobj; |
19531 | fail: | |
19532 | return NULL; | |
19533 | } | |
19534 | ||
19535 | ||
c32bde28 | 19536 | static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19537 | PyObject *resultobj; |
19538 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19539 | long result; | |
19540 | PyObject * obj0 = 0 ; | |
19541 | char *kwnames[] = { | |
19542 | (char *) "self", NULL | |
19543 | }; | |
19544 | ||
19545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19548 | { |
19549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19550 | result = (long)(arg1)->GetPrinterTranslateX(); | |
19551 | ||
19552 | wxPyEndAllowThreads(__tstate); | |
19553 | if (PyErr_Occurred()) SWIG_fail; | |
19554 | } | |
c32bde28 | 19555 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
19556 | return resultobj; |
19557 | fail: | |
19558 | return NULL; | |
19559 | } | |
19560 | ||
19561 | ||
c32bde28 | 19562 | static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19563 | PyObject *resultobj; |
19564 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19565 | long result; | |
19566 | PyObject * obj0 = 0 ; | |
19567 | char *kwnames[] = { | |
19568 | (char *) "self", NULL | |
19569 | }; | |
19570 | ||
19571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
19572 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19573 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19574 | { |
19575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19576 | result = (long)(arg1)->GetPrinterTranslateY(); | |
19577 | ||
19578 | wxPyEndAllowThreads(__tstate); | |
19579 | if (PyErr_Occurred()) SWIG_fail; | |
19580 | } | |
c32bde28 | 19581 | resultobj = SWIG_From_long((long)result); |
d14a1e28 RD |
19582 | return resultobj; |
19583 | fail: | |
19584 | return NULL; | |
19585 | } | |
19586 | ||
19587 | ||
d3b6e4ff | 19588 | static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19589 | PyObject *resultobj; |
19590 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
d3b6e4ff RD |
19591 | wxString *arg2 = 0 ; |
19592 | bool temp2 = false ; | |
d14a1e28 | 19593 | PyObject * obj0 = 0 ; |
d3b6e4ff | 19594 | PyObject * obj1 = 0 ; |
d14a1e28 | 19595 | char *kwnames[] = { |
d3b6e4ff | 19596 | (char *) "self",(char *) "command", NULL |
d14a1e28 RD |
19597 | }; |
19598 | ||
d3b6e4ff | 19599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19600 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19601 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d3b6e4ff RD |
19602 | { |
19603 | arg2 = wxString_in_helper(obj1); | |
19604 | if (arg2 == NULL) SWIG_fail; | |
19605 | temp2 = true; | |
19606 | } | |
d14a1e28 RD |
19607 | { |
19608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 19609 | (arg1)->SetPrinterCommand((wxString const &)*arg2); |
d14a1e28 RD |
19610 | |
19611 | wxPyEndAllowThreads(__tstate); | |
19612 | if (PyErr_Occurred()) SWIG_fail; | |
19613 | } | |
d3b6e4ff RD |
19614 | Py_INCREF(Py_None); resultobj = Py_None; |
19615 | { | |
19616 | if (temp2) | |
19617 | delete arg2; | |
19618 | } | |
d14a1e28 RD |
19619 | return resultobj; |
19620 | fail: | |
19621 | { | |
19622 | if (temp2) | |
19623 | delete arg2; | |
19624 | } | |
19625 | return NULL; | |
19626 | } | |
19627 | ||
19628 | ||
c32bde28 | 19629 | static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19630 | PyObject *resultobj; |
19631 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19632 | wxString *arg2 = 0 ; | |
ae8162c8 | 19633 | bool temp2 = false ; |
d14a1e28 RD |
19634 | PyObject * obj0 = 0 ; |
19635 | PyObject * obj1 = 0 ; | |
19636 | char *kwnames[] = { | |
19637 | (char *) "self",(char *) "options", NULL | |
19638 | }; | |
19639 | ||
19640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19641 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19642 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19643 | { |
19644 | arg2 = wxString_in_helper(obj1); | |
19645 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19646 | temp2 = true; |
d14a1e28 RD |
19647 | } |
19648 | { | |
19649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19650 | (arg1)->SetPrinterOptions((wxString const &)*arg2); | |
19651 | ||
19652 | wxPyEndAllowThreads(__tstate); | |
19653 | if (PyErr_Occurred()) SWIG_fail; | |
19654 | } | |
19655 | Py_INCREF(Py_None); resultobj = Py_None; | |
19656 | { | |
19657 | if (temp2) | |
19658 | delete arg2; | |
19659 | } | |
19660 | return resultobj; | |
19661 | fail: | |
19662 | { | |
19663 | if (temp2) | |
19664 | delete arg2; | |
19665 | } | |
19666 | return NULL; | |
19667 | } | |
19668 | ||
19669 | ||
c32bde28 | 19670 | static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19671 | PyObject *resultobj; |
19672 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19673 | wxString *arg2 = 0 ; | |
ae8162c8 | 19674 | bool temp2 = false ; |
d14a1e28 RD |
19675 | PyObject * obj0 = 0 ; |
19676 | PyObject * obj1 = 0 ; | |
19677 | char *kwnames[] = { | |
19678 | (char *) "self",(char *) "command", NULL | |
19679 | }; | |
19680 | ||
19681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19682 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19683 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19684 | { |
19685 | arg2 = wxString_in_helper(obj1); | |
19686 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19687 | temp2 = true; |
d14a1e28 RD |
19688 | } |
19689 | { | |
19690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19691 | (arg1)->SetPreviewCommand((wxString const &)*arg2); | |
19692 | ||
19693 | wxPyEndAllowThreads(__tstate); | |
19694 | if (PyErr_Occurred()) SWIG_fail; | |
19695 | } | |
19696 | Py_INCREF(Py_None); resultobj = Py_None; | |
19697 | { | |
19698 | if (temp2) | |
19699 | delete arg2; | |
19700 | } | |
19701 | return resultobj; | |
19702 | fail: | |
19703 | { | |
19704 | if (temp2) | |
19705 | delete arg2; | |
19706 | } | |
19707 | return NULL; | |
19708 | } | |
19709 | ||
19710 | ||
c32bde28 | 19711 | static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19712 | PyObject *resultobj; |
19713 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19714 | wxString *arg2 = 0 ; | |
ae8162c8 | 19715 | bool temp2 = false ; |
d14a1e28 RD |
19716 | PyObject * obj0 = 0 ; |
19717 | PyObject * obj1 = 0 ; | |
19718 | char *kwnames[] = { | |
19719 | (char *) "self",(char *) "path", NULL | |
19720 | }; | |
19721 | ||
19722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
19723 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19724 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
19725 | { |
19726 | arg2 = wxString_in_helper(obj1); | |
19727 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 19728 | temp2 = true; |
d14a1e28 RD |
19729 | } |
19730 | { | |
19731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19732 | (arg1)->SetFontMetricPath((wxString const &)*arg2); | |
19733 | ||
19734 | wxPyEndAllowThreads(__tstate); | |
19735 | if (PyErr_Occurred()) SWIG_fail; | |
19736 | } | |
19737 | Py_INCREF(Py_None); resultobj = Py_None; | |
19738 | { | |
19739 | if (temp2) | |
19740 | delete arg2; | |
19741 | } | |
19742 | return resultobj; | |
19743 | fail: | |
19744 | { | |
19745 | if (temp2) | |
19746 | delete arg2; | |
19747 | } | |
19748 | return NULL; | |
19749 | } | |
19750 | ||
19751 | ||
c32bde28 | 19752 | static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19753 | PyObject *resultobj; |
19754 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19755 | double arg2 ; | |
19756 | PyObject * obj0 = 0 ; | |
994141e6 | 19757 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19758 | char *kwnames[] = { |
19759 | (char *) "self",(char *) "x", NULL | |
19760 | }; | |
19761 | ||
994141e6 | 19762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19765 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19766 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19767 | { |
19768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19769 | (arg1)->SetPrinterScaleX(arg2); | |
19770 | ||
19771 | wxPyEndAllowThreads(__tstate); | |
19772 | if (PyErr_Occurred()) SWIG_fail; | |
19773 | } | |
19774 | Py_INCREF(Py_None); resultobj = Py_None; | |
19775 | return resultobj; | |
19776 | fail: | |
19777 | return NULL; | |
19778 | } | |
19779 | ||
19780 | ||
c32bde28 | 19781 | static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19782 | PyObject *resultobj; |
19783 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19784 | double arg2 ; | |
19785 | PyObject * obj0 = 0 ; | |
994141e6 | 19786 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19787 | char *kwnames[] = { |
19788 | (char *) "self",(char *) "y", NULL | |
19789 | }; | |
19790 | ||
994141e6 | 19791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19792 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19794 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19795 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19796 | { |
19797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19798 | (arg1)->SetPrinterScaleY(arg2); | |
19799 | ||
19800 | wxPyEndAllowThreads(__tstate); | |
19801 | if (PyErr_Occurred()) SWIG_fail; | |
19802 | } | |
19803 | Py_INCREF(Py_None); resultobj = Py_None; | |
19804 | return resultobj; | |
19805 | fail: | |
19806 | return NULL; | |
19807 | } | |
19808 | ||
19809 | ||
c32bde28 | 19810 | static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19811 | PyObject *resultobj; |
19812 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19813 | double arg2 ; | |
19814 | double arg3 ; | |
19815 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19816 | PyObject * obj1 = 0 ; |
19817 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19818 | char *kwnames[] = { |
19819 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19820 | }; | |
19821 | ||
994141e6 | 19822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19825 | arg2 = (double)SWIG_As_double(obj1); |
15afbcd0 | 19826 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 19827 | arg3 = (double)SWIG_As_double(obj2); |
15afbcd0 | 19828 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19829 | { |
19830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19831 | (arg1)->SetPrinterScaling(arg2,arg3); | |
19832 | ||
19833 | wxPyEndAllowThreads(__tstate); | |
19834 | if (PyErr_Occurred()) SWIG_fail; | |
19835 | } | |
19836 | Py_INCREF(Py_None); resultobj = Py_None; | |
19837 | return resultobj; | |
19838 | fail: | |
19839 | return NULL; | |
19840 | } | |
19841 | ||
19842 | ||
c32bde28 | 19843 | static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19844 | PyObject *resultobj; |
19845 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19846 | long arg2 ; | |
19847 | PyObject * obj0 = 0 ; | |
994141e6 | 19848 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19849 | char *kwnames[] = { |
19850 | (char *) "self",(char *) "x", NULL | |
19851 | }; | |
19852 | ||
994141e6 | 19853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19854 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19856 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19857 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19858 | { |
19859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19860 | (arg1)->SetPrinterTranslateX(arg2); | |
19861 | ||
19862 | wxPyEndAllowThreads(__tstate); | |
19863 | if (PyErr_Occurred()) SWIG_fail; | |
19864 | } | |
19865 | Py_INCREF(Py_None); resultobj = Py_None; | |
19866 | return resultobj; | |
19867 | fail: | |
19868 | return NULL; | |
19869 | } | |
19870 | ||
19871 | ||
c32bde28 | 19872 | static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19873 | PyObject *resultobj; |
19874 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19875 | long arg2 ; | |
19876 | PyObject * obj0 = 0 ; | |
994141e6 | 19877 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
19878 | char *kwnames[] = { |
19879 | (char *) "self",(char *) "y", NULL | |
19880 | }; | |
19881 | ||
994141e6 | 19882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
19883 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19884 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19885 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19886 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19887 | { |
19888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19889 | (arg1)->SetPrinterTranslateY(arg2); | |
19890 | ||
19891 | wxPyEndAllowThreads(__tstate); | |
19892 | if (PyErr_Occurred()) SWIG_fail; | |
19893 | } | |
19894 | Py_INCREF(Py_None); resultobj = Py_None; | |
19895 | return resultobj; | |
19896 | fail: | |
19897 | return NULL; | |
19898 | } | |
19899 | ||
19900 | ||
c32bde28 | 19901 | static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
19902 | PyObject *resultobj; |
19903 | wxPrintData *arg1 = (wxPrintData *) 0 ; | |
19904 | long arg2 ; | |
19905 | long arg3 ; | |
19906 | PyObject * obj0 = 0 ; | |
994141e6 RD |
19907 | PyObject * obj1 = 0 ; |
19908 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
19909 | char *kwnames[] = { |
19910 | (char *) "self",(char *) "x",(char *) "y", NULL | |
19911 | }; | |
19912 | ||
994141e6 | 19913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
19914 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, |
19915 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 19916 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 | 19917 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 19918 | arg3 = (long)SWIG_As_long(obj2); |
15afbcd0 | 19919 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
19920 | { |
19921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19922 | (arg1)->SetPrinterTranslation(arg2,arg3); | |
19923 | ||
19924 | wxPyEndAllowThreads(__tstate); | |
19925 | if (PyErr_Occurred()) SWIG_fail; | |
19926 | } | |
19927 | Py_INCREF(Py_None); resultobj = Py_None; | |
19928 | return resultobj; | |
19929 | fail: | |
19930 | return NULL; | |
19931 | } | |
19932 | ||
19933 | ||
c32bde28 | 19934 | static PyObject * PrintData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
19935 | PyObject *obj; |
19936 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
19937 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj); | |
19938 | Py_INCREF(obj); | |
19939 | return Py_BuildValue((char *)""); | |
19940 | } | |
c32bde28 | 19941 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
19942 | PyObject *resultobj; |
19943 | wxPageSetupDialogData *result; | |
d14a1e28 | 19944 | |
11207aef | 19945 | if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail; |
d14a1e28 RD |
19946 | { |
19947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19948 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData(); | |
19949 | ||
19950 | wxPyEndAllowThreads(__tstate); | |
19951 | if (PyErr_Occurred()) SWIG_fail; | |
19952 | } | |
15afbcd0 | 19953 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); |
d14a1e28 RD |
19954 | return resultobj; |
19955 | fail: | |
19956 | return NULL; | |
19957 | } | |
19958 | ||
19959 | ||
c32bde28 | 19960 | static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) { |
11207aef RD |
19961 | PyObject *resultobj; |
19962 | wxPageSetupDialogData *arg1 = 0 ; | |
19963 | wxPageSetupDialogData *result; | |
19964 | PyObject * obj0 = 0 ; | |
19965 | ||
19966 | if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail; | |
19967 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, | |
19968 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
19969 | SWIG_fail; | |
19970 | if (arg1 == NULL) { | |
19971 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
19972 | SWIG_fail; | |
19973 | } | |
19974 | { | |
19975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
19976 | result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1); | |
19977 | ||
19978 | wxPyEndAllowThreads(__tstate); | |
19979 | if (PyErr_Occurred()) SWIG_fail; | |
19980 | } | |
19981 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1); | |
19982 | return resultobj; | |
19983 | fail: | |
19984 | return NULL; | |
19985 | } | |
19986 | ||
19987 | ||
19988 | static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) { | |
19989 | int argc; | |
19990 | PyObject *argv[2]; | |
19991 | int ii; | |
19992 | ||
19993 | argc = PyObject_Length(args); | |
19994 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
19995 | argv[ii] = PyTuple_GetItem(args,ii); | |
19996 | } | |
19997 | if (argc == 0) { | |
19998 | return _wrap_new_PageSetupDialogData__SWIG_0(self,args); | |
19999 | } | |
20000 | if (argc == 1) { | |
20001 | int _v; | |
20002 | { | |
20003 | void *ptr; | |
20004 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) { | |
20005 | _v = 0; | |
20006 | PyErr_Clear(); | |
20007 | } else { | |
20008 | _v = 1; | |
20009 | } | |
20010 | } | |
20011 | if (_v) { | |
20012 | return _wrap_new_PageSetupDialogData__SWIG_1(self,args); | |
20013 | } | |
20014 | } | |
20015 | ||
20016 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PageSetupDialogData'"); | |
20017 | return NULL; | |
20018 | } | |
20019 | ||
20020 | ||
c32bde28 | 20021 | static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20022 | PyObject *resultobj; |
20023 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20024 | PyObject * obj0 = 0 ; | |
20025 | char *kwnames[] = { | |
20026 | (char *) "self", NULL | |
20027 | }; | |
20028 | ||
20029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20032 | { |
20033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20034 | delete arg1; | |
20035 | ||
20036 | wxPyEndAllowThreads(__tstate); | |
20037 | if (PyErr_Occurred()) SWIG_fail; | |
20038 | } | |
20039 | Py_INCREF(Py_None); resultobj = Py_None; | |
20040 | return resultobj; | |
20041 | fail: | |
20042 | return NULL; | |
20043 | } | |
20044 | ||
20045 | ||
c32bde28 | 20046 | static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20047 | PyObject *resultobj; |
20048 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20049 | bool arg2 ; | |
20050 | PyObject * obj0 = 0 ; | |
20051 | PyObject * obj1 = 0 ; | |
20052 | char *kwnames[] = { | |
20053 | (char *) "self",(char *) "flag", NULL | |
20054 | }; | |
20055 | ||
20056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20057 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20058 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20059 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20060 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20061 | { |
20062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20063 | (arg1)->EnableHelp(arg2); | |
20064 | ||
20065 | wxPyEndAllowThreads(__tstate); | |
20066 | if (PyErr_Occurred()) SWIG_fail; | |
20067 | } | |
20068 | Py_INCREF(Py_None); resultobj = Py_None; | |
20069 | return resultobj; | |
20070 | fail: | |
20071 | return NULL; | |
20072 | } | |
20073 | ||
20074 | ||
c32bde28 | 20075 | static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20076 | PyObject *resultobj; |
20077 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20078 | bool arg2 ; | |
20079 | PyObject * obj0 = 0 ; | |
20080 | PyObject * obj1 = 0 ; | |
20081 | char *kwnames[] = { | |
20082 | (char *) "self",(char *) "flag", NULL | |
20083 | }; | |
20084 | ||
20085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20086 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20087 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20088 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20089 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20090 | { |
20091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20092 | (arg1)->EnableMargins(arg2); | |
20093 | ||
20094 | wxPyEndAllowThreads(__tstate); | |
20095 | if (PyErr_Occurred()) SWIG_fail; | |
20096 | } | |
20097 | Py_INCREF(Py_None); resultobj = Py_None; | |
20098 | return resultobj; | |
20099 | fail: | |
20100 | return NULL; | |
20101 | } | |
20102 | ||
20103 | ||
c32bde28 | 20104 | static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20105 | PyObject *resultobj; |
20106 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20107 | bool arg2 ; | |
20108 | PyObject * obj0 = 0 ; | |
20109 | PyObject * obj1 = 0 ; | |
20110 | char *kwnames[] = { | |
20111 | (char *) "self",(char *) "flag", NULL | |
20112 | }; | |
20113 | ||
20114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20115 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20116 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20117 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20118 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20119 | { |
20120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20121 | (arg1)->EnableOrientation(arg2); | |
20122 | ||
20123 | wxPyEndAllowThreads(__tstate); | |
20124 | if (PyErr_Occurred()) SWIG_fail; | |
20125 | } | |
20126 | Py_INCREF(Py_None); resultobj = Py_None; | |
20127 | return resultobj; | |
20128 | fail: | |
20129 | return NULL; | |
20130 | } | |
20131 | ||
20132 | ||
c32bde28 | 20133 | static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20134 | PyObject *resultobj; |
20135 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20136 | bool arg2 ; | |
20137 | PyObject * obj0 = 0 ; | |
20138 | PyObject * obj1 = 0 ; | |
20139 | char *kwnames[] = { | |
20140 | (char *) "self",(char *) "flag", NULL | |
20141 | }; | |
20142 | ||
20143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20144 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20145 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20146 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20147 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20148 | { |
20149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20150 | (arg1)->EnablePaper(arg2); | |
20151 | ||
20152 | wxPyEndAllowThreads(__tstate); | |
20153 | if (PyErr_Occurred()) SWIG_fail; | |
20154 | } | |
20155 | Py_INCREF(Py_None); resultobj = Py_None; | |
20156 | return resultobj; | |
20157 | fail: | |
20158 | return NULL; | |
20159 | } | |
20160 | ||
20161 | ||
c32bde28 | 20162 | static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20163 | PyObject *resultobj; |
20164 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20165 | bool arg2 ; | |
20166 | PyObject * obj0 = 0 ; | |
20167 | PyObject * obj1 = 0 ; | |
20168 | char *kwnames[] = { | |
20169 | (char *) "self",(char *) "flag", NULL | |
20170 | }; | |
20171 | ||
20172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20175 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20176 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20177 | { |
20178 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20179 | (arg1)->EnablePrinter(arg2); | |
20180 | ||
20181 | wxPyEndAllowThreads(__tstate); | |
20182 | if (PyErr_Occurred()) SWIG_fail; | |
20183 | } | |
20184 | Py_INCREF(Py_None); resultobj = Py_None; | |
20185 | return resultobj; | |
20186 | fail: | |
20187 | return NULL; | |
20188 | } | |
20189 | ||
20190 | ||
c32bde28 | 20191 | static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20192 | PyObject *resultobj; |
20193 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20194 | bool result; | |
20195 | PyObject * obj0 = 0 ; | |
20196 | char *kwnames[] = { | |
20197 | (char *) "self", NULL | |
20198 | }; | |
20199 | ||
20200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20201 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20202 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20203 | { |
20204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20205 | result = (bool)(arg1)->GetDefaultMinMargins(); | |
20206 | ||
20207 | wxPyEndAllowThreads(__tstate); | |
20208 | if (PyErr_Occurred()) SWIG_fail; | |
20209 | } | |
4f89f6a3 RD |
20210 | { |
20211 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20212 | } | |
d14a1e28 RD |
20213 | return resultobj; |
20214 | fail: | |
20215 | return NULL; | |
20216 | } | |
20217 | ||
20218 | ||
c32bde28 | 20219 | static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20220 | PyObject *resultobj; |
20221 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20222 | bool result; | |
20223 | PyObject * obj0 = 0 ; | |
20224 | char *kwnames[] = { | |
20225 | (char *) "self", NULL | |
20226 | }; | |
20227 | ||
20228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20229 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20231 | { |
20232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20233 | result = (bool)(arg1)->GetEnableMargins(); | |
20234 | ||
20235 | wxPyEndAllowThreads(__tstate); | |
20236 | if (PyErr_Occurred()) SWIG_fail; | |
20237 | } | |
4f89f6a3 RD |
20238 | { |
20239 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20240 | } | |
d14a1e28 RD |
20241 | return resultobj; |
20242 | fail: | |
20243 | return NULL; | |
20244 | } | |
20245 | ||
20246 | ||
c32bde28 | 20247 | static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20248 | PyObject *resultobj; |
20249 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20250 | bool result; | |
20251 | PyObject * obj0 = 0 ; | |
20252 | char *kwnames[] = { | |
20253 | (char *) "self", NULL | |
20254 | }; | |
20255 | ||
20256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20259 | { |
20260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20261 | result = (bool)(arg1)->GetEnableOrientation(); | |
20262 | ||
20263 | wxPyEndAllowThreads(__tstate); | |
20264 | if (PyErr_Occurred()) SWIG_fail; | |
20265 | } | |
4f89f6a3 RD |
20266 | { |
20267 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20268 | } | |
d14a1e28 RD |
20269 | return resultobj; |
20270 | fail: | |
20271 | return NULL; | |
20272 | } | |
20273 | ||
20274 | ||
c32bde28 | 20275 | static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20276 | PyObject *resultobj; |
20277 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20278 | bool result; | |
20279 | PyObject * obj0 = 0 ; | |
20280 | char *kwnames[] = { | |
20281 | (char *) "self", NULL | |
20282 | }; | |
20283 | ||
20284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20287 | { |
20288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20289 | result = (bool)(arg1)->GetEnablePaper(); | |
20290 | ||
20291 | wxPyEndAllowThreads(__tstate); | |
20292 | if (PyErr_Occurred()) SWIG_fail; | |
20293 | } | |
4f89f6a3 RD |
20294 | { |
20295 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20296 | } | |
d14a1e28 RD |
20297 | return resultobj; |
20298 | fail: | |
20299 | return NULL; | |
20300 | } | |
20301 | ||
20302 | ||
c32bde28 | 20303 | static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20304 | PyObject *resultobj; |
20305 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20306 | bool result; | |
20307 | PyObject * obj0 = 0 ; | |
20308 | char *kwnames[] = { | |
20309 | (char *) "self", NULL | |
20310 | }; | |
20311 | ||
20312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20313 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20314 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20315 | { |
20316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20317 | result = (bool)(arg1)->GetEnablePrinter(); | |
20318 | ||
20319 | wxPyEndAllowThreads(__tstate); | |
20320 | if (PyErr_Occurred()) SWIG_fail; | |
20321 | } | |
4f89f6a3 RD |
20322 | { |
20323 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20324 | } | |
d14a1e28 RD |
20325 | return resultobj; |
20326 | fail: | |
20327 | return NULL; | |
20328 | } | |
20329 | ||
20330 | ||
c32bde28 | 20331 | static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20332 | PyObject *resultobj; |
20333 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20334 | bool result; | |
20335 | PyObject * obj0 = 0 ; | |
20336 | char *kwnames[] = { | |
20337 | (char *) "self", NULL | |
20338 | }; | |
20339 | ||
20340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20341 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20342 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20343 | { |
20344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20345 | result = (bool)(arg1)->GetEnableHelp(); | |
20346 | ||
20347 | wxPyEndAllowThreads(__tstate); | |
20348 | if (PyErr_Occurred()) SWIG_fail; | |
20349 | } | |
4f89f6a3 RD |
20350 | { |
20351 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20352 | } | |
d14a1e28 RD |
20353 | return resultobj; |
20354 | fail: | |
20355 | return NULL; | |
20356 | } | |
20357 | ||
20358 | ||
c32bde28 | 20359 | static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20360 | PyObject *resultobj; |
20361 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20362 | bool result; | |
20363 | PyObject * obj0 = 0 ; | |
20364 | char *kwnames[] = { | |
20365 | (char *) "self", NULL | |
20366 | }; | |
20367 | ||
20368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20369 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20370 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20371 | { |
20372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20373 | result = (bool)(arg1)->GetDefaultInfo(); | |
20374 | ||
20375 | wxPyEndAllowThreads(__tstate); | |
20376 | if (PyErr_Occurred()) SWIG_fail; | |
20377 | } | |
4f89f6a3 RD |
20378 | { |
20379 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20380 | } | |
d14a1e28 RD |
20381 | return resultobj; |
20382 | fail: | |
20383 | return NULL; | |
20384 | } | |
20385 | ||
20386 | ||
c32bde28 | 20387 | static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20388 | PyObject *resultobj; |
20389 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20390 | wxPoint result; | |
20391 | PyObject * obj0 = 0 ; | |
20392 | char *kwnames[] = { | |
20393 | (char *) "self", NULL | |
20394 | }; | |
20395 | ||
20396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20397 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20398 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20399 | { |
20400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20401 | result = (arg1)->GetMarginTopLeft(); | |
20402 | ||
20403 | wxPyEndAllowThreads(__tstate); | |
20404 | if (PyErr_Occurred()) SWIG_fail; | |
20405 | } | |
20406 | { | |
20407 | wxPoint * resultptr; | |
20408 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20409 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20410 | } |
20411 | return resultobj; | |
20412 | fail: | |
20413 | return NULL; | |
20414 | } | |
20415 | ||
20416 | ||
c32bde28 | 20417 | static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20418 | PyObject *resultobj; |
20419 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20420 | wxPoint result; | |
20421 | PyObject * obj0 = 0 ; | |
20422 | char *kwnames[] = { | |
20423 | (char *) "self", NULL | |
20424 | }; | |
20425 | ||
20426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20427 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20428 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20429 | { |
20430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20431 | result = (arg1)->GetMarginBottomRight(); | |
20432 | ||
20433 | wxPyEndAllowThreads(__tstate); | |
20434 | if (PyErr_Occurred()) SWIG_fail; | |
20435 | } | |
20436 | { | |
20437 | wxPoint * resultptr; | |
20438 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20439 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20440 | } |
20441 | return resultobj; | |
20442 | fail: | |
20443 | return NULL; | |
20444 | } | |
20445 | ||
20446 | ||
c32bde28 | 20447 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20448 | PyObject *resultobj; |
20449 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20450 | wxPoint result; | |
20451 | PyObject * obj0 = 0 ; | |
20452 | char *kwnames[] = { | |
20453 | (char *) "self", NULL | |
20454 | }; | |
20455 | ||
20456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20459 | { |
20460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20461 | result = (arg1)->GetMinMarginTopLeft(); | |
20462 | ||
20463 | wxPyEndAllowThreads(__tstate); | |
20464 | if (PyErr_Occurred()) SWIG_fail; | |
20465 | } | |
20466 | { | |
20467 | wxPoint * resultptr; | |
20468 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20469 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20470 | } |
20471 | return resultobj; | |
20472 | fail: | |
20473 | return NULL; | |
20474 | } | |
20475 | ||
20476 | ||
c32bde28 | 20477 | static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20478 | PyObject *resultobj; |
20479 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20480 | wxPoint result; | |
20481 | PyObject * obj0 = 0 ; | |
20482 | char *kwnames[] = { | |
20483 | (char *) "self", NULL | |
20484 | }; | |
20485 | ||
20486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20489 | { |
20490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20491 | result = (arg1)->GetMinMarginBottomRight(); | |
20492 | ||
20493 | wxPyEndAllowThreads(__tstate); | |
20494 | if (PyErr_Occurred()) SWIG_fail; | |
20495 | } | |
20496 | { | |
20497 | wxPoint * resultptr; | |
20498 | resultptr = new wxPoint((wxPoint &) result); | |
15afbcd0 | 20499 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1); |
d14a1e28 RD |
20500 | } |
20501 | return resultobj; | |
20502 | fail: | |
20503 | return NULL; | |
20504 | } | |
20505 | ||
20506 | ||
c32bde28 | 20507 | static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20508 | PyObject *resultobj; |
20509 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20510 | int result; | |
20511 | PyObject * obj0 = 0 ; | |
20512 | char *kwnames[] = { | |
20513 | (char *) "self", NULL | |
20514 | }; | |
20515 | ||
20516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20517 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20518 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20519 | { |
20520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20521 | result = (int)(arg1)->GetPaperId(); | |
20522 | ||
20523 | wxPyEndAllowThreads(__tstate); | |
20524 | if (PyErr_Occurred()) SWIG_fail; | |
20525 | } | |
c32bde28 | 20526 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
20527 | return resultobj; |
20528 | fail: | |
20529 | return NULL; | |
20530 | } | |
20531 | ||
20532 | ||
c32bde28 | 20533 | static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20534 | PyObject *resultobj; |
20535 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20536 | wxSize result; | |
20537 | PyObject * obj0 = 0 ; | |
20538 | char *kwnames[] = { | |
20539 | (char *) "self", NULL | |
20540 | }; | |
20541 | ||
20542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20543 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20544 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20545 | { |
20546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20547 | result = (arg1)->GetPaperSize(); | |
20548 | ||
20549 | wxPyEndAllowThreads(__tstate); | |
20550 | if (PyErr_Occurred()) SWIG_fail; | |
20551 | } | |
20552 | { | |
20553 | wxSize * resultptr; | |
20554 | resultptr = new wxSize((wxSize &) result); | |
15afbcd0 | 20555 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1); |
d14a1e28 RD |
20556 | } |
20557 | return resultobj; | |
20558 | fail: | |
20559 | return NULL; | |
20560 | } | |
20561 | ||
20562 | ||
c32bde28 | 20563 | static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20564 | PyObject *resultobj; |
20565 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20566 | wxPrintData *result; | |
20567 | PyObject * obj0 = 0 ; | |
20568 | char *kwnames[] = { | |
20569 | (char *) "self", NULL | |
20570 | }; | |
20571 | ||
20572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20573 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20574 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20575 | { |
20576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20577 | { | |
20578 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
20579 | result = (wxPrintData *) &_result_ref; | |
20580 | } | |
20581 | ||
20582 | wxPyEndAllowThreads(__tstate); | |
20583 | if (PyErr_Occurred()) SWIG_fail; | |
20584 | } | |
15afbcd0 | 20585 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
20586 | return resultobj; |
20587 | fail: | |
20588 | return NULL; | |
20589 | } | |
20590 | ||
20591 | ||
c32bde28 | 20592 | static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20593 | PyObject *resultobj; |
20594 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20595 | bool result; | |
20596 | PyObject * obj0 = 0 ; | |
20597 | char *kwnames[] = { | |
20598 | (char *) "self", NULL | |
20599 | }; | |
20600 | ||
20601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20602 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20603 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20604 | { |
20605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20606 | result = (bool)(arg1)->Ok(); | |
20607 | ||
20608 | wxPyEndAllowThreads(__tstate); | |
20609 | if (PyErr_Occurred()) SWIG_fail; | |
20610 | } | |
4f89f6a3 RD |
20611 | { |
20612 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
20613 | } | |
d14a1e28 RD |
20614 | return resultobj; |
20615 | fail: | |
20616 | return NULL; | |
20617 | } | |
20618 | ||
20619 | ||
c32bde28 | 20620 | static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20621 | PyObject *resultobj; |
20622 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20623 | bool arg2 ; | |
20624 | PyObject * obj0 = 0 ; | |
20625 | PyObject * obj1 = 0 ; | |
20626 | char *kwnames[] = { | |
20627 | (char *) "self",(char *) "flag", NULL | |
20628 | }; | |
20629 | ||
20630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20633 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20634 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20635 | { |
20636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20637 | (arg1)->SetDefaultInfo(arg2); | |
20638 | ||
20639 | wxPyEndAllowThreads(__tstate); | |
20640 | if (PyErr_Occurred()) SWIG_fail; | |
20641 | } | |
20642 | Py_INCREF(Py_None); resultobj = Py_None; | |
20643 | return resultobj; | |
20644 | fail: | |
20645 | return NULL; | |
20646 | } | |
20647 | ||
20648 | ||
c32bde28 | 20649 | static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20650 | PyObject *resultobj; |
20651 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20652 | bool arg2 ; | |
20653 | PyObject * obj0 = 0 ; | |
20654 | PyObject * obj1 = 0 ; | |
20655 | char *kwnames[] = { | |
20656 | (char *) "self",(char *) "flag", NULL | |
20657 | }; | |
20658 | ||
20659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20660 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20661 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20662 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 20663 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20664 | { |
20665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20666 | (arg1)->SetDefaultMinMargins(arg2); | |
20667 | ||
20668 | wxPyEndAllowThreads(__tstate); | |
20669 | if (PyErr_Occurred()) SWIG_fail; | |
20670 | } | |
20671 | Py_INCREF(Py_None); resultobj = Py_None; | |
20672 | return resultobj; | |
20673 | fail: | |
20674 | return NULL; | |
20675 | } | |
20676 | ||
20677 | ||
c32bde28 | 20678 | static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20679 | PyObject *resultobj; |
20680 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20681 | wxPoint *arg2 = 0 ; | |
20682 | wxPoint temp2 ; | |
20683 | PyObject * obj0 = 0 ; | |
20684 | PyObject * obj1 = 0 ; | |
20685 | char *kwnames[] = { | |
20686 | (char *) "self",(char *) "pt", NULL | |
20687 | }; | |
20688 | ||
20689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20690 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20691 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20692 | { |
20693 | arg2 = &temp2; | |
20694 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20695 | } | |
20696 | { | |
20697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20698 | (arg1)->SetMarginTopLeft((wxPoint const &)*arg2); | |
20699 | ||
20700 | wxPyEndAllowThreads(__tstate); | |
20701 | if (PyErr_Occurred()) SWIG_fail; | |
20702 | } | |
20703 | Py_INCREF(Py_None); resultobj = Py_None; | |
20704 | return resultobj; | |
20705 | fail: | |
20706 | return NULL; | |
20707 | } | |
20708 | ||
20709 | ||
c32bde28 | 20710 | static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20711 | PyObject *resultobj; |
20712 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20713 | wxPoint *arg2 = 0 ; | |
20714 | wxPoint temp2 ; | |
20715 | PyObject * obj0 = 0 ; | |
20716 | PyObject * obj1 = 0 ; | |
20717 | char *kwnames[] = { | |
20718 | (char *) "self",(char *) "pt", NULL | |
20719 | }; | |
20720 | ||
20721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20722 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20723 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20724 | { |
20725 | arg2 = &temp2; | |
20726 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20727 | } | |
20728 | { | |
20729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20730 | (arg1)->SetMarginBottomRight((wxPoint const &)*arg2); | |
20731 | ||
20732 | wxPyEndAllowThreads(__tstate); | |
20733 | if (PyErr_Occurred()) SWIG_fail; | |
20734 | } | |
20735 | Py_INCREF(Py_None); resultobj = Py_None; | |
20736 | return resultobj; | |
20737 | fail: | |
20738 | return NULL; | |
20739 | } | |
20740 | ||
20741 | ||
c32bde28 | 20742 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20743 | PyObject *resultobj; |
20744 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20745 | wxPoint *arg2 = 0 ; | |
20746 | wxPoint temp2 ; | |
20747 | PyObject * obj0 = 0 ; | |
20748 | PyObject * obj1 = 0 ; | |
20749 | char *kwnames[] = { | |
20750 | (char *) "self",(char *) "pt", NULL | |
20751 | }; | |
20752 | ||
20753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20754 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20755 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20756 | { |
20757 | arg2 = &temp2; | |
20758 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20759 | } | |
20760 | { | |
20761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20762 | (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2); | |
20763 | ||
20764 | wxPyEndAllowThreads(__tstate); | |
20765 | if (PyErr_Occurred()) SWIG_fail; | |
20766 | } | |
20767 | Py_INCREF(Py_None); resultobj = Py_None; | |
20768 | return resultobj; | |
20769 | fail: | |
20770 | return NULL; | |
20771 | } | |
20772 | ||
20773 | ||
c32bde28 | 20774 | static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20775 | PyObject *resultobj; |
20776 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20777 | wxPoint *arg2 = 0 ; | |
20778 | wxPoint temp2 ; | |
20779 | PyObject * obj0 = 0 ; | |
20780 | PyObject * obj1 = 0 ; | |
20781 | char *kwnames[] = { | |
20782 | (char *) "self",(char *) "pt", NULL | |
20783 | }; | |
20784 | ||
20785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20788 | { |
20789 | arg2 = &temp2; | |
20790 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
20791 | } | |
20792 | { | |
20793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20794 | (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2); | |
20795 | ||
20796 | wxPyEndAllowThreads(__tstate); | |
20797 | if (PyErr_Occurred()) SWIG_fail; | |
20798 | } | |
20799 | Py_INCREF(Py_None); resultobj = Py_None; | |
20800 | return resultobj; | |
20801 | fail: | |
20802 | return NULL; | |
20803 | } | |
20804 | ||
20805 | ||
c32bde28 | 20806 | static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20807 | PyObject *resultobj; |
20808 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20809 | int arg2 ; | |
20810 | PyObject * obj0 = 0 ; | |
994141e6 | 20811 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
20812 | char *kwnames[] = { |
20813 | (char *) "self",(char *) "id", NULL | |
20814 | }; | |
20815 | ||
994141e6 | 20816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
20817 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20818 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 20819 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 20820 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
20821 | { |
20822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20823 | (arg1)->SetPaperId((wxPaperSize )arg2); | |
20824 | ||
20825 | wxPyEndAllowThreads(__tstate); | |
20826 | if (PyErr_Occurred()) SWIG_fail; | |
20827 | } | |
20828 | Py_INCREF(Py_None); resultobj = Py_None; | |
20829 | return resultobj; | |
20830 | fail: | |
20831 | return NULL; | |
20832 | } | |
20833 | ||
20834 | ||
c32bde28 | 20835 | static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20836 | PyObject *resultobj; |
20837 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20838 | wxSize *arg2 = 0 ; | |
20839 | wxSize temp2 ; | |
20840 | PyObject * obj0 = 0 ; | |
20841 | PyObject * obj1 = 0 ; | |
20842 | char *kwnames[] = { | |
20843 | (char *) "self",(char *) "size", NULL | |
20844 | }; | |
20845 | ||
20846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20847 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20848 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20849 | { |
20850 | arg2 = &temp2; | |
20851 | if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail; | |
20852 | } | |
20853 | { | |
20854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20855 | (arg1)->SetPaperSize((wxSize const &)*arg2); | |
20856 | ||
20857 | wxPyEndAllowThreads(__tstate); | |
20858 | if (PyErr_Occurred()) SWIG_fail; | |
20859 | } | |
20860 | Py_INCREF(Py_None); resultobj = Py_None; | |
20861 | return resultobj; | |
20862 | fail: | |
20863 | return NULL; | |
20864 | } | |
20865 | ||
20866 | ||
c32bde28 | 20867 | static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20868 | PyObject *resultobj; |
20869 | wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ; | |
20870 | wxPrintData *arg2 = 0 ; | |
20871 | PyObject * obj0 = 0 ; | |
20872 | PyObject * obj1 = 0 ; | |
20873 | char *kwnames[] = { | |
20874 | (char *) "self",(char *) "printData", NULL | |
20875 | }; | |
20876 | ||
20877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20878 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialogData, |
20879 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20880 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
20881 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
20882 | SWIG_fail; | |
d14a1e28 | 20883 | if (arg2 == NULL) { |
15afbcd0 RD |
20884 | PyErr_SetString(PyExc_TypeError,"null reference"); |
20885 | SWIG_fail; | |
d14a1e28 RD |
20886 | } |
20887 | { | |
20888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20889 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
20890 | ||
20891 | wxPyEndAllowThreads(__tstate); | |
20892 | if (PyErr_Occurred()) SWIG_fail; | |
20893 | } | |
20894 | Py_INCREF(Py_None); resultobj = Py_None; | |
20895 | return resultobj; | |
20896 | fail: | |
20897 | return NULL; | |
20898 | } | |
20899 | ||
20900 | ||
c32bde28 | 20901 | static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
20902 | PyObject *obj; |
20903 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
20904 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj); | |
20905 | Py_INCREF(obj); | |
20906 | return Py_BuildValue((char *)""); | |
20907 | } | |
c32bde28 | 20908 | static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20909 | PyObject *resultobj; |
20910 | wxWindow *arg1 = (wxWindow *) 0 ; | |
20911 | wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ; | |
20912 | wxPageSetupDialog *result; | |
20913 | PyObject * obj0 = 0 ; | |
20914 | PyObject * obj1 = 0 ; | |
20915 | char *kwnames[] = { | |
20916 | (char *) "parent",(char *) "data", NULL | |
20917 | }; | |
20918 | ||
20919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
20920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
20921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 20922 | if (obj1) { |
15afbcd0 RD |
20923 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPageSetupDialogData, |
20924 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20925 | } |
20926 | { | |
e3b71cb8 | 20927 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
20928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
20929 | result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2); | |
20930 | ||
20931 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 20932 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 20933 | } |
15afbcd0 | 20934 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1); |
d14a1e28 RD |
20935 | return resultobj; |
20936 | fail: | |
20937 | return NULL; | |
20938 | } | |
20939 | ||
20940 | ||
c32bde28 | 20941 | static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
20942 | PyObject *resultobj; |
20943 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20944 | wxPageSetupDialogData *result; | |
20945 | PyObject * obj0 = 0 ; | |
20946 | char *kwnames[] = { | |
20947 | (char *) "self", NULL | |
20948 | }; | |
20949 | ||
20950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
20951 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
20952 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
20953 | { |
20954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20955 | { | |
20956 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData(); | |
20957 | result = (wxPageSetupDialogData *) &_result_ref; | |
20958 | } | |
20959 | ||
20960 | wxPyEndAllowThreads(__tstate); | |
20961 | if (PyErr_Occurred()) SWIG_fail; | |
20962 | } | |
15afbcd0 | 20963 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); |
d14a1e28 RD |
20964 | return resultobj; |
20965 | fail: | |
20966 | return NULL; | |
20967 | } | |
20968 | ||
20969 | ||
8ac8dba0 RD |
20970 | static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
20971 | PyObject *resultobj; | |
20972 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
20973 | wxPageSetupDialogData *result; | |
20974 | PyObject * obj0 = 0 ; | |
20975 | char *kwnames[] = { | |
20976 | (char *) "self", NULL | |
20977 | }; | |
20978 | ||
20979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail; | |
20980 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, | |
20981 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
20982 | { | |
20983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
20984 | { | |
20985 | wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData(); | |
20986 | result = (wxPageSetupDialogData *) &_result_ref; | |
20987 | } | |
20988 | ||
20989 | wxPyEndAllowThreads(__tstate); | |
20990 | if (PyErr_Occurred()) SWIG_fail; | |
20991 | } | |
20992 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0); | |
20993 | return resultobj; | |
20994 | fail: | |
20995 | return NULL; | |
20996 | } | |
20997 | ||
20998 | ||
c32bde28 | 20999 | static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21000 | PyObject *resultobj; |
21001 | wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ; | |
21002 | int result; | |
21003 | PyObject * obj0 = 0 ; | |
21004 | char *kwnames[] = { | |
21005 | (char *) "self", NULL | |
21006 | }; | |
21007 | ||
21008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21009 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPageSetupDialog, |
21010 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21011 | { |
21012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21013 | result = (int)(arg1)->ShowModal(); | |
21014 | ||
21015 | wxPyEndAllowThreads(__tstate); | |
21016 | if (PyErr_Occurred()) SWIG_fail; | |
21017 | } | |
c32bde28 | 21018 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21019 | return resultobj; |
21020 | fail: | |
21021 | return NULL; | |
21022 | } | |
21023 | ||
21024 | ||
c32bde28 | 21025 | static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
21026 | PyObject *obj; |
21027 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
21028 | SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj); | |
21029 | Py_INCREF(obj); | |
21030 | return Py_BuildValue((char *)""); | |
21031 | } | |
c32bde28 | 21032 | static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
21033 | PyObject *resultobj; |
21034 | wxPrintDialogData *result; | |
d14a1e28 | 21035 | |
4276dc52 | 21036 | if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail; |
d14a1e28 RD |
21037 | { |
21038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21039 | result = (wxPrintDialogData *)new wxPrintDialogData(); | |
21040 | ||
21041 | wxPyEndAllowThreads(__tstate); | |
21042 | if (PyErr_Occurred()) SWIG_fail; | |
21043 | } | |
15afbcd0 | 21044 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); |
d14a1e28 RD |
21045 | return resultobj; |
21046 | fail: | |
21047 | return NULL; | |
21048 | } | |
21049 | ||
21050 | ||
c32bde28 | 21051 | static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
21052 | PyObject *resultobj; |
21053 | wxPrintData *arg1 = 0 ; | |
21054 | wxPrintDialogData *result; | |
21055 | PyObject * obj0 = 0 ; | |
21056 | ||
21057 | if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail; | |
21058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintData, | |
21059 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21060 | SWIG_fail; | |
21061 | if (arg1 == NULL) { | |
21062 | PyErr_SetString(PyExc_TypeError,"null reference"); | |
21063 | SWIG_fail; | |
21064 | } | |
21065 | { | |
21066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21067 | result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1); | |
21068 | ||
21069 | wxPyEndAllowThreads(__tstate); | |
21070 | if (PyErr_Occurred()) SWIG_fail; | |
21071 | } | |
21072 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1); | |
21073 | return resultobj; | |
21074 | fail: | |
21075 | return NULL; | |
21076 | } | |
21077 | ||
21078 | ||
21079 | static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) { | |
21080 | int argc; | |
21081 | PyObject *argv[2]; | |
21082 | int ii; | |
21083 | ||
21084 | argc = PyObject_Length(args); | |
21085 | for (ii = 0; (ii < argc) && (ii < 1); ii++) { | |
21086 | argv[ii] = PyTuple_GetItem(args,ii); | |
21087 | } | |
21088 | if (argc == 0) { | |
21089 | return _wrap_new_PrintDialogData__SWIG_0(self,args); | |
21090 | } | |
21091 | if (argc == 1) { | |
21092 | int _v; | |
21093 | { | |
21094 | void *ptr; | |
21095 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
21096 | _v = 0; | |
21097 | PyErr_Clear(); | |
21098 | } else { | |
21099 | _v = 1; | |
21100 | } | |
21101 | } | |
21102 | if (_v) { | |
21103 | return _wrap_new_PrintDialogData__SWIG_1(self,args); | |
21104 | } | |
21105 | } | |
21106 | ||
21107 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintDialogData'"); | |
21108 | return NULL; | |
21109 | } | |
21110 | ||
21111 | ||
c32bde28 | 21112 | static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21113 | PyObject *resultobj; |
21114 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21115 | PyObject * obj0 = 0 ; | |
21116 | char *kwnames[] = { | |
21117 | (char *) "self", NULL | |
21118 | }; | |
21119 | ||
21120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21123 | { |
21124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21125 | delete arg1; | |
21126 | ||
21127 | wxPyEndAllowThreads(__tstate); | |
21128 | if (PyErr_Occurred()) SWIG_fail; | |
21129 | } | |
21130 | Py_INCREF(Py_None); resultobj = Py_None; | |
21131 | return resultobj; | |
21132 | fail: | |
21133 | return NULL; | |
21134 | } | |
21135 | ||
21136 | ||
c32bde28 | 21137 | static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21138 | PyObject *resultobj; |
21139 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21140 | int result; | |
21141 | PyObject * obj0 = 0 ; | |
21142 | char *kwnames[] = { | |
21143 | (char *) "self", NULL | |
21144 | }; | |
21145 | ||
21146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21147 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21148 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21149 | { |
21150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21151 | result = (int)((wxPrintDialogData const *)arg1)->GetFromPage(); | |
21152 | ||
21153 | wxPyEndAllowThreads(__tstate); | |
21154 | if (PyErr_Occurred()) SWIG_fail; | |
21155 | } | |
c32bde28 | 21156 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21157 | return resultobj; |
21158 | fail: | |
21159 | return NULL; | |
21160 | } | |
21161 | ||
21162 | ||
c32bde28 | 21163 | static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21164 | PyObject *resultobj; |
21165 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21166 | int result; | |
21167 | PyObject * obj0 = 0 ; | |
21168 | char *kwnames[] = { | |
21169 | (char *) "self", NULL | |
21170 | }; | |
21171 | ||
21172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21173 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21174 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21175 | { |
21176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21177 | result = (int)((wxPrintDialogData const *)arg1)->GetToPage(); | |
21178 | ||
21179 | wxPyEndAllowThreads(__tstate); | |
21180 | if (PyErr_Occurred()) SWIG_fail; | |
21181 | } | |
c32bde28 | 21182 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21183 | return resultobj; |
21184 | fail: | |
21185 | return NULL; | |
21186 | } | |
21187 | ||
21188 | ||
c32bde28 | 21189 | static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21190 | PyObject *resultobj; |
21191 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21192 | int result; | |
21193 | PyObject * obj0 = 0 ; | |
21194 | char *kwnames[] = { | |
21195 | (char *) "self", NULL | |
21196 | }; | |
21197 | ||
21198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21199 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21200 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21201 | { |
21202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21203 | result = (int)((wxPrintDialogData const *)arg1)->GetMinPage(); | |
21204 | ||
21205 | wxPyEndAllowThreads(__tstate); | |
21206 | if (PyErr_Occurred()) SWIG_fail; | |
21207 | } | |
c32bde28 | 21208 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21209 | return resultobj; |
21210 | fail: | |
21211 | return NULL; | |
21212 | } | |
21213 | ||
21214 | ||
c32bde28 | 21215 | static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21216 | PyObject *resultobj; |
21217 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21218 | int result; | |
21219 | PyObject * obj0 = 0 ; | |
21220 | char *kwnames[] = { | |
21221 | (char *) "self", NULL | |
21222 | }; | |
21223 | ||
21224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21225 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21226 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21227 | { |
21228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21229 | result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage(); | |
21230 | ||
21231 | wxPyEndAllowThreads(__tstate); | |
21232 | if (PyErr_Occurred()) SWIG_fail; | |
21233 | } | |
c32bde28 | 21234 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21235 | return resultobj; |
21236 | fail: | |
21237 | return NULL; | |
21238 | } | |
21239 | ||
21240 | ||
c32bde28 | 21241 | static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21242 | PyObject *resultobj; |
21243 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21244 | int result; | |
21245 | PyObject * obj0 = 0 ; | |
21246 | char *kwnames[] = { | |
21247 | (char *) "self", NULL | |
21248 | }; | |
21249 | ||
21250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21251 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21252 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21253 | { |
21254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21255 | result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies(); | |
21256 | ||
21257 | wxPyEndAllowThreads(__tstate); | |
21258 | if (PyErr_Occurred()) SWIG_fail; | |
21259 | } | |
c32bde28 | 21260 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
21261 | return resultobj; |
21262 | fail: | |
21263 | return NULL; | |
21264 | } | |
21265 | ||
21266 | ||
c32bde28 | 21267 | static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21268 | PyObject *resultobj; |
21269 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21270 | bool result; | |
21271 | PyObject * obj0 = 0 ; | |
21272 | char *kwnames[] = { | |
21273 | (char *) "self", NULL | |
21274 | }; | |
21275 | ||
21276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21277 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21279 | { |
21280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21281 | result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages(); | |
21282 | ||
21283 | wxPyEndAllowThreads(__tstate); | |
21284 | if (PyErr_Occurred()) SWIG_fail; | |
21285 | } | |
4f89f6a3 RD |
21286 | { |
21287 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21288 | } | |
d14a1e28 RD |
21289 | return resultobj; |
21290 | fail: | |
21291 | return NULL; | |
21292 | } | |
21293 | ||
21294 | ||
c32bde28 | 21295 | static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21296 | PyObject *resultobj; |
21297 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21298 | bool result; | |
21299 | PyObject * obj0 = 0 ; | |
21300 | char *kwnames[] = { | |
21301 | (char *) "self", NULL | |
21302 | }; | |
21303 | ||
21304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21305 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21306 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21307 | { |
21308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21309 | result = (bool)((wxPrintDialogData const *)arg1)->GetSelection(); | |
21310 | ||
21311 | wxPyEndAllowThreads(__tstate); | |
21312 | if (PyErr_Occurred()) SWIG_fail; | |
21313 | } | |
4f89f6a3 RD |
21314 | { |
21315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21316 | } | |
d14a1e28 RD |
21317 | return resultobj; |
21318 | fail: | |
21319 | return NULL; | |
21320 | } | |
21321 | ||
21322 | ||
c32bde28 | 21323 | static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21324 | PyObject *resultobj; |
21325 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21326 | bool result; | |
21327 | PyObject * obj0 = 0 ; | |
21328 | char *kwnames[] = { | |
21329 | (char *) "self", NULL | |
21330 | }; | |
21331 | ||
21332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21333 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21334 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21335 | { |
21336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21337 | result = (bool)((wxPrintDialogData const *)arg1)->GetCollate(); | |
21338 | ||
21339 | wxPyEndAllowThreads(__tstate); | |
21340 | if (PyErr_Occurred()) SWIG_fail; | |
21341 | } | |
4f89f6a3 RD |
21342 | { |
21343 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21344 | } | |
d14a1e28 RD |
21345 | return resultobj; |
21346 | fail: | |
21347 | return NULL; | |
21348 | } | |
21349 | ||
21350 | ||
c32bde28 | 21351 | static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21352 | PyObject *resultobj; |
21353 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21354 | bool result; | |
21355 | PyObject * obj0 = 0 ; | |
21356 | char *kwnames[] = { | |
21357 | (char *) "self", NULL | |
21358 | }; | |
21359 | ||
21360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21363 | { |
21364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21365 | result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile(); | |
21366 | ||
21367 | wxPyEndAllowThreads(__tstate); | |
21368 | if (PyErr_Occurred()) SWIG_fail; | |
21369 | } | |
4f89f6a3 RD |
21370 | { |
21371 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21372 | } | |
d14a1e28 RD |
21373 | return resultobj; |
21374 | fail: | |
21375 | return NULL; | |
21376 | } | |
21377 | ||
21378 | ||
c32bde28 | 21379 | static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21380 | PyObject *resultobj; |
21381 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21382 | bool result; | |
21383 | PyObject * obj0 = 0 ; | |
21384 | char *kwnames[] = { | |
21385 | (char *) "self", NULL | |
21386 | }; | |
21387 | ||
21388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21389 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21390 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21391 | { |
21392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21393 | result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog(); | |
21394 | ||
21395 | wxPyEndAllowThreads(__tstate); | |
21396 | if (PyErr_Occurred()) SWIG_fail; | |
21397 | } | |
4f89f6a3 RD |
21398 | { |
21399 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21400 | } | |
d14a1e28 RD |
21401 | return resultobj; |
21402 | fail: | |
21403 | return NULL; | |
21404 | } | |
21405 | ||
21406 | ||
d3b6e4ff RD |
21407 | static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
21408 | PyObject *resultobj; | |
21409 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21410 | bool arg2 ; | |
21411 | PyObject * obj0 = 0 ; | |
21412 | PyObject * obj1 = 0 ; | |
21413 | char *kwnames[] = { | |
21414 | (char *) "self",(char *) "flag", NULL | |
21415 | }; | |
21416 | ||
21417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail; | |
21418 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, | |
21419 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21420 | arg2 = (bool)SWIG_As_bool(obj1); | |
21421 | if (PyErr_Occurred()) SWIG_fail; | |
21422 | { | |
21423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21424 | (arg1)->SetSetupDialog(arg2); | |
21425 | ||
21426 | wxPyEndAllowThreads(__tstate); | |
21427 | if (PyErr_Occurred()) SWIG_fail; | |
21428 | } | |
21429 | Py_INCREF(Py_None); resultobj = Py_None; | |
21430 | return resultobj; | |
21431 | fail: | |
21432 | return NULL; | |
21433 | } | |
21434 | ||
21435 | ||
c32bde28 | 21436 | static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21437 | PyObject *resultobj; |
21438 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21439 | int arg2 ; | |
21440 | PyObject * obj0 = 0 ; | |
994141e6 | 21441 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21442 | char *kwnames[] = { |
21443 | (char *) "self",(char *) "v", NULL | |
21444 | }; | |
21445 | ||
994141e6 | 21446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21447 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21448 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21449 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21450 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21451 | { |
21452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21453 | (arg1)->SetFromPage(arg2); | |
21454 | ||
21455 | wxPyEndAllowThreads(__tstate); | |
21456 | if (PyErr_Occurred()) SWIG_fail; | |
21457 | } | |
21458 | Py_INCREF(Py_None); resultobj = Py_None; | |
21459 | return resultobj; | |
21460 | fail: | |
21461 | return NULL; | |
21462 | } | |
21463 | ||
21464 | ||
c32bde28 | 21465 | static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21466 | PyObject *resultobj; |
21467 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21468 | int arg2 ; | |
21469 | PyObject * obj0 = 0 ; | |
994141e6 | 21470 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21471 | char *kwnames[] = { |
21472 | (char *) "self",(char *) "v", NULL | |
21473 | }; | |
21474 | ||
994141e6 | 21475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21476 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21477 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21478 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21479 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21480 | { |
21481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21482 | (arg1)->SetToPage(arg2); | |
21483 | ||
21484 | wxPyEndAllowThreads(__tstate); | |
21485 | if (PyErr_Occurred()) SWIG_fail; | |
21486 | } | |
21487 | Py_INCREF(Py_None); resultobj = Py_None; | |
21488 | return resultobj; | |
21489 | fail: | |
21490 | return NULL; | |
21491 | } | |
21492 | ||
21493 | ||
c32bde28 | 21494 | static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21495 | PyObject *resultobj; |
21496 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21497 | int arg2 ; | |
21498 | PyObject * obj0 = 0 ; | |
994141e6 | 21499 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21500 | char *kwnames[] = { |
21501 | (char *) "self",(char *) "v", NULL | |
21502 | }; | |
21503 | ||
994141e6 | 21504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21505 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21506 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21507 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21508 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21509 | { |
21510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21511 | (arg1)->SetMinPage(arg2); | |
21512 | ||
21513 | wxPyEndAllowThreads(__tstate); | |
21514 | if (PyErr_Occurred()) SWIG_fail; | |
21515 | } | |
21516 | Py_INCREF(Py_None); resultobj = Py_None; | |
21517 | return resultobj; | |
21518 | fail: | |
21519 | return NULL; | |
21520 | } | |
21521 | ||
21522 | ||
c32bde28 | 21523 | static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21524 | PyObject *resultobj; |
21525 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21526 | int arg2 ; | |
21527 | PyObject * obj0 = 0 ; | |
994141e6 | 21528 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21529 | char *kwnames[] = { |
21530 | (char *) "self",(char *) "v", NULL | |
21531 | }; | |
21532 | ||
994141e6 | 21533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21534 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21535 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21536 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21537 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21538 | { |
21539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21540 | (arg1)->SetMaxPage(arg2); | |
21541 | ||
21542 | wxPyEndAllowThreads(__tstate); | |
21543 | if (PyErr_Occurred()) SWIG_fail; | |
21544 | } | |
21545 | Py_INCREF(Py_None); resultobj = Py_None; | |
21546 | return resultobj; | |
21547 | fail: | |
21548 | return NULL; | |
21549 | } | |
21550 | ||
21551 | ||
c32bde28 | 21552 | static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21553 | PyObject *resultobj; |
21554 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21555 | int arg2 ; | |
21556 | PyObject * obj0 = 0 ; | |
994141e6 | 21557 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
21558 | char *kwnames[] = { |
21559 | (char *) "self",(char *) "v", NULL | |
21560 | }; | |
21561 | ||
994141e6 | 21562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
21563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21565 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 21566 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21567 | { |
21568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21569 | (arg1)->SetNoCopies(arg2); | |
21570 | ||
21571 | wxPyEndAllowThreads(__tstate); | |
21572 | if (PyErr_Occurred()) SWIG_fail; | |
21573 | } | |
21574 | Py_INCREF(Py_None); resultobj = Py_None; | |
21575 | return resultobj; | |
21576 | fail: | |
21577 | return NULL; | |
21578 | } | |
21579 | ||
21580 | ||
c32bde28 | 21581 | static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21582 | PyObject *resultobj; |
21583 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21584 | bool arg2 ; | |
21585 | PyObject * obj0 = 0 ; | |
21586 | PyObject * obj1 = 0 ; | |
21587 | char *kwnames[] = { | |
21588 | (char *) "self",(char *) "flag", NULL | |
21589 | }; | |
21590 | ||
21591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21592 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21593 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21594 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21595 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21596 | { |
21597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21598 | (arg1)->SetAllPages(arg2); | |
21599 | ||
21600 | wxPyEndAllowThreads(__tstate); | |
21601 | if (PyErr_Occurred()) SWIG_fail; | |
21602 | } | |
21603 | Py_INCREF(Py_None); resultobj = Py_None; | |
21604 | return resultobj; | |
21605 | fail: | |
21606 | return NULL; | |
21607 | } | |
21608 | ||
21609 | ||
c32bde28 | 21610 | static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21611 | PyObject *resultobj; |
21612 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21613 | bool arg2 ; | |
21614 | PyObject * obj0 = 0 ; | |
21615 | PyObject * obj1 = 0 ; | |
21616 | char *kwnames[] = { | |
21617 | (char *) "self",(char *) "flag", NULL | |
21618 | }; | |
21619 | ||
21620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21621 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21622 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21623 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21624 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21625 | { |
21626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21627 | (arg1)->SetSelection(arg2); | |
21628 | ||
21629 | wxPyEndAllowThreads(__tstate); | |
21630 | if (PyErr_Occurred()) SWIG_fail; | |
21631 | } | |
21632 | Py_INCREF(Py_None); resultobj = Py_None; | |
21633 | return resultobj; | |
21634 | fail: | |
21635 | return NULL; | |
21636 | } | |
21637 | ||
21638 | ||
c32bde28 | 21639 | static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21640 | PyObject *resultobj; |
21641 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21642 | bool arg2 ; | |
21643 | PyObject * obj0 = 0 ; | |
21644 | PyObject * obj1 = 0 ; | |
21645 | char *kwnames[] = { | |
21646 | (char *) "self",(char *) "flag", NULL | |
21647 | }; | |
21648 | ||
21649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21650 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21651 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21652 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21653 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21654 | { |
21655 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21656 | (arg1)->SetCollate(arg2); | |
21657 | ||
21658 | wxPyEndAllowThreads(__tstate); | |
21659 | if (PyErr_Occurred()) SWIG_fail; | |
21660 | } | |
21661 | Py_INCREF(Py_None); resultobj = Py_None; | |
21662 | return resultobj; | |
21663 | fail: | |
21664 | return NULL; | |
21665 | } | |
21666 | ||
21667 | ||
c32bde28 | 21668 | static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21669 | PyObject *resultobj; |
21670 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21671 | bool arg2 ; | |
21672 | PyObject * obj0 = 0 ; | |
21673 | PyObject * obj1 = 0 ; | |
21674 | char *kwnames[] = { | |
21675 | (char *) "self",(char *) "flag", NULL | |
21676 | }; | |
21677 | ||
21678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21679 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21680 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21681 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21682 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21683 | { |
21684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21685 | (arg1)->SetPrintToFile(arg2); | |
21686 | ||
21687 | wxPyEndAllowThreads(__tstate); | |
21688 | if (PyErr_Occurred()) SWIG_fail; | |
21689 | } | |
21690 | Py_INCREF(Py_None); resultobj = Py_None; | |
21691 | return resultobj; | |
21692 | fail: | |
21693 | return NULL; | |
21694 | } | |
21695 | ||
21696 | ||
c32bde28 | 21697 | static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21698 | PyObject *resultobj; |
21699 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21700 | bool arg2 ; | |
21701 | PyObject * obj0 = 0 ; | |
21702 | PyObject * obj1 = 0 ; | |
21703 | char *kwnames[] = { | |
21704 | (char *) "self",(char *) "flag", NULL | |
21705 | }; | |
21706 | ||
21707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21708 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21709 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21710 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21711 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21712 | { |
21713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21714 | (arg1)->EnablePrintToFile(arg2); | |
21715 | ||
21716 | wxPyEndAllowThreads(__tstate); | |
21717 | if (PyErr_Occurred()) SWIG_fail; | |
21718 | } | |
21719 | Py_INCREF(Py_None); resultobj = Py_None; | |
21720 | return resultobj; | |
21721 | fail: | |
21722 | return NULL; | |
21723 | } | |
21724 | ||
21725 | ||
c32bde28 | 21726 | static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21727 | PyObject *resultobj; |
21728 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21729 | bool arg2 ; | |
21730 | PyObject * obj0 = 0 ; | |
21731 | PyObject * obj1 = 0 ; | |
21732 | char *kwnames[] = { | |
21733 | (char *) "self",(char *) "flag", NULL | |
21734 | }; | |
21735 | ||
21736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21737 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21738 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21739 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21740 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21741 | { |
21742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21743 | (arg1)->EnableSelection(arg2); | |
21744 | ||
21745 | wxPyEndAllowThreads(__tstate); | |
21746 | if (PyErr_Occurred()) SWIG_fail; | |
21747 | } | |
21748 | Py_INCREF(Py_None); resultobj = Py_None; | |
21749 | return resultobj; | |
21750 | fail: | |
21751 | return NULL; | |
21752 | } | |
21753 | ||
21754 | ||
c32bde28 | 21755 | static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21756 | PyObject *resultobj; |
21757 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21758 | bool arg2 ; | |
21759 | PyObject * obj0 = 0 ; | |
21760 | PyObject * obj1 = 0 ; | |
21761 | char *kwnames[] = { | |
21762 | (char *) "self",(char *) "flag", NULL | |
21763 | }; | |
21764 | ||
21765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21766 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21767 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21768 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21769 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21770 | { |
21771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21772 | (arg1)->EnablePageNumbers(arg2); | |
21773 | ||
21774 | wxPyEndAllowThreads(__tstate); | |
21775 | if (PyErr_Occurred()) SWIG_fail; | |
21776 | } | |
21777 | Py_INCREF(Py_None); resultobj = Py_None; | |
21778 | return resultobj; | |
21779 | fail: | |
21780 | return NULL; | |
21781 | } | |
21782 | ||
21783 | ||
c32bde28 | 21784 | static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21785 | PyObject *resultobj; |
21786 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21787 | bool arg2 ; | |
21788 | PyObject * obj0 = 0 ; | |
21789 | PyObject * obj1 = 0 ; | |
21790 | char *kwnames[] = { | |
21791 | (char *) "self",(char *) "flag", NULL | |
21792 | }; | |
21793 | ||
21794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21795 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21796 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 21797 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 21798 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
21799 | { |
21800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21801 | (arg1)->EnableHelp(arg2); | |
21802 | ||
21803 | wxPyEndAllowThreads(__tstate); | |
21804 | if (PyErr_Occurred()) SWIG_fail; | |
21805 | } | |
21806 | Py_INCREF(Py_None); resultobj = Py_None; | |
21807 | return resultobj; | |
21808 | fail: | |
21809 | return NULL; | |
21810 | } | |
21811 | ||
21812 | ||
c32bde28 | 21813 | static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21814 | PyObject *resultobj; |
21815 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21816 | bool result; | |
21817 | PyObject * obj0 = 0 ; | |
21818 | char *kwnames[] = { | |
21819 | (char *) "self", NULL | |
21820 | }; | |
21821 | ||
21822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21825 | { |
21826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21827 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile(); | |
21828 | ||
21829 | wxPyEndAllowThreads(__tstate); | |
21830 | if (PyErr_Occurred()) SWIG_fail; | |
21831 | } | |
4f89f6a3 RD |
21832 | { |
21833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21834 | } | |
d14a1e28 RD |
21835 | return resultobj; |
21836 | fail: | |
21837 | return NULL; | |
21838 | } | |
21839 | ||
21840 | ||
c32bde28 | 21841 | static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21842 | PyObject *resultobj; |
21843 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21844 | bool result; | |
21845 | PyObject * obj0 = 0 ; | |
21846 | char *kwnames[] = { | |
21847 | (char *) "self", NULL | |
21848 | }; | |
21849 | ||
21850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21851 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21852 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21853 | { |
21854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21855 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection(); | |
21856 | ||
21857 | wxPyEndAllowThreads(__tstate); | |
21858 | if (PyErr_Occurred()) SWIG_fail; | |
21859 | } | |
4f89f6a3 RD |
21860 | { |
21861 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21862 | } | |
d14a1e28 RD |
21863 | return resultobj; |
21864 | fail: | |
21865 | return NULL; | |
21866 | } | |
21867 | ||
21868 | ||
c32bde28 | 21869 | static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21870 | PyObject *resultobj; |
21871 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21872 | bool result; | |
21873 | PyObject * obj0 = 0 ; | |
21874 | char *kwnames[] = { | |
21875 | (char *) "self", NULL | |
21876 | }; | |
21877 | ||
21878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21879 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21880 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21881 | { |
21882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21883 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers(); | |
21884 | ||
21885 | wxPyEndAllowThreads(__tstate); | |
21886 | if (PyErr_Occurred()) SWIG_fail; | |
21887 | } | |
4f89f6a3 RD |
21888 | { |
21889 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21890 | } | |
d14a1e28 RD |
21891 | return resultobj; |
21892 | fail: | |
21893 | return NULL; | |
21894 | } | |
21895 | ||
21896 | ||
c32bde28 | 21897 | static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21898 | PyObject *resultobj; |
21899 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21900 | bool result; | |
21901 | PyObject * obj0 = 0 ; | |
21902 | char *kwnames[] = { | |
21903 | (char *) "self", NULL | |
21904 | }; | |
21905 | ||
21906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21907 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21908 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21909 | { |
21910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21911 | result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp(); | |
21912 | ||
21913 | wxPyEndAllowThreads(__tstate); | |
21914 | if (PyErr_Occurred()) SWIG_fail; | |
21915 | } | |
4f89f6a3 RD |
21916 | { |
21917 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21918 | } | |
d14a1e28 RD |
21919 | return resultobj; |
21920 | fail: | |
21921 | return NULL; | |
21922 | } | |
21923 | ||
21924 | ||
c32bde28 | 21925 | static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21926 | PyObject *resultobj; |
21927 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21928 | bool result; | |
21929 | PyObject * obj0 = 0 ; | |
21930 | char *kwnames[] = { | |
21931 | (char *) "self", NULL | |
21932 | }; | |
21933 | ||
21934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21937 | { |
21938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21939 | result = (bool)((wxPrintDialogData const *)arg1)->Ok(); | |
21940 | ||
21941 | wxPyEndAllowThreads(__tstate); | |
21942 | if (PyErr_Occurred()) SWIG_fail; | |
21943 | } | |
4f89f6a3 RD |
21944 | { |
21945 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
21946 | } | |
d14a1e28 RD |
21947 | return resultobj; |
21948 | fail: | |
21949 | return NULL; | |
21950 | } | |
21951 | ||
21952 | ||
c32bde28 | 21953 | static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21954 | PyObject *resultobj; |
21955 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21956 | wxPrintData *result; | |
21957 | PyObject * obj0 = 0 ; | |
21958 | char *kwnames[] = { | |
21959 | (char *) "self", NULL | |
21960 | }; | |
21961 | ||
21962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
21963 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21964 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
21965 | { |
21966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
21967 | { | |
21968 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
21969 | result = (wxPrintData *) &_result_ref; | |
21970 | } | |
21971 | ||
21972 | wxPyEndAllowThreads(__tstate); | |
21973 | if (PyErr_Occurred()) SWIG_fail; | |
21974 | } | |
15afbcd0 | 21975 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
21976 | return resultobj; |
21977 | fail: | |
21978 | return NULL; | |
21979 | } | |
21980 | ||
21981 | ||
c32bde28 | 21982 | static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
21983 | PyObject *resultobj; |
21984 | wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ; | |
21985 | wxPrintData *arg2 = 0 ; | |
21986 | PyObject * obj0 = 0 ; | |
21987 | PyObject * obj1 = 0 ; | |
21988 | char *kwnames[] = { | |
21989 | (char *) "self",(char *) "printData", NULL | |
21990 | }; | |
21991 | ||
21992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
21993 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
21994 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
21995 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintData, | |
21996 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
21997 | SWIG_fail; | |
d14a1e28 | 21998 | if (arg2 == NULL) { |
15afbcd0 RD |
21999 | PyErr_SetString(PyExc_TypeError,"null reference"); |
22000 | SWIG_fail; | |
d14a1e28 RD |
22001 | } |
22002 | { | |
22003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22004 | (arg1)->SetPrintData((wxPrintData const &)*arg2); | |
22005 | ||
22006 | wxPyEndAllowThreads(__tstate); | |
22007 | if (PyErr_Occurred()) SWIG_fail; | |
22008 | } | |
22009 | Py_INCREF(Py_None); resultobj = Py_None; | |
22010 | return resultobj; | |
22011 | fail: | |
22012 | return NULL; | |
22013 | } | |
22014 | ||
22015 | ||
c32bde28 | 22016 | static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22017 | PyObject *obj; |
22018 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22019 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj); | |
22020 | Py_INCREF(obj); | |
22021 | return Py_BuildValue((char *)""); | |
22022 | } | |
c32bde28 | 22023 | static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22024 | PyObject *resultobj; |
22025 | wxWindow *arg1 = (wxWindow *) 0 ; | |
22026 | wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ; | |
22027 | wxPrintDialog *result; | |
22028 | PyObject * obj0 = 0 ; | |
22029 | PyObject * obj1 = 0 ; | |
22030 | char *kwnames[] = { | |
22031 | (char *) "parent",(char *) "data", NULL | |
22032 | }; | |
22033 | ||
22034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
22036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 22037 | if (obj1) { |
15afbcd0 RD |
22038 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintDialogData, |
22039 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22040 | } |
22041 | { | |
e3b71cb8 | 22042 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22044 | result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2); | |
22045 | ||
22046 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22047 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22048 | } |
15afbcd0 | 22049 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1); |
d14a1e28 RD |
22050 | return resultobj; |
22051 | fail: | |
22052 | return NULL; | |
22053 | } | |
22054 | ||
22055 | ||
d3b6e4ff RD |
22056 | static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) { |
22057 | PyObject *resultobj; | |
22058 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
22059 | int result; | |
22060 | PyObject * obj0 = 0 ; | |
22061 | char *kwnames[] = { | |
22062 | (char *) "self", NULL | |
22063 | }; | |
22064 | ||
22065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail; | |
22066 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, | |
22067 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22068 | { | |
22069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22070 | result = (int)(arg1)->ShowModal(); | |
22071 | ||
22072 | wxPyEndAllowThreads(__tstate); | |
22073 | if (PyErr_Occurred()) SWIG_fail; | |
22074 | } | |
22075 | resultobj = SWIG_From_int((int)result); | |
22076 | return resultobj; | |
22077 | fail: | |
22078 | return NULL; | |
22079 | } | |
22080 | ||
22081 | ||
c32bde28 | 22082 | static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22083 | PyObject *resultobj; |
22084 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
22085 | wxPrintDialogData *result; | |
22086 | PyObject * obj0 = 0 ; | |
22087 | char *kwnames[] = { | |
22088 | (char *) "self", NULL | |
22089 | }; | |
22090 | ||
22091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22092 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
22093 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22094 | { |
22095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22096 | { | |
22097 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
22098 | result = (wxPrintDialogData *) &_result_ref; | |
22099 | } | |
22100 | ||
22101 | wxPyEndAllowThreads(__tstate); | |
22102 | if (PyErr_Occurred()) SWIG_fail; | |
22103 | } | |
15afbcd0 | 22104 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
22105 | return resultobj; |
22106 | fail: | |
22107 | return NULL; | |
22108 | } | |
22109 | ||
22110 | ||
d3b6e4ff | 22111 | static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22112 | PyObject *resultobj; |
22113 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
d3b6e4ff | 22114 | wxPrintData *result; |
d14a1e28 RD |
22115 | PyObject * obj0 = 0 ; |
22116 | char *kwnames[] = { | |
22117 | (char *) "self", NULL | |
22118 | }; | |
22119 | ||
d3b6e4ff | 22120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22121 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
22122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22123 | { |
22124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
22125 | { |
22126 | wxPrintData &_result_ref = (arg1)->GetPrintData(); | |
22127 | result = (wxPrintData *) &_result_ref; | |
22128 | } | |
d14a1e28 RD |
22129 | |
22130 | wxPyEndAllowThreads(__tstate); | |
22131 | if (PyErr_Occurred()) SWIG_fail; | |
22132 | } | |
d3b6e4ff | 22133 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0); |
d14a1e28 RD |
22134 | return resultobj; |
22135 | fail: | |
22136 | return NULL; | |
22137 | } | |
22138 | ||
22139 | ||
d3b6e4ff | 22140 | static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22141 | PyObject *resultobj; |
22142 | wxPrintDialog *arg1 = (wxPrintDialog *) 0 ; | |
d3b6e4ff | 22143 | wxDC *result; |
d14a1e28 RD |
22144 | PyObject * obj0 = 0 ; |
22145 | char *kwnames[] = { | |
22146 | (char *) "self", NULL | |
22147 | }; | |
22148 | ||
d3b6e4ff | 22149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22150 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialog, |
22151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22152 | { |
22153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22154 | result = (wxDC *)(arg1)->GetPrintDC(); |
d14a1e28 RD |
22155 | |
22156 | wxPyEndAllowThreads(__tstate); | |
22157 | if (PyErr_Occurred()) SWIG_fail; | |
22158 | } | |
d3b6e4ff RD |
22159 | { |
22160 | resultobj = wxPyMake_wxObject(result, 1); | |
22161 | } | |
d14a1e28 RD |
22162 | return resultobj; |
22163 | fail: | |
22164 | return NULL; | |
22165 | } | |
22166 | ||
22167 | ||
c32bde28 | 22168 | static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22169 | PyObject *obj; |
22170 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22171 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj); | |
22172 | Py_INCREF(obj); | |
22173 | return Py_BuildValue((char *)""); | |
22174 | } | |
c32bde28 | 22175 | static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22176 | PyObject *resultobj; |
22177 | wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ; | |
22178 | wxPrinter *result; | |
22179 | PyObject * obj0 = 0 ; | |
22180 | char *kwnames[] = { | |
22181 | (char *) "data", NULL | |
22182 | }; | |
22183 | ||
22184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail; | |
22185 | if (obj0) { | |
15afbcd0 RD |
22186 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintDialogData, |
22187 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22188 | } |
22189 | { | |
e3b71cb8 | 22190 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22191 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22192 | result = (wxPrinter *)new wxPrinter(arg1); | |
22193 | ||
22194 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22195 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 22196 | } |
15afbcd0 | 22197 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1); |
d14a1e28 RD |
22198 | return resultobj; |
22199 | fail: | |
22200 | return NULL; | |
22201 | } | |
22202 | ||
22203 | ||
c32bde28 | 22204 | static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22205 | PyObject *resultobj; |
22206 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22207 | PyObject * obj0 = 0 ; | |
22208 | char *kwnames[] = { | |
22209 | (char *) "self", NULL | |
22210 | }; | |
22211 | ||
22212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22213 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22215 | { |
22216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22217 | delete arg1; | |
22218 | ||
22219 | wxPyEndAllowThreads(__tstate); | |
22220 | if (PyErr_Occurred()) SWIG_fail; | |
22221 | } | |
22222 | Py_INCREF(Py_None); resultobj = Py_None; | |
22223 | return resultobj; | |
22224 | fail: | |
22225 | return NULL; | |
22226 | } | |
22227 | ||
22228 | ||
c32bde28 | 22229 | static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22230 | PyObject *resultobj; |
22231 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22232 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 22233 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff | 22234 | wxWindow *result; |
d14a1e28 RD |
22235 | PyObject * obj0 = 0 ; |
22236 | PyObject * obj1 = 0 ; | |
22237 | PyObject * obj2 = 0 ; | |
22238 | char *kwnames[] = { | |
22239 | (char *) "self",(char *) "parent",(char *) "printout", NULL | |
22240 | }; | |
22241 | ||
22242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22243 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22244 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22245 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22246 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
a68b8331 | 22247 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
15afbcd0 | 22248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
22249 | { |
22250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22251 | result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3); |
d14a1e28 RD |
22252 | |
22253 | wxPyEndAllowThreads(__tstate); | |
22254 | if (PyErr_Occurred()) SWIG_fail; | |
22255 | } | |
d3b6e4ff RD |
22256 | { |
22257 | resultobj = wxPyMake_wxObject(result, 0); | |
22258 | } | |
d14a1e28 RD |
22259 | return resultobj; |
22260 | fail: | |
22261 | return NULL; | |
22262 | } | |
22263 | ||
22264 | ||
d3b6e4ff | 22265 | static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22266 | PyObject *resultobj; |
22267 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
d3b6e4ff | 22268 | wxWindow *arg2 = (wxWindow *) 0 ; |
a68b8331 | 22269 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
22270 | wxString *arg4 = 0 ; |
22271 | bool temp4 = false ; | |
d14a1e28 | 22272 | PyObject * obj0 = 0 ; |
d3b6e4ff RD |
22273 | PyObject * obj1 = 0 ; |
22274 | PyObject * obj2 = 0 ; | |
22275 | PyObject * obj3 = 0 ; | |
d14a1e28 | 22276 | char *kwnames[] = { |
d3b6e4ff | 22277 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL |
d14a1e28 RD |
22278 | }; |
22279 | ||
d3b6e4ff | 22280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
22281 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22282 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d3b6e4ff RD |
22283 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, |
22284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
a68b8331 | 22285 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
d3b6e4ff RD |
22286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
22287 | { | |
22288 | arg4 = wxString_in_helper(obj3); | |
22289 | if (arg4 == NULL) SWIG_fail; | |
22290 | temp4 = true; | |
22291 | } | |
d14a1e28 RD |
22292 | { |
22293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22294 | (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4); |
d14a1e28 RD |
22295 | |
22296 | wxPyEndAllowThreads(__tstate); | |
22297 | if (PyErr_Occurred()) SWIG_fail; | |
22298 | } | |
d3b6e4ff RD |
22299 | Py_INCREF(Py_None); resultobj = Py_None; |
22300 | { | |
22301 | if (temp4) | |
22302 | delete arg4; | |
22303 | } | |
d14a1e28 RD |
22304 | return resultobj; |
22305 | fail: | |
d3b6e4ff RD |
22306 | { |
22307 | if (temp4) | |
22308 | delete arg4; | |
22309 | } | |
d14a1e28 RD |
22310 | return NULL; |
22311 | } | |
22312 | ||
22313 | ||
d3b6e4ff | 22314 | static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22315 | PyObject *resultobj; |
22316 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22317 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d14a1e28 RD |
22318 | bool result; |
22319 | PyObject * obj0 = 0 ; | |
22320 | PyObject * obj1 = 0 ; | |
d14a1e28 | 22321 | char *kwnames[] = { |
d3b6e4ff | 22322 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
22323 | }; |
22324 | ||
d3b6e4ff | 22325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22326 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22327 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22328 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22329 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22330 | { |
22331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22332 | result = (bool)(arg1)->Setup(arg2); |
d14a1e28 RD |
22333 | |
22334 | wxPyEndAllowThreads(__tstate); | |
22335 | if (PyErr_Occurred()) SWIG_fail; | |
22336 | } | |
4f89f6a3 RD |
22337 | { |
22338 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22339 | } | |
d14a1e28 RD |
22340 | return resultobj; |
22341 | fail: | |
22342 | return NULL; | |
22343 | } | |
22344 | ||
22345 | ||
d3b6e4ff | 22346 | static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22347 | PyObject *resultobj; |
22348 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22349 | wxWindow *arg2 = (wxWindow *) 0 ; | |
a68b8331 | 22350 | wxPyPrintout *arg3 = (wxPyPrintout *) 0 ; |
d3b6e4ff RD |
22351 | bool arg4 = (bool) true ; |
22352 | bool result; | |
d14a1e28 RD |
22353 | PyObject * obj0 = 0 ; |
22354 | PyObject * obj1 = 0 ; | |
d3b6e4ff RD |
22355 | PyObject * obj2 = 0 ; |
22356 | PyObject * obj3 = 0 ; | |
d14a1e28 | 22357 | char *kwnames[] = { |
d3b6e4ff | 22358 | (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL |
d14a1e28 RD |
22359 | }; |
22360 | ||
d3b6e4ff | 22361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
15afbcd0 RD |
22362 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22363 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22364 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22365 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
a68b8331 | 22366 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyPrintout, |
d3b6e4ff RD |
22367 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
22368 | if (obj3) { | |
22369 | arg4 = (bool)SWIG_As_bool(obj3); | |
22370 | if (PyErr_Occurred()) SWIG_fail; | |
22371 | } | |
d14a1e28 RD |
22372 | { |
22373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22374 | result = (bool)(arg1)->Print(arg2,arg3,arg4); |
d14a1e28 RD |
22375 | |
22376 | wxPyEndAllowThreads(__tstate); | |
22377 | if (PyErr_Occurred()) SWIG_fail; | |
22378 | } | |
22379 | { | |
d3b6e4ff | 22380 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
d14a1e28 RD |
22381 | } |
22382 | return resultobj; | |
22383 | fail: | |
22384 | return NULL; | |
22385 | } | |
22386 | ||
22387 | ||
d3b6e4ff | 22388 | static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22389 | PyObject *resultobj; |
22390 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22391 | wxWindow *arg2 = (wxWindow *) 0 ; | |
d3b6e4ff | 22392 | wxDC *result; |
d14a1e28 RD |
22393 | PyObject * obj0 = 0 ; |
22394 | PyObject * obj1 = 0 ; | |
d14a1e28 | 22395 | char *kwnames[] = { |
d3b6e4ff | 22396 | (char *) "self",(char *) "parent", NULL |
d14a1e28 RD |
22397 | }; |
22398 | ||
d3b6e4ff | 22399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
22400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22402 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
22403 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22404 | { |
22405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff | 22406 | result = (wxDC *)(arg1)->PrintDialog(arg2); |
d14a1e28 RD |
22407 | |
22408 | wxPyEndAllowThreads(__tstate); | |
22409 | if (PyErr_Occurred()) SWIG_fail; | |
22410 | } | |
d14a1e28 | 22411 | { |
d3b6e4ff | 22412 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
22413 | } |
22414 | return resultobj; | |
22415 | fail: | |
d14a1e28 RD |
22416 | return NULL; |
22417 | } | |
22418 | ||
22419 | ||
d3b6e4ff | 22420 | static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22421 | PyObject *resultobj; |
22422 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
d3b6e4ff | 22423 | wxPrintDialogData *result; |
d14a1e28 | 22424 | PyObject * obj0 = 0 ; |
d14a1e28 | 22425 | char *kwnames[] = { |
d3b6e4ff | 22426 | (char *) "self", NULL |
d14a1e28 RD |
22427 | }; |
22428 | ||
d3b6e4ff | 22429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22430 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22431 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22432 | { |
22433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
d3b6e4ff RD |
22434 | { |
22435 | wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData(); | |
22436 | result = (wxPrintDialogData *) &_result_ref; | |
22437 | } | |
d14a1e28 RD |
22438 | |
22439 | wxPyEndAllowThreads(__tstate); | |
22440 | if (PyErr_Occurred()) SWIG_fail; | |
22441 | } | |
d3b6e4ff | 22442 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
22443 | return resultobj; |
22444 | fail: | |
22445 | return NULL; | |
22446 | } | |
22447 | ||
22448 | ||
c32bde28 | 22449 | static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22450 | PyObject *resultobj; |
22451 | wxPrinter *arg1 = (wxPrinter *) 0 ; | |
22452 | bool result; | |
22453 | PyObject * obj0 = 0 ; | |
22454 | char *kwnames[] = { | |
22455 | (char *) "self", NULL | |
22456 | }; | |
22457 | ||
22458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22459 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrinter, |
22460 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22461 | { |
22462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22463 | result = (bool)(arg1)->GetAbort(); | |
22464 | ||
22465 | wxPyEndAllowThreads(__tstate); | |
22466 | if (PyErr_Occurred()) SWIG_fail; | |
22467 | } | |
4f89f6a3 RD |
22468 | { |
22469 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22470 | } | |
d14a1e28 RD |
22471 | return resultobj; |
22472 | fail: | |
22473 | return NULL; | |
22474 | } | |
22475 | ||
22476 | ||
c32bde28 | 22477 | static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22478 | PyObject *resultobj; |
22479 | int result; | |
22480 | char *kwnames[] = { | |
22481 | NULL | |
22482 | }; | |
22483 | ||
22484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail; | |
22485 | { | |
22486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22487 | result = (int)wxPrinter::GetLastError(); | |
22488 | ||
22489 | wxPyEndAllowThreads(__tstate); | |
22490 | if (PyErr_Occurred()) SWIG_fail; | |
22491 | } | |
c32bde28 | 22492 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
22493 | return resultobj; |
22494 | fail: | |
22495 | return NULL; | |
22496 | } | |
22497 | ||
22498 | ||
c32bde28 | 22499 | static PyObject * Printer_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
22500 | PyObject *obj; |
22501 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
22502 | SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj); | |
22503 | Py_INCREF(obj); | |
22504 | return Py_BuildValue((char *)""); | |
22505 | } | |
c32bde28 | 22506 | static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22507 | PyObject *resultobj; |
22508 | wxString const &arg1_defvalue = wxPyPrintoutTitleStr ; | |
22509 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
22510 | wxPyPrintout *result; | |
ae8162c8 | 22511 | bool temp1 = false ; |
d14a1e28 RD |
22512 | PyObject * obj0 = 0 ; |
22513 | char *kwnames[] = { | |
22514 | (char *) "title", NULL | |
22515 | }; | |
22516 | ||
22517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail; | |
22518 | if (obj0) { | |
22519 | { | |
22520 | arg1 = wxString_in_helper(obj0); | |
22521 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 22522 | temp1 = true; |
d14a1e28 RD |
22523 | } |
22524 | } | |
22525 | { | |
e3b71cb8 | 22526 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
22527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
22528 | result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1); | |
22529 | ||
22530 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 22531 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22532 | } |
22533 | { | |
412d302d | 22534 | resultobj = wxPyMake_wxObject(result, 1); |
d14a1e28 RD |
22535 | } |
22536 | { | |
22537 | if (temp1) | |
22538 | delete arg1; | |
22539 | } | |
22540 | return resultobj; | |
22541 | fail: | |
22542 | { | |
22543 | if (temp1) | |
22544 | delete arg1; | |
22545 | } | |
22546 | return NULL; | |
22547 | } | |
22548 | ||
22549 | ||
c32bde28 | 22550 | static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22551 | PyObject *resultobj; |
22552 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22553 | PyObject *arg2 = (PyObject *) 0 ; | |
22554 | PyObject *arg3 = (PyObject *) 0 ; | |
22555 | PyObject * obj0 = 0 ; | |
22556 | PyObject * obj1 = 0 ; | |
22557 | PyObject * obj2 = 0 ; | |
22558 | char *kwnames[] = { | |
22559 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
22560 | }; | |
22561 | ||
22562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
22563 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22564 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22565 | arg2 = obj1; |
22566 | arg3 = obj2; | |
22567 | { | |
22568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22569 | (arg1)->_setCallbackInfo(arg2,arg3); | |
22570 | ||
22571 | wxPyEndAllowThreads(__tstate); | |
22572 | if (PyErr_Occurred()) SWIG_fail; | |
22573 | } | |
22574 | Py_INCREF(Py_None); resultobj = Py_None; | |
22575 | return resultobj; | |
22576 | fail: | |
22577 | return NULL; | |
22578 | } | |
22579 | ||
22580 | ||
c32bde28 | 22581 | static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22582 | PyObject *resultobj; |
22583 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22584 | wxString result; | |
22585 | PyObject * obj0 = 0 ; | |
22586 | char *kwnames[] = { | |
22587 | (char *) "self", NULL | |
22588 | }; | |
22589 | ||
22590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22591 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22592 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22593 | { |
22594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22595 | result = ((wxPyPrintout const *)arg1)->GetTitle(); | |
22596 | ||
22597 | wxPyEndAllowThreads(__tstate); | |
22598 | if (PyErr_Occurred()) SWIG_fail; | |
22599 | } | |
22600 | { | |
22601 | #if wxUSE_UNICODE | |
22602 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
22603 | #else | |
22604 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
22605 | #endif | |
22606 | } | |
22607 | return resultobj; | |
22608 | fail: | |
22609 | return NULL; | |
22610 | } | |
22611 | ||
22612 | ||
c32bde28 | 22613 | static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22614 | PyObject *resultobj; |
22615 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22616 | wxDC *result; | |
22617 | PyObject * obj0 = 0 ; | |
22618 | char *kwnames[] = { | |
22619 | (char *) "self", NULL | |
22620 | }; | |
22621 | ||
22622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22623 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22624 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22625 | { |
22626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22627 | result = (wxDC *)(arg1)->GetDC(); | |
22628 | ||
22629 | wxPyEndAllowThreads(__tstate); | |
22630 | if (PyErr_Occurred()) SWIG_fail; | |
22631 | } | |
22632 | { | |
412d302d | 22633 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
22634 | } |
22635 | return resultobj; | |
22636 | fail: | |
22637 | return NULL; | |
22638 | } | |
22639 | ||
22640 | ||
c32bde28 | 22641 | static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22642 | PyObject *resultobj; |
22643 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22644 | wxDC *arg2 = (wxDC *) 0 ; | |
22645 | PyObject * obj0 = 0 ; | |
22646 | PyObject * obj1 = 0 ; | |
22647 | char *kwnames[] = { | |
22648 | (char *) "self",(char *) "dc", NULL | |
22649 | }; | |
22650 | ||
22651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22652 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22653 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
22654 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC, | |
22655 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22656 | { |
22657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22658 | (arg1)->SetDC(arg2); | |
22659 | ||
22660 | wxPyEndAllowThreads(__tstate); | |
22661 | if (PyErr_Occurred()) SWIG_fail; | |
22662 | } | |
22663 | Py_INCREF(Py_None); resultobj = Py_None; | |
22664 | return resultobj; | |
22665 | fail: | |
22666 | return NULL; | |
22667 | } | |
22668 | ||
22669 | ||
c32bde28 | 22670 | static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22671 | PyObject *resultobj; |
22672 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22673 | int arg2 ; |
22674 | int arg3 ; | |
d14a1e28 | 22675 | PyObject * obj0 = 0 ; |
994141e6 RD |
22676 | PyObject * obj1 = 0 ; |
22677 | PyObject * obj2 = 0 ; | |
d14a1e28 | 22678 | char *kwnames[] = { |
322913ce | 22679 | (char *) "self",(char *) "w",(char *) "h", NULL |
d14a1e28 RD |
22680 | }; |
22681 | ||
994141e6 | 22682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22683 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22684 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22685 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22686 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22687 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22688 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22689 | { |
22690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22691 | (arg1)->SetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22692 | |
22693 | wxPyEndAllowThreads(__tstate); | |
22694 | if (PyErr_Occurred()) SWIG_fail; | |
22695 | } | |
22696 | Py_INCREF(Py_None); resultobj = Py_None; | |
d14a1e28 RD |
22697 | return resultobj; |
22698 | fail: | |
22699 | return NULL; | |
22700 | } | |
22701 | ||
22702 | ||
c32bde28 | 22703 | static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22704 | PyObject *resultobj; |
22705 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
322913ce RD |
22706 | int *arg2 = (int *) 0 ; |
22707 | int *arg3 = (int *) 0 ; | |
22708 | int temp2 ; | |
c32bde28 | 22709 | int res2 = 0 ; |
322913ce | 22710 | int temp3 ; |
c32bde28 | 22711 | int res3 = 0 ; |
d14a1e28 RD |
22712 | PyObject * obj0 = 0 ; |
22713 | char *kwnames[] = { | |
322913ce | 22714 | (char *) "self", NULL |
d14a1e28 RD |
22715 | }; |
22716 | ||
c32bde28 RD |
22717 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22718 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
322913ce | 22719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22720 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22721 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22722 | { |
22723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322913ce | 22724 | (arg1)->GetPageSizePixels(arg2,arg3); |
d14a1e28 RD |
22725 | |
22726 | wxPyEndAllowThreads(__tstate); | |
22727 | if (PyErr_Occurred()) SWIG_fail; | |
22728 | } | |
22729 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22730 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22731 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22732 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22733 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22734 | return resultobj; |
22735 | fail: | |
22736 | return NULL; | |
22737 | } | |
22738 | ||
22739 | ||
c32bde28 | 22740 | static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22741 | PyObject *resultobj; |
22742 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22743 | int arg2 ; | |
22744 | int arg3 ; | |
22745 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22746 | PyObject * obj1 = 0 ; |
22747 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22748 | char *kwnames[] = { |
22749 | (char *) "self",(char *) "w",(char *) "h", NULL | |
22750 | }; | |
22751 | ||
994141e6 | 22752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22753 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22754 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22755 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22756 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22757 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22758 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22759 | { |
22760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22761 | (arg1)->SetPageSizeMM(arg2,arg3); | |
22762 | ||
22763 | wxPyEndAllowThreads(__tstate); | |
22764 | if (PyErr_Occurred()) SWIG_fail; | |
22765 | } | |
22766 | Py_INCREF(Py_None); resultobj = Py_None; | |
22767 | return resultobj; | |
22768 | fail: | |
22769 | return NULL; | |
22770 | } | |
22771 | ||
22772 | ||
c32bde28 | 22773 | static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22774 | PyObject *resultobj; |
22775 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22776 | int *arg2 = (int *) 0 ; | |
22777 | int *arg3 = (int *) 0 ; | |
22778 | int temp2 ; | |
c32bde28 | 22779 | int res2 = 0 ; |
d14a1e28 | 22780 | int temp3 ; |
c32bde28 | 22781 | int res3 = 0 ; |
d14a1e28 RD |
22782 | PyObject * obj0 = 0 ; |
22783 | char *kwnames[] = { | |
22784 | (char *) "self", NULL | |
22785 | }; | |
22786 | ||
c32bde28 RD |
22787 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22788 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22792 | { |
22793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22794 | (arg1)->GetPageSizeMM(arg2,arg3); | |
22795 | ||
22796 | wxPyEndAllowThreads(__tstate); | |
22797 | if (PyErr_Occurred()) SWIG_fail; | |
22798 | } | |
22799 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22800 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22801 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22802 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22803 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22804 | return resultobj; |
22805 | fail: | |
22806 | return NULL; | |
22807 | } | |
22808 | ||
22809 | ||
c32bde28 | 22810 | static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22811 | PyObject *resultobj; |
22812 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22813 | int arg2 ; | |
22814 | int arg3 ; | |
22815 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22816 | PyObject * obj1 = 0 ; |
22817 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22818 | char *kwnames[] = { |
22819 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22820 | }; | |
22821 | ||
994141e6 | 22822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22825 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22826 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22827 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22828 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22829 | { |
22830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22831 | (arg1)->SetPPIScreen(arg2,arg3); | |
22832 | ||
22833 | wxPyEndAllowThreads(__tstate); | |
22834 | if (PyErr_Occurred()) SWIG_fail; | |
22835 | } | |
22836 | Py_INCREF(Py_None); resultobj = Py_None; | |
22837 | return resultobj; | |
22838 | fail: | |
22839 | return NULL; | |
22840 | } | |
22841 | ||
22842 | ||
c32bde28 | 22843 | static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22844 | PyObject *resultobj; |
22845 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22846 | int *arg2 = (int *) 0 ; | |
22847 | int *arg3 = (int *) 0 ; | |
22848 | int temp2 ; | |
c32bde28 | 22849 | int res2 = 0 ; |
d14a1e28 | 22850 | int temp3 ; |
c32bde28 | 22851 | int res3 = 0 ; |
d14a1e28 RD |
22852 | PyObject * obj0 = 0 ; |
22853 | char *kwnames[] = { | |
22854 | (char *) "self", NULL | |
22855 | }; | |
22856 | ||
c32bde28 RD |
22857 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22858 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22860 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22861 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22862 | { |
22863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22864 | (arg1)->GetPPIScreen(arg2,arg3); | |
22865 | ||
22866 | wxPyEndAllowThreads(__tstate); | |
22867 | if (PyErr_Occurred()) SWIG_fail; | |
22868 | } | |
22869 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22870 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22871 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22872 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22873 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22874 | return resultobj; |
22875 | fail: | |
22876 | return NULL; | |
22877 | } | |
22878 | ||
22879 | ||
c32bde28 | 22880 | static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22881 | PyObject *resultobj; |
22882 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22883 | int arg2 ; | |
22884 | int arg3 ; | |
22885 | PyObject * obj0 = 0 ; | |
994141e6 RD |
22886 | PyObject * obj1 = 0 ; |
22887 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
22888 | char *kwnames[] = { |
22889 | (char *) "self",(char *) "x",(char *) "y", NULL | |
22890 | }; | |
22891 | ||
994141e6 | 22892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
22893 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22894 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22895 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 22896 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 22897 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 22898 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22899 | { |
22900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22901 | (arg1)->SetPPIPrinter(arg2,arg3); | |
22902 | ||
22903 | wxPyEndAllowThreads(__tstate); | |
22904 | if (PyErr_Occurred()) SWIG_fail; | |
22905 | } | |
22906 | Py_INCREF(Py_None); resultobj = Py_None; | |
22907 | return resultobj; | |
22908 | fail: | |
22909 | return NULL; | |
22910 | } | |
22911 | ||
22912 | ||
c32bde28 | 22913 | static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22914 | PyObject *resultobj; |
22915 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22916 | int *arg2 = (int *) 0 ; | |
22917 | int *arg3 = (int *) 0 ; | |
22918 | int temp2 ; | |
c32bde28 | 22919 | int res2 = 0 ; |
d14a1e28 | 22920 | int temp3 ; |
c32bde28 | 22921 | int res3 = 0 ; |
d14a1e28 RD |
22922 | PyObject * obj0 = 0 ; |
22923 | char *kwnames[] = { | |
22924 | (char *) "self", NULL | |
22925 | }; | |
22926 | ||
c32bde28 RD |
22927 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
22928 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
d14a1e28 | 22929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
22930 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22931 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22932 | { |
22933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22934 | (arg1)->GetPPIPrinter(arg2,arg3); | |
22935 | ||
22936 | wxPyEndAllowThreads(__tstate); | |
22937 | if (PyErr_Occurred()) SWIG_fail; | |
22938 | } | |
22939 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
22940 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
22941 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
22942 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
22943 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
22944 | return resultobj; |
22945 | fail: | |
22946 | return NULL; | |
22947 | } | |
22948 | ||
22949 | ||
c32bde28 | 22950 | static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22951 | PyObject *resultobj; |
22952 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22953 | bool result; | |
22954 | PyObject * obj0 = 0 ; | |
22955 | char *kwnames[] = { | |
22956 | (char *) "self", NULL | |
22957 | }; | |
22958 | ||
22959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
22960 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22961 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
22962 | { |
22963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22964 | result = (bool)(arg1)->IsPreview(); | |
22965 | ||
22966 | wxPyEndAllowThreads(__tstate); | |
22967 | if (PyErr_Occurred()) SWIG_fail; | |
22968 | } | |
4f89f6a3 RD |
22969 | { |
22970 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
22971 | } | |
d14a1e28 RD |
22972 | return resultobj; |
22973 | fail: | |
22974 | return NULL; | |
22975 | } | |
22976 | ||
22977 | ||
c32bde28 | 22978 | static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
22979 | PyObject *resultobj; |
22980 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
22981 | bool arg2 ; | |
22982 | PyObject * obj0 = 0 ; | |
22983 | PyObject * obj1 = 0 ; | |
22984 | char *kwnames[] = { | |
22985 | (char *) "self",(char *) "p", NULL | |
22986 | }; | |
22987 | ||
22988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
22989 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
22990 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 22991 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 22992 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
22993 | { |
22994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
22995 | (arg1)->SetIsPreview(arg2); | |
22996 | ||
22997 | wxPyEndAllowThreads(__tstate); | |
22998 | if (PyErr_Occurred()) SWIG_fail; | |
22999 | } | |
23000 | Py_INCREF(Py_None); resultobj = Py_None; | |
23001 | return resultobj; | |
23002 | fail: | |
23003 | return NULL; | |
23004 | } | |
23005 | ||
23006 | ||
c32bde28 | 23007 | static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23008 | PyObject *resultobj; |
23009 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23010 | int arg2 ; | |
23011 | int arg3 ; | |
23012 | bool result; | |
23013 | PyObject * obj0 = 0 ; | |
994141e6 RD |
23014 | PyObject * obj1 = 0 ; |
23015 | PyObject * obj2 = 0 ; | |
d14a1e28 RD |
23016 | char *kwnames[] = { |
23017 | (char *) "self",(char *) "startPage",(char *) "endPage", NULL | |
23018 | }; | |
23019 | ||
994141e6 | 23020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23021 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23022 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23023 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23024 | if (PyErr_Occurred()) SWIG_fail; |
c32bde28 | 23025 | arg3 = (int)SWIG_As_int(obj2); |
15afbcd0 | 23026 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
23027 | { |
23028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23029 | result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3); | |
23030 | ||
23031 | wxPyEndAllowThreads(__tstate); | |
23032 | if (PyErr_Occurred()) SWIG_fail; | |
23033 | } | |
4f89f6a3 RD |
23034 | { |
23035 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23036 | } | |
d14a1e28 RD |
23037 | return resultobj; |
23038 | fail: | |
23039 | return NULL; | |
23040 | } | |
23041 | ||
23042 | ||
c32bde28 | 23043 | static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23044 | PyObject *resultobj; |
23045 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23046 | PyObject * obj0 = 0 ; | |
23047 | char *kwnames[] = { | |
23048 | (char *) "self", NULL | |
23049 | }; | |
23050 | ||
23051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23052 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23053 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23054 | { |
23055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23056 | (arg1)->base_OnEndDocument(); | |
23057 | ||
23058 | wxPyEndAllowThreads(__tstate); | |
23059 | if (PyErr_Occurred()) SWIG_fail; | |
23060 | } | |
23061 | Py_INCREF(Py_None); resultobj = Py_None; | |
23062 | return resultobj; | |
23063 | fail: | |
23064 | return NULL; | |
23065 | } | |
23066 | ||
23067 | ||
c32bde28 | 23068 | static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23069 | PyObject *resultobj; |
23070 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23071 | PyObject * obj0 = 0 ; | |
23072 | char *kwnames[] = { | |
23073 | (char *) "self", NULL | |
23074 | }; | |
23075 | ||
23076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23079 | { |
23080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23081 | (arg1)->base_OnBeginPrinting(); | |
23082 | ||
23083 | wxPyEndAllowThreads(__tstate); | |
23084 | if (PyErr_Occurred()) SWIG_fail; | |
23085 | } | |
23086 | Py_INCREF(Py_None); resultobj = Py_None; | |
23087 | return resultobj; | |
23088 | fail: | |
23089 | return NULL; | |
23090 | } | |
23091 | ||
23092 | ||
c32bde28 | 23093 | static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23094 | PyObject *resultobj; |
23095 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23096 | PyObject * obj0 = 0 ; | |
23097 | char *kwnames[] = { | |
23098 | (char *) "self", NULL | |
23099 | }; | |
23100 | ||
23101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23104 | { |
23105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23106 | (arg1)->base_OnEndPrinting(); | |
23107 | ||
23108 | wxPyEndAllowThreads(__tstate); | |
23109 | if (PyErr_Occurred()) SWIG_fail; | |
23110 | } | |
23111 | Py_INCREF(Py_None); resultobj = Py_None; | |
23112 | return resultobj; | |
23113 | fail: | |
23114 | return NULL; | |
23115 | } | |
23116 | ||
23117 | ||
c32bde28 | 23118 | static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23119 | PyObject *resultobj; |
23120 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23121 | PyObject * obj0 = 0 ; | |
23122 | char *kwnames[] = { | |
23123 | (char *) "self", NULL | |
23124 | }; | |
23125 | ||
23126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23127 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23128 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23129 | { |
23130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23131 | (arg1)->base_OnPreparePrinting(); | |
23132 | ||
23133 | wxPyEndAllowThreads(__tstate); | |
23134 | if (PyErr_Occurred()) SWIG_fail; | |
23135 | } | |
23136 | Py_INCREF(Py_None); resultobj = Py_None; | |
23137 | return resultobj; | |
23138 | fail: | |
23139 | return NULL; | |
23140 | } | |
23141 | ||
23142 | ||
c32bde28 | 23143 | static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) { |
322913ce RD |
23144 | PyObject *resultobj; |
23145 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23146 | int arg2 ; | |
23147 | bool result; | |
23148 | PyObject * obj0 = 0 ; | |
994141e6 | 23149 | PyObject * obj1 = 0 ; |
322913ce RD |
23150 | char *kwnames[] = { |
23151 | (char *) "self",(char *) "page", NULL | |
23152 | }; | |
23153 | ||
994141e6 | 23154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23155 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23156 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23157 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23158 | if (PyErr_Occurred()) SWIG_fail; |
322913ce RD |
23159 | { |
23160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23161 | result = (bool)(arg1)->base_HasPage(arg2); | |
23162 | ||
23163 | wxPyEndAllowThreads(__tstate); | |
23164 | if (PyErr_Occurred()) SWIG_fail; | |
23165 | } | |
4f89f6a3 RD |
23166 | { |
23167 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23168 | } | |
322913ce RD |
23169 | return resultobj; |
23170 | fail: | |
23171 | return NULL; | |
23172 | } | |
23173 | ||
23174 | ||
c32bde28 | 23175 | static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23176 | PyObject *resultobj; |
23177 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23178 | int *arg2 = (int *) 0 ; | |
23179 | int *arg3 = (int *) 0 ; | |
23180 | int *arg4 = (int *) 0 ; | |
23181 | int *arg5 = (int *) 0 ; | |
23182 | int temp2 ; | |
c32bde28 | 23183 | int res2 = 0 ; |
d14a1e28 | 23184 | int temp3 ; |
c32bde28 | 23185 | int res3 = 0 ; |
d14a1e28 | 23186 | int temp4 ; |
c32bde28 | 23187 | int res4 = 0 ; |
d14a1e28 | 23188 | int temp5 ; |
c32bde28 | 23189 | int res5 = 0 ; |
d14a1e28 RD |
23190 | PyObject * obj0 = 0 ; |
23191 | char *kwnames[] = { | |
23192 | (char *) "self", NULL | |
23193 | }; | |
23194 | ||
c32bde28 RD |
23195 | arg2 = &temp2; res2 = SWIG_NEWOBJ; |
23196 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
23197 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
23198 | arg5 = &temp5; res5 = SWIG_NEWOBJ; | |
d14a1e28 | 23199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail; |
15afbcd0 RD |
23200 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23202 | { |
23203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23204 | (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5); | |
23205 | ||
23206 | wxPyEndAllowThreads(__tstate); | |
23207 | if (PyErr_Occurred()) SWIG_fail; | |
23208 | } | |
23209 | Py_INCREF(Py_None); resultobj = Py_None; | |
c32bde28 RD |
23210 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? |
23211 | SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0))); | |
23212 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
23213 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
23214 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
23215 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
23216 | resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ? | |
23217 | SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0))); | |
d14a1e28 RD |
23218 | return resultobj; |
23219 | fail: | |
23220 | return NULL; | |
23221 | } | |
23222 | ||
23223 | ||
c32bde28 | 23224 | static PyObject * Printout_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23225 | PyObject *obj; |
23226 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23227 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj); | |
23228 | Py_INCREF(obj); | |
23229 | return Py_BuildValue((char *)""); | |
23230 | } | |
c32bde28 | 23231 | static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23232 | PyObject *resultobj; |
23233 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23234 | wxWindow *arg2 = (wxWindow *) 0 ; | |
23235 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
23236 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
23237 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
23238 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
23239 | long arg5 = (long) 0 ; | |
23240 | wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ; | |
23241 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
23242 | wxPreviewCanvas *result; | |
23243 | wxPoint temp3 ; | |
23244 | wxSize temp4 ; | |
ae8162c8 | 23245 | bool temp6 = false ; |
d14a1e28 RD |
23246 | PyObject * obj0 = 0 ; |
23247 | PyObject * obj1 = 0 ; | |
23248 | PyObject * obj2 = 0 ; | |
23249 | PyObject * obj3 = 0 ; | |
994141e6 | 23250 | PyObject * obj4 = 0 ; |
d14a1e28 RD |
23251 | PyObject * obj5 = 0 ; |
23252 | char *kwnames[] = { | |
23253 | (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23254 | }; | |
23255 | ||
994141e6 | 23256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
15afbcd0 RD |
23257 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23258 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23259 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
23260 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23261 | if (obj2) { |
23262 | { | |
23263 | arg3 = &temp3; | |
23264 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
23265 | } | |
23266 | } | |
23267 | if (obj3) { | |
23268 | { | |
23269 | arg4 = &temp4; | |
23270 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
23271 | } | |
23272 | } | |
994141e6 | 23273 | if (obj4) { |
c32bde28 | 23274 | arg5 = (long)SWIG_As_long(obj4); |
15afbcd0 | 23275 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 23276 | } |
d14a1e28 RD |
23277 | if (obj5) { |
23278 | { | |
23279 | arg6 = wxString_in_helper(obj5); | |
23280 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 23281 | temp6 = true; |
d14a1e28 RD |
23282 | } |
23283 | } | |
23284 | { | |
e3b71cb8 | 23285 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23287 | result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
23288 | ||
23289 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23290 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23291 | } |
15afbcd0 | 23292 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1); |
d14a1e28 RD |
23293 | { |
23294 | if (temp6) | |
23295 | delete arg6; | |
23296 | } | |
23297 | return resultobj; | |
23298 | fail: | |
23299 | { | |
23300 | if (temp6) | |
23301 | delete arg6; | |
23302 | } | |
23303 | return NULL; | |
23304 | } | |
23305 | ||
23306 | ||
c32bde28 | 23307 | static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23308 | PyObject *obj; |
23309 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23310 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj); | |
23311 | Py_INCREF(obj); | |
23312 | return Py_BuildValue((char *)""); | |
23313 | } | |
c32bde28 | 23314 | static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23315 | PyObject *resultobj; |
23316 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23317 | wxFrame *arg2 = (wxFrame *) 0 ; | |
23318 | wxString *arg3 = 0 ; | |
23319 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23320 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23321 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23322 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23323 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
23324 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
23325 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23326 | wxPreviewFrame *result; | |
ae8162c8 | 23327 | bool temp3 = false ; |
d14a1e28 RD |
23328 | wxPoint temp4 ; |
23329 | wxSize temp5 ; | |
ae8162c8 | 23330 | bool temp7 = false ; |
d14a1e28 RD |
23331 | PyObject * obj0 = 0 ; |
23332 | PyObject * obj1 = 0 ; | |
23333 | PyObject * obj2 = 0 ; | |
23334 | PyObject * obj3 = 0 ; | |
23335 | PyObject * obj4 = 0 ; | |
994141e6 | 23336 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23337 | PyObject * obj6 = 0 ; |
23338 | char *kwnames[] = { | |
23339 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23340 | }; | |
23341 | ||
994141e6 | 23342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23345 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
23346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23347 | { |
23348 | arg3 = wxString_in_helper(obj2); | |
23349 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 23350 | temp3 = true; |
d14a1e28 RD |
23351 | } |
23352 | if (obj3) { | |
23353 | { | |
23354 | arg4 = &temp4; | |
23355 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23356 | } | |
23357 | } | |
23358 | if (obj4) { | |
23359 | { | |
23360 | arg5 = &temp5; | |
23361 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23362 | } | |
23363 | } | |
994141e6 | 23364 | if (obj5) { |
c32bde28 | 23365 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 23366 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 23367 | } |
d14a1e28 RD |
23368 | if (obj6) { |
23369 | { | |
23370 | arg7 = wxString_in_helper(obj6); | |
23371 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 23372 | temp7 = true; |
d14a1e28 RD |
23373 | } |
23374 | } | |
23375 | { | |
e3b71cb8 | 23376 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23378 | result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23379 | ||
23380 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23381 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23382 | } |
15afbcd0 | 23383 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1); |
d14a1e28 RD |
23384 | { |
23385 | if (temp3) | |
23386 | delete arg3; | |
23387 | } | |
23388 | { | |
23389 | if (temp7) | |
23390 | delete arg7; | |
23391 | } | |
23392 | return resultobj; | |
23393 | fail: | |
23394 | { | |
23395 | if (temp3) | |
23396 | delete arg3; | |
23397 | } | |
23398 | { | |
23399 | if (temp7) | |
23400 | delete arg7; | |
23401 | } | |
23402 | return NULL; | |
23403 | } | |
23404 | ||
23405 | ||
c32bde28 | 23406 | static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23407 | PyObject *resultobj; |
23408 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23409 | PyObject * obj0 = 0 ; | |
23410 | char *kwnames[] = { | |
23411 | (char *) "self", NULL | |
23412 | }; | |
23413 | ||
23414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23415 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23416 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23417 | { |
23418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23419 | (arg1)->Initialize(); | |
23420 | ||
23421 | wxPyEndAllowThreads(__tstate); | |
23422 | if (PyErr_Occurred()) SWIG_fail; | |
23423 | } | |
23424 | Py_INCREF(Py_None); resultobj = Py_None; | |
23425 | return resultobj; | |
23426 | fail: | |
23427 | return NULL; | |
23428 | } | |
23429 | ||
23430 | ||
c32bde28 | 23431 | static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23432 | PyObject *resultobj; |
23433 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23434 | PyObject * obj0 = 0 ; | |
23435 | char *kwnames[] = { | |
23436 | (char *) "self", NULL | |
23437 | }; | |
23438 | ||
23439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23440 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23441 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23442 | { |
23443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23444 | (arg1)->CreateControlBar(); | |
23445 | ||
23446 | wxPyEndAllowThreads(__tstate); | |
23447 | if (PyErr_Occurred()) SWIG_fail; | |
23448 | } | |
23449 | Py_INCREF(Py_None); resultobj = Py_None; | |
23450 | return resultobj; | |
23451 | fail: | |
23452 | return NULL; | |
23453 | } | |
23454 | ||
23455 | ||
c32bde28 | 23456 | static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23457 | PyObject *resultobj; |
23458 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23459 | PyObject * obj0 = 0 ; | |
23460 | char *kwnames[] = { | |
23461 | (char *) "self", NULL | |
23462 | }; | |
23463 | ||
23464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23467 | { |
23468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23469 | (arg1)->CreateCanvas(); | |
23470 | ||
23471 | wxPyEndAllowThreads(__tstate); | |
23472 | if (PyErr_Occurred()) SWIG_fail; | |
23473 | } | |
23474 | Py_INCREF(Py_None); resultobj = Py_None; | |
23475 | return resultobj; | |
23476 | fail: | |
23477 | return NULL; | |
23478 | } | |
23479 | ||
23480 | ||
c32bde28 | 23481 | static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23482 | PyObject *resultobj; |
23483 | wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ; | |
23484 | wxPreviewControlBar *result; | |
23485 | PyObject * obj0 = 0 ; | |
23486 | char *kwnames[] = { | |
23487 | (char *) "self", NULL | |
23488 | }; | |
23489 | ||
23490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23491 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewFrame, |
23492 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23493 | { |
23494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23495 | result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar(); | |
23496 | ||
23497 | wxPyEndAllowThreads(__tstate); | |
23498 | if (PyErr_Occurred()) SWIG_fail; | |
23499 | } | |
15afbcd0 | 23500 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0); |
d14a1e28 RD |
23501 | return resultobj; |
23502 | fail: | |
23503 | return NULL; | |
23504 | } | |
23505 | ||
23506 | ||
c32bde28 | 23507 | static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23508 | PyObject *obj; |
23509 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23510 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj); | |
23511 | Py_INCREF(obj); | |
23512 | return Py_BuildValue((char *)""); | |
23513 | } | |
c32bde28 | 23514 | static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23515 | PyObject *resultobj; |
23516 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23517 | long arg2 ; | |
23518 | wxWindow *arg3 = (wxWindow *) 0 ; | |
23519 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
23520 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
23521 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
23522 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
23523 | long arg6 = (long) wxTAB_TRAVERSAL ; | |
23524 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
23525 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
23526 | wxPreviewControlBar *result; | |
23527 | wxPoint temp4 ; | |
23528 | wxSize temp5 ; | |
ae8162c8 | 23529 | bool temp7 = false ; |
d14a1e28 | 23530 | PyObject * obj0 = 0 ; |
994141e6 | 23531 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23532 | PyObject * obj2 = 0 ; |
23533 | PyObject * obj3 = 0 ; | |
23534 | PyObject * obj4 = 0 ; | |
994141e6 | 23535 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
23536 | PyObject * obj6 = 0 ; |
23537 | char *kwnames[] = { | |
23538 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
23539 | }; | |
23540 | ||
994141e6 | 23541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
23542 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23543 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23544 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 RD |
23545 | if (PyErr_Occurred()) SWIG_fail; |
23546 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
23547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23548 | if (obj3) { |
23549 | { | |
23550 | arg4 = &temp4; | |
23551 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
23552 | } | |
23553 | } | |
23554 | if (obj4) { | |
23555 | { | |
23556 | arg5 = &temp5; | |
23557 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
23558 | } | |
23559 | } | |
994141e6 | 23560 | if (obj5) { |
c32bde28 | 23561 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 23562 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 23563 | } |
d14a1e28 RD |
23564 | if (obj6) { |
23565 | { | |
23566 | arg7 = wxString_in_helper(obj6); | |
23567 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 23568 | temp7 = true; |
d14a1e28 RD |
23569 | } |
23570 | } | |
23571 | { | |
e3b71cb8 | 23572 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23574 | result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
23575 | ||
23576 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23577 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23578 | } |
15afbcd0 | 23579 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1); |
d14a1e28 RD |
23580 | { |
23581 | if (temp7) | |
23582 | delete arg7; | |
23583 | } | |
23584 | return resultobj; | |
23585 | fail: | |
23586 | { | |
23587 | if (temp7) | |
23588 | delete arg7; | |
23589 | } | |
23590 | return NULL; | |
23591 | } | |
23592 | ||
23593 | ||
c32bde28 | 23594 | static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23595 | PyObject *resultobj; |
23596 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23597 | int result; | |
23598 | PyObject * obj0 = 0 ; | |
23599 | char *kwnames[] = { | |
23600 | (char *) "self", NULL | |
23601 | }; | |
23602 | ||
23603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23604 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23605 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23606 | { |
23607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23608 | result = (int)(arg1)->GetZoomControl(); | |
23609 | ||
23610 | wxPyEndAllowThreads(__tstate); | |
23611 | if (PyErr_Occurred()) SWIG_fail; | |
23612 | } | |
c32bde28 | 23613 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
23614 | return resultobj; |
23615 | fail: | |
23616 | return NULL; | |
23617 | } | |
23618 | ||
23619 | ||
c32bde28 | 23620 | static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23621 | PyObject *resultobj; |
23622 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23623 | int arg2 ; | |
23624 | PyObject * obj0 = 0 ; | |
994141e6 | 23625 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23626 | char *kwnames[] = { |
23627 | (char *) "self",(char *) "zoom", NULL | |
23628 | }; | |
23629 | ||
994141e6 | 23630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23633 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23634 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
23635 | { |
23636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23637 | (arg1)->SetZoomControl(arg2); | |
23638 | ||
23639 | wxPyEndAllowThreads(__tstate); | |
23640 | if (PyErr_Occurred()) SWIG_fail; | |
23641 | } | |
23642 | Py_INCREF(Py_None); resultobj = Py_None; | |
23643 | return resultobj; | |
23644 | fail: | |
23645 | return NULL; | |
23646 | } | |
23647 | ||
23648 | ||
c32bde28 | 23649 | static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23650 | PyObject *resultobj; |
23651 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23652 | wxPrintPreview *result; | |
23653 | PyObject * obj0 = 0 ; | |
23654 | char *kwnames[] = { | |
23655 | (char *) "self", NULL | |
23656 | }; | |
23657 | ||
23658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23659 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23660 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23661 | { |
23662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23663 | result = (wxPrintPreview *)(arg1)->GetPrintPreview(); | |
23664 | ||
23665 | wxPyEndAllowThreads(__tstate); | |
23666 | if (PyErr_Occurred()) SWIG_fail; | |
23667 | } | |
15afbcd0 | 23668 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0); |
d14a1e28 RD |
23669 | return resultobj; |
23670 | fail: | |
23671 | return NULL; | |
23672 | } | |
23673 | ||
23674 | ||
c32bde28 | 23675 | static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23676 | PyObject *resultobj; |
23677 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23678 | PyObject * obj0 = 0 ; | |
23679 | char *kwnames[] = { | |
23680 | (char *) "self", NULL | |
23681 | }; | |
23682 | ||
23683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23684 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23685 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23686 | { |
23687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23688 | (arg1)->OnNext(); | |
23689 | ||
23690 | wxPyEndAllowThreads(__tstate); | |
23691 | if (PyErr_Occurred()) SWIG_fail; | |
23692 | } | |
23693 | Py_INCREF(Py_None); resultobj = Py_None; | |
23694 | return resultobj; | |
23695 | fail: | |
23696 | return NULL; | |
23697 | } | |
23698 | ||
23699 | ||
c32bde28 | 23700 | static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23701 | PyObject *resultobj; |
23702 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23703 | PyObject * obj0 = 0 ; | |
23704 | char *kwnames[] = { | |
23705 | (char *) "self", NULL | |
23706 | }; | |
23707 | ||
23708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23709 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23710 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23711 | { |
23712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23713 | (arg1)->OnPrevious(); | |
23714 | ||
23715 | wxPyEndAllowThreads(__tstate); | |
23716 | if (PyErr_Occurred()) SWIG_fail; | |
23717 | } | |
23718 | Py_INCREF(Py_None); resultobj = Py_None; | |
23719 | return resultobj; | |
23720 | fail: | |
23721 | return NULL; | |
23722 | } | |
23723 | ||
23724 | ||
c32bde28 | 23725 | static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23726 | PyObject *resultobj; |
23727 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23728 | PyObject * obj0 = 0 ; | |
23729 | char *kwnames[] = { | |
23730 | (char *) "self", NULL | |
23731 | }; | |
23732 | ||
23733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23734 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23735 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23736 | { |
23737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23738 | (arg1)->OnFirst(); | |
23739 | ||
23740 | wxPyEndAllowThreads(__tstate); | |
23741 | if (PyErr_Occurred()) SWIG_fail; | |
23742 | } | |
23743 | Py_INCREF(Py_None); resultobj = Py_None; | |
23744 | return resultobj; | |
23745 | fail: | |
23746 | return NULL; | |
23747 | } | |
23748 | ||
23749 | ||
c32bde28 | 23750 | static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23751 | PyObject *resultobj; |
23752 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23753 | PyObject * obj0 = 0 ; | |
23754 | char *kwnames[] = { | |
23755 | (char *) "self", NULL | |
23756 | }; | |
23757 | ||
23758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23759 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23760 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23761 | { |
23762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23763 | (arg1)->OnLast(); | |
23764 | ||
23765 | wxPyEndAllowThreads(__tstate); | |
23766 | if (PyErr_Occurred()) SWIG_fail; | |
23767 | } | |
23768 | Py_INCREF(Py_None); resultobj = Py_None; | |
23769 | return resultobj; | |
23770 | fail: | |
23771 | return NULL; | |
23772 | } | |
23773 | ||
23774 | ||
c32bde28 | 23775 | static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23776 | PyObject *resultobj; |
23777 | wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ; | |
23778 | PyObject * obj0 = 0 ; | |
23779 | char *kwnames[] = { | |
23780 | (char *) "self", NULL | |
23781 | }; | |
23782 | ||
23783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
23784 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPreviewControlBar, |
23785 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
23786 | { |
23787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23788 | (arg1)->OnGoto(); | |
23789 | ||
23790 | wxPyEndAllowThreads(__tstate); | |
23791 | if (PyErr_Occurred()) SWIG_fail; | |
23792 | } | |
23793 | Py_INCREF(Py_None); resultobj = Py_None; | |
23794 | return resultobj; | |
23795 | fail: | |
23796 | return NULL; | |
23797 | } | |
23798 | ||
23799 | ||
c32bde28 | 23800 | static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
23801 | PyObject *obj; |
23802 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
23803 | SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj); | |
23804 | Py_INCREF(obj); | |
23805 | return Py_BuildValue((char *)""); | |
23806 | } | |
c32bde28 | 23807 | static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
23808 | PyObject *resultobj; |
23809 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23810 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 23811 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
23812 | wxPrintPreview *result; |
23813 | PyObject * obj0 = 0 ; | |
23814 | PyObject * obj1 = 0 ; | |
23815 | PyObject * obj2 = 0 ; | |
d14a1e28 | 23816 | |
4276dc52 | 23817 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
23818 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
23819 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23820 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23821 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 23822 | if (obj2) { |
4276dc52 | 23823 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 23824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
23825 | } |
23826 | { | |
e3b71cb8 | 23827 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
23828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23829 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23830 | ||
23831 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23832 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 23833 | } |
15afbcd0 | 23834 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); |
d14a1e28 RD |
23835 | return resultobj; |
23836 | fail: | |
23837 | return NULL; | |
23838 | } | |
23839 | ||
23840 | ||
c32bde28 | 23841 | static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
23842 | PyObject *resultobj; |
23843 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
23844 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
23845 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
23846 | wxPrintPreview *result; | |
23847 | PyObject * obj0 = 0 ; | |
23848 | PyObject * obj1 = 0 ; | |
23849 | PyObject * obj2 = 0 ; | |
23850 | ||
23851 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
23852 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
23853 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23854 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
23855 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23856 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
23857 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
23858 | { | |
e3b71cb8 | 23859 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
23860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
23861 | result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3); | |
23862 | ||
23863 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 23864 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
23865 | } |
23866 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1); | |
23867 | return resultobj; | |
23868 | fail: | |
23869 | return NULL; | |
23870 | } | |
23871 | ||
23872 | ||
23873 | static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) { | |
23874 | int argc; | |
23875 | PyObject *argv[4]; | |
23876 | int ii; | |
23877 | ||
23878 | argc = PyObject_Length(args); | |
23879 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
23880 | argv[ii] = PyTuple_GetItem(args,ii); | |
23881 | } | |
23882 | if ((argc >= 2) && (argc <= 3)) { | |
23883 | int _v; | |
23884 | { | |
23885 | void *ptr; | |
23886 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23887 | _v = 0; | |
23888 | PyErr_Clear(); | |
23889 | } else { | |
23890 | _v = 1; | |
23891 | } | |
23892 | } | |
23893 | if (_v) { | |
23894 | { | |
23895 | void *ptr; | |
23896 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23897 | _v = 0; | |
23898 | PyErr_Clear(); | |
23899 | } else { | |
23900 | _v = 1; | |
23901 | } | |
23902 | } | |
23903 | if (_v) { | |
23904 | if (argc <= 2) { | |
23905 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23906 | } | |
23907 | { | |
23908 | void *ptr; | |
23909 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
23910 | _v = 0; | |
23911 | PyErr_Clear(); | |
23912 | } else { | |
23913 | _v = 1; | |
23914 | } | |
23915 | } | |
23916 | if (_v) { | |
23917 | return _wrap_new_PrintPreview__SWIG_0(self,args); | |
23918 | } | |
23919 | } | |
23920 | } | |
23921 | } | |
23922 | if (argc == 3) { | |
23923 | int _v; | |
23924 | { | |
23925 | void *ptr; | |
23926 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23927 | _v = 0; | |
23928 | PyErr_Clear(); | |
23929 | } else { | |
23930 | _v = 1; | |
23931 | } | |
23932 | } | |
23933 | if (_v) { | |
23934 | { | |
23935 | void *ptr; | |
23936 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
23937 | _v = 0; | |
23938 | PyErr_Clear(); | |
23939 | } else { | |
23940 | _v = 1; | |
23941 | } | |
23942 | } | |
23943 | if (_v) { | |
23944 | { | |
23945 | void *ptr; | |
23946 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
23947 | _v = 0; | |
23948 | PyErr_Clear(); | |
23949 | } else { | |
23950 | _v = 1; | |
23951 | } | |
23952 | } | |
23953 | if (_v) { | |
23954 | return _wrap_new_PrintPreview__SWIG_1(self,args); | |
23955 | } | |
23956 | } | |
23957 | } | |
23958 | } | |
23959 | ||
23960 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PrintPreview'"); | |
23961 | return NULL; | |
23962 | } | |
23963 | ||
23964 | ||
c32bde28 | 23965 | static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23966 | PyObject *resultobj; |
23967 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
23968 | int arg2 ; | |
23969 | bool result; | |
23970 | PyObject * obj0 = 0 ; | |
994141e6 | 23971 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
23972 | char *kwnames[] = { |
23973 | (char *) "self",(char *) "pageNum", NULL | |
23974 | }; | |
23975 | ||
994141e6 | 23976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
23977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
23978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 23979 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 23980 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
23981 | { |
23982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
23983 | result = (bool)(arg1)->SetCurrentPage(arg2); | |
23984 | ||
23985 | wxPyEndAllowThreads(__tstate); | |
23986 | if (PyErr_Occurred()) SWIG_fail; | |
23987 | } | |
4f89f6a3 RD |
23988 | { |
23989 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
23990 | } | |
d14a1e28 RD |
23991 | return resultobj; |
23992 | fail: | |
23993 | return NULL; | |
23994 | } | |
23995 | ||
23996 | ||
c32bde28 | 23997 | static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
23998 | PyObject *resultobj; |
23999 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24000 | int result; | |
24001 | PyObject * obj0 = 0 ; | |
24002 | char *kwnames[] = { | |
24003 | (char *) "self", NULL | |
24004 | }; | |
24005 | ||
24006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24007 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24008 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24009 | { |
24010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24011 | result = (int)(arg1)->GetCurrentPage(); | |
24012 | ||
24013 | wxPyEndAllowThreads(__tstate); | |
24014 | if (PyErr_Occurred()) SWIG_fail; | |
24015 | } | |
c32bde28 | 24016 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24017 | return resultobj; |
24018 | fail: | |
24019 | return NULL; | |
24020 | } | |
24021 | ||
24022 | ||
c32bde28 | 24023 | static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24024 | PyObject *resultobj; |
24025 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24026 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24027 | PyObject * obj0 = 0 ; | |
24028 | PyObject * obj1 = 0 ; | |
24029 | char *kwnames[] = { | |
24030 | (char *) "self",(char *) "printout", NULL | |
24031 | }; | |
24032 | ||
24033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24034 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24035 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24036 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24038 | { |
24039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24040 | (arg1)->SetPrintout(arg2); | |
24041 | ||
24042 | wxPyEndAllowThreads(__tstate); | |
24043 | if (PyErr_Occurred()) SWIG_fail; | |
24044 | } | |
24045 | Py_INCREF(Py_None); resultobj = Py_None; | |
24046 | return resultobj; | |
24047 | fail: | |
24048 | return NULL; | |
24049 | } | |
24050 | ||
24051 | ||
c32bde28 | 24052 | static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24053 | PyObject *resultobj; |
24054 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24055 | wxPyPrintout *result; | |
24056 | PyObject * obj0 = 0 ; | |
24057 | char *kwnames[] = { | |
24058 | (char *) "self", NULL | |
24059 | }; | |
24060 | ||
24061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24062 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24063 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24064 | { |
24065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24066 | result = (wxPyPrintout *)(arg1)->GetPrintout(); | |
24067 | ||
24068 | wxPyEndAllowThreads(__tstate); | |
24069 | if (PyErr_Occurred()) SWIG_fail; | |
24070 | } | |
24071 | { | |
412d302d | 24072 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
24073 | } |
24074 | return resultobj; | |
24075 | fail: | |
24076 | return NULL; | |
24077 | } | |
24078 | ||
24079 | ||
c32bde28 | 24080 | static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24081 | PyObject *resultobj; |
24082 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24083 | wxPyPrintout *result; | |
24084 | PyObject * obj0 = 0 ; | |
24085 | char *kwnames[] = { | |
24086 | (char *) "self", NULL | |
24087 | }; | |
24088 | ||
24089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24090 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24091 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24092 | { |
24093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24094 | result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting(); | |
24095 | ||
24096 | wxPyEndAllowThreads(__tstate); | |
24097 | if (PyErr_Occurred()) SWIG_fail; | |
24098 | } | |
24099 | { | |
412d302d | 24100 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
24101 | } |
24102 | return resultobj; | |
24103 | fail: | |
24104 | return NULL; | |
24105 | } | |
24106 | ||
24107 | ||
c32bde28 | 24108 | static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24109 | PyObject *resultobj; |
24110 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24111 | wxFrame *arg2 = (wxFrame *) 0 ; | |
24112 | PyObject * obj0 = 0 ; | |
24113 | PyObject * obj1 = 0 ; | |
24114 | char *kwnames[] = { | |
24115 | (char *) "self",(char *) "frame", NULL | |
24116 | }; | |
24117 | ||
24118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24119 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24120 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24121 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
24122 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24123 | { |
24124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24125 | (arg1)->SetFrame(arg2); | |
24126 | ||
24127 | wxPyEndAllowThreads(__tstate); | |
24128 | if (PyErr_Occurred()) SWIG_fail; | |
24129 | } | |
24130 | Py_INCREF(Py_None); resultobj = Py_None; | |
24131 | return resultobj; | |
24132 | fail: | |
24133 | return NULL; | |
24134 | } | |
24135 | ||
24136 | ||
c32bde28 | 24137 | static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24138 | PyObject *resultobj; |
24139 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24140 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24141 | PyObject * obj0 = 0 ; | |
24142 | PyObject * obj1 = 0 ; | |
24143 | char *kwnames[] = { | |
24144 | (char *) "self",(char *) "canvas", NULL | |
24145 | }; | |
24146 | ||
24147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24148 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24149 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24150 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24151 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24152 | { |
24153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24154 | (arg1)->SetCanvas(arg2); | |
24155 | ||
24156 | wxPyEndAllowThreads(__tstate); | |
24157 | if (PyErr_Occurred()) SWIG_fail; | |
24158 | } | |
24159 | Py_INCREF(Py_None); resultobj = Py_None; | |
24160 | return resultobj; | |
24161 | fail: | |
24162 | return NULL; | |
24163 | } | |
24164 | ||
24165 | ||
c32bde28 | 24166 | static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24167 | PyObject *resultobj; |
24168 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24169 | wxFrame *result; | |
24170 | PyObject * obj0 = 0 ; | |
24171 | char *kwnames[] = { | |
24172 | (char *) "self", NULL | |
24173 | }; | |
24174 | ||
24175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24176 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24177 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24178 | { |
24179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24180 | result = (wxFrame *)(arg1)->GetFrame(); | |
24181 | ||
24182 | wxPyEndAllowThreads(__tstate); | |
24183 | if (PyErr_Occurred()) SWIG_fail; | |
24184 | } | |
24185 | { | |
412d302d | 24186 | resultobj = wxPyMake_wxObject(result, 0); |
d14a1e28 RD |
24187 | } |
24188 | return resultobj; | |
24189 | fail: | |
24190 | return NULL; | |
24191 | } | |
24192 | ||
24193 | ||
c32bde28 | 24194 | static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24195 | PyObject *resultobj; |
24196 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24197 | wxPreviewCanvas *result; | |
24198 | PyObject * obj0 = 0 ; | |
24199 | char *kwnames[] = { | |
24200 | (char *) "self", NULL | |
24201 | }; | |
24202 | ||
24203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24204 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24205 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24206 | { |
24207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24208 | result = (wxPreviewCanvas *)(arg1)->GetCanvas(); | |
24209 | ||
24210 | wxPyEndAllowThreads(__tstate); | |
24211 | if (PyErr_Occurred()) SWIG_fail; | |
24212 | } | |
15afbcd0 | 24213 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0); |
d14a1e28 RD |
24214 | return resultobj; |
24215 | fail: | |
24216 | return NULL; | |
24217 | } | |
24218 | ||
24219 | ||
c32bde28 | 24220 | static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24221 | PyObject *resultobj; |
24222 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24223 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24224 | wxDC *arg3 = 0 ; | |
24225 | bool result; | |
24226 | PyObject * obj0 = 0 ; | |
24227 | PyObject * obj1 = 0 ; | |
24228 | PyObject * obj2 = 0 ; | |
24229 | char *kwnames[] = { | |
24230 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24231 | }; | |
24232 | ||
24233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24234 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24235 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24236 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24237 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24238 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24239 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24240 | SWIG_fail; | |
d14a1e28 | 24241 | if (arg3 == NULL) { |
15afbcd0 RD |
24242 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24243 | SWIG_fail; | |
d14a1e28 RD |
24244 | } |
24245 | { | |
24246 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24247 | result = (bool)(arg1)->PaintPage(arg2,*arg3); | |
24248 | ||
24249 | wxPyEndAllowThreads(__tstate); | |
24250 | if (PyErr_Occurred()) SWIG_fail; | |
24251 | } | |
4f89f6a3 RD |
24252 | { |
24253 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24254 | } | |
d14a1e28 RD |
24255 | return resultobj; |
24256 | fail: | |
24257 | return NULL; | |
24258 | } | |
24259 | ||
24260 | ||
c32bde28 | 24261 | static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24262 | PyObject *resultobj; |
24263 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24264 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24265 | wxDC *arg3 = 0 ; | |
24266 | bool result; | |
24267 | PyObject * obj0 = 0 ; | |
24268 | PyObject * obj1 = 0 ; | |
24269 | PyObject * obj2 = 0 ; | |
24270 | char *kwnames[] = { | |
24271 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24272 | }; | |
24273 | ||
24274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24275 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24276 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24277 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24278 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24279 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24280 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24281 | SWIG_fail; | |
d14a1e28 | 24282 | if (arg3 == NULL) { |
15afbcd0 RD |
24283 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24284 | SWIG_fail; | |
d14a1e28 RD |
24285 | } |
24286 | { | |
24287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24288 | result = (bool)(arg1)->DrawBlankPage(arg2,*arg3); | |
24289 | ||
24290 | wxPyEndAllowThreads(__tstate); | |
24291 | if (PyErr_Occurred()) SWIG_fail; | |
24292 | } | |
4f89f6a3 RD |
24293 | { |
24294 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24295 | } | |
d14a1e28 RD |
24296 | return resultobj; |
24297 | fail: | |
24298 | return NULL; | |
24299 | } | |
24300 | ||
24301 | ||
c32bde28 | 24302 | static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24303 | PyObject *resultobj; |
24304 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24305 | int arg2 ; | |
24306 | bool result; | |
24307 | PyObject * obj0 = 0 ; | |
994141e6 | 24308 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24309 | char *kwnames[] = { |
24310 | (char *) "self",(char *) "pageNum", NULL | |
24311 | }; | |
24312 | ||
994141e6 | 24313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24316 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24317 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24318 | { |
24319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24320 | result = (bool)(arg1)->RenderPage(arg2); | |
24321 | ||
24322 | wxPyEndAllowThreads(__tstate); | |
24323 | if (PyErr_Occurred()) SWIG_fail; | |
24324 | } | |
4f89f6a3 RD |
24325 | { |
24326 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24327 | } | |
d14a1e28 RD |
24328 | return resultobj; |
24329 | fail: | |
24330 | return NULL; | |
24331 | } | |
24332 | ||
24333 | ||
c32bde28 | 24334 | static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24335 | PyObject *resultobj; |
24336 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24337 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24338 | PyObject * obj0 = 0 ; | |
24339 | PyObject * obj1 = 0 ; | |
24340 | char *kwnames[] = { | |
24341 | (char *) "self",(char *) "canvas", NULL | |
24342 | }; | |
24343 | ||
24344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24345 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24346 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24347 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24348 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24349 | { |
24350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24351 | (arg1)->AdjustScrollbars(arg2); | |
24352 | ||
24353 | wxPyEndAllowThreads(__tstate); | |
24354 | if (PyErr_Occurred()) SWIG_fail; | |
24355 | } | |
24356 | Py_INCREF(Py_None); resultobj = Py_None; | |
24357 | return resultobj; | |
24358 | fail: | |
24359 | return NULL; | |
24360 | } | |
24361 | ||
24362 | ||
c32bde28 | 24363 | static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24364 | PyObject *resultobj; |
24365 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24366 | wxPrintDialogData *result; | |
24367 | PyObject * obj0 = 0 ; | |
24368 | char *kwnames[] = { | |
24369 | (char *) "self", NULL | |
24370 | }; | |
24371 | ||
24372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24375 | { |
24376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24377 | { | |
24378 | wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData(); | |
24379 | result = (wxPrintDialogData *) &_result_ref; | |
24380 | } | |
24381 | ||
24382 | wxPyEndAllowThreads(__tstate); | |
24383 | if (PyErr_Occurred()) SWIG_fail; | |
24384 | } | |
15afbcd0 | 24385 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0); |
d14a1e28 RD |
24386 | return resultobj; |
24387 | fail: | |
24388 | return NULL; | |
24389 | } | |
24390 | ||
24391 | ||
c32bde28 | 24392 | static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24393 | PyObject *resultobj; |
24394 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24395 | int arg2 ; | |
24396 | PyObject * obj0 = 0 ; | |
994141e6 | 24397 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24398 | char *kwnames[] = { |
24399 | (char *) "self",(char *) "percent", NULL | |
24400 | }; | |
24401 | ||
994141e6 | 24402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24403 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24404 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24405 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24406 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24407 | { |
24408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24409 | (arg1)->SetZoom(arg2); | |
24410 | ||
24411 | wxPyEndAllowThreads(__tstate); | |
24412 | if (PyErr_Occurred()) SWIG_fail; | |
24413 | } | |
24414 | Py_INCREF(Py_None); resultobj = Py_None; | |
24415 | return resultobj; | |
24416 | fail: | |
24417 | return NULL; | |
24418 | } | |
24419 | ||
24420 | ||
c32bde28 | 24421 | static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24422 | PyObject *resultobj; |
24423 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24424 | int result; | |
24425 | PyObject * obj0 = 0 ; | |
24426 | char *kwnames[] = { | |
24427 | (char *) "self", NULL | |
24428 | }; | |
24429 | ||
24430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24431 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24432 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24433 | { |
24434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24435 | result = (int)(arg1)->GetZoom(); | |
24436 | ||
24437 | wxPyEndAllowThreads(__tstate); | |
24438 | if (PyErr_Occurred()) SWIG_fail; | |
24439 | } | |
c32bde28 | 24440 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24441 | return resultobj; |
24442 | fail: | |
24443 | return NULL; | |
24444 | } | |
24445 | ||
24446 | ||
c32bde28 | 24447 | static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24448 | PyObject *resultobj; |
24449 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24450 | int result; | |
24451 | PyObject * obj0 = 0 ; | |
24452 | char *kwnames[] = { | |
24453 | (char *) "self", NULL | |
24454 | }; | |
24455 | ||
24456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24457 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24458 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24459 | { |
24460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24461 | result = (int)(arg1)->GetMaxPage(); | |
24462 | ||
24463 | wxPyEndAllowThreads(__tstate); | |
24464 | if (PyErr_Occurred()) SWIG_fail; | |
24465 | } | |
c32bde28 | 24466 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24467 | return resultobj; |
24468 | fail: | |
24469 | return NULL; | |
24470 | } | |
24471 | ||
24472 | ||
c32bde28 | 24473 | static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24474 | PyObject *resultobj; |
24475 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24476 | int result; | |
24477 | PyObject * obj0 = 0 ; | |
24478 | char *kwnames[] = { | |
24479 | (char *) "self", NULL | |
24480 | }; | |
24481 | ||
24482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24483 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24484 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24485 | { |
24486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24487 | result = (int)(arg1)->GetMinPage(); | |
24488 | ||
24489 | wxPyEndAllowThreads(__tstate); | |
24490 | if (PyErr_Occurred()) SWIG_fail; | |
24491 | } | |
c32bde28 | 24492 | resultobj = SWIG_From_int((int)result); |
d14a1e28 RD |
24493 | return resultobj; |
24494 | fail: | |
24495 | return NULL; | |
24496 | } | |
24497 | ||
24498 | ||
c32bde28 | 24499 | static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24500 | PyObject *resultobj; |
24501 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24502 | bool result; | |
24503 | PyObject * obj0 = 0 ; | |
24504 | char *kwnames[] = { | |
24505 | (char *) "self", NULL | |
24506 | }; | |
24507 | ||
24508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24509 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24510 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24511 | { |
24512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24513 | result = (bool)(arg1)->Ok(); | |
24514 | ||
24515 | wxPyEndAllowThreads(__tstate); | |
24516 | if (PyErr_Occurred()) SWIG_fail; | |
24517 | } | |
4f89f6a3 RD |
24518 | { |
24519 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24520 | } | |
d14a1e28 RD |
24521 | return resultobj; |
24522 | fail: | |
24523 | return NULL; | |
24524 | } | |
24525 | ||
24526 | ||
c32bde28 | 24527 | static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24528 | PyObject *resultobj; |
24529 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24530 | bool arg2 ; | |
24531 | PyObject * obj0 = 0 ; | |
24532 | PyObject * obj1 = 0 ; | |
24533 | char *kwnames[] = { | |
24534 | (char *) "self",(char *) "ok", NULL | |
24535 | }; | |
24536 | ||
24537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24538 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24539 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24540 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24541 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24542 | { |
24543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24544 | (arg1)->SetOk(arg2); | |
24545 | ||
24546 | wxPyEndAllowThreads(__tstate); | |
24547 | if (PyErr_Occurred()) SWIG_fail; | |
24548 | } | |
24549 | Py_INCREF(Py_None); resultobj = Py_None; | |
24550 | return resultobj; | |
24551 | fail: | |
24552 | return NULL; | |
24553 | } | |
24554 | ||
24555 | ||
c32bde28 | 24556 | static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24557 | PyObject *resultobj; |
24558 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24559 | bool arg2 ; | |
24560 | bool result; | |
24561 | PyObject * obj0 = 0 ; | |
24562 | PyObject * obj1 = 0 ; | |
24563 | char *kwnames[] = { | |
24564 | (char *) "self",(char *) "interactive", NULL | |
24565 | }; | |
24566 | ||
24567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24568 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24569 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24570 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24571 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24572 | { |
24573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24574 | result = (bool)(arg1)->Print(arg2); | |
24575 | ||
24576 | wxPyEndAllowThreads(__tstate); | |
24577 | if (PyErr_Occurred()) SWIG_fail; | |
24578 | } | |
4f89f6a3 RD |
24579 | { |
24580 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24581 | } | |
d14a1e28 RD |
24582 | return resultobj; |
24583 | fail: | |
24584 | return NULL; | |
24585 | } | |
24586 | ||
24587 | ||
c32bde28 | 24588 | static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24589 | PyObject *resultobj; |
24590 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
24591 | PyObject * obj0 = 0 ; | |
24592 | char *kwnames[] = { | |
24593 | (char *) "self", NULL | |
24594 | }; | |
24595 | ||
24596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
24597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
24598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24599 | { |
24600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24601 | (arg1)->DetermineScaling(); | |
24602 | ||
24603 | wxPyEndAllowThreads(__tstate); | |
24604 | if (PyErr_Occurred()) SWIG_fail; | |
24605 | } | |
24606 | Py_INCREF(Py_None); resultobj = Py_None; | |
24607 | return resultobj; | |
24608 | fail: | |
24609 | return NULL; | |
24610 | } | |
24611 | ||
24612 | ||
c32bde28 | 24613 | static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
24614 | PyObject *obj; |
24615 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
24616 | SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj); | |
24617 | Py_INCREF(obj); | |
24618 | return Py_BuildValue((char *)""); | |
24619 | } | |
c32bde28 | 24620 | static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) { |
d14a1e28 RD |
24621 | PyObject *resultobj; |
24622 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24623 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
4276dc52 | 24624 | wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ; |
d14a1e28 RD |
24625 | wxPyPrintPreview *result; |
24626 | PyObject * obj0 = 0 ; | |
24627 | PyObject * obj1 = 0 ; | |
24628 | PyObject * obj2 = 0 ; | |
d14a1e28 | 24629 | |
4276dc52 | 24630 | if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; |
15afbcd0 RD |
24631 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, |
24632 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24633 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24634 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 | 24635 | if (obj2) { |
4276dc52 | 24636 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintDialogData, |
15afbcd0 | 24637 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
d14a1e28 RD |
24638 | } |
24639 | { | |
e3b71cb8 | 24640 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
24641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24642 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24643 | ||
24644 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24645 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 24646 | } |
15afbcd0 | 24647 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); |
d14a1e28 RD |
24648 | return resultobj; |
24649 | fail: | |
24650 | return NULL; | |
24651 | } | |
24652 | ||
24653 | ||
c32bde28 | 24654 | static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) { |
4276dc52 RD |
24655 | PyObject *resultobj; |
24656 | wxPyPrintout *arg1 = (wxPyPrintout *) 0 ; | |
24657 | wxPyPrintout *arg2 = (wxPyPrintout *) 0 ; | |
24658 | wxPrintData *arg3 = (wxPrintData *) 0 ; | |
24659 | wxPyPrintPreview *result; | |
24660 | PyObject * obj0 = 0 ; | |
24661 | PyObject * obj1 = 0 ; | |
24662 | PyObject * obj2 = 0 ; | |
24663 | ||
24664 | if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail; | |
24665 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintout, | |
24666 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24667 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyPrintout, | |
24668 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24669 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPrintData, | |
24670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24671 | { | |
e3b71cb8 | 24672 | if (!wxPyCheckForApp()) SWIG_fail; |
4276dc52 RD |
24673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
24674 | result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3); | |
24675 | ||
24676 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 24677 | if (PyErr_Occurred()) SWIG_fail; |
4276dc52 RD |
24678 | } |
24679 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1); | |
24680 | return resultobj; | |
24681 | fail: | |
24682 | return NULL; | |
24683 | } | |
24684 | ||
24685 | ||
24686 | static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) { | |
24687 | int argc; | |
24688 | PyObject *argv[4]; | |
24689 | int ii; | |
24690 | ||
24691 | argc = PyObject_Length(args); | |
24692 | for (ii = 0; (ii < argc) && (ii < 3); ii++) { | |
24693 | argv[ii] = PyTuple_GetItem(args,ii); | |
24694 | } | |
24695 | if ((argc >= 2) && (argc <= 3)) { | |
24696 | int _v; | |
24697 | { | |
24698 | void *ptr; | |
24699 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24700 | _v = 0; | |
24701 | PyErr_Clear(); | |
24702 | } else { | |
24703 | _v = 1; | |
24704 | } | |
24705 | } | |
24706 | if (_v) { | |
24707 | { | |
24708 | void *ptr; | |
24709 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24710 | _v = 0; | |
24711 | PyErr_Clear(); | |
24712 | } else { | |
24713 | _v = 1; | |
24714 | } | |
24715 | } | |
24716 | if (_v) { | |
24717 | if (argc <= 2) { | |
24718 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24719 | } | |
24720 | { | |
24721 | void *ptr; | |
24722 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) { | |
24723 | _v = 0; | |
24724 | PyErr_Clear(); | |
24725 | } else { | |
24726 | _v = 1; | |
24727 | } | |
24728 | } | |
24729 | if (_v) { | |
24730 | return _wrap_new_PyPrintPreview__SWIG_0(self,args); | |
24731 | } | |
24732 | } | |
24733 | } | |
24734 | } | |
24735 | if (argc == 3) { | |
24736 | int _v; | |
24737 | { | |
24738 | void *ptr; | |
24739 | if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24740 | _v = 0; | |
24741 | PyErr_Clear(); | |
24742 | } else { | |
24743 | _v = 1; | |
24744 | } | |
24745 | } | |
24746 | if (_v) { | |
24747 | { | |
24748 | void *ptr; | |
24749 | if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) { | |
24750 | _v = 0; | |
24751 | PyErr_Clear(); | |
24752 | } else { | |
24753 | _v = 1; | |
24754 | } | |
24755 | } | |
24756 | if (_v) { | |
24757 | { | |
24758 | void *ptr; | |
24759 | if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) { | |
24760 | _v = 0; | |
24761 | PyErr_Clear(); | |
24762 | } else { | |
24763 | _v = 1; | |
24764 | } | |
24765 | } | |
24766 | if (_v) { | |
24767 | return _wrap_new_PyPrintPreview__SWIG_1(self,args); | |
24768 | } | |
24769 | } | |
24770 | } | |
24771 | } | |
24772 | ||
24773 | PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_PyPrintPreview'"); | |
24774 | return NULL; | |
24775 | } | |
24776 | ||
24777 | ||
c32bde28 | 24778 | static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24779 | PyObject *resultobj; |
24780 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24781 | PyObject *arg2 = (PyObject *) 0 ; | |
24782 | PyObject *arg3 = (PyObject *) 0 ; | |
24783 | PyObject * obj0 = 0 ; | |
24784 | PyObject * obj1 = 0 ; | |
24785 | PyObject * obj2 = 0 ; | |
24786 | char *kwnames[] = { | |
24787 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
24788 | }; | |
24789 | ||
24790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24791 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24792 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
24793 | arg2 = obj1; |
24794 | arg3 = obj2; | |
24795 | { | |
24796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24797 | (arg1)->_setCallbackInfo(arg2,arg3); | |
24798 | ||
24799 | wxPyEndAllowThreads(__tstate); | |
24800 | if (PyErr_Occurred()) SWIG_fail; | |
24801 | } | |
24802 | Py_INCREF(Py_None); resultobj = Py_None; | |
24803 | return resultobj; | |
24804 | fail: | |
24805 | return NULL; | |
24806 | } | |
24807 | ||
24808 | ||
c32bde28 | 24809 | static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24810 | PyObject *resultobj; |
24811 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24812 | int arg2 ; | |
24813 | bool result; | |
24814 | PyObject * obj0 = 0 ; | |
994141e6 | 24815 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24816 | char *kwnames[] = { |
24817 | (char *) "self",(char *) "pageNum", NULL | |
24818 | }; | |
24819 | ||
994141e6 | 24820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24821 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24822 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24823 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24824 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24825 | { |
24826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24827 | result = (bool)(arg1)->base_SetCurrentPage(arg2); | |
24828 | ||
24829 | wxPyEndAllowThreads(__tstate); | |
24830 | if (PyErr_Occurred()) SWIG_fail; | |
24831 | } | |
4f89f6a3 RD |
24832 | { |
24833 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24834 | } | |
d14a1e28 RD |
24835 | return resultobj; |
24836 | fail: | |
24837 | return NULL; | |
24838 | } | |
24839 | ||
24840 | ||
c32bde28 | 24841 | static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24842 | PyObject *resultobj; |
24843 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24844 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24845 | wxDC *arg3 = 0 ; | |
24846 | bool result; | |
24847 | PyObject * obj0 = 0 ; | |
24848 | PyObject * obj1 = 0 ; | |
24849 | PyObject * obj2 = 0 ; | |
24850 | char *kwnames[] = { | |
24851 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24852 | }; | |
24853 | ||
24854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24855 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24856 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24857 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24859 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24860 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24861 | SWIG_fail; | |
d14a1e28 | 24862 | if (arg3 == NULL) { |
15afbcd0 RD |
24863 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24864 | SWIG_fail; | |
d14a1e28 RD |
24865 | } |
24866 | { | |
24867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24868 | result = (bool)(arg1)->base_PaintPage(arg2,*arg3); | |
24869 | ||
24870 | wxPyEndAllowThreads(__tstate); | |
24871 | if (PyErr_Occurred()) SWIG_fail; | |
24872 | } | |
4f89f6a3 RD |
24873 | { |
24874 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24875 | } | |
d14a1e28 RD |
24876 | return resultobj; |
24877 | fail: | |
24878 | return NULL; | |
24879 | } | |
24880 | ||
24881 | ||
c32bde28 | 24882 | static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24883 | PyObject *resultobj; |
24884 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24885 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
24886 | wxDC *arg3 = 0 ; | |
24887 | bool result; | |
24888 | PyObject * obj0 = 0 ; | |
24889 | PyObject * obj1 = 0 ; | |
24890 | PyObject * obj2 = 0 ; | |
24891 | char *kwnames[] = { | |
24892 | (char *) "self",(char *) "canvas",(char *) "dc", NULL | |
24893 | }; | |
24894 | ||
24895 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
24896 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24897 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24898 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
24899 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
24900 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDC, | |
24901 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
24902 | SWIG_fail; | |
d14a1e28 | 24903 | if (arg3 == NULL) { |
15afbcd0 RD |
24904 | PyErr_SetString(PyExc_TypeError,"null reference"); |
24905 | SWIG_fail; | |
d14a1e28 RD |
24906 | } |
24907 | { | |
24908 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24909 | result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3); | |
24910 | ||
24911 | wxPyEndAllowThreads(__tstate); | |
24912 | if (PyErr_Occurred()) SWIG_fail; | |
24913 | } | |
4f89f6a3 RD |
24914 | { |
24915 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24916 | } | |
d14a1e28 RD |
24917 | return resultobj; |
24918 | fail: | |
24919 | return NULL; | |
24920 | } | |
24921 | ||
24922 | ||
c32bde28 | 24923 | static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24924 | PyObject *resultobj; |
24925 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24926 | int arg2 ; | |
24927 | bool result; | |
24928 | PyObject * obj0 = 0 ; | |
994141e6 | 24929 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24930 | char *kwnames[] = { |
24931 | (char *) "self",(char *) "pageNum", NULL | |
24932 | }; | |
24933 | ||
994141e6 | 24934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24935 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24936 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24937 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24938 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24939 | { |
24940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24941 | result = (bool)(arg1)->base_RenderPage(arg2); | |
24942 | ||
24943 | wxPyEndAllowThreads(__tstate); | |
24944 | if (PyErr_Occurred()) SWIG_fail; | |
24945 | } | |
4f89f6a3 RD |
24946 | { |
24947 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
24948 | } | |
d14a1e28 RD |
24949 | return resultobj; |
24950 | fail: | |
24951 | return NULL; | |
24952 | } | |
24953 | ||
24954 | ||
c32bde28 | 24955 | static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24956 | PyObject *resultobj; |
24957 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24958 | int arg2 ; | |
24959 | PyObject * obj0 = 0 ; | |
994141e6 | 24960 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
24961 | char *kwnames[] = { |
24962 | (char *) "self",(char *) "percent", NULL | |
24963 | }; | |
24964 | ||
994141e6 | 24965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
24966 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24967 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24968 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 24969 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
24970 | { |
24971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
24972 | (arg1)->base_SetZoom(arg2); | |
24973 | ||
24974 | wxPyEndAllowThreads(__tstate); | |
24975 | if (PyErr_Occurred()) SWIG_fail; | |
24976 | } | |
24977 | Py_INCREF(Py_None); resultobj = Py_None; | |
24978 | return resultobj; | |
24979 | fail: | |
24980 | return NULL; | |
24981 | } | |
24982 | ||
24983 | ||
c32bde28 | 24984 | static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
24985 | PyObject *resultobj; |
24986 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
24987 | bool arg2 ; | |
24988 | bool result; | |
24989 | PyObject * obj0 = 0 ; | |
24990 | PyObject * obj1 = 0 ; | |
24991 | char *kwnames[] = { | |
24992 | (char *) "self",(char *) "interactive", NULL | |
24993 | }; | |
24994 | ||
24995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
24996 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
24997 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 24998 | arg2 = (bool)SWIG_As_bool(obj1); |
15afbcd0 | 24999 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
25000 | { |
25001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25002 | result = (bool)(arg1)->base_Print(arg2); | |
25003 | ||
25004 | wxPyEndAllowThreads(__tstate); | |
25005 | if (PyErr_Occurred()) SWIG_fail; | |
25006 | } | |
4f89f6a3 RD |
25007 | { |
25008 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
25009 | } | |
d14a1e28 RD |
25010 | return resultobj; |
25011 | fail: | |
25012 | return NULL; | |
25013 | } | |
25014 | ||
25015 | ||
c32bde28 | 25016 | static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25017 | PyObject *resultobj; |
25018 | wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ; | |
25019 | PyObject * obj0 = 0 ; | |
25020 | char *kwnames[] = { | |
25021 | (char *) "self", NULL | |
25022 | }; | |
25023 | ||
25024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25025 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPrintPreview, |
25026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25027 | { |
25028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25029 | (arg1)->base_DetermineScaling(); | |
25030 | ||
25031 | wxPyEndAllowThreads(__tstate); | |
25032 | if (PyErr_Occurred()) SWIG_fail; | |
25033 | } | |
25034 | Py_INCREF(Py_None); resultobj = Py_None; | |
25035 | return resultobj; | |
25036 | fail: | |
25037 | return NULL; | |
25038 | } | |
25039 | ||
25040 | ||
c32bde28 | 25041 | static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25042 | PyObject *obj; |
25043 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25044 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj); | |
25045 | Py_INCREF(obj); | |
25046 | return Py_BuildValue((char *)""); | |
25047 | } | |
c32bde28 | 25048 | static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25049 | PyObject *resultobj; |
25050 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25051 | wxFrame *arg2 = (wxFrame *) 0 ; | |
25052 | wxString *arg3 = 0 ; | |
25053 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25054 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25055 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25056 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25057 | long arg6 = (long) wxDEFAULT_FRAME_STYLE ; | |
25058 | wxString const &arg7_defvalue = wxPyFrameNameStr ; | |
25059 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25060 | wxPyPreviewFrame *result; | |
ae8162c8 | 25061 | bool temp3 = false ; |
d14a1e28 RD |
25062 | wxPoint temp4 ; |
25063 | wxSize temp5 ; | |
ae8162c8 | 25064 | bool temp7 = false ; |
d14a1e28 RD |
25065 | PyObject * obj0 = 0 ; |
25066 | PyObject * obj1 = 0 ; | |
25067 | PyObject * obj2 = 0 ; | |
25068 | PyObject * obj3 = 0 ; | |
25069 | PyObject * obj4 = 0 ; | |
994141e6 | 25070 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25071 | PyObject * obj6 = 0 ; |
25072 | char *kwnames[] = { | |
25073 | (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25074 | }; | |
25075 | ||
994141e6 | 25076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
25077 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
25078 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25079 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame, | |
25080 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25081 | { |
25082 | arg3 = wxString_in_helper(obj2); | |
25083 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 25084 | temp3 = true; |
d14a1e28 RD |
25085 | } |
25086 | if (obj3) { | |
25087 | { | |
25088 | arg4 = &temp4; | |
25089 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25090 | } | |
25091 | } | |
25092 | if (obj4) { | |
25093 | { | |
25094 | arg5 = &temp5; | |
25095 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25096 | } | |
25097 | } | |
994141e6 | 25098 | if (obj5) { |
c32bde28 | 25099 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 25100 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 25101 | } |
d14a1e28 RD |
25102 | if (obj6) { |
25103 | { | |
25104 | arg7 = wxString_in_helper(obj6); | |
25105 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25106 | temp7 = true; |
d14a1e28 RD |
25107 | } |
25108 | } | |
25109 | { | |
e3b71cb8 | 25110 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25111 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25112 | result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25113 | ||
25114 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25115 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25116 | } |
15afbcd0 | 25117 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1); |
d14a1e28 RD |
25118 | { |
25119 | if (temp3) | |
25120 | delete arg3; | |
25121 | } | |
25122 | { | |
25123 | if (temp7) | |
25124 | delete arg7; | |
25125 | } | |
25126 | return resultobj; | |
25127 | fail: | |
25128 | { | |
25129 | if (temp3) | |
25130 | delete arg3; | |
25131 | } | |
25132 | { | |
25133 | if (temp7) | |
25134 | delete arg7; | |
25135 | } | |
25136 | return NULL; | |
25137 | } | |
25138 | ||
25139 | ||
c32bde28 | 25140 | static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25141 | PyObject *resultobj; |
25142 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25143 | PyObject *arg2 = (PyObject *) 0 ; | |
25144 | PyObject *arg3 = (PyObject *) 0 ; | |
25145 | PyObject * obj0 = 0 ; | |
25146 | PyObject * obj1 = 0 ; | |
25147 | PyObject * obj2 = 0 ; | |
25148 | char *kwnames[] = { | |
25149 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
25150 | }; | |
25151 | ||
25152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
25153 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25154 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25155 | arg2 = obj1; |
25156 | arg3 = obj2; | |
25157 | { | |
25158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25159 | (arg1)->_setCallbackInfo(arg2,arg3); | |
25160 | ||
25161 | wxPyEndAllowThreads(__tstate); | |
25162 | if (PyErr_Occurred()) SWIG_fail; | |
25163 | } | |
25164 | Py_INCREF(Py_None); resultobj = Py_None; | |
25165 | return resultobj; | |
25166 | fail: | |
25167 | return NULL; | |
25168 | } | |
25169 | ||
25170 | ||
c32bde28 | 25171 | static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25172 | PyObject *resultobj; |
25173 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25174 | wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ; | |
25175 | PyObject * obj0 = 0 ; | |
25176 | PyObject * obj1 = 0 ; | |
25177 | char *kwnames[] = { | |
25178 | (char *) "self",(char *) "canvas", NULL | |
25179 | }; | |
25180 | ||
25181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
25182 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25183 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25184 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewCanvas, | |
25185 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25186 | { |
25187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25188 | (arg1)->SetPreviewCanvas(arg2); | |
25189 | ||
25190 | wxPyEndAllowThreads(__tstate); | |
25191 | if (PyErr_Occurred()) SWIG_fail; | |
25192 | } | |
25193 | Py_INCREF(Py_None); resultobj = Py_None; | |
25194 | return resultobj; | |
25195 | fail: | |
25196 | return NULL; | |
25197 | } | |
25198 | ||
25199 | ||
c32bde28 | 25200 | static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25201 | PyObject *resultobj; |
25202 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25203 | wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ; | |
25204 | PyObject * obj0 = 0 ; | |
25205 | PyObject * obj1 = 0 ; | |
25206 | char *kwnames[] = { | |
25207 | (char *) "self",(char *) "bar", NULL | |
25208 | }; | |
25209 | ||
25210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
25211 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25212 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25213 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPreviewControlBar, | |
25214 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25215 | { |
25216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25217 | (arg1)->SetControlBar(arg2); | |
25218 | ||
25219 | wxPyEndAllowThreads(__tstate); | |
25220 | if (PyErr_Occurred()) SWIG_fail; | |
25221 | } | |
25222 | Py_INCREF(Py_None); resultobj = Py_None; | |
25223 | return resultobj; | |
25224 | fail: | |
25225 | return NULL; | |
25226 | } | |
25227 | ||
25228 | ||
c32bde28 | 25229 | static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25230 | PyObject *resultobj; |
25231 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25232 | PyObject * obj0 = 0 ; | |
25233 | char *kwnames[] = { | |
25234 | (char *) "self", NULL | |
25235 | }; | |
25236 | ||
25237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25238 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25239 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25240 | { |
25241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25242 | (arg1)->base_Initialize(); | |
25243 | ||
25244 | wxPyEndAllowThreads(__tstate); | |
25245 | if (PyErr_Occurred()) SWIG_fail; | |
25246 | } | |
25247 | Py_INCREF(Py_None); resultobj = Py_None; | |
25248 | return resultobj; | |
25249 | fail: | |
25250 | return NULL; | |
25251 | } | |
25252 | ||
25253 | ||
c32bde28 | 25254 | static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25255 | PyObject *resultobj; |
25256 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25257 | PyObject * obj0 = 0 ; | |
25258 | char *kwnames[] = { | |
25259 | (char *) "self", NULL | |
25260 | }; | |
25261 | ||
25262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25263 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25264 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25265 | { |
25266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25267 | (arg1)->base_CreateCanvas(); | |
25268 | ||
25269 | wxPyEndAllowThreads(__tstate); | |
25270 | if (PyErr_Occurred()) SWIG_fail; | |
25271 | } | |
25272 | Py_INCREF(Py_None); resultobj = Py_None; | |
25273 | return resultobj; | |
25274 | fail: | |
25275 | return NULL; | |
25276 | } | |
25277 | ||
25278 | ||
c32bde28 | 25279 | static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25280 | PyObject *resultobj; |
25281 | wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ; | |
25282 | PyObject * obj0 = 0 ; | |
25283 | char *kwnames[] = { | |
25284 | (char *) "self", NULL | |
25285 | }; | |
25286 | ||
25287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25288 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewFrame, |
25289 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25290 | { |
25291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25292 | (arg1)->base_CreateControlBar(); | |
25293 | ||
25294 | wxPyEndAllowThreads(__tstate); | |
25295 | if (PyErr_Occurred()) SWIG_fail; | |
25296 | } | |
25297 | Py_INCREF(Py_None); resultobj = Py_None; | |
25298 | return resultobj; | |
25299 | fail: | |
25300 | return NULL; | |
25301 | } | |
25302 | ||
25303 | ||
c32bde28 | 25304 | static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25305 | PyObject *obj; |
25306 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25307 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj); | |
25308 | Py_INCREF(obj); | |
25309 | return Py_BuildValue((char *)""); | |
25310 | } | |
c32bde28 | 25311 | static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25312 | PyObject *resultobj; |
25313 | wxPrintPreview *arg1 = (wxPrintPreview *) 0 ; | |
25314 | long arg2 ; | |
25315 | wxWindow *arg3 = (wxWindow *) 0 ; | |
25316 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
25317 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
25318 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
25319 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
25320 | long arg6 = (long) 0 ; | |
25321 | wxString const &arg7_defvalue = wxPyPanelNameStr ; | |
25322 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
25323 | wxPyPreviewControlBar *result; | |
25324 | wxPoint temp4 ; | |
25325 | wxSize temp5 ; | |
ae8162c8 | 25326 | bool temp7 = false ; |
d14a1e28 | 25327 | PyObject * obj0 = 0 ; |
994141e6 | 25328 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25329 | PyObject * obj2 = 0 ; |
25330 | PyObject * obj3 = 0 ; | |
25331 | PyObject * obj4 = 0 ; | |
994141e6 | 25332 | PyObject * obj5 = 0 ; |
d14a1e28 RD |
25333 | PyObject * obj6 = 0 ; |
25334 | char *kwnames[] = { | |
25335 | (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
25336 | }; | |
25337 | ||
994141e6 | 25338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
15afbcd0 RD |
25339 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPrintPreview, |
25340 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 25341 | arg2 = (long)SWIG_As_long(obj1); |
15afbcd0 RD |
25342 | if (PyErr_Occurred()) SWIG_fail; |
25343 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow, | |
25344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25345 | if (obj3) { |
25346 | { | |
25347 | arg4 = &temp4; | |
25348 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
25349 | } | |
25350 | } | |
25351 | if (obj4) { | |
25352 | { | |
25353 | arg5 = &temp5; | |
25354 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
25355 | } | |
25356 | } | |
994141e6 | 25357 | if (obj5) { |
c32bde28 | 25358 | arg6 = (long)SWIG_As_long(obj5); |
15afbcd0 | 25359 | if (PyErr_Occurred()) SWIG_fail; |
994141e6 | 25360 | } |
d14a1e28 RD |
25361 | if (obj6) { |
25362 | { | |
25363 | arg7 = wxString_in_helper(obj6); | |
25364 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 25365 | temp7 = true; |
d14a1e28 RD |
25366 | } |
25367 | } | |
25368 | { | |
e3b71cb8 | 25369 | if (!wxPyCheckForApp()) SWIG_fail; |
d14a1e28 RD |
25370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
25371 | result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
25372 | ||
25373 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 25374 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 | 25375 | } |
15afbcd0 | 25376 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1); |
d14a1e28 RD |
25377 | { |
25378 | if (temp7) | |
25379 | delete arg7; | |
25380 | } | |
25381 | return resultobj; | |
25382 | fail: | |
25383 | { | |
25384 | if (temp7) | |
25385 | delete arg7; | |
25386 | } | |
25387 | return NULL; | |
25388 | } | |
25389 | ||
25390 | ||
c32bde28 | 25391 | static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25392 | PyObject *resultobj; |
25393 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25394 | PyObject *arg2 = (PyObject *) 0 ; | |
25395 | PyObject *arg3 = (PyObject *) 0 ; | |
25396 | PyObject * obj0 = 0 ; | |
25397 | PyObject * obj1 = 0 ; | |
25398 | PyObject * obj2 = 0 ; | |
25399 | char *kwnames[] = { | |
25400 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
25401 | }; | |
25402 | ||
25403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
15afbcd0 RD |
25404 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25405 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25406 | arg2 = obj1; |
25407 | arg3 = obj2; | |
25408 | { | |
25409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25410 | (arg1)->_setCallbackInfo(arg2,arg3); | |
25411 | ||
25412 | wxPyEndAllowThreads(__tstate); | |
25413 | if (PyErr_Occurred()) SWIG_fail; | |
25414 | } | |
25415 | Py_INCREF(Py_None); resultobj = Py_None; | |
25416 | return resultobj; | |
25417 | fail: | |
25418 | return NULL; | |
25419 | } | |
25420 | ||
25421 | ||
c32bde28 | 25422 | static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25423 | PyObject *resultobj; |
25424 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25425 | wxPrintPreview *arg2 = (wxPrintPreview *) 0 ; | |
25426 | PyObject * obj0 = 0 ; | |
25427 | PyObject * obj1 = 0 ; | |
25428 | char *kwnames[] = { | |
25429 | (char *) "self",(char *) "preview", NULL | |
25430 | }; | |
25431 | ||
25432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail; | |
15afbcd0 RD |
25433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
25435 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPrintPreview, | |
25436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25437 | { |
25438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25439 | (arg1)->SetPrintPreview(arg2); | |
25440 | ||
25441 | wxPyEndAllowThreads(__tstate); | |
25442 | if (PyErr_Occurred()) SWIG_fail; | |
25443 | } | |
25444 | Py_INCREF(Py_None); resultobj = Py_None; | |
25445 | return resultobj; | |
25446 | fail: | |
25447 | return NULL; | |
25448 | } | |
25449 | ||
25450 | ||
c32bde28 | 25451 | static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25452 | PyObject *resultobj; |
25453 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25454 | PyObject * obj0 = 0 ; | |
25455 | char *kwnames[] = { | |
25456 | (char *) "self", NULL | |
25457 | }; | |
25458 | ||
25459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail; | |
15afbcd0 RD |
25460 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25461 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
d14a1e28 RD |
25462 | { |
25463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25464 | (arg1)->base_CreateButtons(); | |
25465 | ||
25466 | wxPyEndAllowThreads(__tstate); | |
25467 | if (PyErr_Occurred()) SWIG_fail; | |
25468 | } | |
25469 | Py_INCREF(Py_None); resultobj = Py_None; | |
25470 | return resultobj; | |
25471 | fail: | |
25472 | return NULL; | |
25473 | } | |
25474 | ||
25475 | ||
c32bde28 | 25476 | static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) { |
d14a1e28 RD |
25477 | PyObject *resultobj; |
25478 | wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ; | |
25479 | int arg2 ; | |
25480 | PyObject * obj0 = 0 ; | |
994141e6 | 25481 | PyObject * obj1 = 0 ; |
d14a1e28 RD |
25482 | char *kwnames[] = { |
25483 | (char *) "self",(char *) "zoom", NULL | |
25484 | }; | |
25485 | ||
994141e6 | 25486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail; |
15afbcd0 RD |
25487 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyPreviewControlBar, |
25488 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
c32bde28 | 25489 | arg2 = (int)SWIG_As_int(obj1); |
15afbcd0 | 25490 | if (PyErr_Occurred()) SWIG_fail; |
d14a1e28 RD |
25491 | { |
25492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
25493 | (arg1)->base_SetZoomControl(arg2); | |
25494 | ||
25495 | wxPyEndAllowThreads(__tstate); | |
25496 | if (PyErr_Occurred()) SWIG_fail; | |
25497 | } | |
25498 | Py_INCREF(Py_None); resultobj = Py_None; | |
25499 | return resultobj; | |
25500 | fail: | |
25501 | return NULL; | |
25502 | } | |
25503 | ||
25504 | ||
c32bde28 | 25505 | static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) { |
d14a1e28 RD |
25506 | PyObject *obj; |
25507 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
25508 | SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj); | |
25509 | Py_INCREF(obj); | |
25510 | return Py_BuildValue((char *)""); | |
25511 | } | |
d3b6e4ff RD |
25512 | static PyMethodDef SwigMethods[] = { |
25513 | { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25514 | { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25515 | { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25516 | { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5cbf236d RD |
25517 | { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL }, |
25518 | { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL }, | |
d3b6e4ff RD |
25519 | { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, |
25520 | { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL }, | |
25521 | { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25522 | { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25523 | { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25524 | { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25525 | { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25526 | { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25527 | { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25528 | { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25529 | { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25530 | { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25531 | { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25532 | { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25533 | { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25534 | { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25535 | { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL }, | |
25536 | { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL }, | |
25537 | { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25538 | { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25539 | { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25540 | { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25541 | { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25542 | { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25543 | { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25544 | { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25545 | { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25546 | { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25547 | { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25548 | { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25549 | { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25550 | { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25551 | { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25552 | { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25553 | { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25554 | { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25555 | { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25556 | { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25557 | { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25558 | { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25559 | { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25560 | { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25561 | { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL }, | |
25562 | { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25563 | { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25564 | { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25565 | { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25566 | { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25567 | { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25568 | { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25569 | { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25570 | { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25571 | { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25572 | { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25573 | { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25574 | { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25575 | { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25576 | { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25577 | { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25578 | { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25579 | { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25580 | { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25581 | { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25582 | { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25583 | { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25584 | { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25585 | { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL }, | |
25586 | { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25587 | { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25588 | { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25589 | { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25590 | { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25591 | { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25592 | { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25593 | { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25594 | { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25595 | { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25596 | { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25597 | { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL }, | |
25598 | { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25599 | { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25600 | { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25601 | { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL }, | |
25602 | { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25603 | { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25604 | { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25605 | { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL }, | |
25606 | { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25607 | { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25608 | { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25609 | { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25610 | { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL }, | |
25611 | { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25612 | { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25613 | { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25614 | { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25615 | { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25616 | { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25617 | { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25618 | { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25619 | { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25620 | { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25621 | { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25622 | { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25623 | { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25624 | { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25625 | { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25626 | { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25627 | { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL }, | |
25628 | { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25629 | { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25630 | { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25631 | { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25632 | { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25633 | { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25634 | { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25635 | { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25636 | { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25637 | { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25638 | { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25639 | { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25640 | { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25641 | { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25642 | { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25643 | { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25644 | { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
25645 | { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
25646 | { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25647 | { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5cbf236d RD |
25648 | { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL }, |
25649 | { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
25650 | { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, |
25651 | { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25652 | { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25653 | { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25654 | { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25655 | { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25656 | { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25657 | { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL }, | |
25658 | { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25659 | { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25660 | { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25661 | { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25662 | { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25663 | { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25664 | { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL }, | |
25665 | { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25666 | { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25667 | { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25668 | { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25669 | { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25670 | { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25671 | { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25672 | { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25673 | { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25674 | { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25675 | { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25676 | { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25677 | { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25678 | { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25679 | { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25680 | { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25681 | { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25682 | { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25683 | { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25684 | { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25685 | { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25686 | { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25687 | { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL }, | |
25688 | { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25689 | { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25690 | { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25691 | { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25692 | { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25693 | { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25694 | { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25695 | { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL }, | |
25696 | { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25697 | { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25698 | { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25699 | { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25700 | { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25701 | { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25702 | { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25703 | { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25704 | { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25705 | { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25706 | { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25707 | { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL }, | |
25708 | { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25709 | { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25710 | { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25711 | { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25712 | { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25713 | { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL }, | |
25714 | { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25715 | { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25716 | { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25717 | { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25718 | { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25719 | { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25720 | { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25721 | { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25722 | { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL }, | |
25723 | { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25724 | { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25725 | { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25726 | { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25727 | { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25728 | { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL }, | |
25729 | { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25730 | { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25731 | { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25732 | { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25733 | { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL }, | |
25734 | { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25735 | { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25736 | { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25737 | { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25738 | { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25739 | { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL }, | |
25740 | { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25741 | { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25742 | { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25743 | { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL }, | |
25744 | { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25745 | { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25746 | { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25747 | { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25748 | { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25749 | { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25750 | { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25751 | { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25752 | { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25753 | { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25754 | { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25755 | { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25756 | { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25757 | { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25758 | { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25759 | { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25760 | { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25761 | { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
25762 | { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25763 | { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25764 | { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25765 | { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25766 | { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25767 | { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25768 | { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25769 | { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25770 | { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25771 | { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25772 | { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25773 | { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25774 | { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25775 | { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25776 | { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25777 | { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25778 | { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25779 | { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25780 | { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25781 | { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25782 | { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25783 | { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25784 | { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25785 | { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25786 | { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25787 | { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL }, | |
25788 | { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25789 | { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25790 | { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25791 | { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25792 | { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25793 | { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25794 | { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25795 | { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL }, | |
25796 | { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
5e483524 | 25797 | { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
25798 | { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL }, |
25799 | { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25800 | { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25801 | { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25802 | { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25803 | { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25804 | { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL }, | |
25805 | { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25806 | { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL }, | |
25807 | { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25808 | { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25809 | { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25810 | { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25811 | { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25812 | { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25813 | { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25814 | { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25815 | { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL }, | |
25816 | { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25817 | { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25818 | { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL }, | |
25819 | { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25820 | { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25821 | { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25822 | { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25823 | { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25824 | { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25825 | { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL }, | |
25826 | { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25827 | { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25828 | { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25829 | { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25830 | { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25831 | { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25832 | { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25833 | { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25834 | { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25835 | { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25836 | { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25837 | { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25838 | { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25839 | { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25840 | { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25841 | { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25842 | { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25843 | { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL }, | |
25844 | { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25845 | { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25846 | { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25847 | { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25848 | { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25849 | { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25850 | { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25851 | { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25852 | { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL }, | |
25853 | { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25854 | { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25855 | { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25856 | { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL }, | |
d3b6e4ff RD |
25857 | { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
25858 | { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL }, | |
c32bde28 RD |
25859 | { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, |
25860 | { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25861 | { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25862 | { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25863 | { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25864 | { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25865 | { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25866 | { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25867 | { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25868 | { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25869 | { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25870 | { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25871 | { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25872 | { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25873 | { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25874 | { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL }, | |
25875 | { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25876 | { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25877 | { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL }, | |
25878 | { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25879 | { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL }, | |
25880 | { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25881 | { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25882 | { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25883 | { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL }, | |
25884 | { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25885 | { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25886 | { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25887 | { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25888 | { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25889 | { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25890 | { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25891 | { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25892 | { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL }, | |
25893 | { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25894 | { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25895 | { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25896 | { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25897 | { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25898 | { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25899 | { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25900 | { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25901 | { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL }, | |
25902 | { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25903 | { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25904 | { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25905 | { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25906 | { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25907 | { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL }, | |
25908 | { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25909 | { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25910 | { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25911 | { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25912 | { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25913 | { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25914 | { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25915 | { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25916 | { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25917 | { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25918 | { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25919 | { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL }, | |
25920 | { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25921 | { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25922 | { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25923 | { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25924 | { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25925 | { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25926 | { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL }, | |
25927 | { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25928 | { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25929 | { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25930 | { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL }, | |
25931 | { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25932 | { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25933 | { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25934 | { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25935 | { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25936 | { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25937 | { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25938 | { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25939 | { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25940 | { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25941 | { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25942 | { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25943 | { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25944 | { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25945 | { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25946 | { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25947 | { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25948 | { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25949 | { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25950 | { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25951 | { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25952 | { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25953 | { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25954 | { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25955 | { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25956 | { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL }, | |
25957 | { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25958 | { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25959 | { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25960 | { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25961 | { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25962 | { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25963 | { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25964 | { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25965 | { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25966 | { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25967 | { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25968 | { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25969 | { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25970 | { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25971 | { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25972 | { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25973 | { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25974 | { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25975 | { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25976 | { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25977 | { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25978 | { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25979 | { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25980 | { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25981 | { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25982 | { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL }, | |
25983 | { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25984 | { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25985 | { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25986 | { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25987 | { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25988 | { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25989 | { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25990 | { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25991 | { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25992 | { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25993 | { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25994 | { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25995 | { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25996 | { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25997 | { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25998 | { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
25999 | { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26000 | { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26001 | { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26002 | { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26003 | { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26004 | { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26005 | { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26006 | { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26007 | { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26008 | { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL }, | |
26009 | { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL }, | |
26010 | { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26011 | { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26012 | { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26013 | { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26014 | { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26015 | { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26016 | { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26017 | { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26018 | { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26019 | { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26020 | { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
2ef75293 | 26021 | { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
d3b6e4ff | 26022 | { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
26023 | { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, |
26024 | { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26025 | { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26026 | { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26027 | { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26028 | { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26029 | { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26030 | { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26031 | { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL }, | |
2ef75293 | 26032 | { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL }, |
d3b6e4ff RD |
26033 | { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL }, |
26034 | { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26035 | { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26036 | { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
26037 | { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26038 | { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26039 | { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
26040 | { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26041 | { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26042 | { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26043 | { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26044 | { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL }, |
26045 | { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26046 | { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26047 | { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL }, |
26048 | { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26049 | { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26050 | { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26051 | { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26052 | { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26053 | { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26054 | { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL }, |
26055 | { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL }, | |
26056 | { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26057 | { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26058 | { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26059 | { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26060 | { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26061 | { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26062 | { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26063 | { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26064 | { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26065 | { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26066 | { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26067 | { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26068 | { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26069 | { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26070 | { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26071 | { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26072 | { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26073 | { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26074 | { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26075 | { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26076 | { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26077 | { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26078 | { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26079 | { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26080 | { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26081 | { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26082 | { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26083 | { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26084 | { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26085 | { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26086 | { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL }, | |
26087 | { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26088 | { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
8ac8dba0 | 26089 | { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
26090 | { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
26091 | { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL }, | |
26092 | { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL }, | |
26093 | { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26094 | { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26095 | { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26096 | { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26097 | { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26098 | { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26099 | { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26100 | { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26101 | { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26102 | { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26103 | { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
d3b6e4ff | 26104 | { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
26105 | { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL }, |
26106 | { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26107 | { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26108 | { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26109 | { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26110 | { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26111 | { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26112 | { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26113 | { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26114 | { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, |
26115 | { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26116 | { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26117 | { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26118 | { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26119 | { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26120 | { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26121 | { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26122 | { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26123 | { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26124 | { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26125 | { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL }, | |
26126 | { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
d3b6e4ff | 26127 | { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 | 26128 | { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, |
d3b6e4ff | 26129 | { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 | 26130 | { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL }, |
c32bde28 RD |
26131 | { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL }, |
26132 | { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26133 | { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26134 | { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26135 | { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL }, |
26136 | { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL }, | |
d3b6e4ff RD |
26137 | { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL }, |
26138 | { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26139 | { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
c32bde28 RD |
26140 | { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL }, |
26141 | { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26142 | { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL }, | |
26143 | { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26144 | { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26145 | { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26146 | { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26147 | { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26148 | { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26149 | { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26150 | { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26151 | { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26152 | { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26153 | { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26154 | { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26155 | { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26156 | { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26157 | { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26158 | { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26159 | { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26160 | { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26161 | { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26162 | { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26163 | { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26164 | { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26165 | { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL }, | |
26166 | { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26167 | { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL }, | |
26168 | { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26169 | { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26170 | { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26171 | { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26172 | { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26173 | { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL }, | |
26174 | { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26175 | { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26176 | { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26177 | { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26178 | { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26179 | { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26180 | { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26181 | { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26182 | { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26183 | { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
26184 | { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL }, | |
26185 | { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26186 | { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26187 | { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26188 | { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26189 | { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26190 | { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26191 | { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26192 | { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26193 | { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26194 | { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26195 | { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26196 | { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26197 | { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26198 | { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26199 | { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26200 | { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26201 | { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26202 | { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26203 | { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26204 | { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26205 | { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26206 | { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26207 | { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL }, | |
26208 | { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL }, | |
26209 | { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26210 | { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26211 | { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26212 | { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26213 | { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26214 | { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26215 | { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26216 | { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26217 | { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL }, | |
26218 | { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26219 | { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26220 | { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26221 | { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26222 | { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26223 | { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26224 | { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26225 | { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL }, | |
26226 | { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26227 | { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26228 | { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26229 | { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26230 | { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL }, | |
26231 | { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL }, | |
26232 | { NULL, NULL, 0, NULL } | |
d14a1e28 RD |
26233 | }; |
26234 | ||
26235 | ||
26236 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
26237 | ||
26238 | static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) { | |
26239 | return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26240 | } | |
26241 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
26242 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26243 | } | |
26244 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
26245 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
26246 | } | |
26247 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
26248 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
26249 | } | |
26250 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
26251 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
26252 | } | |
26253 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
26254 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
26255 | } | |
26256 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
26257 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
26258 | } | |
26259 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
26260 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26261 | } | |
26262 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
26263 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
26264 | } | |
26265 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
26266 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
26267 | } | |
26268 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
26269 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26270 | } | |
26271 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
26272 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
26273 | } | |
26274 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
26275 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26276 | } | |
26277 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
26278 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26279 | } | |
26280 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
26281 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
26282 | } | |
26283 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
26284 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26285 | } | |
26286 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
26287 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26288 | } | |
26289 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
26290 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
26291 | } | |
26292 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
26293 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
26294 | } | |
26295 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
26296 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
26297 | } | |
26298 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
26299 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
26300 | } | |
26301 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
26302 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
26303 | } | |
26304 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
26305 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
26306 | } | |
26307 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
26308 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
26309 | } | |
26310 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
26311 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26312 | } | |
26313 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
26314 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26315 | } | |
26316 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
26317 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26318 | } | |
26319 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
26320 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26321 | } | |
26322 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
26323 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26324 | } | |
26325 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
26326 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
26327 | } | |
26328 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
26329 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
26330 | } | |
26331 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
26332 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26333 | } | |
26334 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
26335 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
26336 | } | |
26337 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
26338 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26339 | } | |
26340 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
26341 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
26342 | } | |
26343 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
26344 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
26345 | } | |
26346 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
26347 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26348 | } | |
26349 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
26350 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26351 | } | |
26352 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
26353 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26354 | } | |
26355 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
26356 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
26357 | } | |
26358 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
26359 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
26360 | } | |
26361 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
26362 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26363 | } | |
26364 | static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) { | |
26365 | return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26366 | } | |
d3b6e4ff RD |
26367 | static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) { |
26368 | return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26369 | } | |
d14a1e28 RD |
26370 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
26371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26372 | } | |
26373 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
26374 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26375 | } | |
26376 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
26377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26378 | } | |
26379 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
26380 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
26381 | } | |
26382 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
26383 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
26384 | } | |
26385 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
26386 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
26387 | } | |
26388 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
26389 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
26390 | } | |
d3b6e4ff RD |
26391 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
26392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26393 | } | |
d14a1e28 RD |
26394 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
26395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26396 | } | |
26397 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26399 | } | |
26400 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
26401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26402 | } | |
26403 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
26404 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26405 | } | |
26406 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
26407 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26408 | } | |
26409 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
26410 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26411 | } | |
26412 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
26413 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26414 | } | |
26415 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
26416 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
26417 | } | |
26418 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
26419 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
26420 | } | |
26421 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26423 | } | |
26424 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
26425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26426 | } | |
26427 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
26428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26429 | } | |
26430 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
26431 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
26432 | } | |
26433 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
26434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26435 | } | |
26436 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
26437 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
26438 | } | |
26439 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
26440 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
26441 | } | |
26442 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
26443 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
26444 | } | |
26445 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
26446 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
26447 | } | |
26448 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
26449 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26450 | } | |
26451 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
26452 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
26453 | } | |
26454 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
26455 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
26456 | } | |
1cb4a8aa RD |
26457 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
26458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26459 | } | |
d14a1e28 RD |
26460 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
26461 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
26462 | } | |
26463 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26464 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26465 | } | |
26466 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
26467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26468 | } | |
26469 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
26470 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26471 | } | |
26472 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
26473 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
26474 | } | |
26475 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
26476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26477 | } | |
26478 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
26479 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
26480 | } | |
26481 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
26482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26483 | } | |
26484 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
26485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26486 | } | |
26487 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
26488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26489 | } | |
26490 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26492 | } | |
26493 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
26494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26495 | } | |
5e483524 RD |
26496 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
26497 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
26498 | } |
26499 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
26500 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26501 | } | |
d14a1e28 RD |
26502 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
26503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26504 | } | |
26505 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
26506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26507 | } | |
26508 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
26509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26510 | } | |
d3b6e4ff RD |
26511 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
26512 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26513 | } | |
d14a1e28 RD |
26514 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
26515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26516 | } | |
26517 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) { | |
26518 | return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26519 | } | |
26520 | static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) { | |
26521 | return (void *)((wxFrame *) ((wxMDIChildFrame *) x)); | |
26522 | } | |
26523 | static void *_p_wxProgressDialogTo_p_wxFrame(void *x) { | |
26524 | return (void *)((wxFrame *) ((wxProgressDialog *) x)); | |
26525 | } | |
26526 | static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) { | |
26527 | return (void *)((wxFrame *) ((wxPreviewFrame *) x)); | |
26528 | } | |
26529 | static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) { | |
26530 | return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26531 | } | |
26532 | static void *_p_wxMiniFrameTo_p_wxFrame(void *x) { | |
26533 | return (void *)((wxFrame *) ((wxMiniFrame *) x)); | |
26534 | } | |
26535 | static void *_p_wxSplashScreenTo_p_wxFrame(void *x) { | |
26536 | return (void *)((wxFrame *) ((wxSplashScreen *) x)); | |
26537 | } | |
26538 | static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) { | |
26539 | return (void *)((wxFrame *) ((wxMDIParentFrame *) x)); | |
26540 | } | |
26541 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
26542 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
26543 | } | |
26544 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
26545 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
26546 | } | |
26547 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
26548 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
26549 | } | |
26550 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
26551 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
26552 | } | |
26553 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
26554 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
26555 | } | |
26556 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
26557 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
26558 | } | |
26559 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
26560 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
26561 | } | |
26562 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
26563 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
26564 | } | |
26565 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
26566 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
26567 | } | |
26568 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
26569 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
26570 | } | |
26571 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
26572 | return (void *)((wxObject *) ((wxSizer *) x)); | |
26573 | } | |
26574 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
26575 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
26576 | } | |
26577 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
26578 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
26579 | } | |
26580 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
26581 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
26582 | } | |
26583 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
26584 | return (void *)((wxObject *) ((wxEvent *) x)); | |
26585 | } | |
26586 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
26587 | return (void *)((wxObject *) ((wxFontData *) x)); | |
26588 | } | |
26589 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
26590 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
26591 | } | |
26592 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
26593 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
26594 | } | |
26595 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
26596 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
26597 | } | |
26598 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
26599 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
26600 | } | |
26601 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
26602 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
26603 | } | |
5e483524 RD |
26604 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
26605 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
d14a1e28 RD |
26606 | } |
26607 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
26608 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
26609 | } | |
26610 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
26611 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
26612 | } | |
26613 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
26614 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
26615 | } | |
26616 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
26617 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
26618 | } | |
26619 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
26620 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
26621 | } | |
26622 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
26623 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
26624 | } | |
26625 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
26626 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
26627 | } | |
26628 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
26629 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
26630 | } | |
26631 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
26632 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
26633 | } | |
26634 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
26635 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
26636 | } | |
26637 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
26638 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
26639 | } | |
26640 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
26641 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
26642 | } | |
26643 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
26644 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
26645 | } | |
26646 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
26647 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
26648 | } | |
26649 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
26650 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
26651 | } | |
26652 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
26653 | return (void *)((wxObject *) ((wxColourData *) x)); | |
26654 | } | |
26655 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
26656 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
26657 | } | |
26658 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
26659 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
26660 | } | |
26661 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
26662 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
26663 | } | |
26664 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
26665 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
26666 | } | |
26667 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
26668 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
26669 | } | |
26670 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
26671 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
26672 | } | |
26673 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
26674 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26675 | } | |
26676 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
26677 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
26678 | } | |
d3b6e4ff RD |
26679 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
26680 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26681 | } | |
d14a1e28 RD |
26682 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
26683 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
26684 | } | |
26685 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
26686 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
26687 | } | |
26688 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
26689 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
26690 | } | |
26691 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
26692 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
26693 | } | |
26694 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
26695 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
26696 | } | |
26697 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
26698 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
26699 | } | |
26700 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
26701 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
26702 | } | |
26703 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
26704 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
26705 | } | |
26706 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
26707 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
26708 | } | |
26709 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
26710 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
26711 | } | |
26712 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
26713 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
26714 | } | |
26715 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
26716 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
26717 | } | |
26718 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
26719 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
26720 | } | |
26721 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
26722 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
26723 | } | |
26724 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
26725 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
26726 | } | |
26727 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
26728 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
26729 | } | |
26730 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
26731 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
26732 | } | |
26733 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
26734 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
26735 | } | |
26736 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
26737 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
26738 | } | |
26739 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
26740 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
26741 | } | |
26742 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
26743 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
26744 | } | |
26745 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
26746 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
26747 | } | |
26748 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
26749 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
26750 | } | |
26751 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
26752 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
26753 | } | |
26754 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
26755 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
26756 | } | |
26757 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
26758 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
26759 | } | |
26760 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
26761 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
26762 | } | |
26763 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
26764 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
26765 | } | |
26766 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
26767 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26768 | } | |
26769 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
26770 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26771 | } | |
26772 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
26773 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
26774 | } | |
26775 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
26776 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
26777 | } | |
26778 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
26779 | return (void *)((wxObject *) ((wxImage *) x)); | |
26780 | } | |
26781 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
26782 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
26783 | } | |
26784 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
26785 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
26786 | } | |
26787 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
26788 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
26789 | } | |
26790 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
26791 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
26792 | } | |
26793 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
26794 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
26795 | } | |
26796 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
26797 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
26798 | } | |
26799 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
26800 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
26801 | } | |
26802 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
26803 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
26804 | } | |
26805 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
26806 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
26807 | } | |
d14a1e28 RD |
26808 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
26809 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
26810 | } | |
26811 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
26812 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
26813 | } | |
26814 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
26815 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
26816 | } | |
1e0c8722 RD |
26817 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
26818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
26819 | } | |
d14a1e28 RD |
26820 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
26821 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
26822 | } | |
26823 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
26824 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
26825 | } | |
26826 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
26827 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
26828 | } | |
26829 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
26830 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
26831 | } | |
26832 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
26833 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26834 | } | |
26835 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
26836 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
26837 | } | |
26838 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
26839 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26840 | } | |
26841 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
26842 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26843 | } | |
26844 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
26845 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
26846 | } | |
26847 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
26848 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
26849 | } | |
1cb4a8aa RD |
26850 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
26851 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
26852 | } | |
d14a1e28 RD |
26853 | static void *_p_wxSashEventTo_p_wxObject(void *x) { |
26854 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
26855 | } | |
26856 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
26857 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
26858 | } | |
26859 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
26860 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
26861 | } | |
26862 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
26863 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
26864 | } | |
26865 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
26866 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
26867 | } | |
26868 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
26869 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
26870 | } | |
26871 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
26872 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
26873 | } | |
26874 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
26875 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
26876 | } | |
26877 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 26878 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
d14a1e28 RD |
26879 | } |
26880 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
a68b8331 | 26881 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
d14a1e28 RD |
26882 | } |
26883 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
26884 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
26885 | } | |
26886 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
26887 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
26888 | } | |
26889 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
26890 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
26891 | } | |
26892 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
26893 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
26894 | } | |
26895 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
26896 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
26897 | } | |
26898 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
26899 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
26900 | } | |
26901 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
26902 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
26903 | } | |
26904 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
26905 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
26906 | } | |
26907 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
26908 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
26909 | } | |
26910 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
26911 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
26912 | } | |
26913 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
26914 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
26915 | } | |
26916 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
26917 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
26918 | } | |
26919 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
26920 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
26921 | } | |
26922 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
26923 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
26924 | } | |
26925 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
26926 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
26927 | } | |
26928 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
26929 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
26930 | } | |
26931 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
26932 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
26933 | } | |
26934 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
26935 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
26936 | } | |
26937 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
26938 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
26939 | } | |
26940 | static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26941 | return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
26942 | } | |
26943 | static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) { | |
26944 | return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
26945 | } | |
26946 | static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) { | |
26947 | return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26948 | } | |
26949 | static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) { | |
26950 | return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
26951 | } | |
26952 | static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) { | |
26953 | return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
26954 | } | |
26955 | static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) { | |
26956 | return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
26957 | } | |
26958 | static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) { | |
26959 | return (void *)((wxTopLevelWindow *) ((wxFrame *) x)); | |
26960 | } | |
26961 | static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) { | |
26962 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x)); | |
26963 | } | |
26964 | static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) { | |
26965 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x)); | |
26966 | } | |
26967 | static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) { | |
26968 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x)); | |
26969 | } | |
26970 | static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) { | |
26971 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x)); | |
26972 | } | |
26973 | static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) { | |
26974 | return (void *)((wxTopLevelWindow *) ((wxDialog *) x)); | |
26975 | } | |
d14a1e28 RD |
26976 | static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) { |
26977 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x)); | |
26978 | } | |
26979 | static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) { | |
26980 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x)); | |
26981 | } | |
26982 | static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) { | |
26983 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x)); | |
26984 | } | |
d14a1e28 RD |
26985 | static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) { |
26986 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x)); | |
26987 | } | |
26988 | static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) { | |
26989 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x)); | |
26990 | } | |
d3b6e4ff RD |
26991 | static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) { |
26992 | return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
26993 | } | |
d14a1e28 RD |
26994 | static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) { |
26995 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x)); | |
26996 | } | |
26997 | static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
26998 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x)); | |
26999 | } | |
27000 | static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) { | |
27001 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27002 | } | |
27003 | static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) { | |
27004 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x)); | |
27005 | } | |
d3b6e4ff RD |
27006 | static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) { |
27007 | return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x)); | |
27008 | } | |
d14a1e28 RD |
27009 | static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) { |
27010 | return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x)); | |
27011 | } | |
27012 | static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) { | |
27013 | return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
27014 | } | |
27015 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
27016 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
27017 | } | |
27018 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
27019 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
27020 | } | |
27021 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
27022 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
27023 | } | |
27024 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
27025 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
27026 | } | |
27027 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
27028 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
27029 | } | |
27030 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
27031 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
27032 | } | |
27033 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
27034 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
27035 | } | |
d3b6e4ff RD |
27036 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
27037 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
27038 | } | |
d14a1e28 RD |
27039 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
27040 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
27041 | } | |
27042 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
27043 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
27044 | } | |
27045 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
27046 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27047 | } | |
27048 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
27049 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
27050 | } | |
27051 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
27052 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
27053 | } | |
27054 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
27055 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
27056 | } | |
d14a1e28 RD |
27057 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
27058 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
27059 | } | |
27060 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
27061 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
27062 | } | |
27063 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
27064 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
27065 | } | |
27066 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
27067 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
27068 | } | |
27069 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
27070 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
27071 | } | |
27072 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
27073 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
27074 | } | |
27075 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
27076 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
27077 | } | |
27078 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
27079 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
27080 | } | |
27081 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
27082 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
27083 | } | |
27084 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
27085 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
27086 | } | |
d3b6e4ff RD |
27087 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
27088 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
27089 | } | |
1cb4a8aa RD |
27090 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
27091 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27092 | } | |
d14a1e28 RD |
27093 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
27094 | return (void *)((wxWindow *) ((wxControl *) x)); | |
27095 | } | |
27096 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
27097 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
27098 | } | |
27099 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
27100 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
27101 | } | |
27102 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
27103 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
27104 | } | |
27105 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
27106 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
27107 | } | |
27108 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
27109 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
27110 | } | |
27111 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
27112 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27113 | } | |
27114 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
27115 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27116 | } | |
27117 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
27118 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27119 | } | |
27120 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
27121 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
27122 | } | |
27123 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
27124 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27125 | } | |
27126 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
27127 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
27128 | } | |
27129 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
27130 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
27131 | } | |
27132 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
27133 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
27134 | } | |
27135 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
27136 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
27137 | } | |
27138 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
27139 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
27140 | } | |
d14a1e28 RD |
27141 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
27142 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
27143 | } | |
1cb4a8aa RD |
27144 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
27145 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27146 | } | |
d14a1e28 RD |
27147 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
27148 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27149 | } | |
27150 | static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) { | |
27151 | return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
27152 | } | |
27153 | static void *_p_wxColourDialogTo_p_wxDialog(void *x) { | |
27154 | return (void *)((wxDialog *) ((wxColourDialog *) x)); | |
27155 | } | |
27156 | static void *_p_wxDirDialogTo_p_wxDialog(void *x) { | |
27157 | return (void *)((wxDialog *) ((wxDirDialog *) x)); | |
27158 | } | |
27159 | static void *_p_wxFontDialogTo_p_wxDialog(void *x) { | |
27160 | return (void *)((wxDialog *) ((wxFontDialog *) x)); | |
27161 | } | |
d14a1e28 RD |
27162 | static void *_p_wxFileDialogTo_p_wxDialog(void *x) { |
27163 | return (void *)((wxDialog *) ((wxFileDialog *) x)); | |
27164 | } | |
27165 | static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) { | |
27166 | return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x)); | |
27167 | } | |
27168 | static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) { | |
27169 | return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x)); | |
27170 | } | |
27171 | static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) { | |
27172 | return (void *)((wxDialog *) ((wxTextEntryDialog *) x)); | |
27173 | } | |
d3b6e4ff RD |
27174 | static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) { |
27175 | return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
27176 | } | |
d14a1e28 RD |
27177 | static void *_p_wxMessageDialogTo_p_wxDialog(void *x) { |
27178 | return (void *)((wxDialog *) ((wxMessageDialog *) x)); | |
27179 | } | |
27180 | static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) { | |
27181 | return (void *)((wxDialog *) ((wxFindReplaceDialog *) x)); | |
27182 | } | |
27183 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
27184 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
27185 | } | |
27186 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
27187 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
27188 | } | |
1cb4a8aa RD |
27189 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
27190 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
27191 | } | |
d14a1e28 RD |
27192 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
27193 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
27194 | } | |
27195 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
27196 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
27197 | } | |
27198 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
27199 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
27200 | } | |
27201 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
27202 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
27203 | } | |
27204 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
27205 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
27206 | } | |
27207 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
27208 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27209 | } | |
27210 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
27211 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
27212 | } | |
27213 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
27214 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
27215 | } | |
27216 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
27217 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
27218 | } | |
27219 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
27220 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
27221 | } | |
27222 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
27223 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
27224 | } | |
27225 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
27226 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
27227 | } | |
27228 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
27229 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
27230 | } | |
27231 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
27232 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
27233 | } | |
27234 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
27235 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
27236 | } | |
27237 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
27238 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
27239 | } | |
27240 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
27241 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
27242 | } | |
27243 | static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) { | |
27244 | return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
27245 | } | |
15afbcd0 RD |
27246 | 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}}; |
27247 | 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}}; | |
27248 | 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}}; | |
27249 | 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}}; | |
27250 | 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}}; | |
15afbcd0 RD |
27251 | 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}}; |
27252 | 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}}; | |
f5b96ee1 | 27253 | static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 | 27254 | 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}}; |
5e483524 | 27255 | static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27256 | 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}}; |
27257 | 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}}; | |
27258 | 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}}; | |
27259 | 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}}; | |
27260 | 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}}; | |
27261 | 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}}; | |
27262 | 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}}; | |
27263 | 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}}; | |
27264 | 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}}; | |
27265 | 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}}; | |
27266 | 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}}; | |
27267 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
22bfe96c | 27268 | static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27269 | 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}}; |
27270 | 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}}; | |
27271 | 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}}; | |
27272 | 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}}; | |
27273 | 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}}; | |
27274 | 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}}; | |
27275 | 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}}; | |
27276 | 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}}; | |
d3b6e4ff | 27277 | static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27278 | 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}}; |
27279 | 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}}; | |
27280 | 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}}; | |
d3b6e4ff | 27281 | static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27282 | 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}}; |
27283 | 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}}; | |
8ac8dba0 | 27284 | 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27285 | 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}}; |
27286 | 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}}; | |
27287 | 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}}; | |
27288 | 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}}; | |
27289 | 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}}; | |
27290 | 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}}; | |
27291 | static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27292 | 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}}; | |
27293 | 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}}; | |
27294 | 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}}; | |
27295 | 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}}; | |
27296 | 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}}; | |
27297 | 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}}; | |
8ac8dba0 | 27298 | 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_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_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_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27299 | 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}}; |
27300 | 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}}; | |
27301 | 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}}; | |
27302 | 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}}; | |
f5b96ee1 | 27303 | 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}}; |
15afbcd0 RD |
27304 | 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}}; |
27305 | static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27306 | static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
27307 | 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}}; | |
8ac8dba0 RD |
27308 | 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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}}; |
27309 | 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_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}}; | |
1cb4a8aa | 27310 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 | 27311 | 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}}; |
5e483524 | 27312 | static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27313 | 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}}; |
27314 | 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}}; | |
27315 | 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}}; | |
27316 | 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}}; | |
27317 | 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}}; | |
27318 | 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}}; | |
27319 | 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}}; | |
8ac8dba0 | 27320 | 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_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
1cb4a8aa | 27321 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27322 | 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}}; |
27323 | static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
7fdaaabe | 27324 | static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
15afbcd0 RD |
27325 | 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}}; |
27326 | 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}}; | |
27327 | 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}}; | |
27328 | 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}}; | |
27329 | 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}}; | |
27330 | 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}}; | |
27331 | 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}}; | |
27332 | 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 |
27333 | |
27334 | static swig_type_info *swig_types_initial[] = { | |
27335 | _swigt__p_wxQueryLayoutInfoEvent, | |
27336 | _swigt__p_wxPreviewFrame, | |
27337 | _swigt__p_wxPyPreviewFrame, | |
d14a1e28 RD |
27338 | _swigt__p_wxPyPanel, |
27339 | _swigt__p_wxMenu, | |
d14a1e28 RD |
27340 | _swigt__p_wxFontData, |
27341 | _swigt__p_wxEvent, | |
f5b96ee1 | 27342 | _swigt__p_wxPrintData, |
d14a1e28 | 27343 | _swigt__p_wxTaskBarIcon, |
5e483524 | 27344 | _swigt__p_wxPyTaskBarIcon, |
d14a1e28 RD |
27345 | _swigt__p_wxIconBundle, |
27346 | _swigt__p_wxLayoutAlgorithm, | |
27347 | _swigt__p_wxFindDialogEvent, | |
27348 | _swigt__p_wxPreviewCanvas, | |
27349 | _swigt__p_wxFont, | |
27350 | _swigt__p_wxSplitterEvent, | |
27351 | _swigt__p_wxRegion, | |
27352 | _swigt__p_wxFindReplaceData, | |
27353 | _swigt__p_int, | |
27354 | _swigt__p_wxSize, | |
27355 | _swigt__p_wxDC, | |
27356 | _swigt__p_wxIcon, | |
22bfe96c | 27357 | _swigt__p_wxVisualAttributes, |
d14a1e28 RD |
27358 | _swigt__p_wxMDIChildFrame, |
27359 | _swigt__p_wxColourData, | |
27360 | _swigt__p_wxNotifyEvent, | |
27361 | _swigt__p_wxPyWindow, | |
27362 | _swigt__p_wxSplashScreen, | |
27363 | _swigt__p_wxFindReplaceDialog, | |
27364 | _swigt__p_wxProgressDialog, | |
27365 | _swigt__p_wxMessageDialog, | |
d3b6e4ff | 27366 | _swigt__p_wxPasswordEntryDialog, |
d14a1e28 RD |
27367 | _swigt__p_wxSingleChoiceDialog, |
27368 | _swigt__p_wxMultiChoiceDialog, | |
27369 | _swigt__p_wxFileDialog, | |
d3b6e4ff | 27370 | _swigt__p_wxTextEntryDialog, |
d14a1e28 | 27371 | _swigt__p_wxPrinter, |
d14a1e28 RD |
27372 | _swigt__p_wxArrayInt, |
27373 | _swigt__p_wxEvtHandler, | |
27374 | _swigt__p_wxCalculateLayoutEvent, | |
27375 | _swigt__p_wxPyHtmlListBox, | |
27376 | _swigt__p_wxPyVListBox, | |
27377 | _swigt__p_wxRect, | |
994141e6 | 27378 | _swigt__p_char, |
d14a1e28 RD |
27379 | _swigt__p_wxMiniFrame, |
27380 | _swigt__p_wxFrame, | |
27381 | _swigt__p_wxPyPrintout, | |
27382 | _swigt__p_wxTaskBarIconEvent, | |
27383 | _swigt__p_wxScrollWinEvent, | |
27384 | _swigt__p_wxStatusBar, | |
27385 | _swigt__p_wxMDIParentFrame, | |
27386 | _swigt__p_wxPoint, | |
27387 | _swigt__p_wxObject, | |
d14a1e28 RD |
27388 | _swigt__p_wxMDIClientWindow, |
27389 | _swigt__p_wxTipWindow, | |
27390 | _swigt__p_wxSashLayoutWindow, | |
27391 | _swigt__p_wxSplitterWindow, | |
f5b96ee1 | 27392 | _swigt__p_wxSplashScreenWindow, |
d14a1e28 RD |
27393 | _swigt__p_wxPyVScrolledWindow, |
27394 | _swigt__p_wxPyPopupTransientWindow, | |
27395 | _swigt__p_wxPopupWindow, | |
27396 | _swigt__p_wxSashWindow, | |
27397 | _swigt__p_wxTopLevelWindow, | |
27398 | _swigt__p_wxWindow, | |
27399 | _swigt__p_wxScrolledWindow, | |
27400 | _swigt__p_wxMenuBar, | |
5e483524 | 27401 | _swigt__p_wxPyScrolledWindow, |
d14a1e28 RD |
27402 | _swigt__p_wxPrintPreview, |
27403 | _swigt__p_wxSashEvent, | |
27404 | _swigt__p_wxString, | |
27405 | _swigt__p_wxPyPrintPreview, | |
27406 | _swigt__p_wxFontDialog, | |
27407 | _swigt__p_wxDirDialog, | |
27408 | _swigt__p_wxColourDialog, | |
27409 | _swigt__p_wxDialog, | |
27410 | _swigt__p_wxPanel, | |
db914595 | 27411 | _swigt__p_wxPageSetupDialog, |
d14a1e28 | 27412 | _swigt__p_wxPrintDialog, |
7fdaaabe | 27413 | _swigt__p_wxFileSystem, |
d14a1e28 RD |
27414 | _swigt__p_wxBitmap, |
27415 | _swigt__p_wxCommandEvent, | |
d14a1e28 RD |
27416 | _swigt__p_wxPreviewControlBar, |
27417 | _swigt__p_wxPyPreviewControlBar, | |
27418 | _swigt__p_wxColour, | |
27419 | _swigt__p_wxToolBar, | |
b2dc1044 | 27420 | _swigt__p_wxPageSetupDialogData, |
994141e6 | 27421 | _swigt__p_wxPrintDialogData, |
d14a1e28 RD |
27422 | 0 |
27423 | }; | |
27424 | ||
27425 | ||
27426 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
27427 | ||
27428 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 27429 | {0, 0, 0, 0.0, 0, 0}}; |
d14a1e28 RD |
27430 | |
27431 | #ifdef __cplusplus | |
27432 | } | |
27433 | #endif | |
27434 | ||
27435 | #ifdef __cplusplus | |
27436 | extern "C" | |
27437 | #endif | |
27438 | SWIGEXPORT(void) SWIG_init(void) { | |
27439 | static PyObject *SWIG_globals = 0; | |
27440 | static int typeinit = 0; | |
27441 | PyObject *m, *d; | |
27442 | int i; | |
27443 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
27444 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
27445 | d = PyModule_GetDict(m); | |
27446 | ||
27447 | if (!typeinit) { | |
27448 | for (i = 0; swig_types_initial[i]; i++) { | |
27449 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
27450 | } | |
27451 | typeinit = 1; | |
27452 | } | |
27453 | SWIG_InstallConstants(d,swig_const_table); | |
27454 | ||
b2dc1044 RD |
27455 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
27456 | SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set); | |
27457 | SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set); | |
27458 | SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set); | |
27459 | SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set); | |
c32bde28 RD |
27460 | PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP)); |
27461 | PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)wxICONIZE)); | |
27462 | PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE)); | |
27463 | PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE)); | |
27464 | PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX)); | |
27465 | PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME)); | |
27466 | PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU)); | |
27467 | PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX)); | |
27468 | PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX)); | |
27469 | PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ)); | |
27470 | PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT)); | |
27471 | PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX)); | |
27472 | PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER)); | |
27473 | PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT)); | |
27474 | PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE)); | |
27475 | PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE)); | |
27476 | PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW)); | |
27477 | PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT)); | |
27478 | PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU)); | |
27479 | PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR)); | |
27480 | PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED)); | |
ae8162c8 | 27481 | PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER)); |
c32bde28 RD |
27482 | PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL)); |
27483 | PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS)); | |
27484 | PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS)); | |
27485 | PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)wxNO_3D)); | |
27486 | PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR)); | |
27487 | PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR)); | |
27488 | PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR)); | |
27489 | PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER)); | |
27490 | PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION)); | |
27491 | PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL)); | |
27492 | PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG)); | |
27493 | PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO)); | |
27494 | PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR)); | |
27495 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT)); | |
27496 | PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN)); | |
27497 | PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE)); | |
27498 | PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT)); | |
27499 | PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT)); | |
27500 | PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL)); | |
27501 | PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT)); | |
27502 | PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED)); | |
b2dc1044 | 27503 | SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set); |
c32bde28 RD |
27504 | PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER)); |
27505 | PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH)); | |
27506 | PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT)); | |
27507 | PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE)); | |
27508 | PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH)); | |
27509 | PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER)); | |
27510 | PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME)); | |
27511 | PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER)); | |
27512 | PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)wxSP_3D)); | |
27513 | PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL)); | |
27514 | PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL)); | |
27515 | PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE)); | |
27516 | PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING)); | |
27517 | PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN)); | |
d14a1e28 RD |
27518 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED)); |
27519 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING)); | |
27520 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED)); | |
27521 | PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT)); | |
b2dc1044 RD |
27522 | SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set); |
27523 | SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set); | |
c32bde28 RD |
27524 | PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE)); |
27525 | PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING)); | |
27526 | PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN)); | |
27527 | PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER)); | |
27528 | PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER)); | |
27529 | PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH)); | |
27530 | PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER)); | |
27531 | PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)wxSW_3D)); | |
27532 | PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP)); | |
27533 | PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT)); | |
27534 | PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM)); | |
27535 | PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT)); | |
27536 | PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE)); | |
27537 | PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK)); | |
27538 | PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE)); | |
d14a1e28 | 27539 | PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED)); |
c32bde28 RD |
27540 | PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL)); |
27541 | PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL)); | |
27542 | PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE)); | |
27543 | PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP)); | |
27544 | PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT)); | |
27545 | PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT)); | |
27546 | PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM)); | |
27547 | PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y)); | |
27548 | PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X)); | |
27549 | PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH)); | |
27550 | PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY)); | |
d14a1e28 RD |
27551 | PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO)); |
27552 | PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT)); | |
b2dc1044 | 27553 | SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set); |
d14a1e28 RD |
27554 | |
27555 | // Map renamed classes back to their common name for OOR | |
27556 | wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox"); | |
27557 | wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox"); | |
27558 | wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow"); | |
27559 | ||
27560 | PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE)); | |
27561 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN)); | |
27562 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP)); | |
27563 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN)); | |
27564 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP)); | |
27565 | PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK)); | |
27566 | PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK)); | |
b2dc1044 RD |
27567 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set); |
27568 | SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set); | |
27569 | SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set); | |
27570 | SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set); | |
27571 | SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set); | |
27572 | SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set); | |
c32bde28 | 27573 | PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE)); |
1823fbb4 | 27574 | PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)wxTextEntryDialogStyle)); |
d3b6e4ff | 27575 | SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set); |
c32bde28 RD |
27576 | PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN)); |
27577 | PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD)); | |
27578 | PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE)); | |
27579 | PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG)); | |
27580 | PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN)); | |
27581 | PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE)); | |
27582 | PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD)); | |
d14a1e28 RD |
27583 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND)); |
27584 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT)); | |
27585 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE)); | |
27586 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL)); | |
27587 | PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE)); | |
c32bde28 RD |
27588 | PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)4001)); |
27589 | PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001)); | |
27590 | PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002)); | |
27591 | PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)4003)); | |
27592 | PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)4004)); | |
27593 | PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005)); | |
27594 | PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)4100)); | |
27595 | PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)4600)); | |
b2dc1044 RD |
27596 | SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set); |
27597 | SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set); | |
c32bde28 RD |
27598 | PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE)); |
27599 | PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW)); | |
27600 | PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE)); | |
27601 | PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER)); | |
27602 | PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM)); | |
2ef75293 RD |
27603 | PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT)); |
27604 | PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE)); | |
27605 | PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER)); | |
27606 | PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE)); | |
27607 | PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL)); | |
27608 | PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE)); | |
27609 | PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL)); | |
27610 | PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO)); | |
27611 | PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR)); | |
27612 | PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT)); | |
27613 | PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT)); | |
27614 | PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY)); | |
27615 | PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE)); | |
27616 | PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE)); | |
27617 | PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER)); | |
c32bde28 RD |
27618 | PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR)); |
27619 | PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED)); | |
27620 | PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR)); | |
27621 | PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT)); | |
27622 | PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS)); | |
27623 | PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT)); | |
27624 | PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM)); | |
27625 | PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST)); | |
27626 | PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST)); | |
27627 | PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO)); | |
27628 | PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT)); | |
27629 | PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE)); | |
27630 | PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT)); | |
27631 | PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS)); | |
27632 | PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT)); | |
27633 | PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM)); | |
27634 | PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST)); | |
27635 | PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST)); | |
27636 | PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO)); | |
d14a1e28 RD |
27637 | |
27638 | wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout"); | |
27639 | ||
27640 | } | |
27641 |